* Package: games-puzzle/tetrinet-0.11 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux test userland_GNU * FEATURES: sandbox test userpriv usersandbox Installed LAPACK for library directory lib64 [1] reference * Installed BLAS for library directory lib64 [1] reference * Installed CBLAS for library directory lib64 [1] gsl [2] reference * >>> Unpacking source... >>> Unpacking tetrinet-0.11.tar.bz2 to /tmp/portage/games-puzzle/tetrinet-0.11/work >>> Source unpacked in /tmp/portage/games-puzzle/tetrinet-0.11/work >>> Preparing source in /tmp/portage/games-puzzle/tetrinet-0.11/work/tetrinet-0.11 ... * Applying tetrinet-0.11-no-ipv6.patch ... [ ok ] * Applying tetrinet-0.11-build.patch ... [ ok ] * please use append-cppflags for preprocessor flags >>> Source prepared. >>> Configuring source in /tmp/portage/games-puzzle/tetrinet-0.11/work/tetrinet-0.11 ... >>> Source configured. >>> Compiling source in /tmp/portage/games-puzzle/tetrinet-0.11/work/tetrinet-0.11 ... make -j24 x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c sockets.c x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c tetrinet.c x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c tetris.c x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c tty.c x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -c xwin.c x86_64-pc-linux-gnu-gcc -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -DHAVE_IPV6 -I/usr/include/ncurses -g -Wall -Wl,-O1 -Wl,--as-needed -o tetrinet-server -DSERVER_ONLY server.c sockets.c tetrinet.c tetris.c tetrinet.c: In function 'init': tetrinet.c:640:24: warning: pointer targets in passing argument 3 of 'conn' differ in signedness [-Wpointer-sign] if ((server_sock = conn(server, 31457, ip)) < 0) { ^ In file included from tetrinet.c:17:0: sockets.h:15:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int conn(const char *host, int port, char ipbuf[4]); ^ tty.c: In function 'draw_attdef': tty.c:862:12: warning: variable 'width' set but not used [-Wunused-but-set-variable] int i, width; ^ xwin.c: In function 'draw_attdef': xwin.c:802:12: warning: variable 'width' set but not used [-Wunused-but-set-variable] int i, width; ^ server.c: In function 'check_sockets': server.c:843:7: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] fd = accept(listen_sock, (struct sockaddr *)&sin, &len); ^ In file included from /usr/include/netinet/in.h:23:0, from server.c:14: /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ server.c:861:7: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] fd = accept(listen_sock6, (struct sockaddr *)&sin6, &len); ^ In file included from /usr/include/netinet/in.h:23:0, from server.c:14: /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o tetrinet sockets.o tetrinet.o tetris.o tty.o xwin.o -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.1/../../../../x86_64-pc-linux-gnu/bin/ld: tty.o: undefined reference to symbol 'cbreak' /lib64/libtinfo.so.5: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:25: recipe for target 'tetrinet' failed make: *** [tetrinet] Error 1 make: *** Waiting for unfinished jobs.... tetris.c:35:23: warning: 'timeout' defined but not used [-Wunused-variable] static struct timeval timeout; /* Time of next action */ ^ tetris.c:40:12: warning: 'piece_waiting' defined but not used [-Wunused-variable] static int piece_waiting; /* Are we waiting for a new piece to start? */ ^ tetris.c:42:12: warning: 'last_special' defined but not used [-Wunused-variable] static int last_special; /* Last line for which we added a special */ ^ emake failed * ERROR: games-puzzle/tetrinet-0.11::gentoo failed (compile phase): * died running emake, base_src_make * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3098: Called games_src_compile * environment, line 1787: Called base_src_make * environment, line 678: Called die * The specific snippet of code: * emake "$@" || die "died running emake, $FUNCNAME"; * * If you need support, post the output of `emerge --info '=games-puzzle/tetrinet-0.11::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-puzzle/tetrinet-0.11::gentoo'`. sed: couldn't open temporary file /etc/portage/package.mask/sedmCRAJw: Permission denied