Emerging visualboyadvance, I unfortunately got: i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I. -DPKGDATADIR=\"/usr/share/games/VisualBoyAdvance\" -DLOCALEDIR=\"/usr/share/locale\" -DGETTEXT_PACKAGE=\"vba-1.7.2\" -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -march=prescott -pipe -DPROFILING -DMMX -DDEV_VERSION -c -o gvba-joypadconfig.o `test -f 'joypadconfig.cpp' || echo './'`joypadconfig.cpp i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I. -DPKGDATADIR=\"/usr/share/games/VisualBoyAdvance\" -DLOCALEDIR=\"/usr/share/locale\" -DGETTEXT_PACKAGE=\"vba-1.7.2\" -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -march=prescott -pipe -DPROFILING -DMMX -DDEV_VERSION -c -o gvba-main.o `test -f 'main.cpp' || echo './'`main.cpp In file included from joypadconfig.h:29, from joypadconfig.cpp:19: sigccompat.h:35: error: expected initializer before ‘<’ token sigccompat.h:41: error: expected initializer before ‘<’ token sigccompat.h:47: error: expected initializer before ‘<’ token joypadconfig.cpp: In constructor ‘VBA::JoypadConfigDialog::JoypadConfigDialog(GtkDialog*, const Glib::RefPtr<Gnome::Glade::Xml>&)’: joypadconfig.cpp:167: error: ‘bind’ is not a member of ‘SigC’ joypadconfig.cpp:167: error: expected primary-expression before ‘>’ token joypadconfig.cpp:168: error: ‘slot’ is not a member of ‘SigC’ joypadconfig.cpp:170: error: ‘slot’ is not a member of ‘SigC’ In file included from window.h:30, from main.cpp:32: sigccompat.h:35: error: expected initializer before ‘<’ token sigccompat.h:41: error: expected initializer before ‘<’ token sigccompat.h:47: error: expected initializer before ‘<’ token In file included from window.h:40, from main.cpp:32: screenarea.h:69: error: ‘Connection’ in namespace ‘SigC’ does not name a type In file included from main.cpp:32: window.h:270: error: ‘Connection’ in namespace ‘SigC’ does not name a type make[3]: *** [gvba-joypadconfig.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [gvba-main.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/work/VisualBoyAdvance-1.7.2/src/gtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/work/VisualBoyAdvance-1.7.2/src/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/work/VisualBoyAdvance-1.7.2/src' make: *** [all-recursive] Error 1 * * ERROR: games-emulation/visualboyadvance-1.7.2-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2547: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/temp/environment'. saintaureole@SaintAureole ~ $ emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-tuxonice-r4sa3 i686) ================================================================= System uname: 2.6.24-tuxonice-r4sa3 i686 Genuine Intel(R) CPU T2050 @ 1.60GHz Timestamp of tree: Wed, 02 Apr 2008 09:45:04 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 sys-apps/baselayout: 1.12.12 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://ftp.kaist.ac.kr/pub/gentoo" LANG="C" LINGUAS="en_US en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="X acl acpi alsa bash-completion berkdb cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kerberos ldap mad midi mikmod mmx mmxext mp3 mpeg mplayer mudflap ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline real reflection samba sdl session spell spl sse sse2 ssl ssse3 svg tcpd tiff truetype unicode v4l2 vim-syntax vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS PS: I got a successful installation with: USE="-gtk" emerge visualboyadvance
builds fine for me on stable x86. Problem's on your end so you'll need to do some leg work to track it down a bit more. Start with trying it with stable gcc.
Thanks, I will downgrade all the system and won't try ~x86.as my ACCEPT_KEYWORDS. PS: Which state should I set my thread into?
Well, that's one method that will work, but it would be interesting to find out what the real issue is. If you manage to work out the problem, please reopen. Thanks.
x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I. -DPKGDATADIR=\"/usr/share/games/VisualBoyAdvance\" -DLOCALEDIR=\"/usr/share/locale\" -DGETTEXT_PACKAGE=\"vba-1.7.2\" -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/libglademm-2.4 -I/usr/lib64/libglademm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -march=nocona -pipe -ggdb -Wall -Wstrict-aliasing=2 -DC_CORE -DPROFILING -DDEV_VERSION -c -o gvba-joypadconfig.o `test -f 'joypadconfig.cpp' || echo './'`joypadconfig.cpp In file included from joypadconfig.h:30, from joypadconfig.cpp:20: sigccompat.h:35: error: expected initializer before '<' token sigccompat.h:41: error: expected initializer before '<' token sigccompat.h:47: error: expected initializer before '<' token joypadconfig.cpp: In constructor 'VBA::JoypadConfigDialog::JoypadConfigDialog(GtkDialog*, const Glib::RefPtr<Gnome::Glade::Xml>&)': joypadconfig.cpp:167: error: 'bind' is not a member of 'SigC' joypadconfig.cpp:167: error: expected primary-expression before '>' token joypadconfig.cpp:168: error: 'slot' is not a member of 'SigC' joypadconfig.cpp:170: error: 'slot' is not a member of 'SigC' make[3]: *** [gvba-joypadconfig.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/work/VisualBoyAdvance-1.7.2/src/gtk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/work/VisualBoyAdvance-1.7.2/src/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-emulation/visualboyadvance-1.7.2-r2/work/VisualBoyAdvance-1.7.2/src' make: *** [all-recursive] Error 1 Probably needs a patch to work with gcc 4.2. Downgrading system packages (especially glibc) isn't likely to go very smoothly.
Thanks. Downgrading these, at least, costs a lot of time. Both gcc and glibc costs hours of time respectively. I won't do that before I'm sure that I need it. To Mr. Bones: Thank you for your advice. It's my very first time tring to use unstable x86 packages. And I'm not very sure whether it is meaningful for a personal desktop user. But here, of course I will try to find the real issue. I don't know when I have closed this bug. It seems that it's still open.
guess we'll leave it open in case it really is a gcc-4.2 issue.
It's dev-libs/libsigc++-2.2
Well, I appreciate all your help, really. I cannot describe how excited I am now, and I can only say that I will keep on study. :) According to Tristan Heaven's answer, does that mean I should unmerge libsigc++-2.2 and emerge an older one, or just emerge an older, or waiting for a patch?
Hello, I have the same problem. It wont compile wit gtk flag on amd64 with gcc 4.2 and newest available ~ packages
You can mask the package "libsigc++-2.2" to use a lower version. Have fun! :)
Needs to work with the new version too.
A fix is in portage. Thanks