* Package: games-strategy/dopewars-1.5.12-r3 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ncurses nls userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dopewars-1.5.12.tar.gz to /var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work >>> Source unpacked in /var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work >>> Preparing source in /var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12 ... * Applying dopewars-1.5.12-CVE-2009-3591.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12 ... * econf: updating dopewars-1.5.12/config.sub with /usr/share/gnuconfig/config.sub * econf: updating dopewars-1.5.12/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --enable-curses-client --enable-nls --without-sdl --without-esd --enable-networking --enable-plugins --disable-gui-client --disable-gui-server --disable-glibtest --disable-gtktest checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for library containing strerror... none required checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-f95... no checking for x86_64-pc-linux-gnu-fort... no checking for x86_64-pc-linux-gnu-xlf95... no checking for x86_64-pc-linux-gnu-ifc... no checking for x86_64-pc-linux-gnu-efc... no checking for x86_64-pc-linux-gnu-pgf95... no checking for x86_64-pc-linux-gnu-lf95... no checking for x86_64-pc-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc static flag works... yes checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h Configuring for Unix binary checking for newterm in -lncurses... yes checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.60.6) checking for socklen_t data type... yes checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for GNU gettext in libc... yes checking for dcgettext... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for bison... bison checking version of bison... 3.4.1, ok checking for catalogs to be installed... de pl pt_BR fr fr_CA nn es es_ES checking for long long... yes checking size of long long... 8 checking for working memcmp... yes checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for strftime... yes checking for strdup... (cached) yes checking for strstr... yes checking for getopt... yes checking for getopt_long... yes checking for fork... yes checking for library containing dlopen... -ldl checking for dlopen... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for socket... yes checking for gethostbyname... yes checking for select... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/gui_client/Makefile config.status: creating src/curses_client/Makefile config.status: creating src/gtkport/Makefile config.status: creating src/cursesport/Makefile config.status: creating src/plugins/Makefile config.status: creating sounds/Makefile config.status: creating sounds/19.5degs/Makefile config.status: creating doc/Makefile config.status: creating doc/help/Makefile config.status: creating intl/Makefile config.status: creating dopewars.spec config.status: creating doc/dopewars.6 config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands dopewars has been configured as follows: Building Unix version CLIENTS - Text-mode (curses) client TCP/IP networking support enabled for multi-player games SERVER - Text-mode server >>> Source configured. >>> Compiling source in /var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12' Making all in intl make[2]: Entering directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/intl' Making all in src make[2]: Entering directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src' Making all in curses_client make[3]: Entering directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src/curses_client' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I. -I./.. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c curses_client.c curses_client.c: In function ‘ConnectToServer’: curses_client.c:652:3: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 652 | if (g_strcasecmp(ServerName, SN_META) == 0 || ConnectMethod == CM_META) { | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from curses_client.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ curses_client.c:655:3: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 655 | } else if (g_strcasecmp(ServerName, SN_PROMPT) == 0 || | ^ In file included from /usr/include/glib-2.0/glib.h:82, from curses_client.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ curses_client.c:659:3: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 659 | } else if (g_strcasecmp(ServerName, SN_SINGLE) == 0 || | ^ In file included from /usr/include/glib-2.0/glib.h:82, from curses_client.c:36: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rm -f libcursesclient.a x86_64-pc-linux-gnu-ar cru libcursesclient.a curses_client.o x86_64-pc-linux-gnu-ranlib libcursesclient.a make[3]: Leaving directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src/curses_client' Making all in cursesport make[3]: Entering directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src/cursesport' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I. -I./.. -I../.. -O2 -pipe -march=native -Wall -c cursesport.c rm -f libcursesport.a x86_64-pc-linux-gnu-ar cru libcursesport.a cursesport.o x86_64-pc-linux-gnu-ranlib libcursesport.a make[3]: Leaving directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src/cursesport' Making all in plugins make[3]: Entering directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src/plugins' /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c -o sound_esd.lo sound_esd.c mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c sound_esd.c -fPIC -DPIC -o .libs/sound_esd.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c sound_esd.c -o sound_esd.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o libsound_esd.la sound_esd.lo -lglib-2.0 x86_64-pc-linux-gnu-ar cru .libs/libsound_esd.a .libs/sound_esd.o x86_64-pc-linux-gnu-ranlib .libs/libsound_esd.a creating libsound_esd.la (cd .libs && rm -f libsound_esd.la && ln -s ../libsound_esd.la libsound_esd.la) /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c -o sound_sdl.lo sound_sdl.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c sound_sdl.c -fPIC -DPIC -o .libs/sound_sdl.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c sound_sdl.c -o sound_sdl.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o libsound_sdl.la sound_sdl.lo -lglib-2.0 x86_64-pc-linux-gnu-ar cru .libs/libsound_sdl.a .libs/sound_sdl.o x86_64-pc-linux-gnu-ranlib .libs/libsound_sdl.a creating libsound_sdl.la (cd .libs && rm -f libsound_sdl.la && ln -s ../libsound_sdl.la libsound_sdl.la) /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c -o sound_winmm.lo sound_winmm.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c sound_winmm.c -fPIC -DPIC -o .libs/sound_winmm.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c sound_winmm.c -o sound_winmm.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o libsound_winmm.la sound_winmm.lo -lglib-2.0 x86_64-pc-linux-gnu-ar cru .libs/libsound_winmm.a .libs/sound_winmm.o x86_64-pc-linux-gnu-ranlib .libs/libsound_winmm.a creating libsound_winmm.la (cd .libs && rm -f libsound_winmm.la && ln -s ../libsound_winmm.la libsound_winmm.la) make[3]: Leaving directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src/plugins' make[3]: Entering directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c admin.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c AIPlayer.c AIPlayer.c: In function ‘AIHandleQuestion’: AIPlayer.c:601:18: warning: variable ‘allowed’ set but not used [-Wunused-but-set-variable] 601 | char *Prompt, *allowed; | ^~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c util.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c configfile.c configfile.c: In function ‘ReadFileToString’: configfile.c:184:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 184 | ftruncate(fileno(fp), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c convert.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c dopewars.c dopewars.c:236:4: warning: pointer targets in initialization of ‘int *’ from ‘unsigned int *’ differ in signedness [-Wpointer-sign] 236 | {&Port, NULL, NULL, NULL, NULL, "Port", N_("Network port to connect to"), | ^ dopewars.c:236:4: note: (near initialization for ‘Globals[0].IntVal’) dopewars.c:265:4: warning: pointer targets in initialization of ‘int *’ from ‘unsigned int *’ differ in signedness [-Wpointer-sign] 265 | {&Socks.port, NULL, NULL, NULL, NULL, "Socks.Port", | ^ dopewars.c:265:4: note: (near initialization for ‘Globals[9].IntVal’) dopewars.c:283:4: warning: pointer targets in initialization of ‘int *’ from ‘unsigned int *’ differ in signedness [-Wpointer-sign] 283 | {&MetaServer.Port, NULL, NULL, NULL, NULL, "MetaServer.Port", | ^ dopewars.c:283:4: note: (near initialization for ‘Globals[15].IntVal’) dopewars.c:289:4: warning: pointer targets in initialization of ‘int *’ from ‘unsigned int *’ differ in signedness [-Wpointer-sign] 289 | {&MetaServer.ProxyPort, NULL, NULL, NULL, NULL, "MetaServer.ProxyPort", | ^ dopewars.c:289:4: note: (near initialization for ‘Globals[17].IntVal’) dopewars.c: In function ‘GetNextDrugIndex’: dopewars.c:1409:11: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1409 | && g_strcasecmp(Drug[MaxIndex].Name, Drug[i].Name) > 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c:1411:11: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1411 | && g_strcasecmp(Drug[MaxIndex].Name, Drug[i].Name) < 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c:1418:11: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1418 | && g_strcasecmp(Drug[OldIndex].Name, Drug[i].Name) <= 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c:1420:11: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1420 | && g_strcasecmp(Drug[OldIndex].Name, Drug[i].Name) >= 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c: In function ‘ParseNextConfig’: dopewars.c:1912:3: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1912 | if (g_strcasecmp(scanner->value.v_identifier, "include") == 0) { | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c:1925:3: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1925 | } else if (g_strcasecmp(scanner->value.v_identifier, "encoding") == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c: In function ‘GetGlobalIndex’: dopewars.c:2005:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 2005 | if (g_strcasecmp(ID1, Globals[i].Name) == 0 | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c:2010:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 2010 | if (g_strcasecmp(ID1, Globals[i].NameStruct) == 0 && ID2 | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c:2011:9: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 2011 | && g_strcasecmp(ID2, Globals[i].Name) == 0 | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c: In function ‘SetConfigValue’: dopewars.c:2245:7: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 2245 | if (g_strcasecmp(scanner->value.v_identifier, "TRUE") == 0 || | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ dopewars.c:2249:7: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 2249 | } else if (g_strcasecmp(scanner->value.v_identifier, "FALSE") == 0 | ^ In file included from /usr/include/glib-2.0/glib.h:82, from dopewars.c:41: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c error.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c log.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c message.c message.c: In function ‘ReceiveInitialData’: message.c:738:14: warning: variable ‘ServerVersion’ set but not used [-Wunused-but-set-variable] 738 | char *pt, *ServerVersion, *curr; | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c network.c network.c: In function ‘ParseHtmlLocation’: network.c:1309:3: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 1309 | if (!uris || strlen(uris) < 7 || g_strncasecmp(uris, "http://", 7) != 0) | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from network.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ network.c: In function ‘StartHttpAuth’: network.c:1359:3: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1359 | if (split[0] && split[1] && g_strcasecmp(split[0], "Basic") == 0 && | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from network.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ network.c:1360:7: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 1360 | g_strncasecmp(split[1], "realm=", 6) == 0 && strlen(split[1]) > 6) { | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:82, from network.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ network.c: In function ‘ParseHtmlHeader’: network.c:1380:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1380 | if (g_strcasecmp(split[0], "Location:") == 0 && | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from network.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ network.c:1394:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1394 | } else if (g_strcasecmp(split[0], "WWW-Authenticate:") == 0 && | ^ In file included from /usr/include/glib-2.0/glib.h:82, from network.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ network.c:1397:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1397 | } else if (g_strcasecmp(split[0], "Proxy-Authenticate:") == 0 && | ^ In file included from /usr/include/glib-2.0/glib.h:82, from network.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c serverside.c serverside.c: In function ‘HandleServerCommand’: serverside.c:1004:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1004 | if (g_strcasecmp(string, "help") == 0 || g_strcasecmp(string, "h") == 0 | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ serverside.c:1004:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1004 | if (g_strcasecmp(string, "help") == 0 || g_strcasecmp(string, "h") == 0 | ^~ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ serverside.c:1007:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1007 | } else if (g_strcasecmp(string, "quit") == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ serverside.c:1009:5: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 1009 | } else if (g_strncasecmp(string, "msg:", 4) == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ serverside.c:1011:5: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 1011 | } else if (g_strncasecmp(string, "save ", 5) == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ serverside.c:1013:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1013 | } else if (g_strcasecmp(string, "save") == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ serverside.c:1015:5: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations] 1015 | } else if (g_strcasecmp(string, "list") == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:201:23: note: declared here 201 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ serverside.c:1026:5: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 1026 | } else if (g_strncasecmp(string, "push ", 5) == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ serverside.c:1033:5: warning: ‘g_strncasecmp’ is deprecated [-Wdeprecated-declarations] 1033 | } else if (g_strncasecmp(string, "kill ", 5) == 0) { | ^ In file included from /usr/include/glib-2.0/glib.h:82, from serverside.c:49: /usr/include/glib-2.0/glib/gstrfuncs.h:204:23: note: declared here 204 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ serverside.c: In function ‘HandleNewConnection’: serverside.c:1060:28: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 1060 | &cadsize)) == -1) { | ^~~~~~~~ | | | int * In file included from serverside.c:37: /usr/include/sys/socket.h:233:28: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ serverside.c: In function ‘DropPrivileges’: serverside.c:1859:3: warning: ignoring return value of ‘setregid’, declared with attribute warn_unused_result [-Wunused-result] 1859 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverside.c:1865:3: warning: ignoring return value of ‘setreuid’, declared with attribute warn_unused_result [-Wunused-result] 1865 | setreuid(getuid(), getuid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverside.c: In function ‘ConvertHighScoreFile’: serverside.c:1926:9: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 1926 | ftruncate(fileno(backup), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverside.c:1945:11: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 1945 | ftruncate(fileno(old), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ serverside.c: In function ‘HighScoreWrite’: serverside.c:2142:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 2142 | ftruncate(fileno(fp), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c sound.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c tstring.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=native -Wall -c winmain.c /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o dopewars admin.o AIPlayer.o util.o configfile.o convert.o dopewars.o error.o log.o message.o network.o serverside.o sound.o tstring.o winmain.o curses_client/libcursesclient.a cursesport/libcursesport.a -lglib-2.0 -ldl -lncurses mkdir .libs x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o dopewars admin.o AIPlayer.o util.o configfile.o convert.o dopewars.o error.o log.o message.o network.o serverside.o sound.o tstring.o winmain.o curses_client/libcursesclient.a cursesport/libcursesport.a -lglib-2.0 -ldl -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: curses_client/libcursesclient.a(curses_client.o): undefined reference to symbol 'keypad' /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[3]: *** [Makefile:338: dopewars] Error 1 make[3]: Leaving directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src' make[2]: *** [Makefile:399: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12/src' make[1]: *** [Makefile:336: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12' make: *** [Makefile:261: all] Error 2 * ERROR: games-strategy/dopewars-1.5.12-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-strategy/dopewars-1.5.12-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-strategy/dopewars-1.5.12-r3::gentoo'`. * The complete build log is located at '/var/log/portage/games-strategy:dopewars-1.5.12-r3:20190726-203957.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/temp/environment'. * Working directory: '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12' * S: '/var/tmp/portage/games-strategy/dopewars-1.5.12-r3/work/dopewars-1.5.12'