* Package: games-misc/bsd-games-2.17-r5 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bsd-games-2.17.tar.gz to /var/tmp/portage/games-misc/bsd-games-2.17-r5/work >>> Unpacking bsdgames_2.17-22.debian.tar.xz to /var/tmp/portage/games-misc/bsd-games-2.17-r5/work >>> Source unpacked in /var/tmp/portage/games-misc/bsd-games-2.17-r5/work >>> Preparing source in /var/tmp/portage/games-misc/bsd-games-2.17-r5/work/bsd-games-2.17 ... * Applying Replace-getline-with-get_line.patch ... [ ok ] * Applying wtf-Add-acronyms-and-sort-them-alphabetically.patch ... [ ok ] * Applying robots-Refresh-screen.patch ... [ ok ] * Applying quiz-Update-presidents-capitals-fix-typos-in-murders.patch ... [ ok ] * Applying Define-__dead-for-GNU-GCC.patch ... [ ok ] * Applying rain-Update-default-delay.-Closes-579062.patch ... [ ok ] * Applying Custom-configuration-of-Debian-package-build.patch ... [ ok ] * Applying Unsorted-Debian-patches.patch ... [ ok ] * Applying quiz-Add-answers-to-adults-babies.-Closes-659528.patch ... [ ok ] * Applying primes-Update-to-NetBSD-CVS-2012-02-16.patch ... [ ok ] * Applying primes-Document-maximum-number-in-manpage.-Closes-63.patch ... [ ok ] * Applying wtf-Add-NMU.-Closes-574036.patch ... [ ok ] * Applying hangman-Error-out-on-1000-unsuitable-words.-Closes-6.patch ... [ ok ] * Applying Fix-typos-spotted-by-Lintian.patch ... [ ok ] * Applying Fix-format-security-compiling-errors.patch ... [ ok ] * Applying bsd-games-2.17-64bitutmp.patch ... [ ok ] * Applying bsd-games-2.17-headers.patch ... [ ok ] * Applying bsd-games-2.17-bg.patch ... [ ok ] * Applying bsd-games-2.17-gcc4.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-misc/bsd-games-2.17-r5/work/bsd-games-2.17 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games For normal usage the installation prefix will be empty. If you wish to install everything in another directory to that in which it will finally be located (so that your packaging system can then move it there) you should name that directory here. This is most likely to be the case if you are packaging bsd-games for a Linux distribution. Installation prefix [/var/tmp/portage/games-misc/bsd-games-2.17-r5/image/] [ Using default ] There may be some programs here you have from another package and so do not want to build and install. The most likely ones are banner, factor and fortune. Games not to build [dm banner fortune factor] [ Using default ] Games to build [adventure arithmetic atc backgammon banner battlestar bcd boggle caesar canfield countmail cribbage dab dm factor fish gomoku hack hangman hunt mille monop morse number phantasia pig pom ppt primes quiz rain random robots sail snake tetris trek wargames worm worms wtf] [ Using default ] *** NOTE - The default directories for installation follow the *** Filesystem Hierarchy Standard version 2.0 (FHS). If your *** system still uses the older FSSTND 1.2, or if you wish to install *** under /usr/local, you will need to check the paths and make *** changes as appropriate. If this is your first installation with *** the new FHS paths, you may need to remove some old files after *** installation. Games directory [/usr/games/bin] [ Using default ] Hunt includes a daemon for coordinating games with multiple players Daemon directory [/usr/games/bin] [ Using default ] You may wish to restrict the use of games by user, terminal, load, etc.. This can be done by the use of dm. If you use this configuration, then games will be kept in a non-world-searchable directory such as /usr/lib/games/dm and replaced by symlinks to dm. Even if you don't choose this option, you will still be asked for the directory name, since you are building dm, and can change manually later. It is strongly recommended that you keep the default answer of 'n'. Use dm and hide games [n] [ Using default ] Directory for hidden games [/usr/lib/games/dm] [ Using default ] Section 6 manpage directory [/usr/share/man/man6] [ Using default ] Section 8 manpage directory [/usr/share/man/man8] [ Using default ] Section 5 manpage directory [/usr/share/man/man5] [ Using default ] Directory for miscellaneous documentation [/usr/share/doc/bsd-games-2.17-r5] [ Using default ] Library directory for constant data (architecture independent) [/usr/share/games/bsd-games] [ Using default ] Library directory for variable data [/var/games] [ Using default ] Set owners/groups on installed files [n] [ Using default ] See SECURITY for a discussion of security issues related to score files. There are at least two possible security policies if you want them to work. You can make the files world-writable, and then anyone who wants can put anything in them, which may not be desirable if you think people might cheat this way. Or you can make the games that use them setgid games, and give the files permissions 0664. Note, however, that some of the games may well be insecure when this is done and malicious users may still be able to overwrite anything writable by group games, since the games were probably not designed with security in mind, although version 2.2 is more secure than earlier versions. The default is neither of these: it creates scorefiles with permissions 0644 and gives the games no special privileges, which is more secure but means that the games will fail when trying to write to their scorefiles. Binary permissions [0755] [ Using default ] Game with scorefile permissions [0755] [ Using default ] Daemon permissions [0755] [ Using default ] Directory for hidden games permissions [0750] [ Using default ] dm permissions [2755] [ Using default ] Manpage permissions [0644] [ Using default ] Constant data permissions [0644] [ Using default ] Variable data permissions [0644] [ Using default ] Permissions on variable data that should not be world readable [0640] [ Using default ] Use .so or symlinks for manpages [symlinks] [ Using default ] Gzip manpages [n] [ Using default ] It is presumed in some places by the Makefiles that the compiler will be some form of gcc. C compiler [gcc] [ Using default ] C++ compiler [g++] [ Using default ] Optimize flags [-g -O2] [ Using default ] The default warning flags should give a compile with few warnings. C compiler warning flags [-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings] [ Using default ] C++ compiler warning flags [-Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings] [ Using default ] You probably want the default here, or could use -lncurses_g for debugging ncurses. Use -lcurses -ltermcap if you want to try that, but note that this is no longer supported and may not work. Ncurses library [-lncurses -ltinfo ] [ Using default ] If you have a directory /usr/include/ncurses with the ncurses include files in it, and the , , etc. in /usr/include are for BSD curses/termcap, you will need to put -I/usr/include/ncurses here. Otherwise (if the ncurses includes are in /usr/include), leave this blank. Leave it blank if /usr/include/ncurses is a symbolic link to /usr/include. Ncurses includes [] [ Using default ] factor can use libcrypto from OpenSSL to handle large numbers. Use libcrypto [y] [ Using default ] If the OpenSSL includes (with files such as bn.h) are not in /usr/include/openssl, then you will need to specify a -I option here, naming a directory containing an "openssl" subdirectory with the OpenSSL headers. OpenSSL includes [] [ Using default ] If the OpenSSL libcrypto library is not in a location searched by the compiler by default, or has a strange name, you will need to specify the appropriate options to find it here (for example, -L/usr/ssl/lib -lcrypto); otherwise, leave the default, which is probably correct. OpenSSL libcrypto library [-lcrypto] [ Using default ] Other CFLAGS [] [ Using default ] Other LDFLAGS [] [ Using default ] Checking for getloadavg...found. Checking for fgetln...found. Checking for strlcpy...found. Checking for sig_t...found. Checking for getprogname...not found. For some special purposes you may want to link all games with a particular library, in addition to those they would normally be linked with. Unless you know you want this, you can leave it empty. Base libraries [] [ Using default ] Yacc program [bison -y] [ Using default ] Lex program [flex] [ Using default ] Lex library [-lfl] [ Using default ] You can choose the default pager for those games that use one (for example, for viewing instructions). This can be an absolute path, or the name of the pager to be searched for via the PATH at runtime. All these games will also honour the PAGER environment variable if set, in the correct (POSIX.2) way. Pager [/usr/bin/less] [ Using default ] Sail needs its own directory it can write to for temporary files to synchronise among multiple players. Note that with the default permissions given here this will not work: you may want to choose permissions appropriate to the security policy you are using. It may be more secure if this directory is not world accessible (e.g. mode 2770). Directory for sail temporary files [/var/games/sail] [ Using default ] Sail directory permissions [0750] [ Using default ] You can configure the exact names used for data files by various of the games. Most probably the defaults are OK. Note that bsd-games no longer comes with its own word list. For hangman you should specify the path to a word list to be read at runtime (probably /usr/share/dict/words or /usr/dict/words). For boggle you should specify one to be used at compile time to generate boggle's own data. In both cases they should probably be English dictionaries; all words which do not consist entirely of lower-case ASCII letters will be silently ignored. Directory for atc static data [/usr/share/games/bsd-games/atc] [ Using default ] Score file for atc [/var/games/atc_score] [ Using default ] Score file for battlestar [/var/games/battlestar.log] [ Using default ] Dictionary for boggle (CHECK ANSWER) [/usr/share/dict/words] [ Using default ] Directory for boggle static data [/usr/share/games/bsd-games/boggle] [ Using default ] Score file for canfield [/var/games/cfscores] [ Using default ] File for cribbage instructions [/usr/share/games/bsd-games/cribbage.instr] [ Using default ] Score file for cribbage [/var/games/criblog] [ Using default ] Configuration file for dm [/etc/dm.conf] [ Using default ] File to disable games playing [/etc/nogames] [ Using default ] Log file for dm [/var/games/games.log] [ Using default ] File for fish instructions [/usr/share/games/bsd-games/fish.instr] [ Using default ] Directory for hack variable data [/var/games/hack] [ Using default ] This directory will need to be writable by hack at runtime. Note that with the default permissions given here this will not work: you may want to choose permissions appropriate to the security policy you are using (e.g. 2775 root.games for setgid games). Hack directory permissions [0755] [ Using default ] Words file for hangman (CHECK ANSWER) [/usr/share/dict/words] [ Using default ] File for monop cards [/usr/share/games/bsd-games/monop-cards.pck] [ Using default ] Directory for phantasia variable data [/var/games/phantasia] [ Using default ] Directory for quiz static data [/usr/share/games/bsd-games/quiz] [ Using default ] Score file for robots [/var/games/robots_roll] [ Using default ] Score file for sail [/var/games/saillog] [ Using default ] Score file for snake [/var/games/snake.log] [ Using default ] Raw score file for snake [/var/games/snakerawscores] [ Using default ] Score file for tetris [/var/games/tetris-bsd.scores] [ Using default ] Acronym database for wtf [/usr/share/games/bsd-games/acronyms] [ Using default ] Generating Makeconfig from Makeconfig.in Generating hide-game from hide-game.in Generating install-man from install-man.in Generating install-score from install-score.in Generating atc/pathnames.h from atc/pathnames.h.in Generating battlestar/pathnames.h from battlestar/pathnames.h.in Generating boggle/boggle/bog.h from boggle/boggle/bog.h.in Generating canfield/canfield/pathnames.h from canfield/canfield/pathnames.h.in Generating cribbage/pathnames.h from cribbage/pathnames.h.in Generating dm/pathnames.h from dm/pathnames.h.in Generating fish/pathnames.h from fish/pathnames.h.in Generating hack/pathnames.h from hack/pathnames.h.in Generating hangman/pathnames.h from hangman/pathnames.h.in Generating monop/pathnames.h from monop/pathnames.h.in Generating phantasia/pathnames.h from phantasia/pathnames.h.in Generating quiz/pathnames.h from quiz/pathnames.h.in Generating robots/pathnames.h from robots/pathnames.h.in Generating sail/pathnames.h from sail/pathnames.h.in Generating snake/snake/pathnames.h from snake/snake/pathnames.h.in Generating tetris/pathnames.h from tetris/pathnames.h.in Generating the main GNUmakefile, please wait... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-misc/bsd-games-2.17-r5/work/bsd-games-2.17 ... make -j1 ./mkdep worms/worms.c worms/worms.d x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Iinclude -Iworms In file included from worms/worms.c:32: include/sys/cdefs.h:34:15: fatal error: sys/cdefs.h: No such file or directory 34 | #include_next | ^~~~~~~~~~~~~ compilation terminated. GNUmakefile:1129: worms/worms.d: No such file or directory make: *** [GNUmakefile:769: worms/worms.d] Error 1 * ERROR: games-misc/bsd-games-2.17-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-misc/bsd-games-2.17-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-misc/bsd-games-2.17-r5::gentoo'`. * The complete build log is located at '/var/log/portage/games-misc:bsd-games-2.17-r5:20200401-141242.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-misc/bsd-games-2.17-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-misc/bsd-games-2.17-r5/temp/environment'. * Working directory: '/var/tmp/portage/games-misc/bsd-games-2.17-r5/work/bsd-games-2.17' * S: '/var/tmp/portage/games-misc/bsd-games-2.17-r5/work/bsd-games-2.17'