* Package: games-action/atanks-5.0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking atanks-5.0.tar.gz to /var/tmp/portage/games-action/atanks-5.0/work >>> Source unpacked in /var/tmp/portage/games-action/atanks-5.0/work >>> Preparing source in /var/tmp/portage/games-action/atanks-5.0/work/atanks-5.0 ... removed `./title/.directory' removed `./button/.directory' * Applying atanks-5.0-build.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-action/atanks-5.0/work/atanks-5.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-action/atanks-5.0/work/atanks-5.0 ... make -j14 BINDIR=/usr/games/bin INSTALLDIR=/usr/share/games/atanks FLAGS=-DLINUX make -C src make[1]: Entering directory `/var/tmp/portage/games-action/atanks-5.0/work/atanks-5.0/src' i686-pc-linux-gnu-g++ -c atanks.cpp -o atanks.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c beam.cpp -o beam.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c button.cpp -o button.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c environment.cpp -o environment.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c explosion.cpp -o explosion.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c fade.cpp -o fade.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c files.cpp -o files.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c globaldata.cpp -o globaldata.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c missile.cpp -o missile.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c perlin.cpp -o perlin.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c physobj.cpp -o physobj.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c player.cpp -o player.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c satellite.cpp -o satellite.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c sky.cpp -o sky.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c tank.cpp -o tank.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude globaldata.cpp: In member function ‘int GLOBALDATA::Send_To_Clients(char*)’: globaldata.cpp:954:72: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] i686-pc-linux-gnu-g++ -c team.cpp -o team.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c teleport.cpp -o teleport.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude files.cpp: In function ‘void renderTextLines(GLOBALDATA*, ENVIRONMENT*, TEXTBLOCK*, int, const FONT*, int)’: files.cpp:389:7: warning: variable ‘tLen’ set but not used [-Wunused-but-set-variable] i686-pc-linux-gnu-g++ -c virtobj.cpp -o virtobj.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude atanks.cpp: In function ‘int menu(GLOBALDATA*, ENVIRONMENT*)’: atanks.cpp:1658:7: warning: variable ‘bf’ set but not used [-Wunused-but-set-variable] atanks.cpp:1658:15: warning: variable ‘bfdd’ set but not used [-Wunused-but-set-variable] atanks.cpp: In function ‘bool buystuff(GLOBALDATA*, ENVIRONMENT*)’: atanks.cpp:2045:17: warning: variable ‘updatew’ set but not used [-Wunused-but-set-variable] player.cpp: In member function ‘int PLAYER::controlTank()’: player.cpp:984:37: warning: integer overflow in expression [-Woverflow] player.cpp: In member function ‘int PLAYER::chooseItemToBuy(int)’: player.cpp:1138:7: warning: variable ‘oldItem’ set but not used [-Wunused-but-set-variable] player.cpp: In member function ‘int PLAYER::calculateAttack(TANK*)’: player.cpp:2673:37: warning: variable ‘iLastPower’ set but not used [-Wunused-but-set-variable] atanks.cpp: In function ‘int main(int, char**)’: atanks.cpp:5006:8: warning: variable ‘load_config_file’ set but not used [-Wunused-but-set-variable] atanks.cpp: In function ‘int Game_Client(GLOBALDATA*, ENVIRONMENT*, int)’: atanks.cpp:5678:49: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5754:70: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5768:76: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5774:72: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5780:73: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5786:73: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5794:73: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5802:73: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5808:73: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5814:73: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5827:80: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] atanks.cpp:5835:78: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp: In member function ‘int PLAYER::Execute_Network_Command(int)’: player.cpp:4586:60: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4598:53: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4612:51: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4633:60: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4646:55: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4713:52: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4720:51: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4728:51: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4738:56: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4747:52: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4762:58: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4777:56: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4784:51: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4795:55: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4802:51: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] player.cpp:4812:54: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] i686-pc-linux-gnu-g++ -c update.cpp -o update.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c network.cpp -o network.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude update.cpp: In function ‘void* Get_Latest_Version(void*)’: update.cpp:76:45: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]i686-pc-linux-gnu-g++ -c floattext.cpp -o floattext.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c land.cpp -o land.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c text.cpp -o text.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c client.cpp -o client.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude i686-pc-linux-gnu-g++ -c gameloop.cpp -o gameloop.o -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -O2 -pipe -Wall -Iinclude tank.cpp: In member function ‘void TANK::activateCurrentSelection()’: tank.cpp:1101:21: warning: variable ‘my_teleport’ set but not used [-Wunused-but-set-variable] tank.cpp:1101:35: warning: variable ‘other_teleport’ set but not used [-Wunused-but-set-variable] tank.cpp:1122:21: warning: variable ‘my_teleport’ set but not used [-Wunused-but-set-variable] network.cpp: In function ‘void* Send_And_Receive(void*)’: network.cpp:479:59: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] network.cpp:496:84: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] gameloop.cpp: In function ‘int game(GLOBALDATA*, ENVIRONMENT*)’: gameloop.cpp:195:21: warning: variable ‘defense_beam’ set but not used [-Wunused-but-set-variable] land.cpp: In function ‘void generate_land(GLOBALDATA*, ENVIRONMENT*, BITMAP*, int, int, int)’: land.cpp:103:27: warning: variable ‘top’ set but not used [-Wunused-but-set-variable] network.cpp:435:7: warning: ‘counter’ may be used uninitialized in this function [-Wuninitialized] client.cpp: In function ‘int Parse_Client_Data(GLOBALDATA*, ENVIRONMENT*, char*)’: client.cpp:83:13: warning: variable ‘new_beam’ set but not used [-Wunused-but-set-variable] client.cpp:104:20: warning: variable ‘explosion’ set but not used [-Wunused-but-set-variable] client.cpp:309:18: warning: variable ‘my_teleport’ set but not used [-Wunused-but-set-variable] client.cpp: In function ‘int Client_Fire(PLAYER*, int)’: client.cpp:416:44: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] client.cpp: In function ‘int Parse_Client_Data(GLOBALDATA*, ENVIRONMENT*, char*)’: client.cpp:300:59: warning: ‘colour’ may be used uninitialized in this function [-Wuninitialized] i686-pc-linux-gnu-g++ atanks.o beam.o button.o environment.o explosion.o fade.o files.o globaldata.o missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o update.o network.o floattext.o land.o text.o client.o gameloop.o -o ../atanks -DLINUX -DDATA_DIR=\"/usr/share/games/atanks\" -DNEW_GAMELOOP -Wno-write-strings -DNETWORK -DTHREADS -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu `allegro-config --libs` -O2 -pipe -Wall -Iinclude atanks.o:atanks.cpp:function main: error: undefined reference to 'pthread_create' atanks.o:atanks.cpp:function main: error: undefined reference to 'pthread_create' atanks.o:atanks.cpp:function main: error: undefined reference to 'pthread_create' update.o:update.cpp:function Check_For_Update(char*, char*, char*, char*): error: undefined reference to 'pthread_create' collect2: ld returned 1 exit status make[1]: *** [../atanks] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-action/atanks-5.0/work/atanks-5.0/src' make: *** [all] Error 2 emake failed * ERROR: games-action/atanks-5.0 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2656: Called die * The specific snippet of code: * emake BINDIR="${GAMES_BINDIR}" INSTALLDIR="${GAMES_DATADIR}/${PN}" || die "emake failed" * * If you need support, post the output of 'emerge --info =games-action/atanks-5.0', * the complete build log and the output of 'emerge -pqv =games-action/atanks-5.0'. * The complete build log is located at '/var/log/portage/build/games-action/atanks-5.0:20110617-134239.log'. * The ebuild environment file is located at '/var/tmp/portage/games-action/atanks-5.0/temp/environment'. * S: '/var/tmp/portage/games-action/atanks-5.0/work/atanks-5.0'