Created attachment 3188 [details] logs I'm trying to build krogoth using meta-atmel, but looks like the "exclude" in ptest perl recipe does not work as expected: ERROR: perl-5.22.1-r0 do_populate_sysroot: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment --remove-section=.note '/home/sherpya/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/sysroot-destdir/usr/lib/perl/ptest/generate_uudmap'' strip command failed with 1 (arm-poky-linux-gnueabi-strip:/home/sherpya/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/sysroot-destdir/usr/lib/perl/ptest/generate_uudmap: File format not recognized ) ERROR: perl-5.22.1-r0 do_package: objcopy failed with exit code 256 (cmd was 'arm-poky-linux-gnueabi-objcopy' --only-keep-debug '/home/sherpya/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/generate_uudmap' '/home/sherpya/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/.debug/generate_uudmap'): arm-poky-linux-gnueabi-objcopy:/home/sherpya/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/generate_uudmap: File format not recognized ERROR: perl-5.22.1-r0 do_package: Function failed: split_and_strip_files ERROR: Logfile of failure stored in: /home/sherpya/poky/build-atmel/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/temp/log.do_package.29470 ERROR: Task 16 (/home/sherpya/poky/meta/recipes-devtools/perl/perl_5.22.1.bb, do_package) failed with exit code '1' if I comment out: require perl-ptest.inc the build works
I am experiencing this problem building the master branch for qemux86. In my case, since the target arch is x86, I'm not having the "File format not recognized" errors, but instead have QA errors later in the process: ERROR: perl-5.22.1-r0 do_package_qa: QA Issue: Architecture did not match (3 to 62) on work/i586-poky-linux/perl/5.22.1-r0/packages-split/perl-dbg/usr/lib/perl/ptest/.debug/generate_uudmap [arch] WARNING: perl-5.22.1-r0 do_package_qa: QA Issue: Symlink /usr/lib/perl/ptest/hostperl in perl-ptest points to TMPDIR [symlink-to-sysroot] ERROR: perl-5.22.1-r0 do_package_qa: QA Issue: Architecture did not match (3 to 62) on work/i586-poky-linux/perl/5.22.1-r0/packages-split/perl-ptest/usr/lib/perl/ptest/generate_uudmap [arch] WARNING: perl-5.22.1-r0 do_package_qa: QA Issue: /usr/lib/perl/ptest/generate_uudmap contained in package perl-ptest requires libc.so.6()(64bit), but no providers found in RDEPENDS_perl-ptest? [file-rdeps] ERROR: perl-5.22.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. What distribution are you using? I am building this in Arch Linux and having trouble with it. Tried building krogoth in a Linux Mint virtual machine and it worked flawlessly (hate using VM's for development though..).
I've just submitted a patch that should fix this. Would you please try it out?
I'm having the same issue (originally targeting Zynq with meta-xilinx, but reproduced on qemuarm). Renato's patch fixes it, thanks very much - impressive sleuthing!
nice catch! the patch works also for me
Renato, I acked the patch in the ML. [1] Since you fix the issue, i assigned the bug to you when is merged please close it. Thanks, alimon [1] http://lists.openembedded.org/pipermail/openembedded-core/2016-May/122240.html
A similar patch (Enrico Jorns') was merged, marking as fixed.
(In reply to comment #6) > A similar patch (Enrico Jorns') was merged, marking as fixed. Merge at, http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5efe4c9a64afe4b5489f1b95d9ade22768841da6