The tests for sys-libs/glibc-2.11.2-r3 try to use a file: /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/scripts/data/localplt-generic.data Which actually located at: /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2/scripts/data/localplt-generic.data The relevant section of the log is: /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/check-localplt /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc.so /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/math/libm.so /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/nptl/libpthread.so /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/rt/librt.so /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/resolv/libresolv.so /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/crypt/libcrypt.so | \ LC_ALL=C sort | \ diff -u ../scripts/data/localplt-generic.data - > /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/check-localplt.out make[2]: Target `tests' not remade because of errors. make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2/elf' make[1]: *** [elf/tests] Error 2 Reproducible: Always Steps to Reproduce: 1.emerge glibc Actual Results: >>> Failed to emerge sys-libs/glibc-2.11.2-r3, Log file: >>> '/var/tmp/portage/sys-libs/glibc-2.11.2-r3/temp/build.log' * Messages for package sys-libs/glibc-2.11.2-r3: * make check failed for x86-x86_64-pc-linux-gnu-nptl * make check failed for amd64-x86_64-pc-linux-gnu-nptl * ERROR: sys-libs/glibc-2.11.2-r3 failed: * tests failed * * Call stack: * ebuild.sh, line 54: Called src_test * environment, line 3931: Called eblit-run 'src_test' * environment, line 1256: Called eblit-glibc-src_test * src_test-2.11.2.eblit, line 35: Called die * The specific snippet of code: * [[ ${ret} -ne 0 ]] \ * && die "tests failed" \ * * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.11.2-r3', * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.11.2-r3'. * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.11.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.11.2-r3/temp/environment'. * S: '/var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2' Expected Results: A working build
Please post your `emerge --info' too.
Same error: cd /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf && x86_64-pc-linux-gnu-gcc -O -Wall -D_GN U_SOURCE -std=gnu99 -include ../config.h /tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2/elf/check-localplt.c -o check- localplt /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/check-localplt /tmp/portage/sys-libs/glibc-2 .11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc.so /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linu x-gnu-nptl/math/libm.so /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/nptl/libpthread.so /tmp/ portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/rt/librt.so /tmp/portage/sys-libs/glibc-2.11.2-r3/wor k/build-amd64-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu -nptl/resolv/libresolv.so /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/crypt/libcrypt.so | \ LC_ALL=C sort | \ diff -u ../scripts/data/localplt-generic.data - > /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/check-localplt.out make[2]: Target `tests' not remade because of errors. make[2]: Leaving directory `/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2/elf' make[1]: *** [elf/tests] Error 2 ~ # ls /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/scripts/data/localplt-generic.data ls: cannot access /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/scripts/data/localplt-generic.data: No such file or directory ~ # find /tmp/portage/sys-libs/glibc-2.11.2-r3/work/ -name localplt-generic.data /tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2/scripts/data/localplt-generic.data {host}~ # emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.32Thufir_Hawat x86_64) ================================================================= System uname: Linux-2.6.32Thufir_Hawat-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9000_@_2.00GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 01 Nov 2010 06:00:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.5.4-r4, 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms sign strict test unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/ ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.netnitco.net" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 a52 aac acl acpi aiglx alsa amd64 apache2 bash-completion bcmath berkdb browserplugin bzip2 cairo cdparanoia cdr clamav cli cracklib crypt css cups cxx dbus dga directfb dri dts dvb dvd dvdr encode examples fam fbcon ffmpeg firefox flac flatfile fortran ftp gd gdbm geoip gif gimp gnuplot gnutls gphoto2 gpm gsl gstreamer gtk hal iconv innodb iodbc ipv6 jabber java jpeg jpeg2k ladspa lmsensors logrotate loop-aes mad mbox mime mmx modules mp3 mudflap multilib mysql mysqli ncurses nls nptl nptlonly nsplugin odbc offensive ogg opengl openmp oss pam pcntl pcre pdf perl plotutils png portaudio pppd pulseaudio python rdesktop readline sasl session sharedext smartcard smp sndfile spell spl sse sse2 ssl svg sysfs syslog sysvipc tcpd threads tiff unicode v4l vcd vorbis wavpack wifi xattr xine xinerama xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Actually... My first error is: x86_64-pc-linux-gnu-gcc -nostdlib -nostartfiles -o /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/stdlib/tst-putenv -Wl,-dynamic-linker=/lib32/ld-linux.so.2 -Wl,-O1 -Wl,--as-needed -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crt1.o /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crti.o `x86_64-pc-linux-gnu-gcc --print-file-name=crtbegin.o` /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/stdlib/tst-putenv.o /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/stdlib/tst-putenvmod.so -Wl,-rpath-link=/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so.6 /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed `x86_64-pc-linux-gnu-gcc --print-file-name=crtend.o` /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o GCONV_PATH=/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata LC_ALL=C /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/stdlib/tst-putenv > /tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/stdlib/tst-putenv.out make[2]: *** [/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/stdlib/tst-putenv.out] Error 1 make[2]: Leaving directory `/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2/stdlib' make[1]: *** [stdlib/tests] Error 2 make[1]: Leaving directory `/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2' make: *** [check] Error 2 * make check failed - re-running with --keep-going to get the rest of the results
Created attachment 253489 [details] emerge --info
In reviewing the log I noticed that I also got an error about iconv earlier that I don't notice: /bin/sh tst-tables.sh /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/ /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata/ > /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata/tst-tables.out Testing ASCII *** FAILED *** make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata/tst-tables.out] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2/iconvdata' make[1]: *** [iconvdata/tests] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/glibc-2.11.2' make: *** [check] Error 2 * make check failed - re-running with --keep-going to get the rest of the results There is an output file and the line in it is: failed: ./tst-table.sh /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/ /var/tmp/portage/sys-libs/glibc-2.11.2-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata/ ASCII ANSI_X3.4-1968 This looks unrelated since the files are in the correct location and I suspect this is a separate testing bug.
Please post the full build log
Created attachment 254149 [details] build.log
Created attachment 254151 [details] build.log Upload errors with the previous
I searched for "Error" in the logs and came across roughly 30 other cases. The one that I report looks like a sandbox issue but may be a consequence of the previous failures.
Created attachment 254303 [details] build.log from `emerge -v glibc`
Doesn't occur in later versions. There were locale issues in glibc or glibc patches around these versions so this bug may have been a temporary artifact. With trepidation I upgraded despite the test failures and haven't had further issues.