Diff of the two buildlogs: -- --- b1/build.log 2023-05-06 15:29:16.918501216 +0000 +++ b2/build.log 2023-05-06 15:30:19.707748050 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 6 03:25:33 -12 2023 -I: pbuilder-time-stamp: 1683386733 +I: Current time: Sat Jun 8 11:52:19 +14 2024 +I: pbuilder-time-stamp: 1717797139 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,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 @@ -44,135 +44,167 @@ 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/3005775/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2032293/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +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 Jun 8 11:52 /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/2032293/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2032293/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='dc6c70d002314c3f8d00d3c3a6cd630f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='3005775' - PS1='# ' - PS2='> ' + INVOCATION_ID=60328acf9d0e4a4581b91dc5ce2c309c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2032293 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.qMYXZ9bd/pbuilderrc_txRV --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.qMYXZ9bd/b1 --logfile b1/build.log bsdgames_2.17-29.dsc' - SUDO_GID='110' - SUDO_UID='105' - 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.qMYXZ9bd/pbuilderrc_e7ZB --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.qMYXZ9bd/b2 --logfile b2/build.log --extrapackages usrmerge bsdgames_2.17-29.dsc' + SUDO_GID=111 + SUDO_UID=106 + 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 ionos1-amd64 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 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 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 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 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 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/3005775/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 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 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 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 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 8 11:52 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 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/2032293/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -279,7 +311,7 @@ Get: 55 http://deb.debian.org/debian bookworm/main amd64 libncurses-dev amd64 6.4-2 [348 kB] Get: 56 http://deb.debian.org/debian bookworm/main amd64 libncurses5-dev amd64 6.4-2 [932 B] Get: 57 http://deb.debian.org/debian bookworm/main amd64 wbritish all 2020.12.07-2 [219 kB] -Fetched 27.3 MB in 1s (29.7 MB/s) +Fetched 27.3 MB in 0s (75.9 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 ... 19596 files and directories currently installed.) @@ -529,10 +561,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/2032293/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/2032293/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 @@ -723,7 +762,7 @@ cat /usr/share/dict/american-english /usr/share/dict/british-english | \ sort | uniq > temp-dictionary dh_auto_build - make -j15 + make -j16 make[2]: Entering directory '/build/bsdgames-2.17' ./mkdep wump/wump.c wump/wump.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -984,8 +1023,8 @@ cd atc && flex lex.l cd atc && bison -y -d grammar.y ./mkdep atc/input.c atc/input.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/graphics.c atc/graphics.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 ./mkdep arithmetic/arithmetic.c arithmetic/arithmetic.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -1001,6 +1040,11 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/setup.c -o adventure/setup.o ./mkdep adventure/crc.c adventure/crc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hack/makedefs.o -o hack/makedefs +mv atc/y.tab.c atc/grammar.c +mv atc/y.tab.h atc/grammar.h +touch atc/grammar.h +./mkdep atc/lex.c atc/lex.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/grammar.c atc/grammar.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 hack/makedefs hack/def.objects.h >hack/hack.onames.h ./mkdep hack/rnd.c hack/rnd.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.zap.c hack/hack.zap.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -1014,9 +1058,6 @@ ./mkdep hack/hack.u_init.c hack/hack.u_init.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.trap.c hack/hack.trap.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -mv atc/y.tab.h atc/grammar.h -touch atc/grammar.h ./mkdep hack/hack.track.c hack/hack.track.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.topl.c hack/hack.topl.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.timeout.c hack/hack.timeout.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -1061,8 +1102,6 @@ ./mkdep hack/hack.apply.c hack/hack.apply.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.Decl.c hack/hack.Decl.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/alloc.c hack/alloc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 atc/lex.c atc/lex.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/grammar.c atc/grammar.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now adventure/setup.o -o adventure/setup adventure/setup adventure/glorkz >adventure/data.c ./mkdep adventure/data.c adventure/data.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -1089,25 +1128,25 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -adventure/init.c: In function 'linkdata': -adventure/init.c:158:29: warning: iteration 140 invokes undefined behavior [-Waggressive-loop-optimizations] - 158 | if (ltext[i].seekadr != 0 && travel[i] != 0) - | ~~~~~~~~^~~~~~~~ -adventure/init.c:157:23: note: within this loop - 157 | for (i = 1; i <= LOCSIZ; i++) 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; | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +adventure/init.c: In function 'linkdata': +adventure/init.c:158:29: warning: iteration 140 invokes undefined behavior [-Waggressive-loop-optimizations] + 158 | if (ltext[i].seekadr != 0 && travel[i] != 0) + | ~~~~~~~~^~~~~~~~ +adventure/init.c:157:23: note: within this loop + 157 | for (i = 1; i <= LOCSIZ; i++) +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 @@ -1116,21 +1155,20 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/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) @@ -1183,16 +1221,15 @@ backgammon/teachgammon/teach.c:70:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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; | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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)) { @@ -1200,20 +1237,13 @@ backgammon/common_source/check.c:69:17: note: here 69 | case -4: | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -backgammon/common_source/fancy.c: In function 'newpos': -backgammon/common_source/fancy.c:482:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 482 | write(2, "\r\nInternal cursor error.\r\n", 26); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/fancy.c: In function 'getcaps': -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/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); @@ -1236,7 +1266,6 @@ backgammon/common_source/save.c:129:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | write(fdesc, &pnum, sizeof pnum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 backgammon/common_source/save.c:130:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | write(fdesc, &rscore, sizeof rscore); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1283,11 +1312,22 @@ 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/fancy.c: In function 'newpos': +backgammon/common_source/fancy.c:482:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 482 | write(2, "\r\nInternal cursor error.\r\n", 26); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/common_source/fancy.c: In function 'getcaps': +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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); | ^~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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) @@ -1295,7 +1335,6 @@ backgammon/backgammon/main.c:103:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./substscr g m backgammon/backgammon/backgammon.6.in backgammon/backgammon/backgammon.6 Generating backgammon/backgammon/backgammon.6 from backgammon/backgammon/backgammon.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -1311,6 +1350,7 @@ battlestar/command2.c:257:17: note: here 257 | case -1: | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/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()); @@ -1328,10 +1368,12 @@ battlestar/command3.c:138:25: note: here 138 | case AMULET: | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); @@ -1357,9 +1399,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); | ^~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/misc.c -o battlestar/misc.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/nightfile.c -o battlestar/nightfile.o @@ -1373,7 +1412,6 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 battlestar/room.c: In function 'truedirec': battlestar/room.c:124:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 124 | switch (direction) { @@ -1387,6 +1425,7 @@ battlestar/room.c:149:9: note: here 149 | case EAST: | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 battlestar/room.c:150:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 150 | switch (direction) { | ^~~~~~ @@ -1399,9 +1438,13 @@ battlestar/room.c:175:9: note: here 175 | default: | ^~~~~~~ +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -battlestar/save.c: In function 'restore': x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +battlestar/save.c: In function 'restore': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1495,56 +1538,56 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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; - | ^~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +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; + | ^~~ ./substscr g m canfield/canfield/canfield.6.in canfield/canfield/canfield.6 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 Generating canfield/canfield/canfield.6 from canfield/canfield/canfield.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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) { | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 'main': canfield/cfscores/cfscores.c:81:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-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 x86_64-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 +Generating cribbage/cribbage.6 from cribbage/cribbage.6.in x86_64-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 x86_64-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 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-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 +x86_64-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 +x86_64-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 +x86_64-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 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); @@ -1554,7 +1597,6 @@ 1428 | write(dbfd, (char *)&total, sizeof(total)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ canfield/canfield/canfield.c: In function 'initall': -x86_64-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 canfield/canfield/canfield.c:1685:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 1685 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1562,9 +1604,7 @@ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-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 -x86_64-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 -x86_64-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 +x86_64-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 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); @@ -1573,37 +1613,36 @@ 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); | ^~~~~~~~~~~~~~ -x86_64-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ifish -c fish/fish.c -o fish/fish.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/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]; | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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; + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -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; - | ^~~~ 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) { @@ -1613,14 +1652,8 @@ | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -hack/hack.c: In function 'lookaround': -hack/hack.c:599:36: warning: this statement may fall through [-Wimplicit-fallthrough=] - 599 | if (flags.run != 1) - | ^ -hack/hack.c:602:25: note: here - 602 | case CORR_SYM: - | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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", | ^~ @@ -1639,6 +1672,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +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) + | ^ +hack/hack.dog.c:182:9: note: here + 182 | case BALL_SYM: + | ^~~~ +hack/hack.c: In function 'lookaround': +hack/hack.c:599:36: warning: this statement may fall through [-Wimplicit-fallthrough=] + 599 | if (flags.run != 1) + | ^ +hack/hack.c:602:25: note: here + 602 | case CORR_SYM: + | ^~~~ 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) { @@ -1646,16 +1693,7 @@ hack/hack.do_name.c:298:9: note: here 298 | default: | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.end.c -o hack/hack.end.o -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) - | ^ -hack/hack.dog.c:182:9: note: here - 182 | case BALL_SYM: - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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; @@ -1681,12 +1719,11 @@ hack/hack.eat.c:541:9: note: here 541 | case 'a': | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.invent.c: In function 'askchain': hack/hack.invent.c:682:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 682 | allflag = 1; @@ -1694,6 +1731,14 @@ hack/hack.invent.c:683:17: note: here 683 | case 'y': | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +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.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) : "-"); @@ -1711,8 +1756,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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 */ @@ -1720,13 +1765,7 @@ 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]; - | ^~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -1742,6 +1781,8 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.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); @@ -1756,8 +1797,6 @@ hack/extern.h:252:17: note: expected 'char *' but argument is of type 'const char *' 252 | void mread(int, char *, unsigned); | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.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,6 +1818,7 @@ 335 | case WEAPON_SYM: | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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()); @@ -1789,6 +1829,10 @@ hack/hack.pager.c:470:24: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 470 | (void) chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ +hack/hack.pager.c: In function 'dowhatis': +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); + | ^ 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 */ @@ -1796,17 +1840,19 @@ hack/hack.objnam.c:81:29: note: length computed here 81 | int i = strlen(pref); | ^~~~~~~~~~~~ -hack/hack.pager.c: In function 'dowhatis': -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); - | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +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?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hack/hack.shk.c:913:9: note: here + 913 | case BALL_SYM: + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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] @@ -1817,13 +1863,6 @@ hack/hack.objnam.c:81:29: note: length computed here 81 | int i = strlen(pref); | ^~~~~~~~~~~~ -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?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hack/hack.shk.c:913:9: note: here - 913 | case BALL_SYM: - | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -1838,11 +1877,12 @@ | ^~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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; | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.unix.c -o hack/hack.unix.o hack/hack.trap.c: In function 'float_down': hack/hack.trap.c:337:39: warning: this statement may fall through [-Wimplicit-fallthrough=] 337 | if (!xdnstair || u.ustuck) @@ -1850,13 +1890,10 @@ hack/hack.trap.c:340:17: note: here 340 | default: | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.unix.c -o hack/hack.unix.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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]))) @@ -2061,6 +2098,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 hack/hack.wizard.c: In function 'inrange': @@ -2087,14 +2126,17 @@ Generating hangman/hangman.6 from hangman/hangman.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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); @@ -2114,9 +2156,6 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 @@ -2124,6 +2163,14 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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)); @@ -2133,17 +2180,10 @@ /usr/include/signal.h:173:12: note: declared here 173 | extern int sigblock (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/otto.c:179:20: warning: sigmask is deprecated 179 | old_mask = sigblock(sigmask(SIGALRM)); | ^~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/otto.c:181:9: warning: implicit declaration of function 'sigpause'; did you mean 'pause'? [-Wimplicit-function-declaration] 181 | sigpause(old_mask); | ^~~~~~~~ @@ -2154,6 +2194,14 @@ /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) { @@ -2166,24 +2214,15 @@ /usr/include/x86_64-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) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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:225:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 225 | (void) write(Socket, command, comlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 'main': +hunt/huntd/answer.c: In function 'answer': 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); - | ^~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/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); | ^~~~~~~~ @@ -2195,6 +2234,14 @@ /usr/include/x86_64-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/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/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2226,20 +2273,9 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | sizeof socklen); | ~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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/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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./substscr g m hunt/huntd/huntd.6.in hunt/huntd/huntd.6 -Generating hunt/huntd/huntd.6 from hunt/huntd/huntd.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/huntd/makemaze.c:84:1: warning: 'dig' defined but not used [-Wunused-function] - 84 | dig(y, x) - | ^~~ +Generating hunt/huntd/huntd.6 from hunt/huntd/huntd.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 hunt/huntd/driver.c: In function 'main': @@ -2303,22 +2339,10 @@ 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/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) { - | ^ -hunt/huntd/shots.c:354:19: note: here - 354 | case WALL1: - | ^~~~ -hunt/huntd/shots.c: In function 'save_bullet': -hunt/huntd/shots.c:552:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 552 | mark_boot(bp); - | ^~~~~~~~~~~~~ -hunt/huntd/shots.c:555:11: note: here - 555 | default: - | ^~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +hunt/huntd/makemaze.c:84:1: warning: 'dig' defined but not used [-Wunused-function] + 84 | dig(y, x) + | ^~~ mille/comp.c: In function 'calcmove': mille/comp.c:98:33: warning: increment of a boolean expression [-Wbool-operation] 98 | ++cango; @@ -2343,14 +2367,43 @@ hunt/huntd/answer.c:411:17: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 411 | strncpy(ip->i_name, name, NAMELEN); | ^ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +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) { + | ^ +hunt/huntd/shots.c:354:19: note: here + 354 | case WALL1: + | ^~~~ +hunt/huntd/shots.c: In function 'save_bullet': +hunt/huntd/shots.c:552:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 552 | mark_boot(bp); + | ^~~~~~~~~~~~~ +hunt/huntd/shots.c:555:11: note: here + 555 | default: + | ^~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +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); + | ^ +hunt/hunt/hunt.c:1033:33: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 1033 | strncpy(name, envname, NAMELEN); + | ^ +hunt/hunt/hunt.c:1029:41: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 1029 | strncpy(name, envname, NAMELEN); + | ^ mille/misc.c: In function 'error': mille/misc.c:65:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 65 | vwprintw(Score, str, ap); @@ -2360,12 +2413,11 @@ /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 */ | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); | ^~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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) @@ -2376,6 +2428,10 @@ mille/move.c:232:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 232 | if (pp->speed == C_LIMIT) | ^ +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/move.c:234:11: note: here 234 | case C_50: | ^~~~ @@ -2385,21 +2441,6 @@ mille/move.c:237:11: note: here 237 | case C_25: | ^~~~ -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); - | ^ -hunt/hunt/hunt.c:1033:33: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 1033 | strncpy(name, envname, NAMELEN); - | ^ -hunt/hunt/hunt.c:1029:41: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 1029 | strncpy(name, envname, NAMELEN); - | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/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; @@ -2415,11 +2456,9 @@ monop/execute.c:262:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | read(inf, start, num); | ^~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/jail.c -o monop/jail.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); - | ^ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/misc.c -o monop/misc.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/monop.c -o monop/monop.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/morg.c -o monop/morg.o @@ -2429,6 +2468,7 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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] @@ -2563,45 +2603,32 @@ monop/monop.c:68:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imorse -c morse/morse.c -o morse/morse.o +Generating monop/monop.6 from monop/monop.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -Inumber -c number/number.c -o number/number.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/fight.c -o phantasia/fight.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -number/number.c: In function 'main': -number/number.c:97:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 97 | setregid(getgid(), getgid()); +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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -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()); +number/number.c: In function 'main': +number/number.c:97:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 97 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 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); @@ -2622,13 +2649,6 @@ phantasia/fight.c:1302:33: note: here 1302 | case 9: /* treasure type 9 */ | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 phantasia/main.c: In function 'main': phantasia/main.c:92:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | cleanup(TRUE); @@ -2654,11 +2674,6 @@ phantasia/main.c:154:17: note: here 154 | default: | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/main.c: In function 'procmain': phantasia/main.c:522:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 522 | leavegame(); @@ -2666,38 +2681,45 @@ phantasia/main.c:525:9: note: here 525 | case '6': /* cloak */ | ^~~~ -phantasia/misc.c: In function 'death': +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./substscr g n quiz/datfiles/index.in quiz/datfiles/index -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': -Generating quiz/datfiles/index from quiz/datfiles/index.in -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/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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +Generating quiz/datfiles/index from quiz/datfiles/index.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./substscr g m quiz/quiz.6.in quiz/quiz.6 -Generating quiz/quiz.6 from quiz/quiz.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +Generating quiz/quiz.6 from quiz/quiz.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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) @@ -2705,35 +2727,51 @@ quiz/quiz.c:328:17: note: here 328 | default: | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -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 Generating robots/robots.6 from robots/robots.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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); @@ -2745,13 +2783,15 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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_main.c -o sail/dr_main.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +robots/score.c: In function 'score': +robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 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] 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) | ~~~~~^~~~~~~~ @@ -2765,34 +2805,22 @@ 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 *, | ^~~~~~ -robots/score.c: In function 'score': -robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 200 | strncpy(scp->s_name, pp->pw_name, MAXNAME); - | ^ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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_main.c -o sail/dr_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] +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -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); - | ^~~~~~~~~~~~~ -sail/misc.c:208:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | setegid(gid); - | ^~~~~~~~~~~~ -sail/misc.c:211:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 211 | setegid(gid); - | ^~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -robots/score.c: In function 'set_name': -robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); | ^~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); @@ -2812,6 +2840,17 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +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); + | ^~~~~~~~~~~~~ +sail/misc.c:208:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 208 | setegid(gid); + | ^~~~~~~~~~~~ +sail/misc.c:211:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 211 | setegid(gid); + | ^~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -2824,6 +2863,8 @@ | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); @@ -2834,6 +2875,9 @@ sail/pl_main.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | scanf("%9s", buf); | ^~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); @@ -2849,11 +2893,6 @@ /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 */ | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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] @@ -2882,6 +2921,8 @@ sail/sync.c:177:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | setegid(gid); | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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()); @@ -2889,8 +2930,6 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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; @@ -2899,29 +2938,10 @@ 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 -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); - | ^~~~~~~~~~~~ -Generating tetris/tetris.6 from tetris/tetris.6.in -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 snake/snake/snake.c: In function 'post': snake/snake/snake.c:540:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 540 | read(rawscores, &allbscore, sizeof(short)); @@ -2941,16 +2961,31 @@ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +./substscr g m tetris/tetris.6.in tetris/tetris.6 +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); + | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/destruct.c -o trek/destruct.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", | ^~ @@ -2969,6 +3004,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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/destruct.c -o trek/destruct.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -2977,6 +3016,7 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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); @@ -2987,23 +3027,22 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 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;]"); | ^~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 'getstrpar': trek/getpar.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | scanf("%*[\t ;]"); | ^~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 @@ -3035,41 +3074,41 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 Generating trek/trek.6 from trek/trek.6.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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.6 from wtf/wtf.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-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 +Generating wtf/wtf.6 from wtf/wtf.6.in x86_64-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 x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now arithmetic/arithmetic.o lib/getprogname.o -o arithmetic/arithmetic x86_64-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 -x86_64-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 -x86_64-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 -x86_64-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 -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now bcd/bcd.o -o bcd/bcd -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkdict/mkdict.o -o boggle/mkdict/mkdict -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkindex/mkindex.o -o boggle/mkindex/mkindex 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-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 +x86_64-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 +x86_64-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 +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now bcd/bcd.o -o bcd/bcd 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkdict/mkdict.o -o boggle/mkdict/mkdict +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkindex/mkindex.o -o boggle/mkindex/mkindex x86_64-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 -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now caesar/caesar.o -lm -o caesar/caesar 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)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/cfscores/cfscores.o -o canfield/cfscores/cfscores wump/wump.c: In function 'main': wump/wump.c:148:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now caesar/caesar.o -lm -o caesar/caesar +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/cfscores/cfscores.o -o canfield/cfscores/cfscores x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/canfield/canfield.o -lncurses -o canfield/canfield/canfield x86_64-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 x86_64-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 @@ -3096,18 +3135,18 @@ x86_64-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 x86_64-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 x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snscore/snscore.o -o snake/snscore/snscore +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snake/snake.o -lncurses -lm -o snake/snake/snake x86_64-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 x86_64-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 +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worm/worm.o -lncurses -o worm/worm x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worms/worms.o -lncurses -o worms/worms 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 -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worm/worm.o -lncurses -o worm/worm -touch phantasia/scorefiles.stamp 106161 words +touch phantasia/scorefiles.stamp boggle/mkindex/mkindex boggle/mkindex/dictindex -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snake/snake.o -lncurses -lm -o snake/snake/snake x86_64-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 @@ -3119,7 +3158,7 @@ troff: :312: environment stack underflow make[1]: Leaving directory '/build/bsdgames-2.17' dh_auto_test - make -j15 test "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 + make -j16 test "TESTSUITEFLAGS=-j16 --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 @@ -3234,7 +3273,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/bsdgames/ - make -j15 install DESTDIR=/build/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no + make -j16 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 @@ -3301,157 +3340,157 @@ install -c -m 0644 boggle/mkdict/dictionary /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictionary install -c -m 0644 boggle/mkindex/dictindex /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictindex install -c -m 0755 boggle/boggle/boggle /build/bsdgames-2.17/debian/bsdgames/usr/games/boggle -: adventure install -c -m 0755 caesar/caesar /build/bsdgames-2.17/debian/bsdgames/usr/games/caesar : arithmetic -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 +: adventure : atc : teachgammon : backgammon -: battlestar : bcd -/build/bsdgames-2.17/install-man adventure/adventure.6 -/build/bsdgames-2.17/install-man arithmetic/arithmetic.6 -install -c -m 0755 countmail/countmail /build/bsdgames-2.17/debian/bsdgames/usr/games/countmail +: battlestar +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 : boggle +install -c -m 0755 countmail/countmail /build/bsdgames-2.17/debian/bsdgames/usr/games/countmail install -c -m 0755 cribbage/cribbage /build/bsdgames-2.17/debian/bsdgames/usr/games/cribbage : caesar : cfscores : canfield +: countmail +: cribbage +/build/bsdgames-2.17/install-man arithmetic/arithmetic.6 +/build/bsdgames-2.17/install-man adventure/adventure.6 +install -c -m 0755 dab/dab /build/bsdgames-2.17/debian/bsdgames/usr/games/dab /build/bsdgames-2.17/install-score /var/games/bsdgames/atc_score +install -c -m 0755 fish/fish /build/bsdgames-2.17/debian/bsdgames/usr/games/go-fish /build/bsdgames-2.17/install-man backgammon.6 teachgammon.6 /build/bsdgames-2.17/install-man backgammon/backgammon/backgammon.6 -/build/bsdgames-2.17/install-man battlestar/battlestar.6 /build/bsdgames-2.17/install-man bcd/bcd.6 -: countmail +/build/bsdgames-2.17/install-man battlestar/battlestar.6 /build/bsdgames-2.17/install-man boggle/boggle/boggle.6 install -c -m 0755 caesar/rot13 /build/bsdgames-2.17/debian/bsdgames/usr/games/rot13 -: cribbage +: dab +: go-fish /build/bsdgames-2.17/install-man canfield.6 cfscores.6 /build/bsdgames-2.17/install-man canfield/canfield/canfield.6 -install -c -m 0755 dab/dab /build/bsdgames-2.17/debian/bsdgames/usr/games/dab /build/bsdgames-2.17/install-man countmail/countmail.6 -install -c -m 0755 fish/fish /build/bsdgames-2.17/debian/bsdgames/usr/games/go-fish install -c -m 0644 cribbage/cribbage.n /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/cribbage.instr : rot13 -install -c -m 0755 gomoku/gomoku /build/bsdgames-2.17/debian/bsdgames/usr/games/gomoku -install -c -m 0755 hack/hack /build/bsdgames-2.17/debian/bsdgames/usr/games/hack -install -c -m 0755 hangman/hangman /build/bsdgames-2.17/debian/bsdgames/usr/games/hangman -: dab -: go-fish -/build/bsdgames-2.17/install-man caesar/caesar.6 /build/bsdgames-2.17/install-score /var/games/bsdgames/criblog /build/bsdgames-2.17/install-man dab/dab.6 -/build/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log +install -c -m 0644 fish/fish.instr /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr +install -c -m 0755 gomoku/gomoku /build/bsdgames-2.17/debian/bsdgames/usr/games/gomoku +/build/bsdgames-2.17/install-man caesar/caesar.6 +ln -sf fish.6 fish/go-fish.6 # hack for rename +install -c -m 0755 hack/hack /build/bsdgames-2.17/debian/bsdgames/usr/games/hack : gomoku +install -c -m 0755 hangman/hangman /build/bsdgames-2.17/debian/bsdgames/usr/games/hangman install -c -m 0755 hunt/hunt/hunt /build/bsdgames-2.17/debian/bsdgames/usr/games/hunt install -c -m 0755 hunt/huntd/huntd /build/bsdgames-2.17/debian/bsdgames/usr/sbin/huntd -/build/bsdgames-2.17/install-man atc/atc.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log : hack -: hangman -install -c -m 0644 fish/fish.instr /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr +install -c -m 0755 mille/mille /build/bsdgames-2.17/debian/bsdgames/usr/games/mille install -c -m 0644 boggle/boggle/helpfile /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/helpfile -/build/bsdgames-2.17/install-score /var/games/bsdgames/cfscores +: hangman +: hunt /build/bsdgames-2.17/install-man gomoku/gomoku.6 -install -c -m 0755 mille/mille /build/bsdgames-2.17/debian/bsdgames/usr/games/mille +/build/bsdgames-2.17/install-man atc/atc.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/cfscores +/build/bsdgames-2.17/install-man hunt/huntd/huntd.6 +/build/bsdgames-2.17/install-man fish/go-fish.6 +: mille +install -c -m 0755 monop/monop /build/bsdgames-2.17/debian/bsdgames/usr/games/monop +install -c -m 0755 morse/morse /build/bsdgames-2.17/debian/bsdgames/usr/games/morse install -d -m 0755 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/hack /build/bsdgames-2.17/install-man hangman/hangman.6 -: hunt -/build/bsdgames-2.17/install-man hunt/huntd/huntd.6 -ln -sf fish.6 fish/go-fish.6 # hack for rename +: monop +install -c -m 0755 number/number /build/bsdgames-2.17/debian/bsdgames/usr/games/number install -d /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack -install -c -m 0755 monop/monop /build/bsdgames-2.17/debian/bsdgames/usr/games/monop -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 hunt/hunt/hunt.6 -: mille +: 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 -install -c -m 0755 morse/morse /build/bsdgames-2.17/debian/bsdgames/usr/games/morse -: monop +: number /build/bsdgames-2.17/install-man cribbage/cribbage.6 -/build/bsdgames-2.17/install-man mille/mille.6 -install -c -m 0755 number/number /build/bsdgames-2.17/debian/bsdgames/usr/games/number -install -c -m 0755 phantasia/phantasia /build/bsdgames-2.17/debian/bsdgames/usr/games/phantasia /build/bsdgames-2.17/install-man monop/monop.6 +/build/bsdgames-2.17/install-man bcd.6 morse.6 +/build/bsdgames-2.17/install-man number/number.6 +install -c -m 0755 phantasia/phantasia /build/bsdgames-2.17/debian/bsdgames/usr/games/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 -: morse install -c -m 0755 ppt/ppt /build/bsdgames-2.17/debian/bsdgames/usr/games/ppt +rm -f fish/go-fish.6 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 -: number -: phantasia -/build/bsdgames-2.17/install-man bcd.6 morse.6 install -c -m 0755 quiz/quiz /build/bsdgames-2.17/debian/bsdgames/usr/games/quiz +: phantasia : pig +install -c -m 0755 rain/rain /build/bsdgames-2.17/debian/bsdgames/usr/games/rain : pom -/build/bsdgames-2.17/install-man number/number.6 +install -c -m 0755 random/random /build/bsdgames-2.17/debian/bsdgames/usr/games/random : ppt +install -c -m 0755 robots/robots /build/bsdgames-2.17/debian/bsdgames/usr/games/robots : primes +install -c -m 0755 sail/sail /build/bsdgames-2.17/debian/bsdgames/usr/games/sail +: quiz +: rain +: random +: robots (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) -rm -f fish/go-fish.6 -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 +install -c -m 0755 snake/snscore/snscore /build/bsdgames-2.17/debian/bsdgames/usr/games/snscore /build/bsdgames-2.17/install-man pig/pig.6 /build/bsdgames-2.17/install-man pom/pom.6 +: sail +install -c -m 0644 monop/cards.pck /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/monop-cards.pck /build/bsdgames-2.17/install-man bcd.6 ppt.6 -install -c -m 0755 robots/robots /build/bsdgames-2.17/debian/bsdgames/usr/games/robots -install -c -m 0755 sail/sail /build/bsdgames-2.17/debian/bsdgames/usr/games/sail -: quiz /build/bsdgames-2.17/install-man primes/primes.6 -install -c -m 0644 monop/cards.pck /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/monop-cards.pck -: rain -: random -/build/bsdgames-2.17/install-man quiz/quiz.6 -: robots -: sail -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 +: snscore +/build/bsdgames-2.17/install-man quiz/quiz.6 /build/bsdgames-2.17/install-man rain/rain.6 -/build/bsdgames-2.17/install-man random/random.6 install -c -m 0755 tetris/tetris /build/bsdgames-2.17/debian/bsdgames/usr/games/tetris-bsd +/build/bsdgames-2.17/install-man random/random.6 /build/bsdgames-2.17/install-score /var/games/bsdgames/robots_roll /build/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm /build/bsdgames-2.17/install-score /var/games/bsdgames/saillog -: snscore -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 : snake : tetris-bsd /build/bsdgames-2.17/install-man snake.6 snscore.6 -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 +install -c -m 0755 trek/trek /build/bsdgames-2.17/debian/bsdgames/usr/games/trek /build/bsdgames-2.17/install-score /var/games/bsdgames/tetris-bsd.scores -install -c -m 0755 worms/worms /build/bsdgames-2.17/debian/bsdgames/usr/games/worms +install -c -m 0755 wargames/wargames /build/bsdgames-2.17/debian/bsdgames/usr/games/wargames : trek -: wargames -: worm +install -c -m 0755 worm/worm /build/bsdgames-2.17/debian/bsdgames/usr/games/worm +install -c -m 0755 worms/worms /build/bsdgames-2.17/debian/bsdgames/usr/games/worms 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 trek/trek.6 -/build/bsdgames-2.17/install-man wargames/wargames.6 +: wargames +: worm : worms +: wtf +/build/bsdgames-2.17/install-man trek/trek.6 +: wump /build/bsdgames-2.17/install-man robots/robots.6 /build/bsdgames-2.17/install-score /var/games/bsdgames/hack/record -install -d -m 0750 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/sail +/build/bsdgames-2.17/install-man wargames/wargames.6 /build/bsdgames-2.17/install-man worm/worm.6 -/build/bsdgames-2.17/install-man sail/sail.6 -: wtf -: wump /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 +/build/bsdgames-2.17/install-man sail/sail.6 install -c -m 0644 wump/wump.info /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/wump.info /build/bsdgames-2.17/install-score /var/games/bsdgames/snakerawscores +install -c -m 0644 wtf/acronyms.comp /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms.comp ln -f tetris/tetris.6 tetris/tetris-bsd.6 /build/bsdgames-2.17/install-man tetris/tetris-bsd.6 -install -c -m 0644 trek/USD.doc/trek.me /build/bsdgames-2.17/debian/bsdgames/usr/share/doc/bsdgames/trek.me -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 wump/wump.6 -/build/bsdgames-2.17/install-man hack/hack.6 /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 +/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 \ @@ -3551,12 +3590,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/2032293/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2032293/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/3005775 and its subdirectories -I: Current time: Sat May 6 03:29:16 -12 2023 -I: pbuilder-time-stamp: 1683386956 +I: removing directory /srv/workspace/pbuilder/2032293 and its subdirectories +I: Current time: Sat Jun 8 11:53:19 +14 2024 +I: pbuilder-time-stamp: 1717797199