>>> Unpacking source... >>> Unpacking cdogs-sdl-0.3.tar.bz2 to /var/tmp/portage/games-arcade/cdogs-sdl-0.3/work >>> Unpacking cdogs-data-2006-08-16.tar.bz2 to /var/tmp/portage/games-arcade/cdogs-sdl-0.3/work >>> Source unpacked in /var/tmp/portage/games-arcade/cdogs-sdl-0.3/work >>> Compiling source in /var/tmp/portage/games-arcade/cdogs-sdl-0.3/work/cdogs-sdl-0.3/src ... make -j10 I_AM_CONFIGURED=yes SYSTEM="linux" STRIP=true DATADIR=/usr/share/games/cdogs-sdl cdogs Compiling cdogs.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c cdogs.c Compiling draw.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c draw.c Compiling pics.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c pics.c Compiling actors.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c actors.c Compiling map.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c map.c Compiling sounds.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c sounds.c Compiling defs.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c defs.c Compiling objs.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c objs.c Compiling gamedata.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c gamedata.c Compiling ai.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c ai.c Compiling triggers.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c triggers.c Compiling input.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c input.c Compiling prep.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c prep.c Compiling hiscores.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c hiscores.c Compiling automap.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c automap.c Compiling mission.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c mission.c Compiling game.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c game.c Compiling mainmenu.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c mainmenu.c Compiling password.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c password.c Compiling files.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c files.c Compiling menu.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c menu.c Compiling joystick.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c joystick.c Compiling sprcomp.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c sprcomp.c Compiling grafx.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c grafx.c Compiling blit.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c blit.c Compiling text.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c text.c Compiling keyboard.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c keyboard.c Compiling events.c... (debug=0) gcc \ -O2 -pipe -w \ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include -I./missions \ -DSND_SDLMIXER -DCDOGS_DATA_DIR=\"/usr/share/games/cdogs-sdl\" \ -c events.c In function 'open', inlined from 'SaveCampaign' at files.c:317: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make: *** [files.o] Error 1 * * ERROR: games-arcade/cdogs-sdl-0.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2861: Called die * The specific snippet of code: * emake I_AM_CONFIGURED=yes SYSTEM=""linux"" STRIP=true DATADIR="${GAMES_DATADIR}/${PN}" cdogs || 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/log/portage/games-arcade:cdogs-sdl-0.3:20090223-154928.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/cdogs-sdl-0.3/temp/environment'. * This ebuild used the following eclasses from overlays: * /usr/local/toolchain-overlay/eclass/toolchain-funcs.eclass *