Diff of the two buildlogs: -- --- b1/build.log 2023-06-06 05:26:57.460531915 +0000 +++ b2/build.log 2023-06-06 05:27:32.351002819 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 5 17:25:41 -12 2023 -I: pbuilder-time-stamp: 1686029141 +I: Current time: Tue Jul 9 01:49:57 +14 2024 +I: pbuilder-time-stamp: 1720439397 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./bsdgames_2.17.orig.tar.gz] I: copying [./bsdgames_2.17-29.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Oct 11 00:42:29 2021 -12 +gpgv: Signature made Tue Oct 12 02:42:29 2021 +14 gpgv: using RSA key 9CF557FE13CB90CA2AEF1D2080D302F5886D839C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./bsdgames_2.17-29.dsc: no acceptable signature found @@ -45,137 +45,169 @@ dpkg-source: info: applying 0018-Add-missing-format-strings.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12562/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 9 01:50 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='df4c0519d1d1492eb9ffc9d81641ac1a' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='12562' - PS1='# ' - PS2='> ' + INVOCATION_ID=5c75a77c6a4147f28d1178e5ac6ca443 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=130384 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.C2thxxxE/pbuilderrc_T2mZ --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.C2thxxxE/b1 --logfile b1/build.log bsdgames_2.17-29.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.C2thxxxE/pbuilderrc_nAkL --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.C2thxxxE/b2 --logfile b2/build.log --extrapackages usrmerge bsdgames_2.17-29.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 5.10.0-23-686-pae #1 SMP Debian 5.10.179-1 (2023-05-12) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/12562/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jul 9 01:50 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -282,7 +314,7 @@ Get: 55 http://deb.debian.org/debian bookworm/main i386 libncurses-dev i386 6.4-4 [379 kB] Get: 56 http://deb.debian.org/debian bookworm/main i386 libncurses5-dev i386 6.4-4 [932 B] Get: 57 http://deb.debian.org/debian bookworm/main i386 wbritish all 2020.12.07-2 [219 kB] -Fetched 27.6 MB in 1s (31.3 MB/s) +Fetched 27.6 MB in 0s (74.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package m4. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19599 files and directories currently installed.) @@ -532,10 +564,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/bsdgames-2.17/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../bsdgames_2.17-29_source.changes +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/bsdgames-2.17/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../bsdgames_2.17-29_source.changes dpkg-buildpackage: info: source package bsdgames dpkg-buildpackage: info: source version 2.17-29 dpkg-buildpackage: info: source distribution unstable @@ -726,7 +765,7 @@ cat /usr/share/dict/american-english /usr/share/dict/british-english | \ sort | uniq > temp-dictionary dh_auto_build - make -j8 + make -j15 make[2]: Entering directory '/build/bsdgames-2.17' ./mkdep wump/wump.c wump/wump.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iwump ./mkdep worms/worms.c worms/worms.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworms @@ -986,8 +1025,8 @@ ./mkdep atc/list.c atc/list.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc cd atc && flex lex.l cd atc && bison -y -d grammar.y -mv atc/lex.yy.c atc/lex.c ./mkdep atc/input.c atc/input.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc +mv atc/lex.yy.c atc/lex.c ./mkdep atc/graphics.c atc/graphics.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc ./mkdep atc/extern.c atc/extern.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc ./mkdep lib/getprogname.c lib/getprogname.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib @@ -1011,11 +1050,8 @@ ./mkdep hack/hack.worm.c hack/hack.worm.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.wizard.c hack/hack.wizard.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.wield.c hack/hack.wield.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -mv atc/y.tab.c atc/grammar.c ./mkdep hack/hack.version.c hack/hack.version.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -mv atc/y.tab.h atc/grammar.h ./mkdep hack/hack.vault.c hack/hack.vault.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -touch atc/grammar.h ./mkdep hack/hack.unix.c hack/hack.unix.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.u_init.c hack/hack.u_init.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.tty.c hack/hack.tty.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack @@ -1038,8 +1074,11 @@ ./mkdep hack/hack.options.c hack/hack.options.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.objnam.c hack/hack.objnam.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.o_init.c hack/hack.o_init.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack +mv atc/y.tab.c atc/grammar.c ./mkdep hack/hack.monst.c hack/hack.monst.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack +mv atc/y.tab.h atc/grammar.h ./mkdep hack/hack.mon.c hack/hack.mon.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack +touch atc/grammar.h ./mkdep hack/hack.mkshop.c hack/hack.mkshop.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.mkobj.c hack/hack.mkobj.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.mkmaze.c hack/hack.mkmaze.d i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack @@ -1077,6 +1116,14 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/main.c -o adventure/main.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/save.c -o adventure/save.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/subr.c -o adventure/subr.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/vocab.c -o adventure/vocab.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/wizard.c -o adventure/wizard.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iarithmetic -c arithmetic/arithmetic.c -o arithmetic/arithmetic.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/getprogname.c -o lib/getprogname.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/extern.c -o atc/extern.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/grammar.c -o atc/grammar.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/graphics.c -o atc/graphics.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/input.c -o atc/input.o adventure/save.c: In function 'restore': adventure/save.c:175:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fread(&sum, sizeof(sum), 1, in); /* Get the seed */ @@ -1084,11 +1131,15 @@ adventure/save.c:178:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | fread(p->address, p->width, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/lex.c -o atc/lex.o adventure/io.c: In function 'pspeak': adventure/io.c:552:24: warning: variable 'save' set but not used [-Wunused-but-set-variable] 552 | char *numst, save; | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/vocab.c -o adventure/vocab.o +arithmetic/arithmetic.c: In function 'main': +arithmetic/arithmetic.c:120:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 120 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ adventure/main.c: In function 'main': adventure/main.c:74:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | setregid(getgid(), getgid()); @@ -1099,100 +1150,42 @@ | ~~~~~~~~^~~~~~~~ adventure/init.c:157:23: note: within this loop 157 | for (i = 1; i <= LOCSIZ; i++) -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/wizard.c -o adventure/wizard.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iarithmetic -c arithmetic/arithmetic.c -o arithmetic/arithmetic.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/getprogname.c -o lib/getprogname.o -arithmetic/arithmetic.c: In function 'main': -arithmetic/arithmetic.c:120:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 120 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/extern.c -o atc/extern.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/grammar.c -o atc/grammar.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/graphics.c -o atc/graphics.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/input.c -o atc/input.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/lex.c -o atc/lex.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/list.c -o atc/list.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/log.c -o atc/log.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/main.c -o atc/main.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/tunable.c -o atc/tunable.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/update.c -o atc/update.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/strlcpy.c -o lib/strlcpy.o +lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] +./substscr g m atc/atc.6.in atc/atc.6 +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/extra.c -o backgammon/backgammon/extra.o +Generating atc/atc.6 from atc/atc.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/main.c -o backgammon/backgammon/main.o atc/log.c: In function 'log_score': atc/log.c:255:25: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | ftruncate(fileno(score_fp), offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/main.c -o atc/main.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/move.c -o backgammon/backgammon/move.o atc/main.c: In function 'main': atc/main.c:80:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/tunable.c -o atc/tunable.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/update.c -o atc/update.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/strlcpy.c -o lib/strlcpy.o -./substscr g m atc/atc.6.in atc/atc.6 -Generating atc/atc.6 from atc/atc.6.in -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/data.c -o backgammon/teachgammon/data.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/teach.c -o backgammon/teachgammon/teach.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext1.c -o backgammon/teachgammon/ttext1.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext2.c -o backgammon/teachgammon/ttext2.o -backgammon/teachgammon/teach.c: In function 'main': -backgammon/teachgammon/teach.c:107:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 107 | if ((i = text(intro2)) != 0) - | ^ -backgammon/teachgammon/teach.c:110:17: note: here - 110 | case 3: - | ^~~~ -backgammon/teachgammon/teach.c:111:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 111 | if ((i = text(moves)) != 0) - | ^ -backgammon/teachgammon/teach.c:114:17: note: here - 114 | case 4: - | ^~~~ -backgammon/teachgammon/teach.c:115:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 115 | if ((i = text(removepiece)) != 0) - | ^ -backgammon/teachgammon/teach.c:118:17: note: here - 118 | case 5: - | ^~~~ -backgammon/teachgammon/teach.c:119:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 119 | if ((i = text(hits)) != 0) - | ^ -backgammon/teachgammon/teach.c:122:17: note: here - 122 | case 6: - | ^~~~ -backgammon/teachgammon/teach.c:123:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 123 | if ((i = text(endgame)) != 0) - | ^ -backgammon/teachgammon/teach.c:126:17: note: here - 126 | case 7: - | ^~~~ -backgammon/teachgammon/teach.c:127:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 127 | if ((i = text(doubl)) != 0) - | ^ -backgammon/teachgammon/teach.c:130:17: note: here - 130 | case 8: - | ^~~~ -backgammon/teachgammon/teach.c:131:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 131 | if ((i = text(stragy)) != 0) - | ^ -backgammon/teachgammon/teach.c:134:17: note: here - 134 | case 9: - | ^~~~ -backgammon/teachgammon/teach.c:135:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 135 | if ((i = text(prog)) != 0) - | ^ -backgammon/teachgammon/teach.c:138:17: note: here - 138 | case 10: - | ^~~~ -backgammon/teachgammon/teach.c:70:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 70 | setregid(getgid(), getgid()); +backgammon/backgammon/main.c: In function 'main': +backgammon/backgammon/main.c:472:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] + 472 | if (board[i] * cturn) + | ~~~~~~~~~^~~~~~~ +backgammon/backgammon/main.c:103:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 103 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/tutor.c -o backgammon/teachgammon/tutor.o -backgammon/teachgammon/ttext2.c: In function 'text': -backgammon/teachgammon/ttext2.c:133:29: warning: variable 'begin' set but not used [-Wunused-but-set-variable] - 133 | const char *const *begin; - | ^~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/text.c -o backgammon/backgammon/text.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/version.c -o backgammon/backgammon/version.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/allow.c -o backgammon/common_source/allow.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/board.c -o backgammon/common_source/board.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/check.c -o backgammon/common_source/check.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/fancy.c -o backgammon/common_source/fancy.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/init.c -o backgammon/common_source/init.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/odds.c -o backgammon/common_source/odds.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/one.c -o backgammon/common_source/one.o backgammon/common_source/check.c: In function 'getmove': backgammon/common_source/check.c:54:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 54 | if (movokay(mvlim)) { @@ -1208,12 +1201,18 @@ backgammon/common_source/fancy.c:733:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 733 | write(2, "\r\nOut of memory!\r\n", 18); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/init.c -o backgammon/common_source/init.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/one.c -o backgammon/common_source/one.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/save.c -o backgammon/common_source/save.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/subs.c -o backgammon/common_source/subs.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/table.c -o backgammon/common_source/table.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/extra.c -o backgammon/backgammon/extra.o +./substscr g m backgammon/backgammon/backgammon.6.in backgammon/backgammon/backgammon.6 +Generating backgammon/backgammon/backgammon.6 from backgammon/backgammon/backgammon.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/data.c -o backgammon/teachgammon/data.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/teach.c -o backgammon/teachgammon/teach.o +backgammon/common_source/subs.c: In function 'errexit': +backgammon/common_source/subs.c:67:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 67 | write(2, "\n", 1); + | ^~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext1.c -o backgammon/teachgammon/ttext1.o backgammon/common_source/save.c: In function 'save': backgammon/common_source/save.c:123:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | write(fdesc, board, sizeof board); @@ -1282,31 +1281,76 @@ backgammon/common_source/save.c:165:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | read(fdesc, &raflag, sizeof raflag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/subs.c: In function 'errexit': -backgammon/common_source/subs.c:67:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 67 | write(2, "\n", 1); - | ^~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/main.c -o backgammon/backgammon/main.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/move.c -o backgammon/backgammon/move.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/text.c -o backgammon/backgammon/text.o -backgammon/backgammon/main.c: In function 'main': -backgammon/backgammon/main.c:472:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - 472 | if (board[i] * cturn) - | ~~~~~~~~~^~~~~~~ -backgammon/backgammon/main.c:103:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 103 | setregid(getgid(), getgid()); +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext2.c -o backgammon/teachgammon/ttext2.o +backgammon/teachgammon/teach.c: In function 'main': +backgammon/teachgammon/teach.c:107:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 107 | if ((i = text(intro2)) != 0) + | ^ +backgammon/teachgammon/teach.c:110:17: note: here + 110 | case 3: + | ^~~~ +backgammon/teachgammon/teach.c:111:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 111 | if ((i = text(moves)) != 0) + | ^ +backgammon/teachgammon/teach.c:114:17: note: here + 114 | case 4: + | ^~~~ +backgammon/teachgammon/teach.c:115:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 115 | if ((i = text(removepiece)) != 0) + | ^ +backgammon/teachgammon/teach.c:118:17: note: here + 118 | case 5: + | ^~~~ +backgammon/teachgammon/teach.c:119:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 119 | if ((i = text(hits)) != 0) + | ^ +backgammon/teachgammon/teach.c:122:17: note: here + 122 | case 6: + | ^~~~ +backgammon/teachgammon/teach.c:123:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 123 | if ((i = text(endgame)) != 0) + | ^ +backgammon/teachgammon/teach.c:126:17: note: here + 126 | case 7: + | ^~~~ +backgammon/teachgammon/teach.c:127:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 127 | if ((i = text(doubl)) != 0) + | ^ +backgammon/teachgammon/teach.c:130:17: note: here + 130 | case 8: + | ^~~~ +backgammon/teachgammon/teach.c:131:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 131 | if ((i = text(stragy)) != 0) + | ^ +backgammon/teachgammon/teach.c:134:17: note: here + 134 | case 9: + | ^~~~ +backgammon/teachgammon/teach.c:135:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 135 | if ((i = text(prog)) != 0) + | ^ +backgammon/teachgammon/teach.c:138:17: note: here + 138 | case 10: + | ^~~~ +backgammon/teachgammon/teach.c:70:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/version.c -o backgammon/backgammon/version.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/odds.c -o backgammon/common_source/odds.o -./substscr g m backgammon/backgammon/backgammon.6.in backgammon/backgammon/backgammon.6 -Generating backgammon/backgammon/backgammon.6 from backgammon/backgammon/backgammon.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/tutor.c -o backgammon/teachgammon/tutor.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/battlestar.c -o battlestar/battlestar.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command1.c -o battlestar/command1.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command2.c -o battlestar/command2.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command3.c -o battlestar/command3.o +backgammon/teachgammon/ttext2.c: In function 'text': +backgammon/teachgammon/ttext2.c:133:29: warning: variable 'begin' set but not used [-Wunused-but-set-variable] + 133 | const char *const *begin; + | ^~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command4.c -o battlestar/command4.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command5.c -o battlestar/command5.o battlestar/battlestar.c: In function 'main': battlestar/battlestar.c:67:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command6.c -o battlestar/command6.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command7.c -o battlestar/command7.o battlestar/command2.c: In function 'murder': battlestar/command2.c:252:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 252 | if (testbit(location[position].objects, MAN)) { @@ -1314,10 +1358,6 @@ battlestar/command2.c:257:17: note: here 257 | case -1: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command3.c -o battlestar/command3.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command4.c -o battlestar/command4.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command5.c -o battlestar/command5.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command6.c -o battlestar/command6.o battlestar/command3.c: In function 'bury': battlestar/command3.c:134:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 134 | puts("She screams as you wrestle her into the hole."); @@ -1331,10 +1371,10 @@ battlestar/command3.c:138:25: note: here 138 | case AMULET: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command7.c -o battlestar/command7.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/cypher.c -o battlestar/cypher.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/dayfile.c -o battlestar/dayfile.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/dayobjs.c -o battlestar/dayobjs.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/fly.c -o battlestar/fly.o battlestar/cypher.c: In function 'cypher': battlestar/cypher.c:390:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 390 | fgets(buffer, 10, stdin); @@ -1360,7 +1400,6 @@ battlestar/cypher.c:418:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | fgets(buffer, 10, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/fly.c -o battlestar/fly.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/getcom.c -o battlestar/getcom.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/globals.c -o battlestar/globals.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/init.c -o battlestar/init.o @@ -1373,50 +1412,31 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/words.c -o battlestar/words.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/fgetln.c -o lib/fgetln.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibcd -c bcd/bcd.c -o bcd/bcd.o -battlestar/room.c: In function 'truedirec': -battlestar/room.c:124:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 124 | switch (direction) { - | ^~~~~~ battlestar/save.c: In function 'restore': -battlestar/room.c:136:9: note: here - 136 | case SOUTH: - | ^~~~ battlestar/save.c:56:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | fread(&WEIGHT, sizeof WEIGHT, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/save.c:57:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | fread(&CUMBER, sizeof CUMBER, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/room.c:137:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 137 | switch (direction) { - | ^~~~~~ battlestar/save.c:58:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | fread(&ourclock, sizeof ourclock, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/save.c:59:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | fread(&tmp, sizeof tmp, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/room.c:149:9: note: here - 149 | case EAST: - | ^~~~ battlestar/save.c:62:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fread(location[n].link, sizeof location[n].link, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/save.c:63:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fread(location[n].objects, sizeof location[n].objects, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/room.c:150:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 150 | switch (direction) { - | ^~~~~~ battlestar/save.c:65:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread(inven, sizeof inven, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/save.c:66:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | fread(wear, sizeof wear, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/room.c:162:9: note: here - 162 | case WEST: - | ^~~~ battlestar/save.c:67:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | fread(injuries, sizeof injuries, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1426,18 +1446,13 @@ battlestar/save.c:69:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | fread(&direction, sizeof direction, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/room.c:163:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | switch (direction) { - | ^~~~~~ battlestar/save.c:70:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fread(&position, sizeof position, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/save.c:71:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | fread(&ourtime, sizeof ourtime, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/room.c:175:9: note: here - 175 | default: - | ^~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkindex -Iboggle/boggle -c boggle/mkindex/mkindex.c -o boggle/mkindex/mkindex.o battlestar/save.c:72:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | fread(&fuel, sizeof fuel, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1492,40 +1507,66 @@ battlestar/save.c:89:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | fread(&power, sizeof power, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkdict -Iboggle/boggle -c boggle/mkdict/mkdict.c -o boggle/mkdict/mkdict.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/bog.c -o boggle/boggle/bog.o +battlestar/room.c: In function 'truedirec': +battlestar/room.c:124:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 124 | switch (direction) { + | ^~~~~~ +battlestar/room.c:136:9: note: here + 136 | case SOUTH: + | ^~~~ +battlestar/room.c:137:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 137 | switch (direction) { + | ^~~~~~ +battlestar/room.c:149:9: note: here + 149 | case EAST: + | ^~~~ +battlestar/room.c:150:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 150 | switch (direction) { + | ^~~~~~ +battlestar/room.c:162:9: note: here + 162 | case WEST: + | ^~~~ +battlestar/room.c:163:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 163 | switch (direction) { + | ^~~~~~ +battlestar/room.c:175:9: note: here + 175 | default: + | ^~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/help.c -o boggle/boggle/help.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/mach.c -o boggle/boggle/mach.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/prtable.c -o boggle/boggle/prtable.o bcd/bcd.c: In function 'main': bcd/bcd.c:138:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/help.c -o boggle/boggle/help.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/mach.c -o boggle/boggle/mach.o -boggle/boggle/bog.c: In function 'main': -boggle/boggle/bog.c:134:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 134 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/prtable.c -o boggle/boggle/prtable.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/timer.c -o boggle/boggle/timer.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/word.c -o boggle/boggle/word.o boggle/boggle/prtable.c: In function 'prtable': boggle/boggle/prtable.c:74:13: warning: variable 'col' set but not used [-Wunused-but-set-variable] 74 | int col, row; | ^~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkindex -Iboggle/boggle -c boggle/mkindex/mkindex.c -o boggle/mkindex/mkindex.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkdict -Iboggle/boggle -c boggle/mkdict/mkdict.c -o boggle/mkdict/mkdict.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/word.c -o boggle/boggle/word.o +boggle/boggle/bog.c: In function 'main': +boggle/boggle/bog.c:134:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 134 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icaesar -c caesar/caesar.c -o caesar/caesar.o ./substscr g s caesar/rot13.in caesar/rot13 Generating caesar/rot13 from caesar/rot13.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icanfield/cfscores -Icanfield/canfield -c canfield/cfscores/cfscores.c -o canfield/cfscores/cfscores.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icanfield/canfield -c canfield/canfield/canfield.c -o canfield/canfield/canfield.o ./substscr g m canfield/canfield/canfield.6.in canfield/canfield/canfield.6 Generating canfield/canfield/canfield.6 from canfield/canfield/canfield.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/cards.c -o cribbage/cards.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/crib.c -o cribbage/crib.o caesar/caesar.c: In function 'main': caesar/caesar.c:93:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icanfield/cfscores -Icanfield/canfield -c canfield/cfscores/cfscores.c -o canfield/cfscores/cfscores.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/cards.c -o cribbage/cards.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/crib.c -o cribbage/crib.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/extern.c -o cribbage/extern.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/instr.c -o cribbage/instr.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/io.c -o cribbage/io.o canfield/cfscores/cfscores.c: In function 'printuser': canfield/cfscores/cfscores.c:126:24: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 126 | if (pw->pw_uid < 0) { @@ -1534,6 +1575,8 @@ canfield/cfscores/cfscores.c:81:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/score.c -o cribbage/score.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/support.c -o cribbage/support.o canfield/canfield/canfield.c: In function 'getcmd': canfield/canfield/canfield.c:1388:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1388 | write(1, "\007", 1); @@ -1550,19 +1593,18 @@ canfield/canfield/canfield.c:1756:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1756 | write(dbfd, (char *)&total, sizeof(total)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/instr.c -o cribbage/instr.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/io.c -o cribbage/io.o -cribbage/crib.c: In function 'main': -cribbage/crib.c:79:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 79 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/score.c -o cribbage/score.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/support.c -o cribbage/support.o ./substscr g m cribbage/cribbage.6.in cribbage/cribbage.6 Generating cribbage/cribbage.6 from cribbage/cribbage.6.in i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/algor.cc -o dab/algor.o i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/board.cc -o dab/board.o +cribbage/crib.c: In function 'main': +cribbage/crib.c:79:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 79 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/box.cc -o dab/box.o +i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/gamescreen.cc -o dab/gamescreen.o +i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/human.cc -o dab/human.o +i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/main.cc -o dab/main.o dab/board.cc: In member function 'int BOARD::full() const': dab/board.cc:157:27: warning: cast from type 'const BOARD*' to type 'BOARD*' casts away qualifiers [-Wcast-qual] 157 | BOX box(y, x, (BOARD&) *this); @@ -1571,9 +1613,6 @@ dab/board.cc:176:27: warning: cast from type 'const BOARD*' to type 'BOARD*' casts away qualifiers [-Wcast-qual] 176 | BOX box(y, x, (BOARD&) *this); | ^~~~~~~~~~~~~~ -i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/gamescreen.cc -o dab/gamescreen.o -i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/human.cc -o dab/human.o -i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/main.cc -o dab/main.o i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/player.cc -o dab/player.o i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/random.cc -o dab/random.o i686-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/ttyscrn.cc -o dab/ttyscrn.o @@ -1581,22 +1620,42 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/bdinit.c -o gomoku/bdinit.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/bdisp.c -o gomoku/bdisp.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/main.c -o gomoku/main.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/makemove.c -o gomoku/makemove.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/pickmove.c -o gomoku/pickmove.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/stoc.c -o gomoku/stoc.o fish/fish.c: In function 'main': fish/fish.c:106:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/makemove.c -o gomoku/makemove.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/alloc.c -o hack/alloc.o gomoku/makemove.c: In function 'update_overlap': gomoku/makemove.c:246:21: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 246 | str = &overlap[(a = sp1->s_frame[r] - frames) * FAREA]; | ^ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.Decl.c -o hack/hack.Decl.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.apply.c -o hack/hack.apply.o +gomoku/pickmove.c: In function 'checkframes': +gomoku/pickmove.c:1090:37: warning: variable 'loop' set but not used [-Wunused-but-set-variable] + 1090 | int i, n, mask, flg, verts, loop, index, fcnt; + | ^~~~ gomoku/main.c: In function 'main': gomoku/main.c:98:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/pickmove.c -o gomoku/pickmove.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/stoc.c -o gomoku/stoc.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/alloc.c -o hack/alloc.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.bones.c -o hack/hack.bones.o +hack/hack.apply.c: In function 'doapply': +hack/hack.apply.c:107:44: warning: this statement may fall through [-Wimplicit-fallthrough=] + 107 | if (pl_character[0] == 'W' || u.ulevel > 9) { + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +hack/hack.apply.c:112:9: note: here + 112 | case WHISTLE: + | ^~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.c -o hack/hack.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.cmd.c -o hack/hack.cmd.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do.c -o hack/hack.do.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_name.c -o hack/hack.do_name.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_wear.c -o hack/hack.do_wear.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.dog.c -o hack/hack.dog.o gomoku/main.c:182:70: warning: '%s' directive writing up to 127 bytes into a region of size 88 [-Wformat-overflow=] 182 | "Huh? Expected `black' or `white', got `%s'\n", | ^~ @@ -1615,22 +1674,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.Decl.c -o hack/hack.Decl.o -gomoku/pickmove.c: In function 'checkframes': -gomoku/pickmove.c:1090:37: warning: variable 'loop' set but not used [-Wunused-but-set-variable] - 1090 | int i, n, mask, flg, verts, loop, index, fcnt; - | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.apply.c -o hack/hack.apply.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.bones.c -o hack/hack.bones.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.c -o hack/hack.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.cmd.c -o hack/hack.cmd.o -hack/hack.apply.c: In function 'doapply': -hack/hack.apply.c:107:44: warning: this statement may fall through [-Wimplicit-fallthrough=] - 107 | if (pl_character[0] == 'W' || u.ulevel > 9) { - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -hack/hack.apply.c:112:9: note: here - 112 | case WHISTLE: - | ^~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.eat.c -o hack/hack.eat.o hack/hack.c: In function 'lookaround': hack/hack.c:599:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 599 | if (flags.run != 1) @@ -1638,8 +1682,6 @@ hack/hack.c:602:25: note: here 602 | case CORR_SYM: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do.c -o hack/hack.do.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_name.c -o hack/hack.do_name.o hack/hack.do_name.c: In function 'xmonnam': hack/hack.do_name.c:293:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 293 | if (mtmp->isshk) { @@ -1647,15 +1689,6 @@ hack/hack.do_name.c:298:9: note: here 298 | default: | ^~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_wear.c -o hack/hack.do_wear.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.dog.c -o hack/hack.dog.o -dab/main.cc: In function 'int main(int, char**)': -dab/main.cc:193:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 193 | delete p[0]; - | ^~~~~~~~~~~ -dab/main.cc:194:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 194 | delete p[1]; - | ^~~~~~~~~~~ hack/hack.dog.c: In function 'dogfood': hack/hack.dog.c:179:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 179 | if (!obj->cursed) @@ -1663,7 +1696,6 @@ hack/hack.dog.c:182:9: note: here 182 | case BALL_SYM: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.eat.c -o hack/hack.eat.o hack/hack.eat.c: In function 'eatcorpse': hack/hack.eat.c:495:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 495 | flags.botl = 1; @@ -1693,6 +1725,24 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.engrave.c -o hack/hack.engrave.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.fight.c -o hack/hack.fight.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.invent.c -o hack/hack.invent.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.ioctl.c -o hack/hack.ioctl.o +dab/main.cc: In function 'int main(int, char**)': +dab/main.cc:193:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 193 | delete p[0]; + | ^~~~~~~~~~~ +dab/main.cc:194:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 194 | delete p[1]; + | ^~~~~~~~~~~ +hack/hack.invent.c: In function 'askchain': +hack/hack.invent.c:682:33: warning: this statement may fall through [-Wimplicit-fallthrough=] + 682 | allflag = 1; + | ~~~~~~~~^~~ +hack/hack.invent.c:683:17: note: here + 683 | case 'y': + | ^~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.lev.c -o hack/hack.lev.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.main.c -o hack/hack.main.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.makemon.c -o hack/hack.makemon.o hack/hack.end.c: In function 'outentry': hack/hack.end.c:551:33: warning: '%s' directive writing up to 11 bytes into a region of size 10 [-Wformat-overflow=] 551 | Sprintf(hpbuf, "%s", (t1->hp > 0) ? itoa(t1->hp) : "-"); @@ -1710,17 +1760,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.ioctl.c -o hack/hack.ioctl.o -hack/hack.invent.c: In function 'askchain': -hack/hack.invent.c:682:33: warning: this statement may fall through [-Wimplicit-fallthrough=] - 682 | allflag = 1; - | ~~~~~~~~^~~ -hack/hack.invent.c:683:17: note: here - 683 | case 'y': - | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.lev.c -o hack/hack.lev.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.main.c -o hack/hack.main.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.makemon.c -o hack/hack.makemon.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mhitu.c -o hack/hack.mhitu.o hack/hack.main.c: In function 'chdirx': hack/hack.main.c:549:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 549 | (void) setuid(getuid()); /* Ron Wessels */ @@ -1728,10 +1768,11 @@ hack/hack.main.c:550:24: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | (void) setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mhitu.c -o hack/hack.mhitu.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mklev.c -o hack/hack.mklev.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkmaze.c -o hack/hack.mkmaze.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkobj.c -o hack/hack.mkobj.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkshop.c -o hack/hack.mkshop.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mon.c -o hack/hack.mon.o hack/hack.mkobj.c: In function 'mksobj': hack/hack.mkobj.c:141:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 141 | if (otmp->otyp >= CORPSE) @@ -1739,11 +1780,11 @@ hack/hack.mkobj.c:149:9: note: here 149 | case GEM_SYM: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkshop.c -o hack/hack.mkshop.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mon.c -o hack/hack.mon.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.monst.c -o hack/hack.monst.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.o_init.c -o hack/hack.o_init.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.objnam.c -o hack/hack.objnam.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.options.c -o hack/hack.options.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pager.c -o hack/hack.pager.o hack/hack.o_init.c: In function 'restnames': hack/hack.o_init.c:226:45: warning: passing argument 2 of 'mread' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | mread(fd, objects[i].oc_name, len); @@ -1758,7 +1799,6 @@ hack/extern.h:252:17: note: expected 'char *' but argument is of type 'const char *' 252 | void mread(int, char *, unsigned); | ^~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.options.c -o hack/hack.options.o hack/hack.objnam.c: In function 'xname': hack/hack.objnam.c:178:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 178 | if (obj->otyp == DEAD_HOMUNCULUS && pl) { @@ -1779,14 +1819,7 @@ hack/hack.objnam.c:335:9: note: here 335 | case WEAPON_SYM: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pager.c -o hack/hack.pager.o -hack/hack.objnam.c: In function 'strprepend': -hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -hack/hack.objnam.c:81:29: note: length computed here - 81 | int i = strlen(pref); - | ^~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.potion.c -o hack/hack.potion.o hack/hack.pager.c: In function 'child': hack/hack.pager.c:467:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 467 | (void) setuid(getuid()); @@ -1801,32 +1834,33 @@ hack/hack.pager.c:105:56: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 105 | (void) strncpy(buf + 1, " ", 7); | ^ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.potion.c -o hack/hack.potion.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pri.c -o hack/hack.pri.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.read.c -o hack/hack.read.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rip.c -o hack/hack.rip.o -hack/hack.objnam.c: In function 'doname': +hack/hack.objnam.c: In function 'strprepend': hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ -In function 'strprepend', - inlined from 'doname' at hack/hack.objnam.c:362:7: hack/hack.objnam.c:81:29: note: length computed here 81 | int i = strlen(pref); | ^~~~~~~~~~~~ -hack/hack.objnam.c: In function 'aobjnam': +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pri.c -o hack/hack.pri.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.read.c -o hack/hack.read.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rip.c -o hack/hack.rip.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rumors.c -o hack/hack.rumors.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.save.c -o hack/hack.save.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.search.c -o hack/hack.search.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.shk.c -o hack/hack.shk.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.shknam.c -o hack/hack.shknam.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.steal.c -o hack/hack.steal.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.termcap.c -o hack/hack.termcap.o +hack/hack.objnam.c: In function 'doname': hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ In function 'strprepend', - inlined from 'aobjnam' at hack/hack.objnam.c:385:8: + inlined from 'doname' at hack/hack.objnam.c:362:7: hack/hack.objnam.c:81:29: note: length computed here 81 | int i = strlen(pref); | ^~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rumors.c -o hack/hack.rumors.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.save.c -o hack/hack.save.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.search.c -o hack/hack.search.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.shk.c -o hack/hack.shk.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.timeout.c -o hack/hack.timeout.o hack/hack.shk.c: In function 'getprice': hack/hack.shk.c:912:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 912 | pline("Strange ..., carrying a chain?"); @@ -1834,15 +1868,20 @@ hack/hack.shk.c:913:9: note: here 913 | case BALL_SYM: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.shknam.c -o hack/hack.shknam.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.steal.c -o hack/hack.steal.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.termcap.c -o hack/hack.termcap.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.timeout.c -o hack/hack.timeout.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.topl.c -o hack/hack.topl.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.track.c -o hack/hack.track.o +hack/hack.objnam.c: In function 'aobjnam': +hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'aobjnam' at hack/hack.objnam.c:385:8: +hack/hack.objnam.c:81:29: note: length computed here + 81 | int i = strlen(pref); + | ^~~~~~~~~~~~ hack/hack.topl.c:214:9: warning: 'format' attribute cannot be applied to a function that does not take variable arguments [-Wattributes] 214 | const char *line; | ^~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.track.c -o hack/hack.track.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.trap.c -o hack/hack.trap.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.tty.c -o hack/hack.tty.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.u_init.c -o hack/hack.u_init.o @@ -1856,6 +1895,8 @@ | ^~~~~~~ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.vault.c -o hack/hack.vault.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.version.c -o hack/hack.version.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wield.c -o hack/hack.wield.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wizard.c -o hack/hack.wizard.o hack/hack.vault.c: In function 'restfakecorr': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) @@ -1894,26 +1935,6 @@ 137 | EGD->fcbeg++; | ^~~ hack/hack.vault.c: In function 'goldincorridor': -hack/hack.unix.c: In function 'getdate': -hack/hack.unix.c:126:38: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 5 [-Wformat-overflow=] - 126 | (void) sprintf(datestr, "%02d%02d%02d", - | ^~~~ -hack/hack.unix.c:126:33: note: directive argument in the range [-2147483647, 2147483647] - 126 | (void) sprintf(datestr, "%02d%02d%02d", - | ^~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from include/stdio.h:35, - from hack/extern.h:41, - from hack/hack.unix.c:94: -In function 'sprintf', - inlined from 'getdate' at hack/hack.unix.c:126:9: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 26 bytes into a destination of size 7 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2060,61 +2081,158 @@ hack/hack.vault.c:354:13: note: in expansion of macro 'EGD' 354 | if (EGD->gddone) | ^~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wield.c -o hack/hack.wield.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wizard.c -o hack/hack.wizard.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.worm.c -o hack/hack.worm.o +hack/hack.unix.c: In function 'getdate': +hack/hack.unix.c:126:38: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 5 [-Wformat-overflow=] + 126 | (void) sprintf(datestr, "%02d%02d%02d", + | ^~~~ +hack/hack.unix.c:126:33: note: directive argument in the range [-2147483647, 2147483647] + 126 | (void) sprintf(datestr, "%02d%02d%02d", + | ^~~~~~~~~~~~~~ hack/hack.wizard.c: In function 'inrange': +In file included from /usr/include/stdio.h:906, + from include/stdio.h:35, + from hack/extern.h:41, + from hack/hack.unix.c:94: +In function 'sprintf', + inlined from 'getdate' at hack/hack.unix.c:126:9: hack/hack.wizard.c:219:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 219 | aggravate(); /* aggravate all the | ^~~~~~~~~~~ +/usr/include/i386-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 26 bytes into a destination of size 7 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ hack/hack.wizard.c:222:33: note: here 222 | case 2: | ^~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.worm.c -o hack/hack.worm.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.worn.c -o hack/hack.worn.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.zap.c -o hack/hack.zap.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/rnd.c -o hack/rnd.o ./substscr g m hack/hack.6.in hack/hack.6 -Generating hack/hack.6 from hack/hack.6.in i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/endgame.c -o hangman/endgame.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/extern.c -o hangman/extern.o +Generating hack/hack.6 from hack/hack.6.in i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getguess.c -o hangman/getguess.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getword.c -o hangman/getword.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/main.c -o hangman/main.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/playgame.c -o hangman/playgame.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prdata.c -o hangman/prdata.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prman.c -o hangman/prman.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prword.c -o hangman/prword.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/setup.c -o hangman/setup.o hangman/main.c: In function 'main': hangman/main.c:60:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prword.c -o hangman/prword.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/setup.c -o hangman/setup.o ./substscr g m hangman/hangman.6.in hangman/hangman.6 -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/answer.c -o hunt/huntd/answer.o Generating hangman/hangman.6 from hangman/hangman.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/connect.c -o hunt/hunt/connect.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/hunt.c -o hunt/hunt/hunt.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/otto.c -o hunt/hunt/otto.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/playit.c -o hunt/hunt/playit.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/pathname.c -o hunt/huntd/pathname.o +./substscr g m hunt/hunt/hunt.6.in hunt/hunt/hunt.6 +Generating hunt/hunt/hunt.6 from hunt/hunt/hunt.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/answer.c -o hunt/huntd/answer.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/ctl.c -o hunt/huntd/ctl.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/ctl_transact.c -o hunt/huntd/ctl_transact.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/draw.c -o hunt/huntd/draw.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/driver.c -o hunt/huntd/driver.o +hunt/hunt/connect.c: In function 'do_connect': +hunt/hunt/connect.c:53:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 53 | (void) write(Socket, (char *) &uid, LONGLEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/connect.c:54:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 54 | (void) write(Socket, name, NAMELEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/connect.c:55:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 55 | (void) write(Socket, &team, 1); + | ^~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/connect.c:57:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 57 | (void) write(Socket, (char *) &enter_status, LONGLEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/connect.c:59:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 59 | (void) write(Socket, Buf, NAMELEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/connect.c:72:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 72 | (void) write(Socket, (char *) &mode, sizeof mode); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/execute.c -o hunt/huntd/execute.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/expl.c -o hunt/huntd/expl.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/extern.c -o hunt/huntd/extern.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/faketalk.c -o hunt/huntd/faketalk.o -hunt/huntd/answer.c: In function 'answer': -hunt/huntd/answer.c:74:67: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] - 74 | newsock = accept(Socket, (struct sockaddr *) &sockstruct, &socklen); - | ^~~~~~~~ - | | - | int * -In file included from /usr/include/netinet/in.h:23, - from hunt/huntd/hunt.h:51, - from hunt/huntd/answer.c:44: -/usr/include/i386-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 307 | socklen_t *__restrict __addr_len); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -hunt/huntd/answer.c:94:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 94 | (void) write(newsock, (char *) &version, LONGLEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/get_names.c -o hunt/huntd/get_names.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/makemaze.c -o hunt/huntd/makemaze.o +hunt/hunt/otto.c: In function 'otto': +hunt/hunt/otto.c:179:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] + 179 | old_mask = sigblock(sigmask(SIGALRM)); + | ^~~~~~~~ +In file included from include/signal.h:40, + from hunt/hunt/otto.c:54: +/usr/include/signal.h:173:12: note: declared here + 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; + | ^~~~~~~~ +hunt/hunt/otto.c:179:20: warning: sigmask is deprecated + 179 | old_mask = sigblock(sigmask(SIGALRM)); + | ^~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/otto.c:181:9: warning: implicit declaration of function 'sigpause'; did you mean 'pause'? [-Wimplicit-function-declaration] + 181 | sigpause(old_mask); + | ^~~~~~~~ + | pause +hunt/hunt/otto.c:182:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] + 182 | sigsetmask(old_mask); + | ^~~~~~~~~~ +/usr/include/signal.h:176:12: note: declared here + 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; + | ^~~~~~~~~~ +hunt/hunt/otto.c:225:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 225 | (void) write(Socket, command, comlen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/shots.c -o hunt/huntd/shots.o +hunt/hunt/hunt.c: In function 'main': +hunt/hunt/hunt.c:307:33: warning: variable 'option' set but not used [-Wunused-but-set-variable] + 307 | int option; + | ^~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/terminal.c -o hunt/huntd/terminal.o +hunt/hunt/hunt.c: In function 'broadcast_vec': +hunt/hunt/hunt.c:385:33: warning: unused parameter 's' [-Wunused-parameter] + 385 | int s; /* socket */ + | ^ +hunt/hunt/hunt.c: In function 'list_drivers': +hunt/hunt/hunt.c:553:59: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] + 553 | 0, (struct sockaddr *) &listv[listc], &namelen) > 0) { + | ^~~~~~~~ + | | + | int * +In file included from /usr/include/i386-linux-gnu/sys/socket.h:343, + from /usr/include/ifaddrs.h:23, + from hunt/hunt/hunt.c:54: +/usr/include/i386-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +hunt/hunt/hunt.c: In function 'main': +hunt/hunt/hunt.c:141:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 141 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/playit.c: In function 'send_stuff': +hunt/hunt/playit.c:292:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 292 | (void) write(1, "\7", 1); /* CTRL('G') */ + | ^~~~~~~~~~~~~~~~~ +hunt/hunt/playit.c:316:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 316 | (void) write(Socket, inp, count); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/hunt.c: In function 'dump_scores': +hunt/hunt/hunt.c:678:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 678 | write(fileno(stdout), buf, cnt); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/hunt/hunt.c: In function 'intr': +hunt/hunt/hunt.c:852:40: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 852 | (void) write(Socket, "q", 1); + | ^~~~~~~~~~~~~~~~~~~~~ hunt/huntd/driver.c: In function 'main': hunt/huntd/driver.c:150:63: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 150 | 0, (struct sockaddr *) &test, &namelen); @@ -2140,6 +2258,9 @@ /usr/include/i386-linux-gnu/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +hunt/huntd/makemaze.c:84:1: warning: 'dig' defined but not used [-Wunused-function] + 84 | dig(y, x) + | ^~~ hunt/huntd/driver.c:378:62: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 378 | if (getsockname(Socket, (struct sockaddr *) &Daemon, &len) < 0) { | ^~~~ @@ -2156,9 +2277,44 @@ /usr/include/i386-linux-gnu/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +./substscr g m hunt/huntd/huntd.6.in hunt/huntd/huntd.6 hunt/huntd/driver.c:264:17: warning: variable 'msg' set but not used [-Wunused-but-set-variable] 264 | int msg; | ^~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/comp.c -o mille/comp.o +Generating hunt/huntd/huntd.6 from hunt/huntd/huntd.6.in +hunt/huntd/answer.c: In function 'answer': +hunt/huntd/driver.c: In function 'zap': +hunt/huntd/answer.c:74:67: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] + 74 | newsock = accept(Socket, (struct sockaddr *) &sockstruct, &socklen); + | ^~~~~~~~ + | | + | int * +In file included from /usr/include/netinet/in.h:23, + from hunt/huntd/hunt.h:51, + from hunt/huntd/answer.c:44: +/usr/include/i386-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 307 | socklen_t *__restrict __addr_len); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +hunt/huntd/driver.c:619:17: warning: variable 'savefd' set but not used [-Wunused-but-set-variable] + 619 | int savefd; + | ^~~~~~ +hunt/huntd/driver.c: In function 'send_stats': +hunt/huntd/driver.c:918:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] + 918 | s = accept(Status, (struct sockaddr *) &sockstruct, &socklen); + | ^~~~~~~~ + | | + | int * +/usr/include/i386-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 307 | socklen_t *__restrict __addr_len); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +hunt/huntd/driver.c: In function 'init': +hunt/huntd/driver.c:285:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 285 | (void) chdir("/var/tmp"); /* just in case it core dumps */ + | ^~~~~~~~~~~~~~~~~ +hunt/huntd/answer.c:94:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 94 | (void) write(newsock, (char *) &version, LONGLEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hunt/huntd/answer.c:95:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | (void) read(newsock, (char *) &uid, LONGLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2187,39 +2343,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | sizeof socklen); | ~~~~~~~~~~~~~~~ -hunt/huntd/driver.c: In function 'zap': -hunt/huntd/driver.c:619:17: warning: variable 'savefd' set but not used [-Wunused-but-set-variable] - 619 | int savefd; - | ^~~~~~ -hunt/huntd/driver.c: In function 'send_stats': -hunt/huntd/driver.c:918:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] - 918 | s = accept(Status, (struct sockaddr *) &sockstruct, &socklen); - | ^~~~~~~~ - | | - | int * -/usr/include/i386-linux-gnu/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 307 | socklen_t *__restrict __addr_len); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -hunt/huntd/driver.c: In function 'init': -hunt/huntd/driver.c:285:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 285 | (void) chdir("/var/tmp"); /* just in case it core dumps */ - | ^~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/get_names.c -o hunt/huntd/get_names.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/makemaze.c -o hunt/huntd/makemaze.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/pathname.c -o hunt/huntd/pathname.o -hunt/huntd/answer.c: In function 'get_ident': -hunt/huntd/answer.c:411:17: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 411 | strncpy(ip->i_name, name, NAMELEN); - | ^ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/shots.c -o hunt/huntd/shots.o -hunt/huntd/makemaze.c:84:1: warning: 'dig' defined but not used [-Wunused-function] - 84 | dig(y, x) - | ^~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/terminal.c -o hunt/huntd/terminal.o -./substscr g m hunt/huntd/huntd.6.in hunt/huntd/huntd.6 -Generating hunt/huntd/huntd.6 from hunt/huntd/huntd.6.in -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/connect.c -o hunt/hunt/connect.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/hunt.c -o hunt/hunt/hunt.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/end.c -o mille/end.o hunt/huntd/shots.c: In function 'move_normal_shot': hunt/huntd/shots.c:331:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 331 | if (rand_num(100) < 5) { @@ -2234,95 +2358,6 @@ hunt/huntd/shots.c:555:11: note: here 555 | default: | ^~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/otto.c -o hunt/hunt/otto.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/playit.c -o hunt/hunt/playit.o -hunt/hunt/connect.c: In function 'do_connect': -hunt/hunt/connect.c:53:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 53 | (void) write(Socket, (char *) &uid, LONGLEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/connect.c:54:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 54 | (void) write(Socket, name, NAMELEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/connect.c:55:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 55 | (void) write(Socket, &team, 1); - | ^~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/connect.c:57:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 57 | (void) write(Socket, (char *) &enter_status, LONGLEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/connect.c:59:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 59 | (void) write(Socket, Buf, NAMELEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/connect.c:72:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 72 | (void) write(Socket, (char *) &mode, sizeof mode); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./substscr g m hunt/hunt/hunt.6.in hunt/hunt/hunt.6 -Generating hunt/hunt/hunt.6 from hunt/hunt/hunt.6.in -hunt/hunt/playit.c: In function 'send_stuff': -hunt/hunt/playit.c:292:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 292 | (void) write(1, "\7", 1); /* CTRL('G') */ - | ^~~~~~~~~~~~~~~~~ -hunt/hunt/playit.c:316:24: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 316 | (void) write(Socket, inp, count); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/comp.c -o mille/comp.o -hunt/hunt/otto.c: In function 'otto': -hunt/hunt/otto.c:179:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] - 179 | old_mask = sigblock(sigmask(SIGALRM)); - | ^~~~~~~~ -In file included from include/signal.h:40, - from hunt/hunt/otto.c:54: -/usr/include/signal.h:173:12: note: declared here - 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; - | ^~~~~~~~ -hunt/hunt/otto.c:179:20: warning: sigmask is deprecated - 179 | old_mask = sigblock(sigmask(SIGALRM)); - | ^~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/otto.c:181:9: warning: implicit declaration of function 'sigpause'; did you mean 'pause'? [-Wimplicit-function-declaration] - 181 | sigpause(old_mask); - | ^~~~~~~~ - | pause -hunt/hunt/otto.c:182:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] - 182 | sigsetmask(old_mask); - | ^~~~~~~~~~ -/usr/include/signal.h:176:12: note: declared here - 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; - | ^~~~~~~~~~ -hunt/hunt/hunt.c: In function 'main': -hunt/hunt/hunt.c:307:33: warning: variable 'option' set but not used [-Wunused-but-set-variable] - 307 | int option; - | ^~~~~~ -hunt/hunt/hunt.c: In function 'broadcast_vec': -hunt/hunt/hunt.c:385:33: warning: unused parameter 's' [-Wunused-parameter] - 385 | int s; /* socket */ - | ^ -hunt/hunt/hunt.c: In function 'list_drivers': -hunt/hunt/hunt.c:553:59: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] - 553 | 0, (struct sockaddr *) &listv[listc], &namelen) > 0) { - | ^~~~~~~~ - | | - | int * -In file included from /usr/include/i386-linux-gnu/sys/socket.h:343, - from /usr/include/ifaddrs.h:23, - from hunt/hunt/hunt.c:54: -/usr/include/i386-linux-gnu/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/end.c -o mille/end.o -hunt/hunt/otto.c:225:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 225 | (void) write(Socket, command, comlen); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/hunt.c: In function 'main': -hunt/hunt/hunt.c:141:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 141 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/hunt.c: In function 'dump_scores': -hunt/hunt/hunt.c:678:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 678 | write(fileno(stdout), buf, cnt); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/hunt.c: In function 'intr': -hunt/hunt/hunt.c:852:40: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 852 | (void) write(Socket, "q", 1); - | ^~~~~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/extern.c -o mille/extern.o mille/comp.c: In function 'calcmove': mille/comp.c:98:33: warning: increment of a boolean expression [-Wbool-operation] @@ -2331,7 +2366,6 @@ mille/comp.c:199:45: warning: decrement of a boolean expression [-Wbool-operation] 199 | if (--cango <= 0) | ^~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/init.c -o mille/init.o mille/comp.c:216:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 216 | if (++count200 > 2) { | ^ @@ -2345,9 +2379,18 @@ mille/comp.c:429:19: note: here 429 | case 50: | ^~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/init.c -o mille/init.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/mille.c -o mille/mille.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/misc.c -o mille/misc.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/move.c -o mille/move.o +hunt/huntd/answer.c: In function 'get_ident': +hunt/huntd/answer.c:411:17: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 411 | strncpy(ip->i_name, name, NAMELEN); + | ^ +mille/mille.c: In function 'main': +mille/mille.c:61:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 61 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ hunt/hunt/hunt.c: In function 'env_init': hunt/hunt/hunt.c:1098:33: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 1098 | strncpy(name, envp, NAMELEN); @@ -2358,10 +2401,6 @@ hunt/hunt/hunt.c:1029:41: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 1029 | strncpy(name, envname, NAMELEN); | ^ -mille/mille.c: In function 'main': -mille/mille.c:61:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 61 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mille/misc.c: In function 'error': mille/misc.c:65:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 65 | vwprintw(Score, str, ap); @@ -2371,15 +2410,12 @@ /usr/include/curses.h:819:28: note: declared here 819 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ | ^~~~~~~~ -hunt/hunt/hunt.c: In function 'main': -hunt/hunt/hunt.c:148:32: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 148 | (void) strncpy(name, optarg, NAMELEN); - | ^ mille/misc.c: In function 'getcard': mille/misc.c:115:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | write(0, "\07", 1); | ^~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/print.c -o mille/print.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/roll.c -o mille/roll.o mille/move.c: In function 'playcard': mille/move.c:229:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | if (pp->nummiles[C_200] == 2) @@ -2399,17 +2435,20 @@ mille/move.c:237:11: note: here 237 | case C_25: | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/roll.c -o mille/roll.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/save.c -o mille/save.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/types.c -o mille/types.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/varpush.c -o mille/varpush.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/cards.c -o monop/cards.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/execute.c -o monop/execute.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/getinp.c -o monop/getinp.o +hunt/hunt/hunt.c: In function 'main': +hunt/hunt/hunt.c:148:32: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 148 | (void) strncpy(name, optarg, NAMELEN); + | ^ monop/cards.c: In function 'get_card': monop/cards.c:138:31: warning: operation on 'dp->last_card' may be undefined [-Wsequence-point] 138 | dp->last_card = ++(dp->last_card) % dp->num_cards; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/getinp.c -o monop/getinp.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/houses.c -o monop/houses.o monop/execute.c: In function 'save': monop/execute.c:213:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -2430,6 +2469,8 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/prop.c -o monop/prop.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/rent.c -o monop/rent.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/roll.c -o monop/roll.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/spec.c -o monop/spec.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/trade.c -o monop/trade.o In file included from monop/monop.def:109, from monop/monop.c:50: monop/mon.dat:35:1: warning: missing initializer for field 'sq' of 'MON' {aka 'struct mon_st'} [-Wmissing-field-initializers] @@ -2564,8 +2605,6 @@ monop/monop.c:68:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/spec.c -o monop/spec.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/trade.c -o monop/trade.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/initdeck.c -o monop/initdeck.o ./substscr g m monop/monop.6.in monop/monop.6 Generating monop/monop.6 from monop/monop.6.in @@ -2575,6 +2614,8 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/gamesupport.c -o phantasia/gamesupport.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/interplayer.c -o phantasia/interplayer.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/io.c -o phantasia/io.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/main.c -o phantasia/main.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/misc.c -o phantasia/misc.o morse/morse.c: In function 'main': morse/morse.c:130:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | setregid(getgid(), getgid()); @@ -2583,7 +2624,22 @@ number/number.c:97:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/main.c -o phantasia/main.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/phantglobs.c -o phantasia/phantglobs.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/setup.c -o phantasia/setup.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipig -c pig/pig.c -o pig/pig.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipom -c pom/pom.c -o pom/pom.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ippt -c ppt/ppt.c -o ppt/ppt.o +phantasia/interplayer.c: In function 'throneroom': +phantasia/interplayer.c:649:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 649 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +phantasia/interplayer.c: In function 'dotampered': +phantasia/interplayer.c:722:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 722 | fread((char *) &temp1, sizeof(double), 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +phantasia/interplayer.c:771:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 771 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/fight.c: In function 'callmonster': phantasia/fight.c:846:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 846 | fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp); @@ -2604,32 +2660,15 @@ phantasia/fight.c:1302:33: note: here 1302 | case 9: /* treasure type 9 */ | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/misc.c -o phantasia/misc.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/phantglobs.c -o phantasia/phantglobs.o -phantasia/interplayer.c: In function 'throneroom': -phantasia/interplayer.c:649:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 649 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/interplayer.c: In function 'dotampered': -phantasia/interplayer.c:722:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 722 | fread((char *) &temp1, sizeof(double), 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/interplayer.c:771:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 771 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/setup.c -o phantasia/setup.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipig -c pig/pig.c -o pig/pig.o -phantasia/misc.c: In function 'death': -phantasia/misc.c:644:57: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 644 | fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/misc.c: In function 'altercoordinates': -phantasia/misc.c:727:22: warning: this statement may fall through [-Wimplicit-fallthrough=] - 727 | ynew = Player.p_y - ROLL(1.0, 5.0); +pom/pom.c: In function 'main': +pom/pom.c:104:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pig/pig.c: In function 'main': +pig/pig.c:69:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 69 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/main.c: In function 'main': -phantasia/misc.c:730:9: note: here - 730 | case A_SPECIFIC: /* just move player */ - | ^~~~ phantasia/main.c:92:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | cleanup(TRUE); | ^~~~~~~~~~~~~ @@ -2654,37 +2693,37 @@ phantasia/main.c:154:17: note: here 154 | default: | ^~~~~~~ -phantasia/misc.c: In function 'readrecord': -phantasia/misc.c:774:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 774 | fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/misc.c: In function 'collecttaxes': +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pattern.c -o primes/pattern.o phantasia/main.c: In function 'procmain': phantasia/main.c:522:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 522 | leavegame(); | ^~~~~~~~~~~ -phantasia/misc.c:1067:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 1067 | fread((char *) &dtemp, sizeof(double), 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/main.c:525:9: note: here 525 | case '6': /* cloak */ | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipom -c pom/pom.c -o pom/pom.o -pig/pig.c: In function 'main': -pig/pig.c:69:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 69 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ippt -c ppt/ppt.c -o ppt/ppt.o ppt/ppt.c: In function 'main': ppt/ppt.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pom/pom.c: In function 'main': -pom/pom.c:104:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pattern.c -o primes/pattern.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pr_tbl.c -o primes/pr_tbl.o +phantasia/misc.c: In function 'death': +phantasia/misc.c:644:57: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 644 | fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +phantasia/misc.c: In function 'altercoordinates': +phantasia/misc.c:727:22: warning: this statement may fall through [-Wimplicit-fallthrough=] + 727 | ynew = Player.p_y - ROLL(1.0, 5.0); +phantasia/misc.c:730:9: note: here + 730 | case A_SPECIFIC: /* just move player */ + | ^~~~ +phantasia/misc.c: In function 'readrecord': +phantasia/misc.c:774:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 774 | fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +phantasia/misc.c: In function 'collecttaxes': +phantasia/misc.c:1067:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 1067 | fread((char *) &dtemp, sizeof(double), 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/primes.c -o primes/primes.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/spsp.c -o primes/spsp.o ./substscr g n quiz/datfiles/index.in quiz/datfiles/index @@ -2692,10 +2731,16 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iquiz -c quiz/quiz.c -o quiz/quiz.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iquiz -c quiz/rxp.c -o quiz/rxp.o ./substscr g m quiz/quiz.6.in quiz/quiz.6 +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irain -c rain/rain.c -o rain/rain.o +Generating quiz/quiz.6 from quiz/quiz.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irandom -c random/random.c -o random/random.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/auto.c -o robots/auto.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/extern.c -o robots/extern.o quiz/quiz.c: In function 'main': quiz/quiz.c:88:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/flush_in.c -o robots/flush_in.o quiz/quiz.c: In function 'next_cat': quiz/quiz.c:326:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 326 | if (!esc) @@ -2703,40 +2748,31 @@ quiz/quiz.c:328:17: note: here 328 | default: | ^~~~~~~ -Generating quiz/quiz.6 from quiz/quiz.6.in -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irain -c rain/rain.c -o rain/rain.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irandom -c random/random.c -o random/random.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/auto.c -o robots/auto.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/init_field.c -o robots/init_field.o rain/rain.c: In function 'main': rain/rain.c:80:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/extern.c -o robots/extern.o random/random.c: In function 'main': random/random.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/flush_in.c -o robots/flush_in.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/init_field.c -o robots/init_field.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/main.c -o robots/main.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/make_level.c -o robots/make_level.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/move.c -o robots/move.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/move_robs.c -o robots/move_robs.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/play_level.c -o robots/play_level.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/query.c -o robots/query.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/rnd_pos.c -o robots/rnd_pos.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/score.c -o robots/score.o robots/main.c: In function 'main': robots/main.c:71:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/rnd_pos.c -o robots/rnd_pos.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/score.c -o robots/score.o ./substscr g m robots/robots.6.in robots/robots.6 -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/assorted.c -o sail/assorted.o Generating robots/robots.6 from robots/robots.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/assorted.c -o sail/assorted.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/game.c -o sail/game.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/globals.c -o sail/globals.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_1.c -o sail/dr_1.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_2.c -o sail/dr_2.o robots/score.c: In function 'read_score': robots/score.c:68:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | read(inf, Top, sizeof Top); @@ -2748,6 +2784,9 @@ robots/score.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(inf, Top, sizeof Top); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/globals.c -o sail/globals.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_1.c -o sail/dr_1.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_2.c -o sail/dr_2.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_3.c -o sail/dr_3.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_4.c -o sail/dr_4.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_5.c -o sail/dr_5.o @@ -2757,6 +2796,7 @@ 200 | strncpy(scp->s_name, pp->pw_name, MAXNAME); | ^ robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/lo_main.c -o sail/lo_main.o sail/dr_5.c:45:71: warning: argument 4 of type 'int *' declared as a pointer [-Warray-parameter=] 45 | subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom, int pcfrom) | ~~~~~^~~~~~~~ @@ -2770,11 +2810,9 @@ sail/extern.h:322:44: note: previously declared as an array 'int[3]' 322 | int mensent (struct ship *, struct ship *, int[3], struct ship **, int *, | ^~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/main.c -o sail/main.o robots/score.c: In function 'set_name': robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/lo_main.c -o sail/lo_main.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/main.c -o sail/main.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/misc.c -o sail/misc.o sail/dr_2.c: In function 'try.constprop.isra': sail/dr_2.c:238:38: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 238 | sprintf(st, "%d", n); @@ -2794,12 +2832,21 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/parties.c -o sail/parties.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_1.c -o sail/pl_1.o sail/main.c: In function 'main': sail/main.c:65:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | setegid(gid); | ^~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/misc.c -o sail/misc.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/parties.c -o sail/parties.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_1.c -o sail/pl_1.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_2.c -o sail/pl_2.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_3.c -o sail/pl_3.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_4.c -o sail/pl_4.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_5.c -o sail/pl_5.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_6.c -o sail/pl_6.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_7.c -o sail/pl_7.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_main.c -o sail/pl_main.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/sync.c -o sail/sync.o sail/misc.c: In function 'logger': sail/misc.c:206:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | setegid(egid); @@ -2810,12 +2857,8 @@ sail/misc.c:211:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | setegid(gid); | ^~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_2.c -o sail/pl_2.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_3.c -o sail/pl_3.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_4.c -o sail/pl_4.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_5.c -o sail/pl_5.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_6.c -o sail/pl_6.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_7.c -o sail/pl_7.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/version.c -o sail/version.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isnake/snscore -Isnake/snake -c snake/snscore/snscore.c -o snake/snscore/snscore.o sail/pl_5.c: In function 'acceptmove': sail/pl_5.c:80:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 80 | dir -= 2; @@ -2823,8 +2866,19 @@ sail/pl_5.c:81:17: note: here 81 | case 'r': | ^~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_main.c -o sail/pl_main.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/sync.c -o sail/sync.o +sail/pl_main.c: In function 'initialize': +sail/pl_main.c:88:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 88 | scanf("%d", &game); + | ^~~~~~~~~~~~~~~~~~ +sail/pl_main.c:208:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 208 | fgets(captain, sizeof captain, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sail/pl_main.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 222 | scanf("%9s", buf); + | ^~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isnake/snake -c snake/snake/snake.c -o snake/snake/snake.o +./substscr g m snake/snake/snake.6.in snake/snake/snake.6 +Generating snake/snake/snake.6 from snake/snake/snake.6.in sail/pl_7.c: In function 'Signal': sail/pl_7.c:183:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 183 | vwprintw(scroll_w, format, ap); @@ -2840,18 +2894,17 @@ /usr/include/curses.h:819:28: note: declared here 819 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ | ^~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/version.c -o sail/version.o -sail/pl_main.c: In function 'initialize': -sail/pl_main.c:88:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 88 | scanf("%d", &game); - | ^~~~~~~~~~~~~~~~~~ -sail/pl_main.c:208:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | fgets(captain, sizeof captain, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sail/pl_main.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 222 | scanf("%9s", buf); - | ^~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isnake/snscore -Isnake/snake -c snake/snscore/snscore.c -o snake/snscore/snscore.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/input.c -o tetris/input.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/scores.c -o tetris/scores.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/screen.c -o tetris/screen.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/shapes.c -o tetris/shapes.o +snake/snscore/snscore.c: In function 'main': +snake/snscore/snscore.c:78:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 78 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +snake/snscore/snscore.c:88:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 88 | fread(&allbest, sizeof(short), 1, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sail/sync.c: In function 'sync_exists': sail/sync.c:130:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | setegid(egid); @@ -2879,19 +2932,37 @@ sail/sync.c:177:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | setegid(gid); | ^~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isnake/snake -c snake/snake/snake.c -o snake/snake/snake.o -./substscr g m snake/snake/snake.6.in snake/snake/snake.6 -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/input.c -o tetris/input.o -Generating snake/snake/snake.6 from snake/snake/snake.6.in -snake/snscore/snscore.c: In function 'main': -snake/snscore/snscore.c:78:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 78 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -snake/snscore/snscore.c:88:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 88 | fread(&allbest, sizeof(short), 1, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/scores.c -o tetris/scores.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/screen.c -o tetris/screen.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/tetris.c -o tetris/tetris.o +tetris/shapes.c: In function 'fits_in': +tetris/shapes.c:86:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 86 | int *o = shape->off; + | ^~~~~ +tetris/shapes.c: In function 'place': +tetris/shapes.c:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 103 | int *o = shape->off; + | ^~~~~ +./substscr g m tetris/tetris.6.in tetris/tetris.6 +Generating tetris/tetris.6 from tetris/tetris.6.in +tetris/scores.c: In function 'getscores': +tetris/scores.c:113:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 113 | setegid(egid); + | ^~~~~~~~~~~~~ +tetris/scores.c:120:25: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 120 | setegid(gid); + | ^~~~~~~~~~~~ +tetris/scores.c:128:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 128 | setegid(gid); + | ^~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/abandon.c -o trek/abandon.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/attack.c -o trek/attack.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/autover.c -o trek/autover.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/capture.c -o trek/capture.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/cgetc.c -o trek/cgetc.o +tetris/tetris.c: In function 'main': +tetris/tetris.c:141:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 141 | setegid(gid); + | ^~~~~~~~~~~~ +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/check_out.c -o trek/check_out.o snake/snake/snake.c: In function 'main': snake/snake/snake.c:162:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | setregid(getgid(), getgid()); @@ -2915,35 +2986,9 @@ snake/snake/snake.c:562:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | write(rawscores, &uid, sizeof(short)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tetris/scores.c: In function 'getscores': -tetris/scores.c:113:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 113 | setegid(egid); - | ^~~~~~~~~~~~~ -tetris/scores.c:120:25: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 120 | setegid(gid); - | ^~~~~~~~~~~~ -tetris/scores.c:128:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 128 | setegid(gid); - | ^~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/shapes.c -o tetris/shapes.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/tetris.c -o tetris/tetris.o -tetris/shapes.c: In function 'fits_in': -tetris/shapes.c:86:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 86 | int *o = shape->off; - | ^~~~~ -tetris/shapes.c: In function 'place': -tetris/shapes.c:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 103 | int *o = shape->off; - | ^~~~~ -./substscr g m tetris/tetris.6.in tetris/tetris.6 -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/abandon.c -o trek/abandon.o -Generating tetris/tetris.6 from tetris/tetris.6.in -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/attack.c -o trek/attack.o -tetris/tetris.c: In function 'main': -tetris/tetris.c:141:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 141 | setegid(gid); - | ^~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/autover.c -o trek/autover.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/checkcond.c -o trek/checkcond.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/compkl.c -o trek/compkl.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/computer.c -o trek/computer.o tetris/tetris.c:197:66: warning: '%s' directive writing up to 9 bytes into a region of size between 1 and 46 [-Wformat-overflow=] 197 | "%s - left %s - rotate %s - right %s - drop %s - pause %s - quit", | ^~ @@ -2962,12 +3007,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/capture.c -o trek/capture.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/cgetc.c -o trek/cgetc.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/check_out.c -o trek/check_out.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/checkcond.c -o trek/checkcond.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/compkl.c -o trek/compkl.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/computer.c -o trek/computer.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/damage.c -o trek/damage.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/damaged.c -o trek/damaged.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dcrept.c -o trek/dcrept.o @@ -2975,6 +3014,10 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dock.c -o trek/dock.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpgame.c -o trek/dumpgame.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpme.c -o trek/dumpme.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpssradio.c -o trek/dumpssradio.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/events.c -o trek/events.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/externs.c -o trek/externs.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/getcodi.c -o trek/getcodi.o trek/dumpgame.c: In function 'dumpgame': trek/dumpgame.c:98:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | write(fd, &version, sizeof version); @@ -2985,14 +3028,14 @@ trek/dumpgame.c:105:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(fd, d->area, i); | ^~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpssradio.c -o trek/dumpssradio.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/events.c -o trek/events.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/externs.c -o trek/externs.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/getcodi.c -o trek/getcodi.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/getpar.c -o trek/getpar.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/help.c -o trek/help.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/impulse.c -o trek/impulse.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/initquad.c -o trek/initquad.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/kill.c -o trek/kill.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/klmove.c -o trek/klmove.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/lose.c -o trek/lose.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/lrscan.c -o trek/lrscan.o trek/getpar.c: In function 'getcodpar': trek/getpar.c:143:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | scanf("%*[ \t;]"); @@ -3001,15 +3044,12 @@ trek/getpar.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | scanf("%*[\t ;]"); | ^~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/kill.c -o trek/kill.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/klmove.c -o trek/klmove.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/lose.c -o trek/lose.o -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/lrscan.c -o trek/lrscan.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/main.c -o trek/main.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/move.c -o trek/move.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/nova.c -o trek/nova.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/out.c -o trek/out.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/phaser.c -o trek/phaser.o +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/play.c -o trek/play.o trek/main.c: In function 'main': trek/main.c:170:33: warning: variable 'prio' set but not used [-Wunused-but-set-variable] 170 | int prio; @@ -3020,7 +3060,6 @@ trek/main.c:176:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 176 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/play.c -o trek/play.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/ram.c -o trek/ram.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/ranf.c -o trek/ranf.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/rest.c -o trek/rest.o @@ -3037,26 +3076,30 @@ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/warp.c -o trek/warp.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/win.c -o trek/win.o ./substscr g m trek/trek.6.in trek/trek.6 -i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworm -c worm/worm.c -o worm/worm.o Generating trek/trek.6 from trek/trek.6.in +i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworm -c worm/worm.c -o worm/worm.o i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworms -c worms/worms.c -o worms/worms.o ./substscr g s wtf/wtf.in wtf/wtf -Generating wtf/wtf from wtf/wtf.in ./substscr g m wtf/wtf.6.in wtf/wtf.6 +Generating wtf/wtf from wtf/wtf.in Generating wtf/wtf.6 from wtf/wtf.6.in -worm/worm.c: In function 'main': -worm/worm.c:102:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 102 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ i686-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iwump -c wump/wump.c -o wump/wump.o i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now adventure/crc.o adventure/data.o adventure/done.o adventure/init.o adventure/io.o adventure/main.o adventure/save.o adventure/subr.o adventure/vocab.o adventure/wizard.o -o adventure/adventure +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now arithmetic/arithmetic.o lib/getprogname.o -o arithmetic/arithmetic +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now atc/extern.o atc/grammar.o atc/graphics.o atc/input.o atc/lex.o atc/list.o atc/log.o atc/main.o atc/tunable.o atc/update.o lib/strlcpy.o -lm -lncurses -lfl -o atc/atc +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now backgammon/backgammon/extra.o backgammon/backgammon/main.o backgammon/backgammon/move.o backgammon/backgammon/text.o backgammon/backgammon/version.o backgammon/common_source/allow.o backgammon/common_source/board.o backgammon/common_source/check.o backgammon/common_source/fancy.o backgammon/common_source/init.o backgammon/common_source/odds.o backgammon/common_source/one.o backgammon/common_source/save.o backgammon/common_source/subs.o backgammon/common_source/table.o -lncurses -o backgammon/backgammon/backgammon +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now backgammon/teachgammon/data.o backgammon/teachgammon/teach.o backgammon/teachgammon/ttext1.o backgammon/teachgammon/ttext2.o backgammon/teachgammon/tutor.o backgammon/common_source/allow.o backgammon/common_source/board.o backgammon/common_source/check.o backgammon/common_source/fancy.o backgammon/common_source/init.o backgammon/common_source/one.o backgammon/common_source/save.o backgammon/common_source/subs.o backgammon/common_source/table.o -lncurses -o backgammon/teachgammon/teachgammon worms/worms.c: In function 'main': worms/worms.c:202:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 202 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now arithmetic/arithmetic.o lib/getprogname.o -o arithmetic/arithmetic -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now atc/extern.o atc/grammar.o atc/graphics.o atc/input.o atc/lex.o atc/list.o atc/log.o atc/main.o atc/tunable.o atc/update.o lib/strlcpy.o -lm -lncurses -lfl -o atc/atc -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now backgammon/teachgammon/data.o backgammon/teachgammon/teach.o backgammon/teachgammon/ttext1.o backgammon/teachgammon/ttext2.o backgammon/teachgammon/tutor.o backgammon/common_source/allow.o backgammon/common_source/board.o backgammon/common_source/check.o backgammon/common_source/fancy.o backgammon/common_source/init.o backgammon/common_source/one.o backgammon/common_source/save.o backgammon/common_source/subs.o backgammon/common_source/table.o -lncurses -o backgammon/teachgammon/teachgammon +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now battlestar/battlestar.o battlestar/command1.o battlestar/command2.o battlestar/command3.o battlestar/command4.o battlestar/command5.o battlestar/command6.o battlestar/command7.o battlestar/cypher.o battlestar/dayfile.o battlestar/dayobjs.o battlestar/fly.o battlestar/getcom.o battlestar/globals.o battlestar/init.o battlestar/misc.o battlestar/nightfile.o battlestar/nightobjs.o battlestar/parse.o battlestar/room.o battlestar/save.o battlestar/words.o lib/fgetln.o -lncurses -o battlestar/battlestar +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now bcd/bcd.o -o bcd/bcd +worm/worm.c: In function 'main': +worm/worm.c:102:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 102 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkindex/mkindex.o -o boggle/mkindex/mkindex wump/wump.c: In function 'shoot': wump/wump.c:509:51: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context] 509 | if (random() % level == EASY ? 12 : 9 < (lastchance += 2)) { @@ -3065,23 +3108,19 @@ wump/wump.c:148:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now backgammon/backgammon/extra.o backgammon/backgammon/main.o backgammon/backgammon/move.o backgammon/backgammon/text.o backgammon/backgammon/version.o backgammon/common_source/allow.o backgammon/common_source/board.o backgammon/common_source/check.o backgammon/common_source/fancy.o backgammon/common_source/init.o backgammon/common_source/odds.o backgammon/common_source/one.o backgammon/common_source/save.o backgammon/common_source/subs.o backgammon/common_source/table.o -lncurses -o backgammon/backgammon/backgammon -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now battlestar/battlestar.o battlestar/command1.o battlestar/command2.o battlestar/command3.o battlestar/command4.o battlestar/command5.o battlestar/command6.o battlestar/command7.o battlestar/cypher.o battlestar/dayfile.o battlestar/dayobjs.o battlestar/fly.o battlestar/getcom.o battlestar/globals.o battlestar/init.o battlestar/misc.o battlestar/nightfile.o battlestar/nightobjs.o battlestar/parse.o battlestar/room.o battlestar/save.o battlestar/words.o lib/fgetln.o -lncurses -o battlestar/battlestar -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now bcd/bcd.o -o bcd/bcd -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/boggle/bog.o boggle/boggle/help.o boggle/boggle/mach.o boggle/boggle/prtable.o boggle/boggle/timer.o boggle/boggle/word.o -lncurses -o boggle/boggle/boggle -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkindex/mkindex.o -o boggle/mkindex/mkindex i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkdict/mkdict.o -o boggle/mkdict/mkdict +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/boggle/bog.o boggle/boggle/help.o boggle/boggle/mach.o boggle/boggle/prtable.o boggle/boggle/timer.o boggle/boggle/word.o -lncurses -o boggle/boggle/boggle i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now caesar/caesar.o -lm -o caesar/caesar -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/canfield/canfield.o -lncurses -o canfield/canfield/canfield i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/cfscores/cfscores.o -o canfield/cfscores/cfscores +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/canfield/canfield.o -lncurses -o canfield/canfield/canfield i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now cribbage/cards.o cribbage/crib.o cribbage/extern.o cribbage/instr.o cribbage/io.o cribbage/score.o cribbage/support.o -lncurses -o cribbage/cribbage i686-linux-gnu-g++ -Wl,-z,relro -Wl,-z,now dab/algor.o dab/board.o dab/box.o dab/gamescreen.o dab/human.o dab/main.o dab/player.o dab/random.o dab/ttyscrn.o -lncurses -o dab/dab i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now fish/fish.o -o fish/fish i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now gomoku/bdinit.o gomoku/bdisp.o gomoku/main.o gomoku/makemove.o gomoku/pickmove.o gomoku/stoc.o -lncurses -o gomoku/gomoku i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hack/alloc.o hack/hack.Decl.o hack/hack.apply.o hack/hack.bones.o hack/hack.o hack/hack.cmd.o hack/hack.do.o hack/hack.do_name.o hack/hack.do_wear.o hack/hack.dog.o hack/hack.eat.o hack/hack.end.o hack/hack.engrave.o hack/hack.fight.o hack/hack.invent.o hack/hack.ioctl.o hack/hack.lev.o hack/hack.main.o hack/hack.makemon.o hack/hack.mhitu.o hack/hack.mklev.o hack/hack.mkmaze.o hack/hack.mkobj.o hack/hack.mkshop.o hack/hack.mon.o hack/hack.monst.o hack/hack.o_init.o hack/hack.objnam.o hack/hack.options.o hack/hack.pager.o hack/hack.potion.o hack/hack.pri.o hack/hack.read.o hack/hack.rip.o hack/hack.rumors.o hack/hack.save.o hack/hack.search.o hack/hack.shk.o hack/hack.shknam.o hack/hack.steal.o hack/hack.termcap.o hack/hack.timeout.o hack/hack.topl.o hack/hack.track.o hack/hack.trap.o hack/hack.tty.o hack/hack.u_init.o hack/hack.unix.o hack/hack.vault.o hack/hack.version.o hack/hack.wield.o hack/hack.wizard.o hack/hack.worm.o hack/hack.worn.o hack/hack.zap.o hack/rnd.o -lncurses -o hack/hack i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hangman/endgame.o hangman/extern.o hangman/getguess.o hangman/getword.o hangman/main.o hangman/playgame.o hangman/prdata.o hangman/prman.o hangman/prword.o hangman/setup.o -lncurses -o hangman/hangman -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hunt/huntd/answer.o hunt/huntd/ctl.o hunt/huntd/ctl_transact.o hunt/huntd/draw.o hunt/huntd/driver.o hunt/huntd/execute.o hunt/huntd/expl.o hunt/huntd/extern.o hunt/huntd/faketalk.o hunt/huntd/get_names.o hunt/huntd/makemaze.o hunt/huntd/pathname.o hunt/huntd/shots.o hunt/huntd/terminal.o -o hunt/huntd/huntd i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hunt/hunt/connect.o hunt/hunt/hunt.o hunt/hunt/otto.o hunt/hunt/playit.o hunt/huntd/pathname.o -lncurses -o hunt/hunt/hunt +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hunt/huntd/answer.o hunt/huntd/ctl.o hunt/huntd/ctl_transact.o hunt/huntd/draw.o hunt/huntd/driver.o hunt/huntd/execute.o hunt/huntd/expl.o hunt/huntd/extern.o hunt/huntd/faketalk.o hunt/huntd/get_names.o hunt/huntd/makemaze.o hunt/huntd/pathname.o hunt/huntd/shots.o hunt/huntd/terminal.o -o hunt/huntd/huntd i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now mille/comp.o mille/end.o mille/extern.o mille/init.o mille/mille.o mille/misc.o mille/move.o mille/print.o mille/roll.o mille/save.o mille/types.o mille/varpush.o -lncurses -o mille/mille i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now monop/cards.o monop/execute.o monop/getinp.o monop/houses.o monop/jail.o monop/misc.o monop/monop.o monop/morg.o monop/print.o monop/prop.o monop/rent.o monop/roll.o monop/spec.o monop/trade.o -o monop/monop i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now monop/initdeck.o -o monop/initdeck @@ -3099,19 +3138,19 @@ i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now robots/auto.o robots/extern.o robots/flush_in.o robots/init_field.o robots/main.o robots/make_level.o robots/move.o robots/move_robs.o robots/play_level.o robots/query.o robots/rnd_pos.o robots/score.o -lncurses -o robots/robots i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now sail/assorted.o sail/game.o sail/globals.o sail/dr_1.o sail/dr_2.o sail/dr_3.o sail/dr_4.o sail/dr_5.o sail/dr_main.o sail/lo_main.o sail/main.o sail/misc.o sail/parties.o sail/pl_1.o sail/pl_2.o sail/pl_3.o sail/pl_4.o sail/pl_5.o sail/pl_6.o sail/pl_7.o sail/pl_main.o sail/sync.o sail/version.o lib/strlcpy.o -lncurses -o sail/sail i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snscore/snscore.o -o snake/snscore/snscore -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snake/snake.o -lncurses -lm -o snake/snake/snake i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now tetris/input.o tetris/scores.o tetris/screen.o tetris/shapes.o tetris/tetris.o -lncurses -o tetris/tetris i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now trek/abandon.o trek/attack.o trek/autover.o trek/capture.o trek/cgetc.o trek/check_out.o trek/checkcond.o trek/compkl.o trek/computer.o trek/damage.o trek/damaged.o trek/dcrept.o trek/destruct.o trek/dock.o trek/dumpgame.o trek/dumpme.o trek/dumpssradio.o trek/events.o trek/externs.o trek/getcodi.o trek/getpar.o trek/help.o trek/impulse.o trek/initquad.o trek/kill.o trek/klmove.o trek/lose.o trek/lrscan.o trek/main.o trek/move.o trek/nova.o trek/out.o trek/phaser.o trek/play.o trek/ram.o trek/ranf.o trek/rest.o trek/schedule.o trek/score.o trek/setup.o trek/setwarp.o trek/shield.o trek/snova.o trek/srscan.o trek/systemname.o trek/torped.o trek/visual.o trek/warp.o trek/win.o -lm -o trek/trek -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worm/worm.o -lncurses -o worm/worm -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worms/worms.o -lncurses -o worms/worms -i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now wump/wump.o -o wump/wump boggle/mkdict/mkdict boggle/mkdict/dictionary monop/initdeck monop/cards.inp monop/cards.pck -There were 16 com. chest and 16 chance cards cd phantasia && ./setup -m monsters.asc +There were 16 com. chest and 16 chance cards +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worms/worms.o -lncurses -o worms/worms touch phantasia/scorefiles.stamp +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worm/worm.o -lncurses -o worm/worm 106161 words boggle/mkindex/mkindex boggle/mkindex/dictindex +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snake/snake.o -lncurses -lm -o snake/snake/snake +i686-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now wump/wump.o -o wump/wump make[2]: Leaving directory '/build/bsdgames-2.17' # Generate a pdf file for trek documentation, see #874680 cat trek/USD.doc/trek.me | tbl | groff -me -Tpdf > debian/trek.pdf @@ -3122,7 +3161,7 @@ troff: :312: environment stack underflow make[1]: Leaving directory '/build/bsdgames-2.17' dh_auto_test - make -j8 test "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 + make -j15 test "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 make[1]: Entering directory '/build/bsdgames-2.17' set -e; for f in tests/*.test; do echo $f; $f; done tests/battlestar.test @@ -3237,21 +3276,21 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/bsdgames/ - make -j8 install DESTDIR=/build/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/bsdgames-2.17' set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/share/games/bsdgames/atc /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done +set -e; for d in /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done -set -e; for d in /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done -set -e; for d in /usr/games /usr/share/man/man6 /usr/share/games/bsdgames/boggle /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/share/games/bsdgames/boggle /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/share/games/bsdgames/boggle /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done +set -e; for d in /usr/games /usr/share/man/man6 /usr/share/games/bsdgames/boggle /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done @@ -3264,8 +3303,8 @@ set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done -set -e; for d in /usr/sbin /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done +set -e; for d in /usr/sbin /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /usr/share/games/bsdgames /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done @@ -3297,166 +3336,166 @@ install -c -m 0755 arithmetic/arithmetic /build/bsdgames-2.17/debian/bsdgames/usr/games/arithmetic set -e; for g in Game_List `cat atc/games/Game_List`; do install -c -m 0644 atc/games/$g /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/atc/$g; done install -c -m 0755 atc/atc /build/bsdgames-2.17/debian/bsdgames/usr/games/atc +install -c -m 0755 backgammon/backgammon/backgammon /build/bsdgames-2.17/debian/bsdgames/usr/games/backgammon install -c -m 0755 backgammon/teachgammon/teachgammon /build/bsdgames-2.17/debian/bsdgames/usr/games/teachgammon +install -c -m 0755 battlestar/battlestar /build/bsdgames-2.17/debian/bsdgames/usr/games/battlestar +install -c -m 0755 bcd/bcd /build/bsdgames-2.17/debian/bsdgames/usr/games/bcd : adventure -install -c -m 0755 backgammon/backgammon/backgammon /build/bsdgames-2.17/debian/bsdgames/usr/games/backgammon : arithmetic -install -c -m 0755 battlestar/battlestar /build/bsdgames-2.17/debian/bsdgames/usr/games/battlestar +install -c -m 0644 boggle/mkindex/dictindex /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictindex +install -c -m 0644 boggle/mkdict/dictionary /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictionary : atc +: backgammon +install -c -m 0755 boggle/boggle/boggle /build/bsdgames-2.17/debian/bsdgames/usr/games/boggle : teachgammon +: battlestar +install -c -m 0755 caesar/caesar /build/bsdgames-2.17/debian/bsdgames/usr/games/caesar +: bcd +install -c -m 0755 canfield/cfscores/cfscores /build/bsdgames-2.17/debian/bsdgames/usr/games/cfscores +install -c -m 0755 canfield/canfield/canfield /build/bsdgames-2.17/debian/bsdgames/usr/games/canfield +install -c -m 0755 countmail/countmail /build/bsdgames-2.17/debian/bsdgames/usr/games/countmail /build/bsdgames-2.17/install-man adventure/adventure.6 -: backgammon -install -c -m 0755 bcd/bcd /build/bsdgames-2.17/debian/bsdgames/usr/games/bcd /build/bsdgames-2.17/install-man arithmetic/arithmetic.6 +: boggle +/build/bsdgames-2.17/install-man backgammon/backgammon/backgammon.6 /build/bsdgames-2.17/install-score /var/games/bsdgames/atc_score /build/bsdgames-2.17/install-man backgammon.6 teachgammon.6 -: battlestar -/build/bsdgames-2.17/install-man backgammon/backgammon/backgammon.6 -: bcd +: caesar /build/bsdgames-2.17/install-man battlestar/battlestar.6 -install -c -m 0755 boggle/boggle/boggle /build/bsdgames-2.17/debian/bsdgames/usr/games/boggle +: cfscores +: canfield +: countmail /build/bsdgames-2.17/install-man bcd/bcd.6 -install -c -m 0644 boggle/mkindex/dictindex /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictindex -install -c -m 0644 boggle/mkdict/dictionary /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictionary -: boggle -/build/bsdgames-2.17/install-man atc/atc.6 -install -c -m 0755 caesar/caesar /build/bsdgames-2.17/debian/bsdgames/usr/games/caesar +install -c -m 0755 cribbage/cribbage /build/bsdgames-2.17/debian/bsdgames/usr/games/cribbage +install -c -m 0755 dab/dab /build/bsdgames-2.17/debian/bsdgames/usr/games/dab /build/bsdgames-2.17/install-man boggle/boggle/boggle.6 -install -c -m 0755 canfield/canfield/canfield /build/bsdgames-2.17/debian/bsdgames/usr/games/canfield -install -c -m 0755 canfield/cfscores/cfscores /build/bsdgames-2.17/debian/bsdgames/usr/games/cfscores -/build/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log -install -c -m 0755 countmail/countmail /build/bsdgames-2.17/debian/bsdgames/usr/games/countmail -: caesar -: canfield -: cfscores install -c -m 0755 caesar/rot13 /build/bsdgames-2.17/debian/bsdgames/usr/games/rot13 -: countmail -/build/bsdgames-2.17/install-man canfield/canfield/canfield.6 -install -c -m 0644 boggle/boggle/helpfile /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/helpfile /build/bsdgames-2.17/install-man canfield.6 cfscores.6 -install -c -m 0755 cribbage/cribbage /build/bsdgames-2.17/debian/bsdgames/usr/games/cribbage +: cribbage +/build/bsdgames-2.17/install-man canfield/canfield/canfield.6 +: dab /build/bsdgames-2.17/install-man countmail/countmail.6 : rot13 -install -c -m 0755 dab/dab /build/bsdgames-2.17/debian/bsdgames/usr/games/dab install -c -m 0755 fish/fish /build/bsdgames-2.17/debian/bsdgames/usr/games/go-fish -/build/bsdgames-2.17/install-man caesar/caesar.6 -: cribbage -install -c -m 0755 gomoku/gomoku /build/bsdgames-2.17/debian/bsdgames/usr/games/gomoku -/build/bsdgames-2.17/install-score /var/games/bsdgames/cfscores -: dab install -c -m 0644 cribbage/cribbage.n /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/cribbage.instr -: go-fish /build/bsdgames-2.17/install-man dab/dab.6 -: gomoku +install -c -m 0755 gomoku/gomoku /build/bsdgames-2.17/debian/bsdgames/usr/games/gomoku +: go-fish install -c -m 0755 hack/hack /build/bsdgames-2.17/debian/bsdgames/usr/games/hack -install -c -m 0644 fish/fish.instr /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr -/build/bsdgames-2.17/install-score /var/games/bsdgames/criblog -/build/bsdgames-2.17/install-man gomoku/gomoku.6 -/build/bsdgames-2.17/install-man caesar.6 rot13.6 -: hack -ln -sf fish.6 fish/go-fish.6 # hack for rename -install -d -m 0755 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/hack install -c -m 0755 hangman/hangman /build/bsdgames-2.17/debian/bsdgames/usr/games/hangman -install -c -m 0755 hunt/huntd/huntd /build/bsdgames-2.17/debian/bsdgames/usr/sbin/huntd -/build/bsdgames-2.17/install-man fish/go-fish.6 -install -d /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack +/build/bsdgames-2.17/install-man caesar/caesar.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/criblog install -c -m 0755 hunt/hunt/hunt /build/bsdgames-2.17/debian/bsdgames/usr/games/hunt +/build/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log +: gomoku : hangman -set -e; for f in data help hh rumors; do install -c -m 0644 hack/$f /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack/$f; done +install -c -m 0644 boggle/boggle/helpfile /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/helpfile +/build/bsdgames-2.17/install-man atc/atc.6 +install -c -m 0644 fish/fish.instr /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr +: hack +: hunt +install -c -m 0755 hunt/huntd/huntd /build/bsdgames-2.17/debian/bsdgames/usr/sbin/huntd install -c -m 0755 mille/mille /build/bsdgames-2.17/debian/bsdgames/usr/games/mille -/build/bsdgames-2.17/install-man cribbage/cribbage.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/cfscores +ln -sf fish.6 fish/go-fish.6 # hack for rename +install -c -m 0755 monop/monop /build/bsdgames-2.17/debian/bsdgames/usr/games/monop +/build/bsdgames-2.17/install-man gomoku/gomoku.6 /build/bsdgames-2.17/install-man hunt/huntd/huntd.6 /build/bsdgames-2.17/install-man hangman/hangman.6 -: hunt -: mille +install -d -m 0755 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/hack /build/bsdgames-2.17/install-man hunt/hunt/hunt.6 -/build/bsdgames-2.17/install-man mille/mille.6 -rm -f fish/go-fish.6 -install -c -m 0755 monop/monop /build/bsdgames-2.17/debian/bsdgames/usr/games/monop +: mille +install -d /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack +: monop install -c -m 0755 morse/morse /build/bsdgames-2.17/debian/bsdgames/usr/games/morse +set -e; for f in data help hh rumors; do install -c -m 0644 hack/$f /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack/$f; done +/build/bsdgames-2.17/install-man mille/mille.6 +/build/bsdgames-2.17/install-man caesar.6 rot13.6 +/build/bsdgames-2.17/install-man fish/go-fish.6 +: morse +/build/bsdgames-2.17/install-man monop/monop.6 install -c -m 0755 number/number /build/bsdgames-2.17/debian/bsdgames/usr/games/number +/build/bsdgames-2.17/install-man cribbage/cribbage.6 install -c -m 0755 phantasia/phantasia /build/bsdgames-2.17/debian/bsdgames/usr/games/phantasia -: morse -: monop -install -c -m 0755 pig/pig /build/bsdgames-2.17/debian/bsdgames/usr/games/pig : number -: phantasia /build/bsdgames-2.17/install-man bcd.6 morse.6 -/build/bsdgames-2.17/install-man monop/monop.6 +: phantasia +install -c -m 0755 pig/pig /build/bsdgames-2.17/debian/bsdgames/usr/games/pig install -c -m 0755 pom/pom /build/bsdgames-2.17/debian/bsdgames/usr/games/pom -/build/bsdgames-2.17/install-man number/number.6 -/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm +install -c -m 0755 ppt/ppt /build/bsdgames-2.17/debian/bsdgames/usr/games/ppt +install -c -m 0755 primes/primes /build/bsdgames-2.17/debian/bsdgames/usr/games/primes +set -e; for c in africa america areas arith asia babies bard chinese collectives ed elements europe flowers greek inca index latin locomotive midearth morse mult murders poetry posneg pres province seq-easy seq-hard sexes sov spell state trek ucc; do install -c -m 0644 quiz/datfiles/$c /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/quiz/$c; done : pig +: pom +: ppt +/build/bsdgames-2.17/install-man number/number.6 +install -c -m 0755 quiz/quiz /build/bsdgames-2.17/debian/bsdgames/usr/games/quiz (set -e; for f in gold lastdead mess monsters motd void; do \ cp phantasia/$f /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/phantasia/$f; \ /build/bsdgames-2.17/install-score /var/games/bsdgames/phantasia/$f; done) -install -c -m 0755 ppt/ppt /build/bsdgames-2.17/debian/bsdgames/usr/games/ppt -: pom -install -c -m 0755 primes/primes /build/bsdgames-2.17/debian/bsdgames/usr/games/primes +: primes +install -c -m 0755 rain/rain /build/bsdgames-2.17/debian/bsdgames/usr/games/rain +rm -f fish/go-fish.6 +: quiz /build/bsdgames-2.17/install-man pig/pig.6 -/build/bsdgames-2.17/install-man pom/pom.6 -: ppt install -c -m 0644 monop/cards.pck /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/monop-cards.pck -: primes +/build/bsdgames-2.17/install-man pom/pom.6 /build/bsdgames-2.17/install-man bcd.6 ppt.6 -/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/record -/build/bsdgames-2.17/install-man primes/primes.6 -set -e; for c in africa america areas arith asia babies bard chinese collectives ed elements europe flowers greek inca index latin locomotive midearth morse mult murders poetry posneg pres province seq-easy seq-hard sexes sov spell state trek ucc; do install -c -m 0644 quiz/datfiles/$c /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/quiz/$c; done -install -c -m 0755 quiz/quiz /build/bsdgames-2.17/debian/bsdgames/usr/games/quiz -install -c -m 0755 rain/rain /build/bsdgames-2.17/debian/bsdgames/usr/games/rain install -c -m 0755 random/random /build/bsdgames-2.17/debian/bsdgames/usr/games/random +/build/bsdgames-2.17/install-man primes/primes.6 install -c -m 0755 robots/robots /build/bsdgames-2.17/debian/bsdgames/usr/games/robots -/build/bsdgames-2.17/install-man hack/hack.6 -: quiz : rain +install -c -m 0755 sail/sail /build/bsdgames-2.17/debian/bsdgames/usr/games/sail +install -c -m 0755 snake/snscore/snscore /build/bsdgames-2.17/debian/bsdgames/usr/games/snscore +/build/bsdgames-2.17/install-man quiz/quiz.6 : random +/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm : robots -/build/bsdgames-2.17/install-man quiz/quiz.6 -install -c -m 0755 sail/sail /build/bsdgames-2.17/debian/bsdgames/usr/games/sail +: sail /build/bsdgames-2.17/install-man rain/rain.6 +: snscore /build/bsdgames-2.17/install-man random/random.6 -/build/bsdgames-2.17/install-score /var/games/bsdgames/robots_roll -: sail -/build/bsdgames-2.17/install-score /var/games/bsdgames/saillog -install -c -m 0755 snake/snscore/snscore /build/bsdgames-2.17/debian/bsdgames/usr/games/snscore install -c -m 0755 snake/snake/snake /build/bsdgames-2.17/debian/bsdgames/usr/games/snake install -c -m 0755 tetris/tetris /build/bsdgames-2.17/debian/bsdgames/usr/games/tetris-bsd -: snscore -/build/bsdgames-2.17/install-man robots/robots.6 -install -c -m 0755 trek/trek /build/bsdgames-2.17/debian/bsdgames/usr/games/trek +/build/bsdgames-2.17/install-score /var/games/bsdgames/robots_roll +/build/bsdgames-2.17/install-score /var/games/bsdgames/saillog +/build/bsdgames-2.17/install-man snake.6 snscore.6 : snake : tetris-bsd -/build/bsdgames-2.17/install-man snake.6 snscore.6 +install -c -m 0755 trek/trek /build/bsdgames-2.17/debian/bsdgames/usr/games/trek +install -c -m 0755 wargames/wargames /build/bsdgames-2.17/debian/bsdgames/usr/games/wargames +install -c -m 0755 worm/worm /build/bsdgames-2.17/debian/bsdgames/usr/games/worm /build/bsdgames-2.17/install-score /var/games/bsdgames/snake.log -/build/bsdgames-2.17/install-score /var/games/bsdgames/tetris-bsd.scores -install -d -m 0750 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/sail : trek -install -c -m 0755 wargames/wargames /build/bsdgames-2.17/debian/bsdgames/usr/games/wargames -/build/bsdgames-2.17/install-man sail/sail.6 -/build/bsdgames-2.17/install-man trek/trek.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/tetris-bsd.scores : wargames -install -c -m 0755 worm/worm /build/bsdgames-2.17/debian/bsdgames/usr/games/worm -/build/bsdgames-2.17/install-man wargames/wargames.6 -: worm -/build/bsdgames-2.17/install-score /var/games/bsdgames/snakerawscores -ln -f tetris/tetris.6 tetris/tetris-bsd.6 -/build/bsdgames-2.17/install-man tetris/tetris-bsd.6 install -c -m 0755 worms/worms /build/bsdgames-2.17/debian/bsdgames/usr/games/worms -/build/bsdgames-2.17/install-man worm/worm.6 -install -c -m 0644 trek/USD.doc/trek.me /build/bsdgames-2.17/debian/bsdgames/usr/share/doc/bsdgames/trek.me -: worms +: worm install -c -m 0755 wtf/wtf /build/bsdgames-2.17/debian/bsdgames/usr/games/wtf install -c -m 0755 wump/wump /build/bsdgames-2.17/debian/bsdgames/usr/games/wump -/build/bsdgames-2.17/install-man worms/worms.6 -rm -f tetris/tetris-bsd.6 +/build/bsdgames-2.17/install-man trek/trek.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/record +: worms +/build/bsdgames-2.17/install-man wargames/wargames.6 : wtf -/build/bsdgames-2.17/install-man snake/snake/snake.6 : wump +/build/bsdgames-2.17/install-man worm/worm.6 +/build/bsdgames-2.17/install-man robots/robots.6 +/build/bsdgames-2.17/install-man worms/worms.6 install -c -m 0644 wtf/acronyms /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms +install -d -m 0750 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/sail install -c -m 0644 wump/wump.info /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/wump.info install -c -m 0644 wtf/acronyms.comp /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms.comp +/build/bsdgames-2.17/install-man sail/sail.6 /build/bsdgames-2.17/install-man wump/wump.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/snakerawscores /build/bsdgames-2.17/install-man wtf/wtf.6 +install -c -m 0644 trek/USD.doc/trek.me /build/bsdgames-2.17/debian/bsdgames/usr/share/doc/bsdgames/trek.me +ln -f tetris/tetris.6 tetris/tetris-bsd.6 +/build/bsdgames-2.17/install-man tetris/tetris-bsd.6 +/build/bsdgames-2.17/install-man hack/hack.6 +rm -f tetris/tetris-bsd.6 +/build/bsdgames-2.17/install-man snake/snake/snake.6 (set -e; for f in scoreboard characs; do \ if [ ! -e /var/games/bsdgames/phantasia/$f ]; then \ cp phantasia/$f /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/phantasia/$f; fi; done; \ @@ -3554,12 +3593,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/130384/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/12562 and its subdirectories -I: Current time: Mon Jun 5 17:26:56 -12 2023 -I: pbuilder-time-stamp: 1686029216 +I: removing directory /srv/workspace/pbuilder/130384 and its subdirectories +I: Current time: Tue Jul 9 01:50:30 +14 2024 +I: pbuilder-time-stamp: 1720439430