When emerging Lincity-ng, I get following errrors: (...) C++ ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/Debug.o src/lincity-ng/Debug.cpp:22: error: syntax error before `::' token (...) i686-pc-linux-gnu-g++ -c -o ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/Debug.o -DHAVE_CONFIG_H -I. -I./src -I/usr/include/libxml2 -I/usr/include/SDL -D_REENTRANT -pthread -O3 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -s -ftracer -funroll-loops -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O3 -g -Wall -DAPPDATADIR=\"/usr/share/games/lincity-ng\" src/lincity-ng/Debug.cpp ...failed C++ ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/Debug.o ... ...on 100th target... (...) C++ ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/ButtonPanel.o src/lincity-ng/ButtonPanel.cpp: In member function `void ButtonPanel::parse(XmlReader&)': src/lincity-ng/ButtonPanel.cpp:118: error: `checked_cast' undeclared (first use this function) src/lincity-ng/ButtonPanel.cpp:118: error: (Each undeclared identifier is reported only once for each function it appears in.) src/lincity-ng/ButtonPanel.cpp:118: error: syntax error before `>' token src/lincity-ng/ButtonPanel.cpp: In member function `void ButtonPanel::menuButtonClicked(CheckButton*, int)': src/lincity-ng/ButtonPanel.cpp:759: error: syntax error before `>' token (...) C++ ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/ButtonPanel.o src/lincity-ng/ButtonPanel.cpp: In member function `void ButtonPanel::parse(XmlReader&)': src/lincity-ng/ButtonPanel.cpp:118: error: `checked_cast' undeclared (first use this function) src/lincity-ng/ButtonPanel.cpp:118: error: (Each undeclared identifier is reported only once for each function it appears in.) src/lincity-ng/ButtonPanel.cpp:118: error: syntax error before `>' token src/lincity-ng/ButtonPanel.cpp: In member function `void ButtonPanel::menuButtonClicked(CheckButton*, int)': src/lincity-ng/ButtonPanel.cpp:759: error: syntax error before `>' token (...) C++ ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/ScreenInterface.o C++ ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/HelpWindow.o C++ ./build/i686-pc-linux-gnu/optimize/src/lincity-ng/prefix.o ...skipped lincity-ng for lack of <T!src!lincity-ng!>Debug.o... MkDir1 ./build/i686-pc-linux-gnu/optimize/src/tools/xmlgettext C++ ./build/i686-pc-linux-gnu/optimize/src/tools/xmlgettext/XmlReader.o C++ ./build/i686-pc-linux-gnu/optimize/src/tools/xmlgettext/main.o LinkApplication xmlgettext XmlGetText data/locale/gui/messages.pot XGetText data/locale/messages.pot ...failed updating 2 target(s)... ...skipped 1 target(s)... ...updated 125 target(s)... !!! ERROR: games-simulation/lincity-ng-1.0.1 failed. !!! Function src_compile, Line 42, Exitcode 1 !!! jam failed Reproducible: Always Steps to Reproduce: 1.Emerge lincity-ng
reopen with the output from "emerge --info" and "emerge -evp games-simulation/lincity-ng"
emerge --info: Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3, 2.6.14-gentoo i686) ================================================================= System uname: 2.6.14-gentoo i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -s -ftracer -funroll-loops -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -s -ftracer -funroll-loops -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl emboss encode esd fam foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xine xml2 xmms xv zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY emerge -evp games-simulation/lincity-ng: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-devel/patch-2.5.9-r1 -build -static 0 kB [ebuild N ] sys-libs/zlib-1.2.3 -build 415 kB [ebuild N ] sys-libs/gpm-1.20.1-r5 -emacs (-selinux) 0 kB [ebuild N ] sys-libs/ncurses-5.5 -bootstrap -build -debug -doc +gpm -minimal -nocxx -unicode 0 kB [ebuild N ] app-shells/bash-3.0-r13 -afs -bashlogger -build +nls -unicode 0 kB [ebuild N ] sys-libs/readline-5.0-r2 1,777 kB [ebuild N ] sys-devel/binutils-config-1.8-r5 0 kB [ebuild N ] sys-devel/gnuconfig-20050602 0 kB [ebuild N ] sys-devel/binutils-2.16.1 -multislot -multitarget +nls -test 0 kB [ebuild N ] sys-devel/m4-1.4.4 +nls 0 kB [ebuild N ] sys-devel/bison-2.1 +nls -static 0 kB [ebuild N ] sys-apps/sed-4.1.4 -bootstrap -build +nls -static 775 kB [ebuild N ] sys-devel/gcc-config-1.3.12-r3 0 kB [ebuild N ] sys-apps/texinfo-4.8-r2 -build +nls -static 0 kB [ebuild N ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap -boundschecking -build +fortran -gcj +gtk* -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla 0 kB [ebuild N ] sys-devel/gcc-3.3.6 (-altivec) -bootstrap -boundschecking -build +fortran -gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla 23,522 kB [ebuild N ] sys-kernel/linux-headers-2.6.11-r2 36,238 kB [ebuild N ] sys-libs/timezone-data-2005n-r1 0 kB [ebuild N ] sys-libs/glibc-2.3.5-r3 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls -nptl -nptlonly -pic -profile (-selinux) -userlocales 0 kB [ebuild N ] sys-devel/gettext-0.14.5 -doc -emacs +nls 0 kB [ebuild N ] sys-apps/diffutils-2.8.7-r1 +nls -static 1,037 kB [ebuild N ] dev-java/java-config-1.2.11-r1 0 kB [ebuild N ] media-libs/audiofile-0.2.6-r1 0 kB [ebuild N ] sys-apps/tcp-wrappers-7.6-r8 +ipv6 115 kB [ebuild N ] sys-devel/make-3.80-r3 -build +nls -static 0 kB [ebuild N ] sys-apps/sysvinit-2.86-r2 -bootstrap -build -ibm (-selinux) -static 0 kB [ebuild N ] dev-python/python-fchksum-1.7.1 26 kB [ebuild N ] sys-apps/sandbox-1.2.13 0 kB [ebuild N ] sys-apps/debianutils-2.15 -build -static 0 kB [ebuild N ] sys-apps/portage-2.0.53_rc7 -build (-selinux) 0 kB *** Please update portage to the above version before proceeding. Failure to do so may result in failed or improper merges. A simple 'emerge -u portage' is sufficient. [ebuild N ] sys-devel/autoconf-2.13 433 kB [ebuild N ] sys-devel/autoconf-wrapper-3.2 0 kB [ebuild N ] sys-devel/autoconf-2.59-r7 -emacs 0 kB [ebuild N ] perl-core/Test-Harness-2.52 0 kB [ebuild N ] perl-core/Test-Simple-0.60 0 kB [ebuild N ] dev-perl/Locale-gettext-1.05 0 kB [ebuild N ] sys-apps/help2man-1.35.1 +nls 0 kB [ebuild N ] sys-devel/automake-1.5 514 kB [ebuild N ] sys-devel/automake-1.9.6-r1 0 kB [ebuild N ] sys-devel/automake-1.6.3 465 kB [ebuild N ] sys-devel/automake-1.7.9-r1 564 kB [ebuild N ] sys-devel/automake-1.4_p6 366 kB [ebuild N ] sys-devel/automake-wrapper-1-r1 0 kB [ebuild N ] sys-devel/automake-1.8.5-r3 647 kB [ebuild N ] sys-apps/coreutils-5.3.0-r2 -acl -build +nls (-selinux) -static 0 kB [ebuild N ] sys-apps/baselayout-1.12.0_pre9-r1 -bootstrap -build -static -unicode 0 kB [ebuild N ] sys-apps/hotplug-base-20040401 40 kB [ebuild N ] sys-fs/udev-072 (-selinux) -static 0 kB [ebuild N ] sys-kernel/gentoo-sources-2.6.14 -build -doc -symlink (-ultra1) 0 kB [ebuild N ] media-sound/alsa-headers-1.0.10_rc2 0 kB [ebuild N ] media-libs/alsa-lib-1.0.10_rc2 -doc -jack 0 kB [ebuild N ] media-sound/esound-0.2.36-r1 +alsa -debug +ipv6 -static +tcpd 0 kB [ebuild N ] dev-lang/nasm-0.98.39-r1 -build -doc 0 kB [ebuild N ] sys-libs/cracklib-2.8.5 +nls +python 0 kB [ebuild N ] sys-devel/flex-2.5.4a-r6 -build -static 0 kB [ebuild N ] dev-util/pkgconfig-0.19 -hardened 0 kB [ebuild N ] sys-libs/pam-0.78-r3 +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 0 kB [ebuild N ] sys-apps/shadow-4.0.13 +nls -nousuid +pam (-selinux) -skey 0 kB [ebuild N ] sys-apps/pam-login-4.0.12 -livecd +nls (-selinux) -skey 1,056 kB [ebuild N ] sys-libs/com_err-1.38 +nls 0 kB [ebuild N ] sys-libs/ss-1.38 +nls 0 kB [ebuild N ] sys-fs/e2fsprogs-1.38 +nls -static 0 kB [ebuild N ] app-crypt/hashalot-0.3 78 kB [ebuild N ] sys-apps/util-linux-2.12r-r1 +crypt +nls -old-crypt +pam +perl (-selinux) -static 0 kB [ebuild N ] media-libs/libpng-1.2.8-r1 -doc 0 kB [ebuild N ] app-arch/bzip2-1.0.3-r5 -build -static 0 kB [ebuild N ] app-admin/eselect-1.0_rc1 -bash-completion -doc 0 kB [ebuild N ] app-admin/eselect-opengl-1.0.3 0 kB [ebuild N ] x11-base/opengl-update-3.0.0 0 kB [ebuild N ] sys-devel/libtool-1.5.20-r1 0 kB [ebuild N ] media-libs/freetype-2.1.10 -bindist -doc +zlib 0 kB [ebuild N ] x11-misc/ttmkfdir-3.0.9-r3 0 kB [ebuild N ] dev-libs/expat-1.95.8 -test 310 kB [ebuild N ] sys-apps/groff-1.19.1-r2 +X 2,567 kB [ebuild N ] sys-process/cronbase-0.3.2 0 kB [ebuild N ] sys-apps/man-1.6a +nls 0 kB [ebuild N ] media-libs/fontconfig-2.3.2 0 kB [ebuild N ] x11-base/xorg-x11-6.8.2-r6 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB [ebuild N ] sys-apps/file-4.16 -build +python 0 kB [ebuild N ] sys-apps/which-2.16 122 kB [ebuild N ] app-arch/cpio-2.6-r4 +nls 437 kB [ebuild N ] app-arch/rpm2targz-9.0-r4 0 kB [ebuild N ] sys-apps/utempter-0.5.5.6 0 kB [ebuild N ] x11-terms/xterm-205 -Xaw3d -doc -toolbar +truetype -unicode 0 kB [ebuild N ] media-libs/libmad-0.15.1b -debug 0 kB [ebuild N ] media-libs/jpeg-6b-r6 0 kB [ebuild N ] media-libs/tiff-3.7.4 +jpeg -nocxx +zlib 0 kB [ebuild N ] media-libs/lcms-1.14-r1 +jpeg +python +tiff +zlib 0 kB [ebuild N ] media-libs/libmng-1.0.8-r1 0 kB [ebuild N ] x11-libs/motif-config-0.9 0 kB [ebuild N ] x11-libs/openmotif-2.2.3-r7 0 kB [ebuild N ] dev-libs/glib-2.8.3 -debug -doc -hardened 0 kB [ebuild N ] x11-libs/cairo-1.0.2 +X -doc -glitz +png 0 kB [ebuild N ] x11-libs/pango-1.10.1 -debug -doc 0 kB [ebuild N ] dev-libs/atk-1.10.3 -debug -doc -static 0 kB [ebuild N ] dev-perl/XML-Parser-2.34 0 kB [ebuild N ] dev-util/intltool-0.34.1 0 kB [ebuild N ] x11-misc/shared-mime-info-0.16 0 kB [ebuild N ] x11-libs/gtk+-2.8.6 -debug -doc +jpeg +tiff 0 kB [ebuild N ] media-fonts/gnu-gs-fonts-std-8.11 0 kB [ebuild N ] app-text/ghostscript-7.07.1-r10 +X -cjk +cups -emacs +gtk* 0 kB [ebuild N ] media-libs/t1lib-5.0.2 +X -doc 0 kB [ebuild N ] app-text/xpdf-3.01-r1 +X +motif 0 kB [ebuild N ] net-print/cups-1.1.23-r4 -cjk -gnutls +nls +pam +samba -slp +ssl 0 kB [ebuild N ] x11-libs/qt-3.3.4-r8 +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc +ipv6 +mysql* -nas -odbc +opengl -postgres -sqlite -xinerama 0 kB [ebuild N ] dev-libs/popt-1.7-r1 +nls 561 kB [ebuild N ] sys-process/procps-3.2.5-r1 (-n32) 270 kB [ebuild N ] dev-db/mysql-5.0.15 +berkdb -big-tables -cluster -debug -doc -extraengine -minimal +perl +readline (-selinux) +ssl -static -utf8 0 kB [ebuild N ] net-fs/samba-3.0.20b -acl -async -automount +cups -doc -kerberos -ldap -ldapsam -libclamav +mysql -oav +pam -postgres +python -quotas +readline (-selinux) -swat -syslog -winbind -xml +xml2 0 kB [ebuild N ] perl-core/Storable-2.13 0 kB [ebuild N ] dev-perl/Net-Daemon-0.38 0 kB [ebuild N ] dev-perl/PlRPC-0.2018 0 kB [ebuild N ] dev-perl/DBI-1.48 0 kB [ebuild N ] dev-perl/DBD-mysql-3.0002_p3 0 kB [ebuild N ] media-libs/libogg-1.1.2 0 kB [ebuild N ] kde-base/kde-env-3-r4 0 kB [ebuild N ] media-libs/libvorbis-1.1.1 0 kB [ebuild N ] kde-base/arts-3.4.3 +alsa +arts -artswrappersuid -debug +esd -hardened -jack -kdeenablefinal +mp3 -nas +vorbis -xinerama 0 kB [ebuild N ] media-libs/libsdl-1.2.9-r1 +X -aalib +alsa +arts -dga -directfb +esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss -svga -xinerama +xv 0 kB [ebuild N ] sys-libs/lib-compat-1.4 +sdl 0 kB [ebuild N F ] dev-java/sun-jre-bin-1.5.0.05 -browserplugin -mozilla -nsplugin 16,245 kB [ebuild N ] app-arch/unzip-5.52-r1 0 kB [ebuild N F ] dev-java/sun-jdk-1.4.2.09 -browserplugin -doc -jce -mozilla -nsplugin 35,575 kB [ebuild N ] sys-libs/db-4.2.52_p2 -bootstrap -doc +java* -nocxx -tcltk 3,980 kB [ebuild N ] sys-libs/gdbm-1.8.3-r2 +berkdb 0 kB [ebuild N ] sys-devel/libperl-5.8.7 +berkdb -debug +gdbm -ithreads 0 kB [ebuild N ] dev-lang/perl-5.8.7-r1 +berkdb -build -debug -doc +gdbm -ithreads -minimal -perlsuid 0 kB [ebuild N ] dev-libs/openssl-0.9.7i -bindist -emacs -test +zlib 0 kB [ebuild N ] dev-lang/python-2.4.2 +X +berkdb -bootstrap -build -doc +gdbm +ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB [ebuild N ] dev-libs/libxml2-2.6.22 -debug -doc +ipv6 +python +readline -static 0 kB [ebuild N ] app-admin/perl-cleaner-1.01 3 kB [ebuild N ] dev-games/physfs-1.0.1 0 kB [ebuild N ] media-libs/sdl-gfx-2.0.13 -mmx 0 kB [ebuild N ] media-libs/libmikmod-3.1.11-r1 +alsa +esd* +oss 0 kB [ebuild N ] dev-libs/glib-1.2.10-r5 -hardened 0 kB [ebuild N ] x11-libs/gtk+-1.2.10-r11 -debug +nls 0 kB [ebuild N ] media-libs/smpeg-0.4.4-r7 +X -debug +gtk -mmx +opengl 0 kB [ebuild N ] media-libs/sdl-mixer-1.2.6-r1 +mikmod +mp3 -timidity +vorbis 1,120 kB [ebuild N ] dev-util/jam-2.5-r2 0 kB [ebuild N ] media-libs/sdl-ttf-2.0.7 +X 0 kB [ebuild N ] media-libs/sdl-image-1.2.4 +gif +jpeg +png +tiff 0 kB [ebuild N ] games-simulation/lincity-ng-1.0.1 0 kB Total size of downloads: 129,274 kB
Please update your system so that your USE flags are in sync with your installed packages (emerge -uDN world), then try lincity-ng again.
reopen if it's still a problem. Builds fine here.
Still builds fine for me. No reply. Closing.
clean up bug list after bugzilla update