Summary: | [glibc/tests] glibc-2.2.5-r10 make check fails globtests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Taylor <liverbugg> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matt Taylor
2005-02-08 09:59:26 UTC
Same problem here, completely different system. I also ran the make check, which passed fine. gcc -nostdlib -nostartfiles -o /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/posix/globtest -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,combr eloc /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crt1.o /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crti.o `gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/posix/globtest.o -Wl,-rpath-link=/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/math:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/dlfcn:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nss:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nis:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/rt:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/resolv:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/crypt:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/linuxthreads /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/libc.so.6 /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crtn.o /bin/sh -e globtest.sh /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/ /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf/ \ ld-linux.so.2 make[2]: *** [/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/posix/globtest.out] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/posix' make[1]: *** [posix/tests] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5' make: *** [check] Error 2 !!! ERROR: sys-libs/glibc-2.2.5-r10 failed. !!! Function src_test, Line 79, Exitcode 2 !!! make check failed !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.51-r3 (default-linux/x86/gcc2, gcc-2.95.3, glibc-2.2.5-r2,glibc-2.2. 5-r9, 2.4.20-gentoo-r6 i686) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Pentium Pro Gentoo Base System version 1.4.3.10p1 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.18,sys-kernel/linux-headers-2.4.19-r1,sys -kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7,sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 apache2 berkdb bitmap-fonts crypt cups emboss encode f77 font-server foomaticdb fortran gdbm gif gpm gtk2 imagemagick imap imlib innodb java jpeg libg++ libwww mad maildir motif mpeg mysql ncurses nls odbc oggvorbis pam pdflib perl png python readline samba sasl sdl slang snmp spell ssl svga tcpd tiff truetype-fonts type1-fonts xml2 zlib" if you guys edit the ebuild and remove the 'unset LD_PRELOAD', does it work ? GCONV_PATH=/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/iconvdata LC_ALL=C /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf/ld-linux.so.2 --library-path /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/math:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/dlfcn:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nss:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nis:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/rt:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/resolv:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/crypt:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/linuxthreads /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek > /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek.out make[2]: *** [/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek.out] Error 139 make[2]: Leaving directory `/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/stdio-common' make[1]: *** [stdio-common/tests] Error 2 make[1]: Leaving directory `/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5' make: *** [check] Error 2 however, # cd /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/ # GCONV_PATH=/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/iconvdata LC_ALL=C /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf/ld-linux.so.2 --library-path /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/math:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/dlfcn:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nss:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nis:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/rt:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/resolv:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/crypt:/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/linuxthreads /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek File seek test 1 ... 255 Test succeeded. the file test-fseek.out is empty in the build done with portage. At the risk of sounding like a "me too", uh, me too. Sorry about the delay; on this machine reaching this point took ... oh 5 or 6 hours. gcc -nostdlib -nostartfiles -o /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,combreloc /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crt1.o /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crti.o `gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek.o -Wl,-rpath-link=/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/math:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/dlfcn:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nss:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nis:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/rt:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/resolv:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/crypt:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/linuxthreads /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/libc.so.6 /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crtn.o GCONV_PATH=/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/iconvdata LC_ALL=C /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/math:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/dlfcn:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nss:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/nis:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/rt:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/resolv:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/crypt:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/linuxthreads /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek > /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek.out make[2]: *** [/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common/test-fseek.out] Error 139 make[2]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/stdio-common' make[1]: *** [stdio-common/tests] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5' make: *** [check] Error 2 !!! ERROR: sys-libs/glibc-2.2.5-r10 failed. !!! Function src_test, Line 79, Exitcode 2 !!! make check failed !!! If you need support, post the topmost build error, NOT this status message. And running the test by hand... GCONV_PATH=/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/iconvdata LC_ALL=C /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf/ld-l inux.so.2 --library-path /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/build here:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/math:/var/tmp/p ortage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/elf:/var/tmp/portage/glibc-2.2 .5-r10/work/glibc-2.2.5/buildhere/dlfcn:/var/tmp/portage/glibc-2.2.5-r10/work/gl ibc-2.2.5/buildhere/nss:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildh ere/nis:/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/rt:/var/tmp/ portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/resolv:/var/tmp/portage/glibc -2.2.5-r10/work/glibc-2.2.5/buildhere/crypt:/var/tmp/portage/glibc-2.2.5-r10/wor k/glibc-2.2.5/buildhere/linuxthreads /var/tmp/portage/glibc-2.2.5-r10/work/glibc -2.2.5/buildhere/stdio-common/test-fseek File seek test 1 2 [...] 254 255 Test succeeded. # pwd /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/stdio-common # ls -l *.out -rw-r--r-- 1 root root 0 Feb 24 01:38 test-fseek.out -rw-r--r-- 1 root root 68 Feb 24 01:38 test-popen.out -rw-r--r-- 1 root root 16 Feb 24 01:38 test_rdwr.out -rw-r--r-- 1 root root 971 Feb 24 01:38 tstgetln.out -rw-r--r-- 1 root root 852 Feb 24 01:38 tstscanf.out I just went back and checked my log from glibc-2.2.5-r9 from Nov 17 2003 and glibc-2.2.5-r7 from Mar 2 2003 and make check failed there too, but there was no || die on it so the install completed. -r7 failed with: make[2]: *** [/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/stdio-c ommon/test-fseek.out] Error 139 -r9 failed with: In file included from tst-gettext.c:37: /var/tmp/portage/glibc-2.2.5-r9/work/glibc-2.2.5/buildhere/intl/msgs.h:2068: war ning: This file contains more `{'s than `}'s. tst-gettext.c:38: parse error before `;' tst-gettext.c:43: duplicate array index in initializer tst-gettext.c:43: (near initialization for `msgs') tst-gettext.c:43: warning: missing braces around initializer tst-gettext.c:43: warning: (near initialization for `msgs[986]') tst-gettext.c:44: duplicate array index in initializer tst-gettext.c:44: (near initialization for `msgs[986]') tst-gettext.c: In function `positive_dcgettext_test': tst-gettext.c:313: `catname' undeclared (first use in this function) tst-gettext.c:313: (Each undeclared identifier is reported only once tst-gettext.c:313: for each function it appears in.) tst-gettext.c: In function `negative_dcgettext_test': tst-gettext.c:337: `catname' undeclared (first use in this function) make[2]: *** [/var/tmp/portage/glibc-2.2.5-r9/work/glibc-2.2.5/buildhere/intl/ts t-gettext.o] Error 1 I'm assuming there was something else wrong with the -r9 build and that it would've hit the same error as -r7 and -r10 get if it made it that far. OK, this was getting annoying, so I went back and reset CFLAGS to CFLAGS="-mcpu=i686 -O2 -pipe". (The change being -O2 from -O3). After chugging away on things for many hours, it compiled and installed fine. Should have made this change weeks ago :(. That shouldn't have changed anything...the ebuild locks it at O2 in do_filter_flags() # Lock glibc at -O2 -- linuxthreads needs it and we want to be conservat ive here filter-flags -O? append-flags -O2 Hi everyone! i seem to be having similar problems, though my build stops at another spot. This is where i get the error: /bin/sh -e tst-gettext.sh /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/ /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/intl/ \ /var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/intl/tst-gettext.mtrace msgfmt: iconv failure: Argument list too long make[2]: *** [/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/intl/tst-gettext.out] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/intl' make[1]: *** [intl/tests] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5' make: *** [check] Error 2 I was building with FEATURES=-sandbox Here's my emerge info: Portage 2.0.51.22-r3 (default-linux/x86/gcc2, gcc-2.95.3, glibc-2.3.4.20041102-r1, 2.6.12-ck5 i686) ================================================================= System uname: 2.6.12-ck5 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: [Not Present] sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: [Not Present] virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY I was bootstrapping from a 2005.1... any news? let me know ;-) src_test() is not supported in versions older than glibc-2.5-r1 ... if that version fails a test, then open a new bug report with relevant information |