Created attachment 2445 [details] log.do_populate_sdk git: master/df0672b038e6942c97d266af9ca175a06f2b0423 This test case is from bug 6936 Steps: 1. set the arch to qemux86 2. bitbake core-image-sato -c populate_sdk_ext Error message: ############################ | DEBUG: Executing shell function create_sdk_files | ('movefile: Failed to move', '/buildarea/poky/build-test/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/sdk/image/etc/rpm', 'to', '/buildarea/poky/build-test/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/sdk/image/opt/poky/1.7+snapshot/sysroots/x86_64-pokysdk-linux/etc', OSError(39, 'Directory not empty')) | DEBUG: Shell function create_sdk_files finished | DEBUG: Executing shell function tar_sdk | /buildarea/poky/build-test/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/temp/run.tar_sdk.4081: line 108: patchelf: command not found | WARNING: /buildarea/poky/build-test/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/temp/run.tar_sdk.4081:1 exit 127 from | patchelf --set-interpreter aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ./x86_64-linux/usr/bin/patchelf | DEBUG: Python function do_populate_sdk finished | ERROR: Function failed: tar_sdk (log file is located at /buildarea/poky/build-test/tmp/work/i586-poky-linux/uninative-tarball/1.0-r0/temp/log.do_populate_sdk.4081) ERROR: Task 224 (/buildarea/poky/meta/recipes-core/meta/uninative-tarball.bb, do_populate_sdk) failed with exit code '1' ######################## More details, please see the attachment.
From the log above: /temp/run.tar_sdk.4081: line 108: patchelf: command not found Is this perhaps a missing dependency on patchelf-native?
(In reply to comment #1) > From the log above: > /temp/run.tar_sdk.4081: line 108: patchelf: command not found > > Is this perhaps a missing dependency on patchelf-native? That's what it looks like but: meta/recipes-core/meta/uninative-tarball.bb:DEPENDS += "patchelf-native So it "should" be there.
Hmm, well something odd is happening because I definitely hit this and "bitbake patchelf-native" solved it.
(In reply to comment #3) > Hmm, well something odd is happening because I definitely hit this and > "bitbake patchelf-native" solved it. I had patchelf installed on my workstation, whoops. The easiest way to reproduce this is to "bitbake patchelf-native -c cleansstate", "bitbake -c cleansstate uninative-tarball", "bitbake uninative-tarball".
Hi, I could reproduce this on my host as well (F20, 64bit)
This should be fixed in master: commit 3a646564adeac7448c47f3bba883bb5311d0dda0 Author: Tyler Hall <tylerwhall@gmail.com> Date: Tue Mar 24 18:17:10 2015 -0400
verified with fido:8b3d3e7c957ad06c390886487f69aeb8e145da6a