When I built meta-toolchain with multilib support, met this error: | error: Can't install nativesdk-qemu-helper-1.0-r9@x86_64_nativesdk: no package provides libc6 >= 2.18 There is no such error if I disable multilib. Below is my setting and log: [jenkins@sbuilder137 build_p5020ds_release]$ cat conf/bblayers.conf # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/jenkins/yocto-standalone-build/p5020ds/meta \ /home/jenkins/yocto-standalone-build/p5020ds/meta-yocto \ /home/jenkins/yocto-standalone-build/p5020ds/meta-yocto-bsp \ /home/jenkins/yocto-standalone-build/p5020ds/meta-fsl-ppc \ " BBLAYERS_NON_REMOVABLE ?= " \ /home/jenkins/yocto-standalone-build/p5020ds/meta \ /home/jenkins/yocto-standalone-build/p5020ds/meta-yocto \ " [jenkins@sbuilder137 build_p5020ds_release]$ grep -v ^# conf/local.conf MACHINE ??= 'p5020ds' DISTRO ?= 'poky' PACKAGE_CLASSES ?= "package_rpm" EXTRA_IMAGE_FEATURES = "debug-tweaks" USER_CLASSES ?= "buildstats image-mklibs" PATCHRESOLVE = "noop" BB_DISKMON_DIRS = "\ STOPTASKS,${TMPDIR},1G,100K \ STOPTASKS,${DL_DIR},1G,100K \ STOPTASKS,${SSTATE_DIR},1G,100K \ ABORT,${TMPDIR},100M,1K \ ABORT,${DL_DIR},100M,1K \ ABORT,${SSTATE_DIR},100M,1K" CONF_VERSION = "1" require conf/multilib.conf MULTILIBS = "multilib:lib64" DEFAULTTUNE_virtclass-multilib-lib64 = "ppc64e5500" Log: | | Installing packages (33): | eglibc-extra-nss-2.18-r0@ppce5500 | eglibc-gconv-2.18-r0@ppce5500 | eglibc-gconv-cp1252-2.18-r0@ppce5500 | eglibc-gconv-ibm850-2.18-r0@ppce5500 | eglibc-gconv-iso8859-1-2.18-r0@ppce5500 | eglibc-gconv-iso8859-15-2.18-r0@ppce5500 | eglibc-localedata-i18n-2.18-r0@ppce5500 | eglibc-localedata-iso14651-t1-2.18-r0@ppce5500 | eglibc-localedata-iso14651-t1-common-2.18-r0@ppce5500 | eglibc-localedata-translit-circle-2.18-r0@ppce5500 | eglibc-localedata-translit-cjk-compat-2.18-r0@ppce5500 | eglibc-localedata-translit-compat-2.18-r0@ppce5500 | eglibc-localedata-translit-font-2.18-r0@ppce5500 | eglibc-localedata-translit-fraction-2.18-r0@ppce5500 | eglibc-localedata-translit-narrow-2.18-r0@ppce5500 | eglibc-localedata-translit-neutral-2.18-r0@ppce5500 | eglibc-localedata-translit-small-2.18-r0@ppce5500 | eglibc-localedata-translit-wide-2.18-r0@ppce5500 | eglibc-utils-2.18-r0@ppce5500 | libc6-2.18-r0@ppce5500 | libc6-dbg-2.18-r0@ppce5500 | libc6-dev-2.18-r0@ppce5500 | libcidn1-2.18-r0@ppce5500 | libgcc-s-dbg-4.8.1-r0@ppce5500 | libgcc-s-dev-4.8.1-r0@ppce5500 | libgcc1-4.8.1-r0@ppce5500 | libsegfault-2.18-r0@ppce5500 | libstdc++-dev-4.8.1-r0@ppce5500 | libstdc++6-4.8.1-r0@ppce5500 | libthread-db1-2.18-r0@ppce5500 | linux-libc-headers-dev-3.10-r0@ppce5500 | packagegroup-core-standalone-sdk-target-1.0-r8@all | packagegroup-core-standalone-sdk-target-dbg-1.0-r8@all | | 17.8MB of package files are needed. 62.1MB will be used. | | | Saving cache... | | Installing NATIVESDK packages | Note: configuring RPM platform settings | Note: configuring RPM system provides | Note: configuring RPM DB settings | Note: configuring Smart settings | | | | | | | Note: adding Smart channel x86_64_nativesdk (25) | | | Note: adding Smart channel all (10) | | | Note: configuring RPM cross-install scriptlet_wrapper | | Updating cache... ######################################## [100%] | | Saving cache... | | Note: adding Smart RPM DB channel | | Note: to be installed: nativesdk-packagegroup-sdk-host@all packagegroup-cross-canadian-p5020ds@all | Loading cache... | Updating cache... ######################################## [100%] | | Computing transaction...error: Can't install nativesdk-qemu-helper-1.0-r9@x86_64_nativesdk: no package provides libc6 >= 2.18 | | Saving cache... |
No problem until the below commit: commit 8ebe7be3d9494c3467b5533091bf6832030aad99 Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Fri Sep 13 13:35:31 2013 +0100 bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory
I am seeing the same problem when enabling multilib on ppc64/x86_64 in both cases.
I've posted a couple of patches which fix this issue.
Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=40420b90062f0a34cc63f7308a0b153455c9f224
Verified on master branch. Commit ID: 529bf977e956175bd8405ebffc88194192e44740
Verified on my side. thanks.
Hi All, I downloaded the current git head poky master commited on 8 July(http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/). I am building bitbake with meta-toolchain for multilib support. Local.conf: MACHINE ??= "qemuarm" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "armv5" And here we are looking to have multilib support for each variant like hard-float, 64 bit, big-endian and so on. Please let me know what i am missing. Also the yocto release which i am working has already been applied with the patch mention in the Richard. Thanks and regards, Atul
Atul: Please do not reopen old resolved bugs which you were not party to. I'm presuming you are not seeing a libc6 >= 2.18 bug so this does not apply to you. Filing the new bug 6505 was the correct thing to do.
Move back to closed.