compiling xine-libs fails while inside video_out/vidix. Problem disappears when ebuild is hacked to add --disable-vidix to configure options. The question is, how can I avoid hacking ebuild every time there is a new release? What causes this problem? Reproducible: Always Steps to Reproduce: 1.emerge xine-lib 2. 3. Actual Results: Making all in vidix make[4]: Entering directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/video_out/vidix' Making all in drivers make[5]: Entering directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/video_out/vidix/drivers' source='mach64_vid.c' object='mach64_vid.lo' libtool=yes \ depfile='.deps/mach64_vid.Plo' tmpdepfile='.deps/mach64_vid.TPlo' \ depmode=gcc3 /bin/sh ../../../../depcomp \ /bin/sh ../../../../libtool-nofpic --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../../../../src/video_out/vidix -I../../../../src/video_out/libdha -I../../../../src/video_out/libdha -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -fno-stack-protector -mno-sse2 -mno-sse3 -ffunction-sections -c -o mach64_vid.lo `test -f mach64_vid.c || echo './'`mach64_vid.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../../../../src/video_out/vidix -I../../../../src/video_out/libdha -I../../../../src/video_out/libdha -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -fno-stack-protector -mno-sse2 -mno-sse3 -ffunction-sections -c mach64_vid.c -MT mach64_vid.lo -MD -MP -MF .deps/mach64_vid.TPlo -o .libs/mach64_vid.odistcc[31990] ERROR: compile /root/.ccache/mach64_vid.tmp.gollum.31986.i on 192.168.1.2 failed mach64_vid.c:444: error: `DEVICE_ATI_RAGE_MOBILITY_P_M' undeclared here (not in a function) mach64_vid.c:444: error: initializer element is not constant mach64_vid.c:444: error: (near initialization for `ati_card_ids[31].id') mach64_vid.c:444: error: initializer element is not constant mach64_vid.c:444: error: (near initialization for `ati_card_ids[31]') mach64_vid.c:445: error: `DEVICE_ATI_RAGE_MOBILITY_L' undeclared here (not in a function) mach64_vid.c:445: error: initializer element is not constant mach64_vid.c:445: error: (near initialization for `ati_card_ids[32].id') mach64_vid.c:445: error: initializer element is not constant mach64_vid.c:445: error: (near initialization for `ati_card_ids[32]') mach64_vid.c:446: error: initializer element is not constant mach64_vid.c:446: error: (near initialization for `ati_card_ids[33]') mach64_vid.c:447: error: initializer element is not constant mach64_vid.c:447: error: (near initialization for `ati_card_ids[34]') mach64_vid.c:448: error: `DEVICE_ATI_RAGE_MOBILITY_P_M2' undeclared here (not in a function) mach64_vid.c:448: error: initializer element is not constant mach64_vid.c:448: error: (near initialization for `ati_card_ids[35].id') mach64_vid.c:448: error: initializer element is not constant mach64_vid.c:448: error: (near initialization for `ati_card_ids[35]') mach64_vid.c:449: error: `DEVICE_ATI_RAGE_MOBILITY_L2' undeclared here (not in a function) mach64_vid.c:449: error: initializer element is not constant mach64_vid.c:449: error: (near initialization for `ati_card_ids[36].id') mach64_vid.c:449: error: initializer element is not constant mach64_vid.c:449: error: (near initialization for `ati_card_ids[36]') mach64_vid.c: In function `vixInit': mach64_vid.c:635: error: `DEVICE_ATI_RAGE_MOBILITY_P_M' undeclared (first use in this function) mach64_vid.c:635: error: (Each undeclared identifier is reported only once mach64_vid.c:635: error: for each function it appears in.) mach64_vid.c:636: error: `DEVICE_ATI_RAGE_MOBILITY_P_M2' undeclared (first use in this function) mach64_vid.c:637: error: `DEVICE_ATI_RAGE_MOBILITY_L' undeclared (first use in this function) mach64_vid.c:637: error: `DEVICE_ATI_RAGE_MOBILITY_L2' undeclared (first use in this function) mach64_vid.c: At top level: mach64_vid.c:556: warning: `init_irq' defined but not used make[5]: *** [mach64_vid.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/video_out/vidix/drivers' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/video_out/vidix' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src/video_out' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc6/work/xine-lib-1-rc6a' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1_rc6 failed. !!! Function src_compile, Line 142, Exitcode 2 !!! Parallel make failed Expected Results: emerge xine-lis successfully Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(TM) XP 2200+ Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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="-O3 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.inode.at/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow X aalib acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo cdr crypt cups divx4linux dvb dvd dvdr encode esd flac foomaticdb ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imap imlib java jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb wxwindows x86 xine xml2 xmms xprint xv zlib"
is this still a problem with a more recent version, like xine-lib-1_rc8 or even 1.0 ?
Works fine for me on 1.0-r2, can you try with that version, too?
Reopen if the problem is still present.