Can't emerge dev-util/valgrind-2.1.0. Reproducible: Always Steps to Reproduce: 1. emerge valgrind 2. 3. Actual Results: wopr-mobile root # emerge valgrind Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/valgrind-2.1.0 to / >>> Downloading ftp://trumpetti.atm.tut.fi/gentoo/distfiles/valgrind-2.1.0.tar.bz2 --19:35:09-- ftp://trumpetti.atm.tut.fi/gentoo/distfiles/valgrind-2.1.0.tar.bz2 => `/usr/portage/distfiles/valgrind-2.1.0.tar.bz2' Resolving trumpetti.atm.tut.fi... 130.230.54.100 Connecting to trumpetti.atm.tut.fi[130.230.54.100]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /gentoo/distfiles ... done. ==> PASV ... done. ==> RETR valgrind-2.1.0.tar.bz2 ... done. Length: 762,386 (unauthoritative) 100%[====================================>] 762,386 88.20K/s ETA 00:00 19:35:19 (91.31 KB/s) - `/usr/portage/distfiles/valgrind-2.1.0.tar.bz2' saved [762386] >>> md5 src_uri ;-) valgrind-2.1.0.tar.bz2 >>> Unpacking source... >>> Unpacking valgrind-2.1.0.tar.bz2 to /var/tmp/portage/valgrind-2.1.0/work >>> Source unpacked. X configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for perl... /usr/bin/perl checking for gdb... /usr/bin/gdb checking for a supported version of gcc... ok (gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)) checking build system type... i686-pc-linux checking host system type... i686-pc-linux-gnu checking for a supported CPU... ok (i686) checking for a supported OS... ok (linux-gnu) checking for the kernel version... 2.6 family (2.6.3-gentoo-r2) checking for egrep... grep -E checking the glibc version... 2.3 family checking whether sched_param has a sched_priority member... yes checking whether nfds_t is defined... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking XFree version... not a XFree86 server unknown XFree86 server () checking if gas accepts .cfi... yes checking if gcc accepts -mpreferred-stack-boundary... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for uid_t in sys/types.h... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking for floor... no checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for strchr... yes checking for strdup... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating valgrind.spec config.status: creating valgrind.pc config.status: creating docs/Makefile config.status: creating tests/Makefile config.status: creating tests/vg_regtest config.status: creating tests/unused/Makefile config.status: creating include/Makefile config.status: creating auxprogs/Makefile config.status: creating coregrind/Makefile config.status: creating coregrind/demangle/Makefile config.status: creating coregrind/docs/Makefile config.status: creating coregrind/valgrind config.status: creating addrcheck/Makefile config.status: creating addrcheck/tests/Makefile config.status: creating addrcheck/docs/Makefile config.status: creating memcheck/Makefile config.status: creating memcheck/tests/Makefile config.status: creating memcheck/docs/Makefile config.status: creating cachegrind/Makefile config.status: creating cachegrind/tests/Makefile config.status: creating cachegrind/docs/Makefile config.status: creating cachegrind/cg_annotate config.status: creating corecheck/Makefile config.status: creating corecheck/tests/Makefile config.status: creating corecheck/docs/Makefile config.status: creating helgrind/Makefile config.status: creating helgrind/tests/Makefile config.status: creating helgrind/docs/Makefile config.status: creating lackey/Makefile config.status: creating lackey/tests/Makefile config.status: creating lackey/docs/Makefile config.status: creating none/Makefile config.status: creating none/tests/Makefile config.status: creating none/docs/Makefile config.status: creating config.h config.status: executing depfiles commands Using the following suppressions by default: glibc-2.3.supp xfree-3.supp xfree-4.supp make all-recursive make[1]: Entering directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0' Making all in coregrind make[2]: Entering directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0/coregrind' Making all in demangle make[3]: Entering directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0/coregrind/demangle' if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../include -Winline -Wall -Wshadow -O -fomit-frame-pointer -g -Wno-unused -Wno-shadow -MT cp-demangle.o -MD -MP -MF ".deps/cp-demangle.Tpo" \ -c -o cp-demangle.o `test -f 'cp-demangle.c' || echo './'`cp-demangle.c; \ then mv -f ".deps/cp-demangle.Tpo" ".deps/cp-demangle.Po"; \ else rm -f ".deps/cp-demangle.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../include -Winline -Wall -Wshadow -O -fomit-frame-pointer -g -Wno-unused -MT cplus-dem.o -MD -MP -MF ".deps/cplus-dem.Tpo" \ -c -o cplus-dem.o `test -f 'cplus-dem.c' || echo './'`cplus-dem.c; \ then mv -f ".deps/cplus-dem.Tpo" ".deps/cplus-dem.Po"; \ else rm -f ".deps/cplus-dem.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../include -Winline -Wall -Wshadow -O -fomit-frame-pointer -g -MT dyn-string.o -MD -MP -MF ".deps/dyn-string.Tpo" \ -c -o dyn-string.o `test -f 'dyn-string.c' || echo './'`dyn-string.c; \ then mv -f ".deps/dyn-string.Tpo" ".deps/dyn-string.Po"; \ else rm -f ".deps/dyn-string.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../include -Winline -Wall -Wshadow -O -fomit-frame-pointer -g -MT safe-ctype.o -MD -MP -MF ".deps/safe-ctype.Tpo" \ -c -o safe-ctype.o `test -f 'safe-ctype.c' || echo './'`safe-ctype.c; \ then mv -f ".deps/safe-ctype.Tpo" ".deps/safe-ctype.Po"; \ else rm -f ".deps/safe-ctype.Tpo"; exit 1; \ fi rm -f libdemangle.a ar cru libdemangle.a cp-demangle.o cplus-dem.o dyn-string.o safe-ctype.o ranlib libdemangle.a make[3]: Leaving directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0/coregrind/demangle' Making all in . make[3]: Entering directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0/coregrind' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -DVG_LIBDIR="\"/usr/lib"\" -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -fpic -fno-omit-frame-pointer -MT vg_replace_malloc.o -MD -MP -MF ".deps/vg_replace_malloc.Tpo" \ -c -o vg_replace_malloc.o `test -f 'vg_replace_malloc.c' || echo './'`vg_replace_malloc.c; \ then mv -f ".deps/vg_replace_malloc.Tpo" ".deps/vg_replace_malloc.Po"; \ else rm -f ".deps/vg_replace_malloc.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -DVG_LIBDIR="\"/usr/lib"\" -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -fpic -MT vg_scheduler.o -MD -MP -MF ".deps/vg_scheduler.Tpo" \ -c -o vg_scheduler.o `test -f 'vg_scheduler.c' || echo './'`vg_scheduler.c; \ then mv -f ".deps/vg_scheduler.Tpo" ".deps/vg_scheduler.Po"; \ else rm -f ".deps/vg_scheduler.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -DVG_LIBDIR="\"/usr/lib"\" -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -fpic -MT vg_default.o -MD -MP -MF ".deps/vg_default.Tpo" \ -c -o vg_default.o `test -f 'vg_default.c' || echo './'`vg_default.c; \ then mv -f ".deps/vg_default.Tpo" ".deps/vg_default.Po"; \ else rm -f ".deps/vg_default.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -DVG_LIBDIR="\"/usr/lib"\" -Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -fpic -MT vg_demangle.o -MD -MP -MF ".deps/vg_demangle.Tpo" \ -c -o vg_demangle.o `test -f 'vg_demangle.c' || echo './'`vg_demangle.c; \ then mv -f ".deps/vg_demangle.Tpo" ".deps/vg_demangle.Po"; \ else rm -f ".deps/vg_demangle.Tpo"; exit 1; \ fi vg_scheduler.c: In function `release_one_thread_waiting_on_mutex': vg_scheduler.c:1986: error: union has no member named `__m_owner' vg_scheduler.c:1991: error: union has no member named `__m_count' vg_scheduler.c:1992: error: union has no member named `__m_owner' vg_scheduler.c:1998: error: union has no member named `__m_owner' vg_scheduler.c:1998: error: `_pthread_descr' undeclared (first use in this function) vg_scheduler.c:1998: error: (Each undeclared identifier is reported only once vg_scheduler.c:1998: error: for each function it appears in.) vg_scheduler.c:1998: error: syntax error before "i" vg_scheduler.c: In function `do_pthread_mutex_lock': vg_scheduler.c:2042: error: union has no member named `__m_kind' vg_scheduler.c:2052: error: union has no member named `__m_count' vg_scheduler.c:2061: error: union has no member named `__m_count' vg_scheduler.c:2063: error: union has no member named `__m_owner' vg_scheduler.c:2066: error: union has no member named `__m_owner' vg_scheduler.c:2068: error: union has no member named `__m_kind' vg_scheduler.c:2070: error: union has no member named `__m_count' vg_scheduler.c:2074: error: union has no member named `__m_count' vg_scheduler.c:2107: error: union has no member named `__m_owner' vg_scheduler.c:2112: error: union has no member named `__m_count' vg_scheduler.c:2113: error: union has no member named `__m_owner' vg_scheduler.c:2113: error: `_pthread_descr' undeclared (first use in this function) vg_scheduler.c:2113: error: syntax error before "tid" vg_scheduler.c: In function `do_pthread_mutex_unlock': vg_scheduler.c:2147: error: union has no member named `__m_kind' vg_scheduler.c:2148: error: union has no member named `__m_kind' vg_scheduler.c:2149: error: union has no member named `__m_owner' vg_scheduler.c:2150: error: union has no member named `__m_owner' vg_scheduler.c:2154: error: union has no member named `__m_kind' vg_scheduler.c:2164: error: union has no member named `__m_count' vg_scheduler.c:2174: error: union has no member named `__m_count' vg_scheduler.c:2182: error: union has no member named `__m_owner' vg_scheduler.c:2192: error: union has no member named `__m_count' vg_scheduler.c:2193: error: union has no member named `__m_kind' vg_scheduler.c:2194: error: union has no member named `__m_count' vg_scheduler.c:2201: error: union has no member named `__m_count' vg_scheduler.c:2202: error: union has no member named `__m_owner' vg_scheduler.c: In function `do_pthread_cond_timedwait_TIMEOUT': vg_scheduler.c:2256: error: union has no member named `__m_owner' vg_scheduler.c:2258: error: union has no member named `__m_count' vg_scheduler.c:2263: error: union has no member named `__m_owner' vg_scheduler.c:2263: error: `_pthread_descr' undeclared (first use in this function) vg_scheduler.c:2263: error: syntax error before "tid" vg_scheduler.c:2264: error: union has no member named `__m_count' vg_scheduler.c:2276: error: union has no member named `__m_count' vg_scheduler.c: In function `release_N_threads_waiting_on_cond': vg_scheduler.c:2326: error: union has no member named `__m_owner' vg_scheduler.c:2328: error: union has no member named `__m_count' vg_scheduler.c:2332: error: union has no member named `__m_owner' vg_scheduler.c:2332: error: `_pthread_descr' undeclared (first use in this function) vg_scheduler.c:2332: error: syntax error before "i" vg_scheduler.c:2333: error: union has no member named `__m_count' vg_scheduler.c:2346: error: union has no member named `__m_count' vg_scheduler.c: In function `do_pthread_cond_wait': vg_scheduler.c:2395: error: union has no member named `__m_kind' vg_scheduler.c:2405: error: union has no member named `__m_count' vg_scheduler.c:2415: error: union has no member named `__m_count' vg_scheduler.c:2416: error: union has no member named `__m_owner' vg_scheduler.c: In function `scheduler_sanity': vg_scheduler.c:3238: error: union has no member named `__m_count' vg_scheduler.c:3239: error: union has no member named `__m_owner' vg_scheduler.c:3240: error: union has no member named `__m_owner' make[3]: *** [vg_scheduler.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0/coregrind' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0/coregrind' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/valgrind-2.1.0/work/valgrind-2.1.0' make: *** [all] Error 2 !!! ERROR: dev-util/valgrind-2.1.0 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) wopr-mobile root # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13p1 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/env.d" CXXFLAGS="-march=pentium3 -Os -fomit-frame-pointer -mmmx -msse -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gnome-current" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm arts avi berkdb cdr crypt cups dga dvd encode esd evo foomaticdb gdbm gif gnome gpm gtk gtk2 guile imap imlib innodb java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nntp nptl oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd truetype video_cards_mach64 x86 xml2 xmms xv zlib"
*** This bug has been marked as a duplicate of 32966 ***