[OE-core] Building Perl-5.22.1-r0 on Arch Linux fails with QA Issue

Khem Raj raj.khem at gmail.com
Fri Jul 1 14:51:31 UTC 2016


keep in mind that using gcc6 based build hosts may not work for OE
older than master

On Fri, Jul 1, 2016 at 1:16 AM, Daniel Kriesten
<embedded at die-kriestens.de> wrote:
> Hi Ross,
>
> I found the time to do the x86qemu build with jethro, which gives the QA Issue.
>
> ---------- >8 ----------
> jethro u= $ bitbake core-image-base
> WARNING: Host distribution "Arch-rolling" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
> Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 00:01:22
> Parsing of 899 .bb files complete (0 cached, 899 parsed). 1330 targets, 38 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION        = "1.28.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Arch-rolling"
> TARGET_SYS        = "i586-poky-linux"
> MACHINE           = "qemux86"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.0.2"
> TUNE_FEATURES     = "m32 i586"
> TARGET_FPU        = ""
> meta
> meta-yocto
> meta-yocto-bsp    = "jethro:118380bc5d01e52b5edc574abb4176f6e70a54a6"
>
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: Failed to fetch URL http://downloads.sourceforge.net/linux-diag/sysfsutils-2.1.0.tar.gz, attempting MIRRORS if available
> WARNING: QA Issue: Symlink /usr/lib/perl/ptest/hostperl in perl-ptest points to TMPDIR [symlink-to-sysroot]
> ERROR: QA Issue: Architecture did not match (3 to 62) on work/i586-poky-linux/perl/5.22.0-r0/packages-split/perl-ptest/usr/lib/perl/ptest/.debug/generate_uudmap [arch]
> WARNING: QA Issue: /usr/lib/perl/ptest/generate at underscore@uudmap_perl-ptest contained in package perl-ptest requires libc.so.6()(64bit), but no providers found in its RDEPENDS [file-rdeps]
> ERROR: QA run found fatal errors. Please consider fixing them.
> ERROR: Function failed: do_package_qa
> ERROR: Logfile of failure stored in: /home/krid/Develop/Yocto/TUC-L4IVA-Yocto/meta-layers/poky/build-qemux86/tmp/work/i586-poky-linux/perl/5.22.0-r0/temp/log.do_package_qa.13360
> ERROR: Task 1146 (/home/krid/Develop/Yocto/TUC-L4IVA-Yocto/meta-layers/poky/meta/recipes-devtools/perl/perl_5.22.0.bb, do_package_qa) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 3181 tasks of which 12 didn't need to be rerun and 1 failed.
> Waiting for 0 running tasks to finish:
>
> Summary: 1 task failed:
>   /home/krid/Develop/Yocto/TUC-L4IVA-Yocto/meta-layers/poky/meta/recipes-devtools/perl/perl_5.22.0.bb, do_package_qa
> Summary: There were 4 WARNING messages shown.
> Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
> ---------- 8< ----------
>
> Here is what file says:
> jethro u= $ file tmp/work/i586-poky-linux/perl/5.22.0-r0/packages-split/perl-ptest/usr/lib/perl/ptest/.debug/generate_uudmap
> tmp/work/i586-poky-linux/perl/5.22.0-r0/packages-split/perl-ptest/usr/lib/perl/ptest/.debug/generate_uudmap: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter *empty*, for GNU/Linux 2.6.32, BuildID[sha1]=48ab21d6bc4545ce1c9b695001a5179192c40d9a, not stripped
>
> As Arch Linux is currently based on gcc-6.1 (64bit only), I had to change that to gcc-multilib (32 and 64 bit). Furthermore, for jethro and krogoth, I had to downgrade gcc to 5.3. I could use latest master of poky and see, if that works. I don’t know, if it is worth a try.
>
> Regards
>         Daniel
>
>> Am 01.07.2016 um 07:49 schrieb Daniel Kriesten <embedded at die-kriestens.de>:
>>
>>> Am 30.06.2016 um 18:56 schrieb Burton, Ross <ross.burton at intel.com>:
>>>
>>>
>>> On 30 June 2016 at 07:03, Daniel Kriesten <embedded at die-kriestens.de> wrote:
>>> 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/krid/Develop/Yocto/fsl-community-bsp/build-imx6q-elo/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/generate_uudmap' '/home/krid/Develop/Yocto/fsl-community-bsp/build-imx6q-elo/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/.debug/generate_uudmap'):
>>> arm-poky-linux-gnueabi-objcopy:/home/krid/Develop/Yocto/fsl-community-bsp/build-imx6q-elo/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/generate_uudmap: File format not recognized
>>>
>>> Can you run file on the binary that objdump is complaining about?
>>> (/home/krid/Develop/Yocto/fsl-community-bsp/build-imx6q-elo/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/generate_uudmap)
>>
>> $ file /home/krid/Develop/Yocto/fsl-community-bsp/build-imx6q-elo/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/generate_uudmap
>> /home/krid/Develop/Yocto/fsl-community-bsp/build-imx6q-elo/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/perl/5.22.1-r0/package/usr/lib/perl/ptest/generate_uudmap: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=48ab21d6bc4545ce1c9b695001a5179192c40d9a, not stripped
>>
>> So this one is build for the host, not the target …
>>
>> With kind regards
>>       Daniel
>
>
> --
> Daniel Kriesten
> daniel at die-kriestens.de
> http://www.die-kriestens.de
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list