<?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>903</bug_id>
          
          <creation_ts>2011-03-17 21:07:25 +0000</creation_ts>
          <short_desc>do_configure of eglibc fails in x86 and x86_64 poky-image-lsb</short_desc>
          <delta_ts>2011-03-21 07:17:52 +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.0-alpha</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</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>12798</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-03-17 21:07:25 +0000</bug_when>
    <thetext>Steps:

After running non-lsb builds (which passed), ran bitbake poky-image-lsb poky-image-lsb-dev poky-image-lsb-sdk on the autobuilder.

Fails for both x86 and x86-64. See:
http://autobuilder.yoctoproject.org:8010/builders/nightly-internal-lsb/builds/1/steps/shell_4/logs/stdio
and
http://autobuilder.yoctoproject.org:8010/builders/nightly-internal-lsb/builds/1/steps/shell_4/logs/stdio

ERROR: Function &apos;do_configure&apos; failed (see /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/work/i586-poky-linux/eglibc-2.12-r13/temp/log.do_configure.30534 for further information)
ERROR: Logfile of failure stored in: /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/work/i586-poky-linux/eglibc-2.12-r13/temp/log.do_configure.30534
Log data follows:
| ERROR: Function &apos;do_configure&apos; failed (see /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/work/i586-poky-linux/eglibc-2.12-r13/temp/log.do_configure.30534 for further information)
| Perl lib version (5.12.2) doesn&apos;t match executable version (v5.10.0) at /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.12.2/Config.pm line 50.
| Compilation failed in require at /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.12.2/File/Copy.pm line 14.
| BEGIN failed--compilation aborted at /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/x86_64-linux/usr/lib/perl/5.12.2/File/Copy.pm line 14.
| Compilation failed in require at /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/FileUtils.pm line 166.
| BEGIN failed--compilation aborted at /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/x86_64-linux/usr/share/autoconf/Autom4te/FileUtils.pm line 166.
| Compilation failed in require at /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/x86_64-linux/usr/bin/autom4te line 41.
| BEGIN failed--compilation aborted at /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/x86_64-linux/usr/bin/autom4te line 41.
| NOTE: Running /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/work/i586-poky-linux/eglibc-2.12-r13/eglibc-2_12/libc/configure 		 --build=x86_64-linux 		  --host=i586-poky-linux 		  --target=i586-poky-linux 		  --prefix=/usr 		  --exec_prefix=/usr 		  --bindir=/usr/bin 		  --sbindir=/usr/sbin 		  --libexecdir=/usr/libexec 		  --datadir=/usr/share 		  --sysconfdir=/etc 		  --sharedstatedir=/com 		  --localstatedir=/var 		  --libdir=/usr/lib 		  --includedir=/usr/include 		  --oldincludedir=/usr/include 		  --infodir=/usr/share/info 		  --mandir=/usr/share/man 		  --with-libtool-sysroot=/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86 --enable-kernel=2.4.0                 --without-cvs --disable-profile --disable-debug --without-gd                 --enable-clocale=gnu                 --enable-add-ons=nptl,ports                 --with-headers=/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86/usr/include                 --without-selinux                 --with-tls  ...
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... i586-poky-linux-gnu
| checking for i586-poky-linux-gcc... i586-poky-linux-gcc -march=i586 --sysroot=/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86-tcbootstrap
| checking for suffix of object files... configure: error: in `/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/work/i586-poky-linux/eglibc-2.12-r13/build-i586-poky-linux&apos;:
| configure: error: cannot compute suffix of object files: cannot compile
| See `config.log&apos; for more details.
| FATAL: oe_runconf failed
NOTE: package eglibc-2.12-r13: task do_configure: Failed
NOTE: package eglibc-initial-2.12-r13: task do_patch: Started
NOTE: package eglibc-initial-2.12-r13: task do_patch: Succeeded
ERROR: Task 845 (/builds2/pokybuilds/nightly-internal-lsb/build/meta/recipes-core/eglibc/eglibc_2.12.bb, do_configure) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12808</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2011-03-18 00:11:27 +0000</bug_when>
    <thetext>the failure also happens on atom-pc.

there&apos;re other failures in whole toolchain:

[eglibc-initial.do_install]
In file included from ./sysdeps/unix/sysdep.h:21:0,
|                  from ./sysdeps/unix/i386/sysdep.h:19,
|                  from sysdeps/unix/sysv/linux/i386/sysdep.h:25,
|                  from &lt;stdin&gt;:1:
| sysdeps/unix/sysv/linux/sys/syscall.h:25:24: fatal error: asm/unistd.h: No such file or directory
...

[gcc-cross-intermediate.do_compile]
| checking for suffix of object files... configure: error: in `/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/work/i586-poky-linux/gcc-cross-intermediate-4.5.1-r5/gcc-4.5.1/build.x86_64-linux.i586-poky-linux/i586-poky-linux/libgcc&apos;:
| configure: error: cannot compute suffix of object files: cannot compile

[gcc-cross-initial.do_compile]
| checking for suffix of object files... configure: error: in `/builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/work/i586-poky-linux/gcc-cross-initial-4.5.1-r4/gcc-4.5.1/build.x86_64-linux.i586-poky-linux/i586-poky-linux/libgcc&apos;:
| configure: error: cannot compute suffix of object files: cannot compile

[gcc-cross.do_compile]
| The directory that should contain system headers does not exist:
|   /builds2/pokybuilds/nightly-internal-lsb/build/build/tmp/sysroots/qemux86/usr/include</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12811</commentid>
    <comment_count>2</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2011-03-18 00:20:51 +0000</bug_when>
    <thetext>however I can&apos;t reproduce it in my local build environment, strange...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12816</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-03-18 00:46:15 +0000</bug_when>
    <thetext>The only thing I can think of at this point, is that it&apos;s getting polluted from the prior run of the non-lsb target and picking up issues from /home/pokybuild/sstate-cache. Since all the build failures seem to be around toolchain issues here, I&apos;m testing right now to see if clearing out the sstate cache when I run an lsb build causes this to not fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12817</commentid>
    <comment_count>4</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2011-03-18 00:48:47 +0000</bug_when>
    <thetext>based on my chat with Beth, when sstate-cache is shared between two machines, the src path on them are different. then it may be caused by the bug 894 (http://bugzilla.pokylinux.org/show_bug.cgi?id=894).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12838</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-18 11:38:19 +0000</bug_when>
    <thetext>Some notes on the specific glibc problem:

It only occurs if the original work directory isn&apos;t there.

Its due the sstate packages for the toolchain bootstrap containing symlinks which point at the original build directory with absolute paths.

Ideally, sstate would fix these up, ideally making them relative would solve the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12847</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-18 18:35:53 +0000</bug_when>
    <thetext>See notes in #790, probably related, some issues are now resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12858</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-21 05:23:33 +0000</bug_when>
    <thetext>Its #792, not #790</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12866</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-21 07:17:52 +0000</bug_when>
    <thetext>Kevin Tian submitted a fix to ensure these packages are reused on the autobuilder. I&apos;ve also submitted fixes for the symlink problem which resolves the glibc issues reported in this bug. There are other sstate issues but we&apos;ll track those with the other open bugs and close this one.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>