After issuing "FEATURES=test emerge -v glibc", when checking "/usr/bin/perl scripts/begin-end-check.pl ..." the check fails with error and emerge hangs on. Only Ctrl+C helps. Reproducible: Always Steps to Reproduce: FEATURES=test emerge -v glibc Actual Results: emerge failed with error and hanged on.
emerge output: [...] make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/elf' scripts/check-c++-types.sh scripts/data/c++-types-x86_64-linux-gnu.data x86_64-pc-linux-gnu-g++ -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -march=opteron -pipe -Iinclude -I/var/tmp/portage/sys-libs/glibc-2.5/work/build-amd64-x86_64-pc-linux-gnu-nptl -Isysdeps/x86_64/elf -Inptl/sysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/wordsize-64 -Iports/sysdeps/unix/sysv/linux -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Iports/sysdeps/unix/sysv -Inptl/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Iports/sysdeps/unix -Inptl/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/x86_64/fpu -Inptl/sysdeps/x86_64 -Isysdeps/x86_64 -Isysdeps/wordsize-64 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Iports -Inptl -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include -isystem /usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h > /var/tmp/portage/sys-libs/glibc-2.5/work/build-amd64-x86_64-pc-linux-gnu-nptl/c++-types-check.out scripts/check-local-headers.sh "/usr/include" "/var/tmp/portage/sys-libs/glibc-2.5/work/build-amd64-x86_64-pc-linux-gnu-nptl/" > /var/tmp/portage/sys-libs/glibc-2.5/work/build-amd64-x86_64-pc-linux-gnu-nptl/check-local-headers.out scripts/check-local-headers.sh: line 29: /bin/fgrep: Argument list too long /usr/bin/perl scripts/begin-end-check.pl argp/argp.h assert/assert.h catgets/nl_types.h crypt/crypt.h ctype/ctype.h debug/execinfo.h dirent/dirent.h dlfcn/dlfcn.h elf/elf.h elf/link.h gmon/sys/gmon.h gmon/sys/gmon_out.h gmon/sys/profil.h grp/grp.h iconv/iconv.h iconv/gconv.h inet/netinet/ether.h inet/netinet/icmp6.h inet/netinet/igmp.h inet/netinet/in.h inet/netinet/ip6.h inet/arpa/ftp.h inet/arpa/inet.h inet/arpa/telnet.h inet/arpa/tftp.h inet/protocols/routed.h inet/protocols/rwhod.h inet/protocols/talkd.h inet/protocols/timed.h inet/aliases.h inet/ifaddrs.h inet/netinet/ip6.h inet/netinet/icmp6.h intl/libintl.h io/sys/stat.h io/sys/statfs.h io/sys/vfs.h io/sys/statvfs.h io/fcntl.h io/sys/fcntl.h io/poll.h io/sys/poll.h io/utime.h io/ftw.h io/fts.h io/sys/sendfile.h libio/stdio.h libio/libio.h locale/locale.h locale/langinfo.h locale/xlocale.h login/utmp.h login/lastlog.h login/pty.h malloc/malloc.h malloc/obstack.h malloc/mcheck.h math/math.h math/complex.h math/fenv.h math/tgmath.h misc/sys/uio.h nis/rpcsvc/nis.h nis/rpcsvc/nis_callback.h nis/rpcsvc/nis_tags.h nis/rpcsvc/nislib.h nis/rpcsvc/yp.h nis/rpcsvc/yp_prot.h nis/rpcsvc/ypclnt.h nis/rpcsvc/ypupd.h nptl_db/thread_db.h nptl/sysdeps/pthread/pthread.h nptl/semaphore.h nss/nss.h posix/sys/utsname.h posix/sys/times.h posix/sys/wait.h posix/sys/types.h posix/unistd.h posix/glob.h posix/regex.h posix/wordexp.h posix/fnmatch.h posix/getopt.h posix/tar.h posix/sys/unistd.h posix/sched.h posix/re_comp.h posix/wait.h posix/cpio.h posix/spawn.h pwd/pwd.h resolv/resolv.h resolv/netdb.h resolv/arpa/nameser.h resolv/arpa/nameser_compat.h resource/sys/resource.h resource/sys/vlimit.h resource/sys/vtimes.h resource/ulimit.h rt/aio.h rt/mqueue.h setjmp/setjmp.h shadow/shadow.h signal/signal.h signal/sys/signal.h socket/sys/socket.h socket/sys/un.h stdio-common/printf.h stdio-common/stdio_ext.h stdlib/stdlib.h stdlib/alloca.h stdlib/monetary.h stdlib/fmtmsg.h stdlib/ucontext.h sysdeps/generic/inttypes.h sysdeps/generic/stdint.h stdlib/errno.h stdlib/sys/errno.h string/string.h string/strings.h string/memory.h string/endian.h string/argz.h string/envz.h string/byteswap.h sunrpc/rpc/auth.h sunrpc/rpc/auth_des.h sunrpc/rpc/auth_unix.h sunrpc/rpc/clnt.h sunrpc/rpc/des_crypt.h sunrpc/rpc/key_prot.h sunrpc/rpc/netdb.h sunrpc/rpc/pmap_clnt.h sunrpc/rpc/pmap_prot.h sunrpc/rpc/pmap_rmt.h sunrpc/rpc/rpc.h sunrpc/rpc/rpc_des.h sunrpc/rpc/rpc_msg.h sunrpc/rpc/svc.h sunrpc/rpc/svc_auth.h sunrpc/rpc/types.h sunrpc/rpc/xdr.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /var/tmp/portage/sys-libs/glibc-2.5/work/build-amd64-x86_64-pc-linux-gnu-nptl/begin-end-check.out make[1]: Target `check' not remade because of errors. make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5' make: *** [check] Error 2 * make check failed for amd64-x86_64-pc-linux-gnu-nptl !!! ERROR: sys-libs/glibc-2.5 failed. Call stack: ebuild.sh, line 1614: Called dyn_test ebuild.sh, line 1026: Called qa_call 'src_test' environment, line 4173: Called src_test glibc-2.5.ebuild, line 1151: Called die !!! tests failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/sys-libs:glibc-2.5:20070302-175242.log'. Exiting on signal 2
cat /var/tmp/portage/sys-libs/glibc-2.5/work/build-amd64-x86_64-pc-linux-gnu-nptl/begin-end-check.out: argp/argp.h: OK assert/assert.h: OK catgets/nl_types.h: OK crypt/crypt.h: OK ctype/ctype.h: OK debug/execinfo.h: OK dirent/dirent.h: OK dlfcn/dlfcn.h: OK elf/elf.h: OK elf/link.h: OK gmon/sys/gmon.h: OK gmon/sys/gmon_out.h: OK gmon/sys/profil.h: OK grp/grp.h: OK iconv/iconv.h: OK iconv/gconv.h: OK inet/netinet/ether.h: OK inet/netinet/icmp6.h: OK inet/netinet/igmp.h: OK inet/netinet/in.h: OK inet/netinet/ip6.h: OK inet/arpa/ftp.h: OK inet/arpa/inet.h: OK inet/arpa/telnet.h: OK inet/arpa/tftp.h: OK inet/protocols/routed.h: OK inet/protocols/rwhod.h: OK inet/protocols/talkd.h: OK inet/protocols/timed.h: OK inet/aliases.h: OK inet/ifaddrs.h: OK inet/netinet/ip6.h: OK inet/netinet/icmp6.h: OK intl/libintl.h: OK io/sys/stat.h: OK io/sys/statfs.h: OK io/sys/vfs.h: OK io/sys/statvfs.h: OK io/fcntl.h: OK io/sys/fcntl.h: OK io/poll.h: OK io/sys/poll.h: OK io/utime.h: OK io/ftw.h: OK io/fts.h: OK io/sys/sendfile.h: OK libio/stdio.h: OK libio/libio.h: OK locale/locale.h: OK locale/langinfo.h: OK locale/xlocale.h: OK login/utmp.h: OK login/lastlog.h: OK login/pty.h: OK malloc/malloc.h: OK malloc/obstack.h: OK malloc/mcheck.h: OK math/math.h: OK math/complex.h: OK math/fenv.h: OK math/tgmath.h: OK misc/sys/uio.h: OK nis/rpcsvc/nis.h: OK nis/rpcsvc/nis_callback.h: OK nis/rpcsvc/nis_tags.h: OK nis/rpcsvc/nislib.h: OK nis/rpcsvc/yp.h: OK nis/rpcsvc/yp_prot.h: OK nis/rpcsvc/ypclnt.h: OK nis/rpcsvc/ypupd.h: OK nptl_db/thread_db.h: OK nptl/sysdeps/pthread/pthread.h: OK nptl/semaphore.h: OK nss/nss.h: OK posix/sys/utsname.h: OK posix/sys/times.h: OK posix/sys/wait.h: OK posix/sys/types.h: OK posix/unistd.h: OK posix/glob.h: OK posix/regex.h: OK posix/wordexp.h: OK posix/fnmatch.h: OK posix/getopt.h: OK posix/tar.h: OK posix/sys/unistd.h: OK posix/sched.h: OK posix/re_comp.h: OK posix/wait.h: OK posix/cpio.h: OK posix/spawn.h: OK pwd/pwd.h: OK resolv/resolv.h: OK resolv/netdb.h: OK resolv/arpa/nameser.h: OK resolv/arpa/nameser_compat.h: OK resource/sys/resource.h: OK resource/sys/vlimit.h: OK resource/sys/vtimes.h: OK resource/ulimit.h: OK rt/aio.h: OK rt/mqueue.h: OK setjmp/setjmp.h: OK shadow/shadow.h: OK signal/signal.h: OK signal/sys/signal.h: OK socket/sys/socket.h: OK socket/sys/un.h: OK stdio-common/printf.h: OK stdio-common/stdio_ext.h: OK stdlib/stdlib.h: OK stdlib/alloca.h: OK stdlib/monetary.h: OK stdlib/fmtmsg.h: OK stdlib/ucontext.h: OK sysdeps/generic/inttypes.h: OK sysdeps/generic/stdint.h: OK stdlib/errno.h: OK stdlib/sys/errno.h: OK string/string.h: OK string/strings.h: OK string/memory.h: OK string/endian.h: OK string/argz.h: OK string/envz.h: OK string/byteswap.h: OK sunrpc/rpc/auth.h: OK sunrpc/rpc/auth_des.h: OK sunrpc/rpc/auth_unix.h: OK sunrpc/rpc/clnt.h: OK sunrpc/rpc/des_crypt.h: OK sunrpc/rpc/key_prot.h: OK sunrpc/rpc/netdb.h: OK sunrpc/rpc/pmap_clnt.h: OK sunrpc/rpc/pmap_prot.h: OK sunrpc/rpc/pmap_rmt.h: OK sunrpc/rpc/rpc.h: OK sunrpc/rpc/rpc_des.h: OK sunrpc/rpc/rpc_msg.h: OK sunrpc/rpc/svc.h: OK sunrpc/rpc/svc_auth.h: OK sunrpc/rpc/types.h: OK sunrpc/rpc/xdr.h: OK sunrpc/rpcsvc/bootparam.h: OK sysvipc/sys/ipc.h: OK sysvipc/sys/msg.h: OK sysvipc/sys/sem.h: OK sysvipc/sys/shm.h: OK termios/termios.h: OK termios/sys/termios.h: OK termios/sys/ttychars.h: OK time/time.h: OK time/sys/time.h: OK time/sys/timeb.h: OK wcsmbs/wchar.h: OK wctype/wctype.h: OK
emerge --info: Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5_TyanVX50_smp_modules_gcc4.1.1r3_9th x86_64) ================================================================= System uname: 2.6.19-gentoo-r5_TyanVX50_smp_modules_gcc4.1.1r3_9th x86_64 Dual Core AMD Opteron(tm) Processor 875 Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 02 Mar 2007 15:20:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe -msse -msse2 -mmmx -m3dnow" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=opteron -O2 -pipe -msse -msse2 -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.inf.elte.hu ftp://gentoo.inf.elte.hu ftp://ftp.nyx.hu/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo http://pandemonium.tiscali.de/pub/gentoo ftp://pandemonium.tiscali.de/pub/gentoo ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo http://gentoo.intergenia.de http://gentoo.inode.at ftp://gentoo.inode.at/source http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j17" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnowex X a52 aac aalib accessibility acpi alsa amd64 ao apm arts asf audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr clamav cli cpudetection cracklib crypt cups curl curlwrappers divx4linux doc dri dv dvd dvdr dvdread emacs emboss encode esd exif fam fbcon ffmpeg fftw firefox flac fortran ftp gd gdbm ggi gif gmp gphoto2 gpm hal iconv idn ieee1394 imagemagick imlib isdnlog java javascript jpeg kde kdeenablefinal libg++ lm_sensors mad midi ming mng mozilla mp3 mpeg mpi mule mysql ncurses nls nptl nptlonly nsplugin odbc ogg oggvorbis opengl oss pam pcmcia pcre pdf perl plotutils pmu png ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session slp sndfile spell spl ssl tcl tcltk tcpd test theora tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vorbis wifi wmf xine xinerama xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm fbdev fglrx mach64 r128 radeon vesa vga vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
scripts/check-local-headers.sh: line 29: /bin/fgrep: Argument list too long emerge didnt hang, it was probably just waiting for input ... so if you did ctrl+d, it would have continued
I remembered to try Ctrl+D, but I was not sure. Now I have checked again and CTRL+D does not help. Emerge hangs. If you have another key combination, do not hesitate to send me, I am holding the window of emerge.
that's rather irrelevant in fixing the real issue; why are you hitting the max cmdline limit ...
I would like to inform you this occured on a newly installed system starting from the 2006.1 livecd. But I do not know wether it is relevant now.
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