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 'do_configure' 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 'do_configure' 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'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': | configure: error: cannot compute suffix of object files: cannot compile | See `config.log' 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 '1'
the failure also happens on atom-pc. there'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 <stdin>: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': | 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': | 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
however I can't reproduce it in my local build environment, strange...
The only thing I can think of at this point, is that it'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'm testing right now to see if clearing out the sstate cache when I run an lsb build causes this to not fail.
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).
Some notes on the specific glibc problem: It only occurs if the original work directory isn'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.
See notes in #790, probably related, some issues are now resolved.
Its #792, not #790
Kevin Tian submitted a fix to ensure these packages are reused on the autobuilder. I've also submitted fixes for the symlink problem which resolves the glibc issues reported in this bug. There are other sstate issues but we'll track those with the other open bugs and close this one.