[yocto] Yocto 2.1 perl problem

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Tue Jun 21 07:04:48 PDT 2016


Some basic approach: Try cleaning the target (perl, in this case) and 
build again.


$ bitbake -c cleansstate perl & bitbake perl


On 06/21/2016 08:00 AM, Anicic Damir (PSI) wrote:
> 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/7120e940/attachment.html>


More information about the yocto mailing list