emerge gnuboy [...] i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe -ansi -pedantic -Wall -Wno-implicit -Wno-long-long -O3 -DALLOW_UNALIGNED_IO -fstrength-reduce -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -fexpensive-optimizations -fforce-mem -fforce-addr -fomit-frame-pointer -Wl,-z,now -s lcd.o refresh.o lcdc.o palette.o cpu.o mem.o rtc.o hw.o sound.o events.o keytable.o loader.o save.o debug.o emu.o main.o rccmds.o rckeys.o rcvars.o rcfile.o exports.o split.o path.o inflate.o sys/nix/nix.o asm/i386/cpu.o asm/i386/lcd.o asm/i386/refresh.s sys/sdl/sdl.o sys/sdl/keymap.o -o sdlgnuboy -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread >>> Test phase [not enabled]: games-emulation/gnuboy-1.0.3 >>> Install gnuboy-1.0.3 into /var/tmp/portage/gnuboy-1.0.3/image/ category games-emulation >>> dobin: making sgnuboy executable... install: cannot stat `sgnuboy': No such file or directory !!! ERROR: games-emulation/gnuboy-1.0.3 failed. !!! Function src_install, Line 18, Exitcode 4 !!! (no error message) Seems to need svgalib compare to http://forums.gentoo.org/viewtopic-t-308430.html Reproducible: Always Steps to Reproduce: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" 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 /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="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch" LDFLAGS="-Wl,-z,now" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 3dfx X Xaw3d a52 aac aalib alsa apm arts artswrappersuid asm avi beepmp bitmap-fonts cacheemu cdr delays dga dpms dts encode esd expat fam flac ggi gif glut gnokii gpm gtk gtk2 hal imlib jack jack-tmpfs java javascript jikes jit joystick jpeg jpeg2k kde kdeenablefinal kqemu lcms libcaca libdsk libg++ livecd mad matrox mikmod mips16 mmx mng motif mp3 mpeg multislot multitarget ncurses nls nocd nodrm nptl nptlonly nvidia ogg oggvorbis openal openexr opengl oss pam pcre pda pdflib physfs pic png portaudio python qt quicktime readline real sblive sdl slang sndfile softmmu sse svg symlink tcltk tetex threads tiff transcode truetype truetype-fonts type1-fonts unicode vidix vorbis win32codecs wmf wxgtk1 wxwindows xml2 xmms xrandr xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, PORTDIR_OVERLAY
I believe gnuboy fails to install in this instance because you didn't/don't have svgalib installed as you suggest, therefore sgnuboy isn't built and the dobin call dies. There is an updated ebuild in Bug #99983 which should allow you to install gnuboy, regardless of whether you want the svgalib version(svga use flag). It also changes a few other things at the same time, but if you only want to install gnuboy without fixing the deps the simplest way would be to loop over the names for dobin and test them. Something like: for i in fbgnuboy sdlgnuboy sgnuboy xgnuboy; do [ -x $i ] && dobin $i done Obviously it isn't the right fix though ;) [Fix the bug summary to the correct version, 1.0.3, too]
Tank you for your hint. If #99983 solves several problems (and also this one), I'll mark this Bug as DUP. *** This bug has been marked as a duplicate of 99983 ***