flightgear fails to emerge very early on. It looks like it could be a dependency or import problem. The fifo variable seems not to be declared or imported. flightgear 0.9.5 has been out for a while, and I notice the "will be updated in portage soon" bug comments a few months ago. May be just worth while to work on that instead of fixing old bugs. Reproducible: Always Steps to Reproduce: 1.emerge flightgear 2. 3. Actual Results: g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr -D_REENTRANT -c -o AIPlane.o `test -f AIPlane.cxx || echo './'`AIPlane.cxx source='AILocalTraffic.cxx' object='AILocalTraffic.o' libtool=no \ depfile='.deps/AILocalTraffic.Po' tmpdepfile='.deps/AILocalTraffic.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/X11R6/include -O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr -D_REENTRANT -c -o AILocalTraffic.o `test -f AILocalTraffic.cxx || echo './'`AILocalTraffic.cxx In file included from ../../src/Scenery/tilemgr.hxx:42, from AILocalTraffic.cxx:43: /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual bool SGLockedQueue<T, SGLOCK>::empty()': /usr/include/simgear/threads/SGQueue.hxx:96: error: `fifo' undeclared (first use this function) /usr/include/simgear/threads/SGQueue.hxx:96: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual void SGLockedQueue<T, SGLOCK>::push(const T&)': /usr/include/simgear/threads/SGQueue.hxx:106: error: `fifo' undeclared (first use this function) /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual T SGLockedQueue<T, SGLOCK>::front()': /usr/include/simgear/threads/SGQueue.hxx:116: error: `fifo' undeclared (first use this function) /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual T SGLockedQueue<T, SGLOCK>::pop()': /usr/include/simgear/threads/SGQueue.hxx:129: error: `fifo' undeclared (first use this function) /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual bool SGBlockingQueue<T>::empty()': /usr/include/simgear/threads/SGQueue.hxx:175: error: `fifo' undeclared (first use this function) /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual void SGBlockingQueue<T>::push(const T&)': /usr/include/simgear/threads/SGQueue.hxx:185: error: `fifo' undeclared (first use this function) /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual T SGBlockingQueue<T>::front()': /usr/include/simgear/threads/SGQueue.hxx:198: error: `fifo' undeclared (first use this function) /usr/include/simgear/threads/SGQueue.hxx: In member function `virtual T SGBlockingQueue<T>::pop()': /usr/include/simgear/threads/SGQueue.hxx:214: error: `fifo' undeclared (first use this function) make[2]: *** [AILocalTraffic.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/flightgear-0.9.4/work/FlightGear-0.9.4/src/ATC' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/flightgear-0.9.4/work/FlightGear-0.9.4/src' make: *** [all-recursive] Error 1 !!! ERROR: games-simulation/flightgear-0.9.4 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: compile properly mach64 bin # emerge info Portage 2.0.51_rc1 (default-linux/amd64/gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r10 x86_64) ================================================================= System uname: 2.6.7-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 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.6.6-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr" CHOST="x86_64-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/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.binarycompass.org http://128.213.5.34/gentoo/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups directfb distcc dvd encode esd foomaticdb gdbm gif gpm gtk imlib java jpeg kde libg++ libwww mikmod mod_php motif mozilla mp3 mpeg multilib mysql ncurses nfs nls offensive ogg oggvorbis opengl oss pam pdflib perl php png ppds python qt quicktime readline samba sdl slang spell ssl tcltk tcpd tiff truetype via xinerama xml xml2 xmms xprint xv xvid zlib"
I can confirm that on amd64: same arch as reporter. The rest of info pretty much identical. C[XX]FLAGS are simply "-march=k8 -O2 -pipe". Same thing happens in 32bit chroot (CFLAGS this time "-O2 -march=athlon-xp -msse2 -msse-pipe" the rest is again identical). George
same error as above.. Portage 2.0.51_rc9 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r8 i686) ================================================================= System uname: 2.6.8-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -msse2 -O2 -pipe" 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/share/config /usr/lib/mozilla/defaults/pref /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=pentium4 -msse2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/mobile-linux/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 foomaticdb gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 imlib java jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse sse2 ssl svga tcpd tetex truetype usb wifi x86 xml2 xmms xprint xv zlib"
flightgear-0.9.5 and 0.9.6 are in portage, please test either/both and report in bug #67809. *** This bug has been marked as a duplicate of 67809 ***