* Package: games-board/gnugo-3.9.1-r2 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux readline userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gnugo-3.9.1.tar.gz to /var/tmp/portage/games-board/gnugo-3.9.1-r2/work >>> Source unpacked in /var/tmp/portage/games-board/gnugo-3.9.1-r2/work >>> Preparing source in /var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1 ... * Applying gnugo-3.9.1-invalid-move.patch ... [ ok ] * Applying gnugo-3.9.1-format-security.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1 ... ./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 --docdir=/usr/share/doc/gnugo-3.9.1-r2 --htmldir=/usr/share/doc/gnugo-3.9.1-r2/html --libdir=/usr/lib64 --with-readline --enable-cache-size=32 configure: loading site script /usr/share/config.site 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 a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... 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 pow... -lm checking for mingw32... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether make sets $(MAKE)... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking ncurses/term.h usability... no checking ncurses/term.h presence... no checking for ncurses/term.h... no checking size of long... 8 checking for vsnprintf... yes checking for gettimeofday... yes checking for usleep... yes checking for times... yes checking for variadic cpp define... yes checking whether x86_64-pc-linux-gnu-gcc supports transparent unions... yes checking for library containing tparm... no checking for color support... none (curses failed) checking for library containing readline... -lreadline checking whether socket support can be compiled... yes configure: creating ./config.status config.status: creating Makefile config.status: creating interface/Makefile config.status: creating patterns/Makefile config.status: creating sgf/Makefile config.status: creating utils/Makefile config.status: creating engine/Makefile config.status: creating doc/Makefile config.status: creating regression/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1' Making all in utils make[2]: Entering directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/utils' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c getopt.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c getopt1.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c random.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c gg_utils.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -c winsocket.c rm -f libutils.a ar cru libutils.a getopt.o getopt1.o random.o gg_utils.o winsocket.o x86_64-pc-linux-gnu-ranlib libutils.a make[2]: Leaving directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/utils' Making all in sgf make[2]: Entering directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/sgf' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -march=native -fno-common -c sgf_utils.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -march=native -fno-common -c sgfnode.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -march=native -fno-common -c sgftree.c rm -f libsgf.a ar cru libsgf.a sgf_utils.o sgfnode.o sgftree.o x86_64-pc-linux-gnu-ranlib libsgf.a x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../utils -O2 -pipe -march=native -fno-common -c sgfgen.c In file included from /usr/include/string.h:494, from sgfgen.c:31: In function ‘strncpy’, inlined from ‘main’ at sgfgen.c:70:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o sgfgen sgfgen.o -lreadline -lm make[2]: Leaving directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/sgf' Making all in engine make[2]: Entering directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/engine' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c aftermath.c In file included from board.h:30, from gnugo.h:33, from aftermath.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c board.c In file included from board.h:30, from board.c:32: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c boardlib.c In file included from board.h:30, from boardlib.c:27: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c breakin.c In file included from board.h:30, from gnugo.h:33, from breakin.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] breakin.c: In function ‘break_in_goal’: breakin.c:385:3: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 385 | memset(non_territory, 0, BOARDMAX); | ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c cache.c In file included from board.h:30, from gnugo.h:33, from cache.c:26: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c clock.c In file included from board.h:30, from gnugo.h:33, from clock.h:27, from clock.c:39: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c combination.c In file included from board.h:30, from gnugo.h:33, from combination.c:29: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c dragon.c In file included from board.h:30, from gnugo.h:33, from dragon.c:44: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c endgame.c In file included from board.h:30, from gnugo.h:33, from endgame.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c filllib.c In file included from board.h:30, from gnugo.h:33, from filllib.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c fuseki.c In file included from board.h:30, from gnugo.h:33, from fuseki.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c genmove.c In file included from board.h:30, from gnugo.h:33, from genmove.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c globals.c In file included from board.h:30, from gnugo.h:33, from globals.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c handicap.c In file included from board.h:30, from gnugo.h:33, from handicap.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c hash.c In file included from board.h:30, from hash.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c influence.c In file included from board.h:30, from gnugo.h:33, from influence.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c interface.c In file included from board.h:30, from gnugo.h:33, from interface.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c matchpat.c In file included from board.h:30, from gnugo.h:33, from matchpat.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c montecarlo.c In file included from board.h:30, from gnugo.h:33, from montecarlo.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c move_reasons.c In file included from board.h:30, from gnugo.h:33, from move_reasons.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] move_reasons.c: In function ‘list_move_reasons’: move_reasons.c:1865:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 1865 | gfprintf(out, "Move at %1m captures something\n", pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ move_reasons.c:1867:2: note: here 1867 | case YOUR_ATARI_ATARI_MOVE: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c movelist.c In file included from board.h:30, from gnugo.h:33, from movelist.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c optics.c In file included from board.h:30, from gnugo.h:33, from optics.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c oracle.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c owl.c In file included from board.h:30, from gnugo.h:33, from owl.c:49: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c persistent.c In file included from board.h:30, from gnugo.h:33, from persistent.c:49: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c printutils.c In file included from board.h:30, from printutils.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c readconnect.c In file included from board.h:30, from gnugo.h:33, from readconnect.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] readconnect.c: In function ‘recursive_disconnect’: readconnect.c:1467:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1467 | if (res == 0) | ^~ readconnect.c:1470:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1470 | for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) | ^~~ readconnect.c: In function ‘recursive_non_transitivity’: readconnect.c:1747:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1747 | if (res == 0) | ^~ readconnect.c:1750:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1750 | for (i = 1; ((i < Moves[0] + 1) && (res == 0)); i++) | ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c reading.c In file included from board.h:30, from gnugo.h:33, from reading.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] reading.c: In function ‘defend4’: reading.c:1859:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1859 | if (stackp <= superstring_depth) | ^~ reading.c:1861:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1861 | squeeze_moves(str, &moves); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c semeai.c In file included from board.h:30, from gnugo.h:33, from semeai.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c sgfdecide.c In file included from board.h:30, from gnugo.h:33, from sgfdecide.c:28: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c sgffile.c In file included from board.h:30, from gnugo.h:33, from sgffile.c:33: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c shapes.c In file included from board.h:30, from gnugo.h:33, from shapes.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c showbord.c In file included from board.h:30, from gnugo.h:33, from showbord.c:38: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c surround.c In file included from board.h:30, from gnugo.h:33, from surround.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c unconditional.c In file included from board.h:30, from gnugo.h:33, from unconditional.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c utils.c In file included from board.h:30, from gnugo.h:33, from utils.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c value_moves.c In file included from board.h:30, from gnugo.h:33, from value_moves.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] value_moves.c: In function ‘estimate_strategical_value’: value_moves.c:2789:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 2789 | if (!move[pos].move_safety) | ^ value_moves.c:2792:7: note: here 2792 | case CUT_MOVE: | ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../patterns -I../patterns -I../sgf -I../utils -O2 -pipe -march=native -fno-common -c worm.c In file included from board.h:30, from gnugo.h:33, from worm.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] rm -f libengine.a ar cru libengine.a aftermath.o board.o boardlib.o breakin.o cache.o clock.o combination.o dragon.o endgame.o filllib.o fuseki.o genmove.o globals.o handicap.o hash.o influence.o interface.o matchpat.o montecarlo.o move_reasons.o movelist.o optics.o oracle.o owl.o persistent.o printutils.o readconnect.o reading.o semeai.o sgfdecide.o sgffile.o shapes.o showbord.o surround.o unconditional.o utils.o value_moves.o worm.o x86_64-pc-linux-gnu-ranlib libengine.a rm -f libboard.a ar cru libboard.a board.o boardlib.o hash.o printutils.o x86_64-pc-linux-gnu-ranlib libboard.a make[2]: Leaving directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/engine' Making all in patterns make[2]: Entering directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/patterns' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -march=native -fno-common -c connections.c In file included from ../engine/board.h:30, from ../engine/liberty.h:27, from connections.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -march=native -fno-common -c helpers.c In file included from ../engine/board.h:30, from ../engine/liberty.h:27, from helpers.c:25: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -march=native -fno-common -c transform.c In file included from ../engine/board.h:30, from ../engine/liberty.h:27, from transform.c:24: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -march=native -fno-common -c mkpat.c In file included from ../engine/board.h:30, from ../engine/liberty.h:27, from mkpat.c:84: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] mkpat.c: In function ‘main’: mkpat.c:2731:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 2731 | if (command != 2) | ^ mkpat.c:2733:8: note: here 2733 | case '!': | ^~~~ mkpat.c:2735:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 2735 | if (command != 2) | ^ mkpat.c:2737:8: note: here 2737 | default: | ^~~~~~~ In file included from /usr/include/string.h:494, from mkpat.c:80: In function ‘strncpy’, inlined from ‘finish_pattern’ at mkpat.c:1243:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wundef -Wdeclaration-after-statement -I../engine -I../utils -I../sgf -O2 -pipe -march=native -fno-common -c dfa.c In file included from ../engine/board.h:30, from ../engine/liberty.h:27, from dfa.c:28: ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 39 | #if USE_WINDOWS_SOCKET_CLUDGE | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ../utils/winsocket.h:39:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o mkpat mkpat.o transform.o dfa.o ../utils/libutils.a -lreadline -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: transform.o:(.bss+0x15640): multiple definition of `meaningless_white_moves'; mkpat.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: transform.o:(.bss+0x15c80): multiple definition of `meaningless_black_moves'; mkpat.o:(.bss+0x660): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dfa.o:(.bss+0x20): multiple definition of `meaningless_white_moves'; mkpat.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dfa.o:(.bss+0x660): multiple definition of `meaningless_black_moves'; mkpat.o:(.bss+0x660): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:372: mkpat] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1/patterns' make[1]: *** [Makefile:261: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1' make: *** [Makefile:199: all] Error 2 * ERROR: games-board/gnugo-3.9.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-board/gnugo-3.9.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-board/gnugo-3.9.1-r2::gentoo'`. * The complete build log is located at '/var/log/portage/games-board:gnugo-3.9.1-r2:20200201-131704.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/gnugo-3.9.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-board/gnugo-3.9.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1' * S: '/var/tmp/portage/games-board/gnugo-3.9.1-r2/work/gnugo-3.9.1'