<?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>2503</bug_id>
          
          <creation_ts>2012-05-25 19:36:37 +0000</creation_ts>
          <short_desc>task-base-extended depends on libc6 &gt;=2.15, 2.13 is built</short_desc>
          <delta_ts>2012-06-18 22:02:55 +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>core</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Proposed patch invalid, need method to reproduce</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>21625</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-25 19:36:37 +0000</bug_when>
    <thetext>When building core-image-base for fri2 using denzil-next

dvhart@rage:~/source/poky [denzil-next]
$ git rev-parse HEAD
7d7b305293d52a7f6ec732b83d4da627fb11b417

with the following additional packages:

EXTRA_IMAGE_FEATURES = &quot;debug-tweaks&quot;
CORE_IMAGE_EXTRA_INSTALL += &quot;tcpdump ethtool minicom setserial parted strace ofono-tests i2c-tools alsa-utils&quot;
CORE_IMAGE_EXTRA_INSTALL += &quot;python-pygobject&quot;

I get the following error:

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-base-extended:
|  *    libc6 (&gt;= 2.15) *       libc6 (&gt;= 2.15) *
|  * opkg_install_cmd: Cannot install package task-base-extended.
NOTE: package core-image-base-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/home/dvhart/source/poky/meta/recipes-core/images/core-image-base.bb, do_rootfs) failed with exit code &apos;1&apos;

Cleaning eglibc results in:

$ bitbake -c cleansstate eglibc
Loading cache: 100% |###############################################################################| ETA:  00:00:00
Loaded 1118 entries from dependency cache.
Parsing recipes: 100% |#############################################################################| Time: 00:00:00
Parsing of 846 .bb files complete (841 cached, 5 parsed). 1122 targets, 23 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /home/dvhart/source/poky/layers/poky-extras/meta-kernel-dev/recipes-kernel/linux/linux-yocto-rt_2.6.34.bbappend

OE Build Configuration:
BB_VERSION        = &quot;1.15.2&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;fri2&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.2&quot;
TUNE_FEATURES     = &quot;m32 core2&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-yocto
meta-skeleton     = &quot;denzil-next:7d7b305293d52a7f6ec732b83d4da627fb11b417&quot;
meta-intel
meta-fri2         = &quot;dvhart/fri2:25231166c509747acbf21fda68d1259917b1bfe8&quot;
meta-kernel-dev   = &quot;master:b05f0787abd3c32eb64c6e4215d0f4f34c16f1d0&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 2 (ID: 0, /home/dvhart/source/poky/meta/recipes-core/eglibc/eglibc_2.13.bb, do_clean)
NOTE: package eglibc-2.13-r26+svnr15508: task do_clean: Started
NOTE: package eglibc-2.13-r26+svnr15508: task do_clean: Succeeded
NOTE: Running task 2 of 2 (ID: 1, /home/dvhart/source/poky/meta/recipes-core/eglibc/eglibc_2.13.bb, do_cleansstate)
NOTE: package eglibc-2.13-r26+svnr15508: task do_cleansstate: Started
NOTE: package eglibc-2.13-r26+svnr15508: task do_cleansstate: Succeeded
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn&apos;t need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.


Which shows eglibc is building version 2.13</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21626</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-25 19:43:17 +0000</bug_when>
    <thetext>Something appears to be changing the PREFERRED_VERSION, and I&apos;m trying to dig up what that might be...

$ bitbake eglibc -e | grep -e &quot;^PREFERRED_VERSION_eglibc.*=&quot;
PREFERRED_VERSION_eglibc-nativesdk=&quot;2.15&quot;
PREFERRED_VERSION_eglibc-initial-nativesdk=&quot;2.15&quot;
PREFERRED_VERSION_eglibc=&quot;2.13&quot;
PREFERRED_VERSION_eglibc-locale=&quot;2.13&quot;
PREFERRED_VERSION_eglibc-initial=&quot;2.13&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21627</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-25 19:44:43 +0000</bug_when>
    <thetext>dvhart@rage:~/source/poky [denzil-next]
$ git grep PREFERRED_VERSION_eglibc
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc                   ?= &quot;${EGLIBCVERSION}&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc-locale            ?= &quot;${EGLIBCVERSION}&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc-nativesdk         ?= &quot;2.15&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc-initial           ?= &quot;${EGLIBCVERSION}&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc-initial-nativesdk ?= &quot;2.15&quot;

dvhart@rage:~/source/poky [denzil-next]
$ git grep EGLIBCVERSION
meta/conf/distro/include/tcmode-default.inc:EGLIBCVERSION ?= &quot;2.13&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc                   ?= &quot;${EGLIBCVERSION}&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc-locale            ?= &quot;${EGLIBCVERSION}&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_eglibc-initial           ?= &quot;${EGLIBCVERSION}&quot;
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_cross-localedef-native   ?= &quot;${EGLIBCVERSION}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21629</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-05-25 20:16:42 +0000</bug_when>
    <thetext>core-image-base builds successfully with the following change:

$ git diff
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 3dc0932..c85553b 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -20,7 +20,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= &quot;gettext&quot;
 GCCVERSION ?= &quot;4.6%&quot;
 SDKGCCVERSION ?= &quot;4.6%&quot;
 BINUVERSION ?= &quot;2.22&quot;
-EGLIBCVERSION ?= &quot;2.13&quot;
+EGLIBCVERSION ?= &quot;2.15&quot;
 UCLIBCVERSION ?= &quot;0.9.33&quot;
 LINUXLIBCVERSION ?= &quot;3.2&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22118</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-06-13 13:04:36 +0000</bug_when>
    <thetext>We can&apos;t change the eglibc version in a point release. It is meant to be building 2.15 for nativesdk and 2.13 for everything else. Somehow it sounds like there is corruption creeping from the nativesdk into the target build :(.

I thought I might be able to reproduce this locally but so far I&apos;ve been unable to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22119</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-06-13 13:08:43 +0000</bug_when>
    <thetext>Darren, had you previously build a meta-toolchain or similar maybe prior to the core-image-base?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22135</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-06-13 15:10:02 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Darren, had you previously build a meta-toolchain or similar maybe prior to
&gt; the core-image-base?

There is evidence that I have built meta-toolchain in the same build directory based on a filename search in tmp of &quot;*meta-toolchain*&quot;.

./work/core2-poky-linux/meta-toolchain-1.0-r7... among others</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22179</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-06-14 13:07:30 +0000</bug_when>
    <thetext>Need help in reproducing this as I&apos;ve been unable to do so</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22184</commentid>
    <comment_count>8</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-06-14 13:47:12 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Need help in reproducing this as I&apos;ve been unable to do so

I&apos;ve tried various things and cannot reproduce either :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22293</commentid>
    <comment_count>9</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-06-18 22:02:55 +0000</bug_when>
    <thetext>Please reopen if steps to reproduce the issue can be figured out. If anyone has a broken build I&apos;d be interested to inspect it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>