* Package: games-puzzle/tetrinet-0.11-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tetrinet-0.11.tar.bz2 to /var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work >>> Source unpacked in /var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work >>> Preparing source in /var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11 ... * Applying tetrinet-0.11-no-ipv6.patch ... [ ok ] * Applying tetrinet-0.11-build.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11 ... make -j1 cc -O2 -pipe -march=native -fno-common -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c sockets.c cc -O2 -pipe -march=native -fno-common -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c tetrinet.c tetrinet.c: In function ‘init’: tetrinet.c:640:44: warning: pointer targets in passing argument 3 of ‘conn’ differ in signedness [-Wpointer-sign] 640 | if ((server_sock = conn(server, 31457, ip)) < 0) { | ^~ | | | unsigned char * In file included from tetrinet.c:17: sockets.h:15:50: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 15 | extern int conn(const char *host, int port, char ipbuf[4]); | ~~~~~^~~~~~~~ cc -O2 -pipe -march=native -fno-common -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c tetris.c cc -O2 -pipe -march=native -fno-common -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c tty.c tty.c: In function ‘setup_fields’: tty.c:561:31: warning: comparison between pointer and zero character constant [-Wpointer-compare] 561 | if (teams[my_playernum-1] != '\0') { | ^~ tty.c:561:9: note: did you mean to dereference the pointer? 561 | if (teams[my_playernum-1] != '\0') { | ^ tty.c:597:18: warning: comparison between pointer and zero character constant [-Wpointer-compare] 597 | if (teams[j+1] != '\0') { | ^~ tty.c:597:7: note: did you mean to dereference the pointer? 597 | if (teams[j+1] != '\0') { | ^ tty.c:610:16: warning: comparison between pointer and zero character constant [-Wpointer-compare] 610 | if (teams[j] != '\0') { | ^~ tty.c:610:7: note: did you mean to dereference the pointer? 610 | if (teams[j] != '\0') { | ^ tty.c: In function ‘draw_attdef’: tty.c:862:12: warning: variable ‘width’ set but not used [-Wunused-but-set-variable] 862 | int i, width; | ^~~~~ cc -O2 -pipe -march=native -fno-common -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c xwin.c xwin.c: In function ‘draw_attdef’: xwin.c:802:12: warning: variable ‘width’ set but not used [-Wunused-but-set-variable] 802 | int i, width; | ^~~~~ cc -Wl,-O1 -Wl,--as-needed -o tetrinet sockets.o tetrinet.o tetris.o tty.o xwin.o -lncurses -ltinfo /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tetris.o:/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11/tetris.h:53: multiple definition of `piecedata'; tetrinet.o:/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11/tetris.h:53: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tty.o:/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11/tetris.h:53: multiple definition of `piecedata'; tetrinet.o:/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11/tetris.h:53: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xwin.o:/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11/tetris.h:53: multiple definition of `piecedata'; tetrinet.o:/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11/tetris.h:53: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:25: tetrinet] Error 1 * ERROR: games-puzzle/tetrinet-0.11-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-puzzle/tetrinet-0.11-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-puzzle/tetrinet-0.11-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-puzzle:tetrinet-0.11-r1:20200129-155703.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11' * S: '/var/tmp/portage/games-puzzle/tetrinet-0.11-r1/work/tetrinet-0.11'