Ticket #750 (closed defect: fixed)
Stale patch on QEMU configure
| Reported by: | jseghers@… | Owned by: | mickey@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | OE bitbake recipes / build system | Version: | 2007.2 |
| Severity: | normal | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
qemu-native-0.8.2+cvs20070613-r2 (current HEAD) configure.patch seems to be old.
It appears that the patch was against an earlier version of configure.
The patched line still exists in the configure, but at a different place and
with different follower lines.
Workaround is to manually patch the configure file and touch the bitbake stamp
file to indicate patch has been applied.
NOTE: Running task 3154 of 3492 (ID: 1184,
/home/moko2/org.openembedded.dev/packages/qemu/qemu-native_cvs.bb, do_patch)
NOTE: package qemu-native-0.8.2+cvs20070613: started
NOTE: package qemu-native-0.8.2+cvs20070613-r2: task do_patch: started
NOTE: Applying patch 'configure.patch'
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError?'> Message:Command Error: exit status: 1 Output:
Applying patch configure.patch
patching file configure
Hunk #1 FAILED at 482.
1 out of 1 hunk FAILED -- rejects in file configure
Patch configure.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 configure.patch
patching file configure
Hunk #1 FAILED at 482.
1 out of 1 hunk FAILED -- rejects in file configure
Patch configure.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 configure.patch
patching file configure
Hunk #1 FAILED at 482.
1 out of 1 hunk FAILED -- rejects in file configure
Patch configure.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Build of
/home/moko2/org.openembedded.dev/packages/qemu/qemu-native_cvs.bb do_patch failed
Traceback (most recent call last):
File "/home/moko2/bitbake/bin/bitbake", line 134, in <module>
main()
File "/home/moko2/bitbake/bin/bitbake", line 131, in main
cooker.cook()
File "/home/moko2/bitbake/lib/bb/cooker.py", line 552, in cook
return self.buildTargets(pkgs_to_build)
File "/home/moko2/bitbake/lib/bb/cooker.py", line 466, in buildTargets
failures = rq.execute_runqueue()
File "/home/moko2/bitbake/lib/bb/runqueue.py", line 403, in execute_runqueue
self.execute_runqueue_internal()
File "/home/moko2/bitbake/lib/bb/runqueue.py", line 531, in
execute_runqueue_internal
self.cooker.tryBuild(fn, False)
File "/home/moko2/bitbake/lib/bb/cooker.py", line 125, in tryBuild
return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data,
build_depends)
File "/home/moko2/bitbake/lib/bb/cooker.py", line 98, in tryBuildPackage
bb.build.exec_task('do_%s' % task, the_data)
File "/home/moko2/bitbake/lib/bb/build.py", line 292, in exec_task
execute(None, task)
File "/home/moko2/bitbake/lib/bb/build.py", line 281, in execute
exec_func(item, localdata)
File "/home/moko2/bitbake/lib/bb/build.py", line 98, in exec_func
exec_func_python(func, d)
File "/home/moko2/bitbake/lib/bb/build.py", line 117, in exec_func_python
utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
File "/home/moko2/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/moko2/bitbake/lib/bb/build.py", line 98, in exec_func
exec_func_python(func, d)
File "/home/moko2/bitbake/lib/bb/build.py", line 117, in exec_func_python
utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
File "/home/moko2/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/moko2/bitbake/lib/bb/build.py", line 98, in exec_func
exec_func_python(func, d)
File "/home/moko2/bitbake/lib/bb/build.py", line 117, in exec_func_python
utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
File "/home/moko2/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 configure.patch
patching file configure
Hunk #1 FAILED at 482.
1 out of 1 hunk FAILED -- rejects in file configure
Patch configure.patch does not apply (enforce with -f)

still a problem?