Trying to emerge gnurobots fail every time Reproducible: Always Steps to Reproduce: 1.emerge gnurobots # emerge --info =games-misc/gnurobots-1.2.0 Portage 2.2_rc66 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-1.12.13 Timestamp of tree: Tue, 09 Mar 2010 21:00:24 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA sun-bcla-java-vm skype-eula PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=athlon64 -msse3" DISTDIR="/usr/distfiles" FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.wheel.sk/" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="it" MAKEOPTS="-j5" PKGDIR="/usr/packages" PORTAGE_CONFIGROOT="/" 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/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 amrnb amrwb apm bash-completion bittorrent bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit cracklib crypt curl cxx dbus directfb dri dts dvb dvd dvdr encode evo exif fam fastcgi fbcon ffmpeg firefox flac fts3 gd gdbm geolocation gif gnutls gpm gstreamer hal handbook iconv icq ieee1394 imagemagick ipv6 irc jabber jack java javascript jpeg kde kdehiddenvisibility kdexdeltas kipi lame lastfm libcaca libnotify libssh2 lirc lm_sensors logrotate mad magic mailwrapper md5sum melt mikmod mmx mng modules mp3 mp4 mpeg mplayer msn mtp mudflap multilib musicbrainz ncurses net nforce2 nls nptl nptlonly nsplugin nvidia offensive ogg ogm opengl openmp pam pcre pdf perl php pipe plasma pmu png postgres ppds python qt3support qt4 quicktime readline rss ruby samba sdl semantic-desktop session socks5 spell spl sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg swig sysfs tcpd tetex theora threads thumbnail thunar tidy tiff tools truetype unicode usb v4l v4l2 vorbis wma x264 xine xml xmlrpc xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="devinput" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS The last part of the building log x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/readline/ -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../include -DPKGLIBDIR=\"/usr/games/lib64/gnurobots\" -DABS_TOP_BUILDDIR=\"/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0\" -DPKGDATADIR=\"/usr/share/games/gnurobots\" -DMAPS_PATH=\"/usr/share/games/gnurobots/maps\" -DSCRIPTS_PATH=\"/usr/share/games/gnurobots/scheme\" -pedantic-errors -Werror -Wall -g -MT ui-window.o -MD -MP -MF .deps/ui-window.Tpo -c -o ui-window.o ui-window.c In file included from /usr/include/unistd.h:568, from map.c:20: /usr/include/bits/confname.h:530: error: comma at end of enumerator list In file included from /usr/include/unistd.h:568, from main.c:22: /usr/include/bits/confname.h:530: error: comma at end of enumerator list make[2]: *** [map.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/unistd.h:568, from /usr/include/libguile/stime.h:27, from /usr/include/libguile.h:91, from api.c:24: /usr/include/bits/confname.h:530: error: comma at end of enumerator list mv -f .deps/ui-window.Tpo .deps/ui-window.Po cc1: warnings being treated as errors api.c: In function ‘api_robot_turn’: api.c:37: error: implicit declaration of function ‘scm_num2int’ api.c:39: error: implicit declaration of function ‘SCM_BOOL’ api.c:39: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_move’: api.c:45: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_smell’: api.c:57: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_feel’: api.c:69: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_look’: api.c:81: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_grab’: api.c:87: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_zap’: api.c:93: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_stop’: api.c:99: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_get_shields’: api.c:110: error: implicit declaration of function ‘scm_long2num’ api.c:110: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_get_energy’: api.c:121: error: return makes pointer from integer without a cast api.c: In function ‘api_robot_get_score’: api.c:132: error: return makes pointer from integer without a cast make[2]: *** [api.o] Error 1 make[2]: *** [main.o] Error 1 mv -f .deps/grobot.Tpo .deps/grobot.Po make[2]: Leaving directory `/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0' make: *** [all] Error 2
fixed (again).
I'm sorry but I still can't emerge it... now I get a different error x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/readline/ -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../include -DPKGLIBDIR=\"/usr/games/lib64/gnurobots\" -DABS_TOP_BUILDDIR=\"/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0\" -DPKGDATADIR=\"/usr/share/games/gnurobots\" -DMAPS_PATH=\"/usr/share/games/gnurobots/maps\" -DSCRIPTS_PATH=\"/usr/share/games/gnurobots/scheme\" -Wall -g -MT ui-cmdwin.o -MD -MP -MF .deps/ui-cmdwin.Tpo -c -o ui-cmdwin.o ui-cmdwin.c api.c: In function ‘api_robot_turn’: api.c:37: warning: implicit declaration of function ‘scm_num2int’ api.c:39: warning: implicit declaration of function ‘SCM_BOOL’ api.c:39: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_move’: api.c:45: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_smell’: api.c:57: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_feel’: api.c:69: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_look’: api.c:81: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_grab’: api.c:87: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_zap’: api.c:93: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_stop’: api.c:99: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_get_shields’: api.c:110: warning: implicit declaration of function ‘scm_long2num’ api.c:110: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_get_energy’: api.c:121: warning: return makes pointer from integer without a cast api.c: In function ‘api_robot_get_score’: api.c:132: warning: return makes pointer from integer without a cast mv -f .deps/ui-window.Tpo .deps/ui-window.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/readline/ -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../include -DPKGLIBDIR=\"/usr/games/lib64/gnurobots\" -DABS_TOP_BUILDDIR=\"/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0\" -DPKGDATADIR=\"/usr/share/games/gnurobots\" -DMAPS_PATH=\"/usr/share/games/gnurobots/maps\" -DSCRIPTS_PATH=\"/usr/share/games/gnurobots/scheme\" -Wall -g -MT ui-arena.o -MD -MP -MF .deps/ui-arena.Tpo -c -o ui-arena.o ui-arena.c mv -f .deps/main.Tpo .deps/main.Po mv -f .deps/api.Tpo .deps/api.Po mv -f .deps/grobot.Tpo .deps/grobot.Po mv -f .deps/ui-cmdwin.Tpo .deps/ui-cmdwin.Po mv -f .deps/ui-arena.Tpo .deps/ui-arena.Po x86_64-pc-linux-gnu-gcc -Wall -g -Wl,-O1 -o gnurobots main.o api.o map.o grobot.o ui-window.o ui-cmdwin.o ui-arena.o -pthread -lguile -lltdl -L/usr/lib64 -Wl,-O1 -lgmp -lcrypt -lm -lltdl -lreadline -lncurses -pthread -lgthread-2.0 -lrt -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lvte -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lutil -lguile -lutil api.o: In function `api_robot_turn': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:37: undefined reference to `scm_num2int' /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:39: undefined reference to `SCM_BOOL' api.o: In function `api_robot_move': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:45: undefined reference to `scm_num2int' /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:45: undefined reference to `SCM_BOOL' api.o: In function `api_robot_smell': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:57: undefined reference to `SCM_BOOL' api.o: In function `api_robot_feel': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:69: undefined reference to `SCM_BOOL' api.o: In function `api_robot_look': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:81: undefined reference to `SCM_BOOL' api.o: In function `api_robot_grab': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:87: undefined reference to `SCM_BOOL' api.o:/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:93: more undefined references to `SCM_BOOL' follow api.o: In function `api_robot_get_shields': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:110: undefined reference to `scm_long2num' api.o: In function `api_robot_get_energy': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:121: undefined reference to `scm_long2num' api.o: In function `api_robot_get_score': /var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src/api.c:132: undefined reference to `scm_long2num' collect2: ld returned 1 exit status make[2]: *** [gnurobots] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-misc/gnurobots-1.2.0/work/gnurobots-1.2.0' make: *** [all] Error 2
Looks like your guile is messed up. What's the output from emerge -vp guile
I install dev-scheme/guile-1.8.5-r1 as a dependency of gnurobots # emerge -pv gnurobots These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-libs/vte-0.22.5 USE="python -debug -doc -glade" 0 kB [ebuild N ] dev-scheme/guile-1.8.5-r1 USE="nls regex threads -debug -debug-freelist -debug-malloc -deprecated -discouraged -elisp -emacs -networking" 0 kB [ebuild N ] games-misc/gnurobots-1.2.0 0 kB
You've explicitly turned off the deprecated use flag for guile. Added a use-dep to force it on.