I get a parallel make error when emerging xine-lib-1_rc2. Reproducible: Always Steps to Reproduce: 1. emerge xine-lib Actual Results: Making all in libw32dll make[3]: Entering directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1- rc2/src/libw32dll' Making all in wine make[4]: Entering directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1- rc2/src/libw32dll/wine' source='afl.c' object='afl.lo' libtool=yes \ depfile='.deps/afl.Plo' tmpdepfile='.deps/afl.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. - I../../.. -I../../../include -I../../../include -I../../../src - I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine- utils -I../../../src/input -I../../../src/input -I/usr/X11R6/include -fno- omit-frame-pointer -fno-inline-functions -fno-rename-registers -Wmissing- prototypes -Wimplicit-function-declaration -DWIN32_PATH=\"/usr/lib/win32\" - I./.. -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf `echo -Wall - D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested- externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing- prototypes -O2 -march=pentium3 -fomit-frame-pointer -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include | sed -e 's/-fomit-frame-pointer//g;s/-finline-functions//g;s/- frename-registers//g'` -c -o afl.lo `test -f 'afl.c' || echo './'`afl.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include - I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine- engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input - I/usr/X11R6/include -fno-omit-frame-pointer -fno-inline-functions -fno-rename- registers -Wmissing-prototypes -Wimplicit-function-declaration - DWIN32_PATH=\"/usr/lib/win32\" -I./.. -D__WINE__ -Ddbg_printf=__vprintf - DTRACE=__vprintf -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE - Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing- declarations -Wmissing-prototypes -O2 -march=pentium3 -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include -c afl.c -MT afl.lo -MD -MP -MF .deps/afl.TPlo -fPIC -DPIC - o .libs/afl.o source='driver.c' object='driver.lo' libtool=yes \ depfile='.deps/driver.Plo' tmpdepfile='.deps/driver.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. - I../../.. -I../../../include -I../../../include -I../../../src - I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine- utils -I../../../src/input -I../../../src/input -I/usr/X11R6/include -fno- omit-frame-pointer -fno-inline-functions -fno-rename-registers -Wmissing- prototypes -Wimplicit-function-declaration -DWIN32_PATH=\"/usr/lib/win32\" - I./.. -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf `echo -Wall - D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested- externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing- prototypes -O2 -march=pentium3 -fomit-frame-pointer -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include | sed -e 's/-fomit-frame-pointer//g;s/-finline-functions//g;s/- frename-registers//g'` -c -o driver.lo `test -f 'driver.c' || echo './'`driver.c gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include - I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine- engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input - I/usr/X11R6/include -fno-omit-frame-pointer -fno-inline-functions -fno-rename- registers -Wmissing-prototypes -Wimplicit-function-declaration - DWIN32_PATH=\"/usr/lib/win32\" -I./.. -D__WINE__ -Ddbg_printf=__vprintf - DTRACE=__vprintf -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE - Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing- declarations -Wmissing-prototypes -O2 -march=pentium3 -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include -c driver.c -MT driver.lo -MD -MP -MF .deps/driver.TPlo -fPIC - DPIC -o .libs/driver.o driver.c:57: warning: no previous prototype for `SetCodecPath' driver.c: In function `DrvOpen': driver.c:169: warning: implicit declaration of function `__vprintf' driver.c:133: warning: unused variable `i' source='elfdll.c' object='elfdll.lo' libtool=yes \ depfile='.deps/elfdll.Plo' tmpdepfile='.deps/elfdll.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. - I../../.. -I../../../include -I../../../include -I../../../src - I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine- utils -I../../../src/input -I../../../src/input -I/usr/X11R6/include -fno- omit-frame-pointer -fno-inline-functions -fno-rename-registers -Wmissing- prototypes -Wimplicit-function-declaration -DWIN32_PATH=\"/usr/lib/win32\" - I./.. -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf `echo -Wall - D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested- externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing- prototypes -O2 -march=pentium3 -fomit-frame-pointer -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include | sed -e 's/-fomit-frame-pointer//g;s/-finline-functions//g;s/- frename-registers//g'` -c -o elfdll.lo `test -f 'elfdll.c' || echo './'`elfdll.c gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include - I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine- engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input - I/usr/X11R6/include -fno-omit-frame-pointer -fno-inline-functions -fno-rename- registers -Wmissing-prototypes -Wimplicit-function-declaration - DWIN32_PATH=\"/usr/lib/win32\" -I./.. -D__WINE__ -Ddbg_printf=__vprintf - DTRACE=__vprintf -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE - Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing- declarations -Wmissing-prototypes -O2 -march=pentium3 -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include -c elfdll.c -MT elfdll.lo -MD -MP -MF .deps/elfdll.TPlo -fPIC - DPIC -o .libs/elfdll.o source='ext.c' object='ext.lo' libtool=yes \ depfile='.deps/ext.Plo' tmpdepfile='.deps/ext.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. - I../../.. -I../../../include -I../../../include -I../../../src - I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine- utils -I../../../src/input -I../../../src/input -I/usr/X11R6/include -fno- omit-frame-pointer -fno-inline-functions -fno-rename-registers -Wmissing- prototypes -Wimplicit-function-declaration -DWIN32_PATH=\"/usr/lib/win32\" - I./.. -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf `echo -Wall - D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested- externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing- prototypes -O2 -march=pentium3 -fomit-frame-pointer -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include | sed -e 's/-fomit-frame-pointer//g;s/-finline-functions//g;s/- frename-registers//g'` -c -o ext.lo `test -f 'ext.c' || echo './'`ext.c gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include - I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine- engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input - I/usr/X11R6/include -fno-omit-frame-pointer -fno-inline-functions -fno-rename- registers -Wmissing-prototypes -Wimplicit-function-declaration - DWIN32_PATH=\"/usr/lib/win32\" -I./.. -D__WINE__ -Ddbg_printf=__vprintf - DTRACE=__vprintf -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE - Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing- declarations -Wmissing-prototypes -O2 -march=pentium3 -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include -c ext.c -MT ext.lo -MD -MP -MF .deps/ext.TPlo -fPIC -DPIC - o .libs/ext.o ext.c: In function `HeapAlloc': ext.c:77: warning: unused variable `i' ext.c:484:2: warning: #warning FIXME ext.c: At top level: ext.c:329: warning: `mapping_size' defined but not used source='ldt_keeper.c' object='ldt_keeper.lo' libtool=yes \ depfile='.deps/ldt_keeper.Plo' tmpdepfile='.deps/ldt_keeper.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. - I../../.. -I../../../include -I../../../include -I../../../src - I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine- utils -I../../../src/input -I../../../src/input -I/usr/X11R6/include -fno- omit-frame-pointer -fno-inline-functions -fno-rename-registers -Wmissing- prototypes -Wimplicit-function-declaration -DWIN32_PATH=\"/usr/lib/win32\" - I./.. -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf `echo -Wall - D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested- externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing- prototypes -O2 -march=pentium3 -fomit-frame-pointer -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include | sed -e 's/-fomit-frame-pointer//g;s/-finline-functions//g;s/- frename-registers//g'` -c -o ldt_keeper.lo `test -f 'ldt_keeper.c' || echo './'`ldt_keeper.c gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include - I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine- engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input - I/usr/X11R6/include -fno-omit-frame-pointer -fno-inline-functions -fno-rename- registers -Wmissing-prototypes -Wimplicit-function-declaration - DWIN32_PATH=\"/usr/lib/win32\" -I./.. -D__WINE__ -Ddbg_printf=__vprintf - DTRACE=__vprintf -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE - Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing- declarations -Wmissing-prototypes -O2 -march=pentium3 -mno-sse2 - I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include -c ldt_keeper.c -MT ldt_keeper.lo -MD -MP - MF .deps/ldt_keeper.TPlo -fPIC -DPIC -o .libs/ldt_keeper.o ldt_keeper.c: In function `Setup_LDT_Keeper': ldt_keeper.c:187: error: storage size of `array' isn't known ldt_keeper.c:220: error: invalid application of `sizeof' to an incomplete type ldt_keeper.c:187: warning: unused variable `array' make[4]: *** [ldt_keeper.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1- rc2/src/libw32dll/wine' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1- rc2/src/libw32dll' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1- rc2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc2/work/xine-lib-1-rc2' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1_rc2 failed. !!! Function src_compile, Line 103, Exitcode 2 !!! Parallel make failed Expected Results: It should compile and let me get on with installing kde on my laptop :) This is on a thinkpad 600x with a p3 coppermine 500MHz, 320mb ram, plenty of free disk space and ~300mb of swap. The stock 2.6.5 kernel from kernel.org with ALSA compiled as modules (not using alsa-driver, I inserted this to have it work around trying to compile alsa-driver). I was in the process of installing kde which depends on xine-lib when I first encountered this problem. here is my 'emerge info' output: Gentoo Base System version 1.4.8 Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-s11) ================================================================= System uname: 2.6.5-s11 i686 Pentium III (Coppermine) distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.netnitco.net http://adelie.polymtl.ca/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo rsync://mirrors.tds.net/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"
This is not a bug, I had to emerge -u world, which I didn't do because I just installed gentoo. I thought it would have all the latest packages. As it turns out a system package was out of date, after updating it the problem was correct and compiling xine-lib worked. Sorry.