[OE-core] 'Daisy' problem bitbake -c do_populate_sdk fsl-image-full
Khem Raj
raj.khem at gmail.com
Tue Aug 16 21:02:12 UTC 2016
> On Aug 16, 2016, at 12:53 PM, 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
>
You seem to have run into a glibc multilib namespace issue as I see you are building an SDK with both 32bit and 64bit support. Problem is that this version of libc
does not seem to generate and install lib-names.h in a multilib safe way.
you can backport this patch https://github.com/kraj/glibc/commit/93ae1ebaa6df1a0c188614bd0a601ab6e26711c5 <https://github.com/kraj/glibc/commit/93ae1ebaa6df1a0c188614bd0a601ab6e26711c5>
to eglibc and retry. Keep in mind that you might need to hand pick the patch if it does not apply cleanly.
>
> Installing packages (19):
> binutils-2.23.2-r4 at lib32_ppce6500 <mailto:binutils-2.23.2-r4 at lib32_ppce6500> libgcc-s-dev-4.9.2-r0 at lib32_ppce6500 <mailto:libgcc-s-dev-4.9.2-r0 at lib32_ppce6500>
> cpp-4.9.2-r0 at lib32_ppce6500 <mailto:cpp-4.9.2-r0 at lib32_ppce6500> libgcc1-4.9.2-r0 at lib32_ppce6500 <mailto:libgcc1-4.9.2-r0 at lib32_ppce6500>
> eglibc-2.19-r0 at lib32_ppce6500 <mailto:eglibc-2.19-r0 at lib32_ppce6500> libgcov-dev-4.9.2-r0 at lib32_ppce6500 <mailto:libgcov-dev-4.9.2-r0 at lib32_ppce6500>
> eglibc-dbg-2.19-r0 at lib32_ppce6500 <mailto:eglibc-dbg-2.19-r0 at lib32_ppce6500> libgmp10-5.1.1-r0 at lib32_ppce6500 <mailto:libgmp10-5.1.1-r0 at lib32_ppce6500>
> eglibc-dev-2.19-r0 at lib32_ppce6500 <mailto:eglibc-dev-2.19-r0 at lib32_ppce6500> libmpc3-1.0.2-r0 at lib32_ppce6500 <mailto:libmpc3-1.0.2-r0 at lib32_ppce6500>
> eglibc-utils-2.19-r0 at lib32_ppce6500 <mailto:eglibc-utils-2.19-r0 at lib32_ppce6500> libmpfr4-3.1.2-r0 at lib32_ppce6500 <mailto:libmpfr4-3.1.2-r0 at lib32_ppce6500>
> g++-4.9.2-r0 at lib32_ppce6500 <mailto:g++-4.9.2-r0 at lib32_ppce6500> libstdc++6-4.9.2-r0 at lib32_ppce6500 <mailto:libstdc++6-4.9.2-r0 at lib32_ppce6500>
> gcc-4.9.2-r0 at lib32_ppce6500 <mailto:gcc-4.9.2-r0 at lib32_ppce6500> libz1-1.2.8-r0 at lib32_ppce6500 <mailto:libz1-1.2.8-r0 at lib32_ppce6500>
> gcov-4.9.2-r0 at lib32_ppce6500 <mailto:gcov-4.9.2-r0 at lib32_ppce6500> valgrind-3.10.1-r1 at lib32_ppce6500 <mailto:valgrind-3.10.1-r1 at lib32_ppce6500>
> ldd-2.19-r0 at lib32_ppce6500 <mailto:ldd-2.19-r0 at lib32_ppce6500>
>
> 206.4MB of package files are needed. 498.9MB will be used.
>
> Saving cache...
>
>
> 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.57975
> 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 6310 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
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> kyle at ubuntu:/opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release$ <mailto:kyle at ubuntu:/opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release$>
>
>
> Is there a way to fix this issue?
>
> Thanks,
> Kyle
>
>
> W. Kyle Unice
> Staff Engineer
> MS F1H03
> 322 North 2200 West Dock 3
> Salt Lake City, Utah 84116-0850
>
> Voice: 801-594-2687
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org <mailto:Openembedded-core at lists.openembedded.org>
> http://lists.openembedded.org/mailman/listinfo/openembedded-core <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160816/6a8d36f9/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160816/6a8d36f9/attachment-0002.sig>
More information about the Openembedded-core
mailing list