[OE-core] Problem building eglibc

Zhenhua Luo zhenhua.luo at nxp.com
Tue Aug 23 10:05:26 UTC 2016


Hi Kyle,

You can try to check if the top 2 commits of libc-common.bbclass can solve the issue.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/meta/classes/libc-common.bbclass
2016-05-13

libc-common.bbclass: Use sed instead of grep<http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/libc-common.bbclass?id=f99fb6a16781d543292558b1000014a0148da005>

Khem Raj

2014-08-23

libc-common.bbclass: rename ALL the packages<http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/libc-common.bbclass?id=65fa712ae98324bc0182bc23b3bcdb957c3a21d9>

Peter Seebach



Best Regards,

Zhenhua

From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of kyle.unice at L-3com.com
Sent: Wednesday, August 17, 2016 10:59 PM
To: openembedded-core at lists.openembedded.org
Subject: [OE-core] Problem building eglibc

I previously posted this issue:

-------------------------------------------------------------------------------------------
On Aug 16, 2016, at 12:53 PM, kyle.unice at L-3com.com<mailto:kyle.unice at l-3com.com> wrote:

Folks,

I am having a problem doing the 'bitbake -c do_populate_sdk fsl-image-full' command using the daisy branch of Yocto with the freescale b4860qds-64b evaluation board.

Here is the error I get:

ERROR: Unable to install packages. Command '/opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/sysroots/x86_64-linux/usr/bin/smart --data-dir=/opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-full/1.0-r0/sdk/image/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/ppc64e6500-fsl-linux/var/lib/smart install -y libgcc1 at lib32_ppce6500 gcc at lib32_ppce6500 libgcov-dev at lib32_ppce6500 libgcc-s-dev at lib32_ppce6500 valgrind at lib32_ppce6500 binutils at lib32_ppce6500 g++ at lib32_ppce6500 ldd at lib32_ppce6500 gcov at lib32_ppce6500 cpp at lib32_ppce6500 eglibc-utils at lib32_ppce6500 eglibc-dev at lib32_ppce6500' returned 1:
Loading cache...
Updating cache...               ######################################## [100%]

Committing transaction...
Preparing...                    ######################################## [  0%]
error: file /usr/include/gnu/lib-names.h from install of eglibc-dev-2.19-r0.lib32_ppce6500 conflicts with file from package libc6-dev-2.19-r0.ppc64e6500
-------------------------------------------------------------------------------------------

I got some help and was told to apply this patch -

patch https://github.com/kraj/glibc/commit/93ae1ebaa6df1a0c188614bd0a601ab6e26711c5

-------------------------------------------------------------------------------------------

But now I am getting this error.  Looks like the patch did not include the 64-bit build option for generating ld64.so.1.

ERROR: Unable to install packages. Command '/opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/sysroots/x86_64-linux/usr/bin/smart --data-dir=/opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-full/1.0-r0/sdk/image/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/ppc64e6500-fsl-linux/var/lib/smart install -y libgcc1 at ppc64e6500 gcc at ppc64e6500 libgcc-s-dev at ppc64e6500 run-postinsts at all usdpaa-apps-staticdev at b4860qds_64b ldd at ppc64e6500 usdpaa-apps at b4860qds_64b packagegroup-core-ssh-openssh at all tcf-qoriqdbg at ppc64e6500 apptrk at ppc64e6500 asf at b4860qds_64b udev-extraconf at ppc64e6500 pme-tools at ppc64e6500 rpm at ppc64e6500 eth-config at ppc64e6500 mtd-utils at ppc64e6500 packagegroup-core-standalone-sdk-target-dbg at all usdpaa-staticdev at b4860qds_64b util-linux at ppc64e6500 fm-ucode-image at ppc64e6500 dpa-offload-dev at b4860qds_64b mtd-utils-jffs2 at ppc64e6500 smartpm at ppc64e6500 e2fsprogs-tune2fs at ppc64e6500 packagegroup-core-eclipse-debug at all eglibc-utils at ppc64e6500 g++ at ppc64e6500 gcov at ppc64e6500 dosfstools at ppc64e6500 e2fsprogs-e2fsck at ppc64e6500 gnuradio-dev at ppc64e6500 packagegroup-fsl-core at all packagegroup-fsl-extend at all packagegroup-core-boot at b4860qds_64b packagegroup-core-full-cmdline at all sysklogd at ppc64e6500 merge-files at all packagegroup-core-buildessential at all rcw-image at b4860qds_64b packagegroup-core-x11-base at all kmod at ppc64e6500 usdpaa at b4860qds_64b packagegroup-core-nfs-server at all hypervisor-partman at ppc64e6500 ceetm at b4860qds_64b dpa-offload-staticdev at b4860qds_64b libc6-dev at ppc64e6500 usdpaa-dev at b4860qds_64b e2fsprogs-mke2fs at ppc64e6500 libgcov-dev at ppc64e6500 sysfsutils at ppc64e6500 qoriq-debug at b4860qds_64b mtd-utils-ubifs at ppc64e6500 kernel-image-3.12.37-rt51-qoriq-sdk-v1.8+gf488de6 at b4860qds_64b<mailto:kernel-image-3.12.37-rt51-qoriq-sdk-v1.8+gf488de6 at b4860qds_64b> fmc at b4860qds_64b bash at ppc64e6500 packagegroup-core-standalone-sdk-target at all e2fsprogs at ppc64e6500 packagegroup-core-tools-debug at b4860qds_64b hyperrelay at ppc64e6500 valgrind at ppc64e6500 sysstat at ppc64e6500 packagegroup-core-x11 at all net-tools at ppc64e6500 cpp at ppc64e6500 kernel-devicetree at b4860qds_64b binutils at ppc64e6500 u-boot-qoriq-images at b4860qds_64b' returned 1:
Loading cache...
Updating cache...               ######################################## [100%]

Computing transaction...error: Can't install libstdc++6-4.9.2-r0 at ppc64e6500<mailto:libstdc++6-4.9.2-r0 at ppc64e6500>: no package provides ld64.so.1()(64bit)


ERROR: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-full/1.0-r0/temp/log.do_populate_sdk.98993
ERROR: Task 9 (/opt/QorIQ-SDK-V1.8-20150619-yocto/meta-fsl-networking/images/fsl-image-full.bb, do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6311 tasks of which 2955 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /opt/QorIQ-SDK-V1.8-20150619-yocto/meta-fsl-networking/images/fsl-image-full.bb, do_populate_sdk




W. Kyle Unice
Staff Engineer
MS F1H03
322 North 2200 West Dock 3
Salt Lake City, Utah 84116-0850

Voice: 801-594-2687

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160823/ae9a80df/attachment-0002.html>


More information about the Openembedded-core mailing list