Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81258 - [glibc/tests] glibc-2.2.5-r10 make check fails globtests
Summary: [glibc/tests] glibc-2.2.5-r10 make check fails globtests
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 09:59 UTC by Matt Taylor
Modified: 2007-04-04 15:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Taylor 2005-02-08 09:59:26 UTC
gcc globtest.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=i686 -pipe      -I../include -I. -I/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/posix -I.. -I../libio  -I/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic   -D_LIBC_REENTRANT -include ../include/libc-symbols.h     -o /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/posix/globtest.o
gcc -nostdlib -nostartfiles -o /mnt/portage/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,combreloc /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crt1.o /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crti.o `gcc --print-file-name=crtbegin.o` /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/posix/globtest.o  -Wl,-rpath-link=/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/libc.so.6 /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/csu/crtn.o
/bin/sh -e globtest.sh /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/elf/ \
         ld-linux.so.2
make[2]: *** [/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere/posix/globtest.out] Error 1
make[2]: Leaving directory `/mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/posix'
make[1]: *** [posix/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

!!! 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.

going into /mnt/portage/tmp/portage/glibc-2.2.5-r10/work/glibc-2.2.5/buildhere and running make check has no errors.

# emerge info
Portage 2.0.51-r15 (!/usr/portage/profiles/default-linux/x86/gcc2, gcc-2.95.3, glibc-2.2.5-r9, 2.6.7-gentoo-r14 i686)
=================================================================
System uname: 2.6.7-gentoo-r14 i686 AMD Athlon(tm) 
Gentoo Base System version 1.5.3
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 11:52:37)]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.4, 1.4_p6, 1.6.3, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/mnt/portage/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/portage/tmp"
PORTDIR="/mnt/portage/portage"
PORTDIR_OVERLAY="/mnt/portage/portage-local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X alsa apm avi bash-completion berkdb bitmap-fonts bonobo canna cdr crypt cups directfb dvd encode esd f77 fam flac font-server foomaticdb fortran gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jpeg ldap libg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg ncurses oggvorbis opengl oss pam pdflib perl png python readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Anthony Floyd 2005-02-19 08:48:47 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"
Comment 2 SpanKY gentoo-dev 2005-02-23 17:43:57 UTC
if you guys edit the ebuild and remove the 'unset LD_PRELOAD', does it work ?
Comment 3 Matt Taylor 2005-02-23 20:57:46 UTC
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.
Comment 4 Anthony Floyd 2005-02-24 06:46:06 UTC
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



Comment 5 Matt Taylor 2005-03-16 12:11:31 UTC
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.
Comment 6 Anthony Floyd 2005-03-20 17:29:34 UTC
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 :(.
Comment 7 Matt Taylor 2005-03-23 19:29:50 UTC
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

Comment 8 mark 2005-10-16 09:33:34 UTC
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 ;-)
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 15:13:13 UTC
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