[yocto] Yocto 2.1 perl problem

Anicic Damir (PSI) damir.anicic at psi.ch
Tue Jun 21 06:00:53 PDT 2016


Hi!

Suddenly perl does not build any more (I did not have the problem in last two weeks).
I did not change anything (my humble bitbake understanding) about perl.

=====================================================================
Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "powerpc64-poky-linux"
MACHINE           = "powerpc64-ppc64e6500"
DISTRO            = "gfa-ppc64e6500"
DISTRO_VERSION    = "2.1"
TUNE_FEATURES     = "m64 fpu-hard e6500 altivec"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp
meta-gfa          = "krogoth:4376fb851791a1fb514873ad239d516dd7159341"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: perl-5.22.1-r0 do_package: objcopy failed with exit code 256 (cmd was 'powerpc64-poky-linux-objcopy' --only-keep-debug '/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap' '/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/.debug/generate_uudmap'):
powerpc64-poky-linux-objcopy: Unable to recognise the format of the input file `/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap'
ERROR: perl-5.22.1-r0 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/temp/log.do_package.21205
ERROR: Task 1691 (/home/anicic/yocto-2.1-all/poky/meta/recipes-devtools/perl/perl_5.22.1.bb, do_package) failed with exit code '1'
=====================================================================

The problem seems to be that
/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap
is built for host "ELF 64-bit LSB executable, x86-64"
instead of target "64-bit PowerPC or cisco 7500"

What could it be?

Damir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160621/30953019/attachment.html>


More information about the yocto mailing list