* Package: games-misc/bsd-games-3.2:0/3 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bsd-games-3.2.tar.gz to /var/tmp/portage/games-misc/bsd-games-3.2/work >>> Unpacking bsd-games-3.1-verbose-build.patch.gz to /var/tmp/portage/games-misc/bsd-games-3.2/work >>> Source unpacked in /var/tmp/portage/games-misc/bsd-games-3.2/work >>> Preparing source in /var/tmp/portage/games-misc/bsd-games-3.2/work/bsd-games-3.2 ... * Applying bsd-games-3.1-verbose-build.patch ... [ ok ] * Applying bsd-games-3.1-no-install-manpages-automatically.patch ... [ ok ] * Applying bsd-games-3.2-no-which.patch ... [ ok ] * Applying bsd-games-3.2-no-strip.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/games-misc/bsd-games-3.2/work/bsd-games-3.2 ... ./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 --libdir=/usr/lib64 >>> Source configured. >>> Compiling source in /var/tmp/portage/games-misc/bsd-games-3.2/work/bsd-games-3.2 ... make -j4 CPPFLAGS= 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' [ -d /var/tmp/portage/games-misc/bsd-games-3.2/temp/make/bsdgames/ ] || mkdir -p /var/tmp/portage/games-misc/bsd-games-3.2/temp/make/bsdgames/ touch /var/tmp/portage/games-misc/bsd-games-3.2/temp/make/bsdgames/.d [ -h .o ] || ln -sf /var/tmp/portage/games-misc/bsd-games-3.2/temp/make/bsdgames .o [ -d .o/adventure/ ] || mkdir .o/adventure/ [ -d .o/common/ ] || mkdir .o/common/ [ -d .o/arithmetic/ ] || mkdir .o/arithmetic/ touch .o/adventure/.d [ -d .o/atc/ ] || mkdir .o/atc/ [ -d .o/battlestar/ ] || mkdir .o/battlestar/ touch .o/common/.d touch .o/arithmetic/.d touch .o/atc/.d touch .o/battlestar/.d [ -d .o/caesar/ ] || mkdir .o/caesar/ [ -d .o/cribbage/ ] || mkdir .o/cribbage/ [ -d .o/dab/ ] || mkdir .o/dab/ [ -d .o/drop4/ ] || mkdir .o/drop4/ touch .o/caesar/.d touch .o/dab/.d touch .o/cribbage/.d touch .o/drop4/.d [ -d .o/gofish/ ] || mkdir .o/gofish/ [ -d .o/gomoku/ ] || mkdir .o/gomoku/ [ -d .o/hangman/ ] || mkdir .o/hangman/ touch .o/gomoku/.d [ -d .o/klondike/ ] || mkdir .o/klondike/ touch .o/gofish/.d [ -d .o/robots/ ] || mkdir .o/robots/ [ -d .o/sail/ ] || mkdir .o/sail/ touch .o/hangman/.d touch .o/klondike/.d touch .o/robots/.d touch .o/sail/.d [ -d .o/snake/ ] || mkdir .o/snake/ [ -d .o/spirhunt/ ] || mkdir .o/spirhunt/ [ -d .o/worm/ ] || mkdir .o/worm/ [ -d .o/wump/ ] || mkdir .o/wump/ touch .o/spirhunt/.d touch .o/snake/.d touch .o/wump/.d echo " Compiling adventure/advent.c ..." touch .o/worm/.d echo " Compiling adventure/itverb.c ..." echo " Compiling adventure/loc.c ..." echo " Compiling adventure/msg.c ..." Compiling adventure/advent.c ... clang -Os -g0 -DNDEBUG=1 -std=c11 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -MMD -MT "adventure/advent.s .o/adventure/advent.o" -o .o/adventure/advent.o -c adventure/advent.c Compiling adventure/itverb.c ... clang -Os -g0 -DNDEBUG=1 -std=c11 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -MMD -MT "adventure/itverb.s .o/adventure/itverb.o" -o .o/adventure/itverb.o -c adventure/itverb.c Compiling adventure/loc.c ... clang -Os -g0 -DNDEBUG=1 -std=c11 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -MMD -MT "adventure/loc.s .o/adventure/loc.o" -o .o/adventure/loc.o -c adventure/loc.c Compiling adventure/msg.c ... clang -Os -g0 -DNDEBUG=1 -std=c11 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -MMD -MT "adventure/msg.s .o/adventure/msg.o" -o .o/adventure/msg.o -c adventure/msg.c adventure/msg.c:569:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 569 | fgets (ArrayBlock(answer), stdin); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ adventure/advent.c:314:15: error: too many arguments provided to function-like macro invocation 314 | snprintf (ArrayBlock (game_score.name), "%s", player_name()); | ^ adventure/../common/vector.h:7:26: note: expanded from macro 'ArrayBlock' 7 | #define ArrayBlock(a) a, ArraySize(a) | ^ adventure/../common/vector.h:6:22: note: expanded from macro 'ArraySize' 6 | #define ArraySize(a) (sizeof(a)/sizeof(a[0])) | ^ /usr/include/sys/cdefs.h:159:10: note: macro '__glibc_objsize' defined here 159 | # define __glibc_objsize(__o) __bos (__o) | ^ adventure/advent.c:314:5: error: use of undeclared identifier '__glibc_objsize' 314 | snprintf (ArrayBlock (game_score.name), "%s", player_name()); | ^ /usr/include/bits/stdio2.h:61:8: note: expanded from macro 'snprintf' 61 | __glibc_objsize (str), __VA_ARGS__) | ^ 2 errors generated. 1 warning generated. make: *** [Makefile:17: .o/adventure/advent.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: games-misc/bsd-games-3.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-misc/bsd-games-3.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-misc/bsd-games-3.2::gentoo'`. * The complete build log is located at '/var/log/portage/games-misc:bsd-games-3.2:20231207-235954.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-misc/bsd-games-3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-misc/bsd-games-3.2/temp/environment'. * Working directory: '/var/tmp/portage/games-misc/bsd-games-3.2/work/bsd-games-3.2' * S: '/var/tmp/portage/games-misc/bsd-games-3.2/work/bsd-games-3.2'