* Package: games-board/xgammon-0.98-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xgammon-0.98a.tar.gz to /var/tmp/portage/games-board/xgammon-0.98-r1/work >>> Source unpacked in /var/tmp/portage/games-board/xgammon-0.98-r1/work >>> Preparing source in /var/tmp/portage/games-board/xgammon-0.98-r1/work/xgammon-0.98a ... * Applying xgammon-0.98-broken.patch ... patching file lib/db.c Hunk #1 succeeded at 267 with fuzz 1 (offset 8 lines). [ ok ] * Applying xgammon-0.98-config.patch ... [ ok ] * Applying gcc33.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-board/xgammon-0.98-r1/work/xgammon-0.98a ... imake -DUseInstalled -I/usr/lib64/X11/config >>> Source configured. >>> Compiling source in /var/tmp/portage/games-board/xgammon-0.98-r1/work/xgammon-0.98a ... make -j1 'EXTRA_LDOPTIONS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'CDEBUGFLAGS=-O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security' CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o allow.o allow.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from allow.c:20: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ allow.c: In function ‘print_possible_moves’: allow.c:300:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 300 | printf ("count = %d\n", (list - possible_moves) / 4); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o drawing.o drawing.c In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from drawing.c:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o load.o load.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from load.c:9: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o rollout.o rollout.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rollout.c:19: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ rollout.c: In function ‘RolloutLoop’: rollout.c:128:24: error: format not a string literal and no format arguments [-Werror=format-security] 128 | fprintf (result_file, add_text); | ^~~~~~~~ rollout.c:132:24: error: format not a string literal and no format arguments [-Werror=format-security] 132 | fprintf (result_file, add_text); | ^~~~~~~~ rollout.c:136:24: error: format not a string literal and no format arguments [-Werror=format-security] 136 | fprintf (result_file, add_text); | ^~~~~~~~ rollout.c:140:24: error: format not a string literal and no format arguments [-Werror=format-security] 140 | fprintf (result_file, add_text); | ^~~~~~~~ rollout.c:144:24: error: format not a string literal and no format arguments [-Werror=format-security] 144 | fprintf (result_file, add_text); | ^~~~~~~~ cc1: some warnings being treated as errors make: *** [: rollout.o] Error 1 * ERROR: games-board/xgammon-0.98-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-board/xgammon-0.98-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-board/xgammon-0.98-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-board:xgammon-0.98-r1:20200325-011315.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-board/xgammon-0.98-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-board/xgammon-0.98-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-board/xgammon-0.98-r1/work/xgammon-0.98a' * S: '/var/tmp/portage/games-board/xgammon-0.98-r1/work/xgammon-0.98a'