<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5333</bug_id>
          
          <creation_ts>2013-10-10 08:19:13 +0000</creation_ts>
          <short_desc>meta-toolchain: no package provides libc6 &gt;= 2.18 when multilib enabled</short_desc>
          <delta_ts>2014-07-10 15:54:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="chnarius">chnarius</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>atul.singh008</cc>
    
    <cc>dvhart</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>raj.khem</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37792</commentid>
    <comment_count>0</comment_count>
    <who name="chnarius">chnarius</who>
    <bug_when>2013-10-10 08:19:13 +0000</bug_when>
    <thetext>When I built meta-toolchain with multilib support, met this error:
| error: Can&apos;t install nativesdk-qemu-helper-1.0-r9@x86_64_nativesdk: no package provides libc6 &gt;= 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 = &quot;6&quot;

BBPATH = &quot;${TOPDIR}&quot;
BBFILES ?= &quot;&quot;

BBLAYERS ?= &quot; \
  /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 \
  &quot;
BBLAYERS_NON_REMOVABLE ?= &quot; \
  /home/jenkins/yocto-standalone-build/p5020ds/meta \
  /home/jenkins/yocto-standalone-build/p5020ds/meta-yocto \
  &quot;
[jenkins@sbuilder137 build_p5020ds_release]$ grep -v ^# conf/local.conf
MACHINE ??= &apos;p5020ds&apos;
DISTRO ?= &apos;poky&apos;
PACKAGE_CLASSES ?= &quot;package_rpm&quot;
EXTRA_IMAGE_FEATURES = &quot;debug-tweaks&quot;
USER_CLASSES ?= &quot;buildstats image-mklibs&quot;
PATCHRESOLVE = &quot;noop&quot;
BB_DISKMON_DIRS = &quot;\
    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&quot; 
CONF_VERSION = &quot;1&quot;
require conf/multilib.conf
MULTILIBS = &quot;multilib:lib64&quot;
DEFAULTTUNE_virtclass-multilib-lib64 = &quot;ppc64e5500&quot;

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&apos;t install nativesdk-qemu-helper-1.0-r9@x86_64_nativesdk: no package provides libc6 &gt;= 2.18
|
| Saving cache...
|</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37868</commentid>
    <comment_count>1</comment_count>
    <who name="chnarius">chnarius</who>
    <bug_when>2013-10-14 09:38:51 +0000</bug_when>
    <thetext>No problem until the below commit:

commit 8ebe7be3d9494c3467b5533091bf6832030aad99
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Fri Sep 13 13:35:31 2013 +0100

    bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37908</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2013-10-14 17:18:20 +0000</bug_when>
    <thetext>I am seeing the same problem when enabling multilib on ppc64/x86_64 in both cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37936</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-10-15 13:41:00 +0000</bug_when>
    <thetext>I&apos;ve posted a couple of patches which fix this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38004</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-10-17 11:18:41 +0000</bug_when>
    <thetext>Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=40420b90062f0a34cc63f7308a0b153455c9f224</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38020</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-10-17 15:40:32 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID: 529bf977e956175bd8405ebffc88194192e44740</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38028</commentid>
    <comment_count>6</comment_count>
    <who name="chnarius">chnarius</who>
    <bug_when>2013-10-18 03:48:43 +0000</bug_when>
    <thetext>Verified on my side. thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44394</commentid>
    <comment_count>7</comment_count>
    <who name="ATUL">atul.singh008</who>
    <bug_when>2014-07-09 11:38:41 +0000</bug_when>
    <thetext>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 ??= &quot;qemuarm&quot;
              require conf/multilib.conf
              MULTILIBS = &quot;multilib:lib32&quot;
              DEFAULTTUNE_virtclass-multilib-lib32 = &quot;armv5&quot;
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44423</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-07-10 15:53:50 +0000</bug_when>
    <thetext>Atul: Please do not reopen old resolved bugs which you were not party to. I&apos;m presuming you are not seeing a libc6 &gt;= 2.18 bug so this does not apply to you. Filing the new bug 6505 was the correct thing to do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44424</commentid>
    <comment_count>9</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-07-10 15:54:41 +0000</bug_when>
    <thetext>Move back to closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>