Image build fails on package python-etk-git

Didier "Ptitjes" ptitjes at free.fr
Sat Sep 13 13:17:24 CEST 2008


Hi,

Got python-etk-git failing to build with the following error :

Applying patch scrolled_view-drag.patch
patching file etk/core/scrolled_view.pxi
Hunk #1 succeeded at 43 with fuzz 2 (offset 24 lines).
patching file include/etk/scrolled_view.pxd
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- rejects in file include/etk/scrolled_view.pxd
Patch scrolled_view-drag.patch does not apply (enforce with -f)

Is there a way to let this package apart and continue building the image ?

Regards, Didier.

Complete log :

moko at didier ~ $ make image
( cd build && . ../setup-env && \
	  ( bitbake openmoko-asu-image u-boot-openmoko ) )
NOTE: Removed the following variables from the 
environment:LESS,GUILE_LOAD_PATH,LESSOPEN,CVS_RSH,MAKEFLAGS,INFOPATH,JDK_HOME,SHLVL,CONFIG_PROTECT_MASK,EDITOR,MANPATH,PYTHONPATH,OMDIR,JAVA_HOME,MFLAGS,OOO_FORCE_DESKTOP,CLASSPATH,GCC_SPECS,LC_ALL,JAVAC,GDK_USE_XFT,OLDPWD,MAKELEVEL,SGML_CATALOG_FILES,LS_COLORS,PAGER,OPENGL_PROFILE
NOTE: Handling BitBake files: / (5436/5436) [100 %]
NOTE: Parsing finished. 5207 cached, 0 parsed, 229 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200809131307: started

OE Build Configuration:
BB_VERSION     = "1.8.11"
OE_REVISION    = "76c7473b2713acb8d363f501a21157e61da3a3da"
TARGET_ARCH    = "i486"
TARGET_OS      = "linux"
MACHINE        = "x86"
DISTRO         = "openmoko"
DISTRO_VERSION = "P1-Snapshot-20080913"
TARGET_FPU     = ""

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 7.16.4 of curl-native not available (for item 
curl-native)
NOTE: preferred version 7.16.4 of curl not available (for item curl)
NOTE: preferred version 0.16.999.041 of e-wm not available (for item e-wm)
NOTE: preferred version 7.16.4 of curl not available (for item curl)
NOTE: preferred version 7.16.4 of curl not available (for item curl-certs)
NOTE: preferred version 1.0.3 of libx11-native not available (for item 
virtual/libx11)
NOTE: preferred version 0.16.999.041 of e-wm not available (for item e-wm)
NOTE: preferred version 1.0.2 of kbproto-native not available (for item 
kbproto-native)
NOTE: preferred version 1.4.1 of inputproto-native not available (for 
item inputproto-native)
NOTE: multiple providers are available for opkg (opkg, opkg-nogpg);
NOTE: consider defining PREFERRED_PROVIDER_opkg
NOTE: multiple providers are available for virtual/libqte2 
(qte-mt-static, qte, qte-mt);
NOTE: consider defining PREFERRED_PROVIDER_virtual/libqte2
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 2783 of 4230 (ID: 2958, 
/home/moko/openembedded/packages/python/python-etk_git.bb, do_patch)
NOTE: package python-etk-git: started
NOTE: package python-etk-git-r0.02: task do_patch: started
NOTE: Applying patch 'scrolled_view-drag.patch' 
(/home/moko/openembedded/packages/python/python-etk/scrolled_view-drag.patch)
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 
1  Output:
Applying patch scrolled_view-drag.patch
patching file etk/core/scrolled_view.pxi
Hunk #1 succeeded at 43 with fuzz 2 (offset 24 lines).
patching file include/etk/scrolled_view.pxd
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- rejects in file include/etk/scrolled_view.pxd
Patch scrolled_view-drag.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 
1  Output:
Applying patch scrolled_view-drag.patch
patching file etk/core/scrolled_view.pxi
Hunk #1 succeeded at 43 with fuzz 2 (offset 24 lines).
patching file include/etk/scrolled_view.pxd
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- rejects in file include/etk/scrolled_view.pxd
Patch scrolled_view-drag.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 
1  Output:
Applying patch scrolled_view-drag.patch
patching file etk/core/scrolled_view.pxi
Hunk #1 succeeded at 43 with fuzz 2 (offset 24 lines).
patching file include/etk/scrolled_view.pxd
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- rejects in file include/etk/scrolled_view.pxd
Patch scrolled_view-drag.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Build of 
/home/moko/openembedded/packages/python/python-etk_git.bb do_patch failed
Traceback (most recent call last):
   File "/home/moko/bitbake/bin/bitbake", line 189, in <module>
     main()
   File "/home/moko/bitbake/bin/bitbake", line 186, in main
     cooker.cook()
   File "/home/moko/bitbake/lib/bb/cooker.py", line 636, in cook
     return self.buildTargets(pkgs_to_build)
   File "/home/moko/bitbake/lib/bb/cooker.py", line 547, in buildTargets
     failures = rq.execute_runqueue()
   File "/home/moko/bitbake/lib/bb/runqueue.py", line 842, in 
execute_runqueue
     self.execute_runqueue_internal()
   File "/home/moko/bitbake/lib/bb/runqueue.py", line 951, in 
execute_runqueue_internal
     self.cooker.tryBuild(fn)
   File "/home/moko/bitbake/lib/bb/cooker.py", line 133, in tryBuild
     return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
   File "/home/moko/bitbake/lib/bb/cooker.py", line 107, in tryBuildPackage
     bb.build.exec_task('do_%s' % task, the_data)
   File "/home/moko/bitbake/lib/bb/build.py", line 278, in exec_task
     exec_func(task, localdata)
   File "/home/moko/bitbake/lib/bb/build.py", line 113, in exec_func
     exec_func_python(func, d)
   File "/home/moko/bitbake/lib/bb/build.py", line 136, in exec_func_python
     utils.better_exec(comp, g, tmp, bbfile)
   File "/home/moko/bitbake/lib/bb/utils.py", line 144, in better_exec
     exec code in context
   File "do_patch", line 4, in <module>
   File "do_patch", line 2, in do_patch
   File "/home/moko/bitbake/lib/bb/build.py", line 113, in exec_func
     exec_func_python(func, d)
   File "/home/moko/bitbake/lib/bb/build.py", line 136, in exec_func_python
     utils.better_exec(comp, g, tmp, bbfile)
   File "/home/moko/bitbake/lib/bb/utils.py", line 144, in better_exec
     exec code in context
   File "base_do_patch", line 4, in <module>
   File "base_do_patch", line 2, in base_do_patch
   File "/home/moko/bitbake/lib/bb/build.py", line 113, in exec_func
     exec_func_python(func, d)
   File "/home/moko/bitbake/lib/bb/build.py", line 136, in exec_func_python
     utils.better_exec(comp, g, tmp, bbfile)
   File "/home/moko/bitbake/lib/bb/utils.py", line 144, in better_exec
     exec code in context
   File "patch_do_patch", line 100, in <module>
   File "patch_do_patch", line 98, in patch_do_patch
   File "<bb>", line 339, in Resolve
__builtin__.CmdError: Command Error: exit status: 1  Output:
Applying patch scrolled_view-drag.patch
patching file etk/core/scrolled_view.pxi
Hunk #1 succeeded at 43 with fuzz 2 (offset 24 lines).
patching file include/etk/scrolled_view.pxd
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- rejects in file include/etk/scrolled_view.pxd
Patch scrolled_view-drag.patch does not apply (enforce with -f)
ERROR: Task 2958 
(/home/moko/openembedded/packages/python/python-etk_git.bb, do_patch) failed
NOTE: Tasks Summary: Attempted 2782 tasks of which 2782 didn't need to 
be rerun and 1 failed.
ERROR: '/home/moko/openembedded/packages/python/python-etk_git.bb' failed
NOTE: build 200809131307: completed
make: *** [openmoko-asu-image] Erreur 1




More information about the community mailing list