Error BITBAKE

emanuele bottegoni emanuele.b at automaonline.com
Mon Mar 31 15:13:11 UTC 2008


After applying your advices it starts well.
After half an hour an error is occurred, like the follow:
What has been happened?

NOTE: Applying patch 'uboot-mokoversion.patch'
ERROR: Error in executing: 
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
 Output:
Applying patch uboot-mokoversion.patch
patching file tools/setlocalversion
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- rejects in file tools/setlocalversion
Patch uboot-mokoversion.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 uboot-mokoversion.patch
patching file tools/setlocalversion
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- rejects in file tools/setlocalversion
Patch uboot-mokoversion.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 uboot-mokoversion.patch
patching file tools/setlocalversion
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- rejects in file tools/setlocalversion
Patch uboot-mokoversion.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Build of
/stuff/org.openembedded.dev/packages/uboot/u-boot-mkimage-gta01-native_oe.bb
do_patch failed
Traceback (most recent call last):
  File "/stuff/bitbake/bin/bitbake", line 117, in <module>
    main()
  File "/stuff/bitbake/bin/bitbake", line 113, in main
    cooker.cook()
  File "/stuff/bitbake/lib/bb/cooker.py", line 526, in cook
    return self.buildTargets(pkgs_to_build)
  File "/stuff/bitbake/lib/bb/cooker.py", line 440, in buildTargets
    failures = rq.execute_runqueue()
  File "/stuff/bitbake/lib/bb/runqueue.py", line 383, in execute_runqueue
    self.execute_runqueue_internal()
  File "/stuff/bitbake/lib/bb/runqueue.py", line 499, in
execute_runqueue_internal
    self.cooker.tryBuild(fn, False)
  File "/stuff/bitbake/lib/bb/cooker.py", line 112, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd,
the_data, build_depends)
  File "/stuff/bitbake/lib/bb/cooker.py", line 85, in tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/stuff/bitbake/lib/bb/build.py", line 292, in exec_task
    execute(None, task)
  File "/stuff/bitbake/lib/bb/build.py", line 281, in execute
    exec_func(item, localdata)
  File "/stuff/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/stuff/bitbake/lib/bb/build.py", line 117, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/stuff/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 "/stuff/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/stuff/bitbake/lib/bb/build.py", line 117, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/stuff/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 "/stuff/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/stuff/bitbake/lib/bb/build.py", line 117, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/stuff/bitbake/lib/bb/utils.py", line 144, in better_exec
    exec code in context
  File "patch_do_patch", line 98, in <module>
  File "patch_do_patch", line 96, in patch_do_patch
  File "<bb>", line 338, in Resolve
__builtin__.CmdError: Command Error: exit status: 1  Output:
Applying patch uboot-mokoversion.patch
patching file tools/setlocalversion
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- rejects in file tools/setlocalversion
Patch uboot-mokoversion.patch does not apply (enforce with -f)
ERROR: Task 478
(/stuff/org.openembedded.dev/packages/uboot/u-boot-mkimage-gta01-native_oe.bb,
do_patch) failed
NOTE: Tasks Summary: Attempted 244 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR:
'/stuff/org.openembedded.dev/packages/uboot/u-boot-mkimage-gta01-native_oe.bb'
failed






More information about the Openembedded-users mailing list