* Package: games-arcade/xtux-20030306-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xtux-src-20030306.tar.gz to /var/tmp/portage/games-arcade/xtux-20030306-r1/work >>> Source unpacked in /var/tmp/portage/games-arcade/xtux-20030306-r1/work >>> Preparing source in /var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux ... * Applying xtux-20030306-particles.patch ... [ ok ] * Applying xtux-20030306-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux ... make -j1 DATADIR=/usr/share/xtux/data common ************* Building COMMON lib ************* make[1]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/common' Makefile:21: warning: ignoring prerequisites on suffix rule definition gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c common.c gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c timing.c gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c net.c net.c: In function ‘net_rec_new_connection’: net.c:149:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 149 | printf("Wrote only %d bytes of %d.\n", size, sizeof(demo_header)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld net.c: In function ‘net_fake_connection’: net.c:185:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=] 185 | printf("Read only %d bytes of %d.\n", size, sizeof(demo_header)); | ~^ ~~~~ | | | | int ssize_t {aka long int} | %ld net.c:185:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 185 | printf("Read only %d bytes of %d.\n", size, sizeof(demo_header)); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c entity_type.c gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c weapon_type.c gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c map.c map.c: In function ‘read_layer’: map.c:270:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 270 | printf("line length = %d, expected %d\n", strlen(line),map->width); | ~^ ~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c maths.c gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c datafile.c ar r xtuxlib.a common.o timing.o net.o entity_type.o weapon_type.o map.o maths.o datafile.o ar: creating xtuxlib.a ranlib xtuxlib.a make[1]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/common' make -j1 DATADIR=/usr/share/xtux/data ggz ************* Building GGZ ************* make[1]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz' make all-recursive make[2]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz' Making all in easysock make[3]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz/easysock' gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c easysock.c rm -f libeasysock.a ar cru libeasysock.a easysock.o ranlib libeasysock.a make[3]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz/easysock' Making all in server make[3]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz/server' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../easysock -g -O2 -c ggz.c rm -f libggzd.a ar cru libggzd.a ggz.o ranlib libggzd.a make[3]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz/server' Making all in client make[3]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz/client' gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c ggz.c ggz.c: In function ‘ggz_client_connect’: ggz.c:64:2: warning: implicit declaration of function ‘bzero’ [-Wimplicit-function-declaration] 64 | bzero(&addr, sizeof(addr)); | ^~~~~ ggz.c:64:2: warning: incompatible implicit declaration of built-in function ‘bzero’ ggz.c:66:2: warning: implicit declaration of function ‘strncpy’ [-Wimplicit-function-declaration] 66 | strncpy(addr.sun_path, fd_name,sizeof(addr.sun_path)-1); | ^~~~~~~ ggz.c:66:2: warning: incompatible implicit declaration of built-in function ‘strncpy’ ggz.c:36:1: note: include ‘’ or provide a declaration of ‘strncpy’ 35 | #include +++ |+#include 36 | ggz.c: In function ‘ggz_client_init’: ggz.c:90:2: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] 90 | strcpy(name, game_name); | ^~~~~~ ggz.c:90:2: warning: incompatible implicit declaration of built-in function ‘strcpy’ ggz.c:90:2: note: include ‘’ or provide a declaration of ‘strcpy’ rm -f libggz.a ar cru libggz.a ggz.o ranlib libggz.a make[3]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz/client' make[3]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz' make[3]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz' make[2]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz' make[1]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/ggz' make -j1 DATADIR=/usr/share/xtux/data server ************* Building SERVER ************* make[1]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/server' Makefile:48: warning: ignoring prerequisites on suffix rule definition gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c main.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c sv_net.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c sv_netmsg_recv.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c sv_netmsg_send.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock sv_netmsg_send.c: In function ‘sv_netmsg_send_textmessage’: sv_netmsg_send.c:58:5: warning: format not a string literal and no format arguments [-Wformat-security] 58 | snprintf(msg.textmessage.sender, 32, sender); | ^~~~~~~~ sv_netmsg_send.c:59:5: warning: format not a string literal and no format arguments [-Wformat-security] 59 | snprintf(msg.textmessage.string, 32, string); | ^~~~~~~~ gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c world.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c game.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c entity.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c weapon.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c misc.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c sv_map.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c ai.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c hitscan.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c item.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c event.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c xtuxggz.c -I../../src/common -I../../src/ggz/server -I../../src/ggz/easysock gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ../../tux_serv main.o sv_net.o sv_netmsg_recv.o sv_netmsg_send.o world.o game.o entity.o weapon.o misc.o sv_map.o ai.o hitscan.o item.o event.o xtuxggz.o ../../src/common/xtuxlib.a -lm ../../src/ggz/server/libggzd.a ../../src/ggz/easysock/libeasysock.a make[1]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/server' make -j1 DATADIR=/usr/share/xtux/data client ************* Building CLIENT ************* make[1]: Entering directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/client' Makefile:55: warning: ignoring prerequisites on suffix rule definition gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c main.c -I../../src/common -I/usr/X11R6/include -I../../src/ggz/client gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c win.c -I../../src/common -I/usr/X11R6/include -I../../src/ggz/client gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c draw.c -I../../src/common -I/usr/X11R6/include -I../../src/ggz/client gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c input.c -I../../src/common -I/usr/X11R6/include -I../../src/ggz/client gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c image.c -I../../src/common -I/usr/X11R6/include -I../../src/ggz/client gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c menu.c -I../../src/common -I/usr/X11R6/include -I../../src/ggz/client gcc -O2 -pipe -march=native -DDATADIR=\"/usr/share/xtux/data\" -c misc.c -I../../src/common -I/usr/X11R6/include -I../../src/ggz/client misc.c:62:22: error: ‘PATH_MAX’ undeclared here (not in a function) 62 | static char filename[PATH_MAX]; | ^~~~~~~~ make[1]: *** [Makefile:55: misc.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux/src/client' make: *** [Makefile:43: client] Error 2 * ERROR: games-arcade/xtux-20030306-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/xtux-20030306-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/xtux-20030306-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:xtux-20030306-r1:20200409-205237.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/xtux-20030306-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/xtux-20030306-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux' * S: '/var/tmp/portage/games-arcade/xtux-20030306-r1/work/xtux'