Diff of the two buildlogs: -- --- b1/build.log 2021-10-27 17:27:16.418714605 +0000 +++ b2/build.log 2021-10-27 17:28:14.468727472 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 29 11:47:45 -12 2022 -I: pbuilder-time-stamp: 1669765665 +I: Current time: Thu Oct 28 07:27:17 +14 2021 +I: pbuilder-time-stamp: 1635355637 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./bsdgames_2.17-28.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.gTnkwiUL/trustedkeys.kbx': General error -gpgv: Signature made Sat Apr 28 01:22:56 2018 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.2BTM2zbU/trustedkeys.kbx': General error +gpgv: Signature made Sun Apr 29 03:22:56 2018 +14 gpgv: using RSA key D1CB8F39BC5DED24C5D2C78C1302F1F036EBEB19 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./bsdgames_2.17-28.dsc @@ -44,135 +44,169 @@ dpkg-source: info: applying 0017-hack-Fix-segv-when-i-inventory-done-after-load-from-.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2429910/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3665522/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/3665522/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3665522/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,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(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,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='f89fd532a1ab4ea997f516fcc62cd623' - 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='2429910' - PS1='# ' - PS2='> ' + INVOCATION_ID=b444fcf9c312427283eb1338b45931d0 + 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=3665522 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/tmp.uyFMhJ0sGx/pbuilderrc_rT3F --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.uyFMhJ0sGx/b1 --logfile b1/build.log bsdgames_2.17-28.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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/tmp.uyFMhJ0sGx/pbuilderrc_FwsP --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.uyFMhJ0sGx/b2 --logfile b2/build.log bsdgames_2.17-28.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Nov 23 06:05 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/2429910/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 09:09 more + -rwsr-xr-x 1 root root 55528 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 18664 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Oct 28 07:27 sh -> bash + lrwxrwxrwx 1 root root 4 Oct 22 01:41 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 09:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/3665522/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -281,7 +315,7 @@ Get: 57 http://deb.debian.org/debian bullseye/main amd64 libncurses-dev amd64 6.2+20201114-2 [344 kB] Get: 58 http://deb.debian.org/debian bullseye/main amd64 libncurses5-dev amd64 6.2+20201114-2 [936 B] Get: 59 http://deb.debian.org/debian bullseye/main amd64 wbritish all 2019.10.06-1 [213 kB] -Fetched 27.5 MB in 0s (58.2 MB/s) +Fetched 27.5 MB in 1s (53.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19655 files and directories currently installed.) @@ -543,7 +577,8 @@ fakeroot is already the newest version (1.25.3-1.1). 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-28_source.changes +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-28_source.changes dpkg-buildpackage: info: source package bsdgames dpkg-buildpackage: info: source version 2.17-28 dpkg-buildpackage: info: source distribution unstable @@ -734,7 +769,7 @@ cat /usr/share/dict/american-english /usr/share/dict/british-english | \ sort | uniq > temp-dictionary dh_auto_build - make -j16 + make -j15 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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworms @@ -1013,9 +1048,6 @@ ./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 -fdebug-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 hack/makedefs hack/def.objects.h >hack/hack.onames.h -mv atc/y.tab.c atc/grammar.c -mv atc/y.tab.h atc/grammar.h -touch atc/grammar.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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.worn.c hack/hack.worn.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack @@ -1027,7 +1059,10 @@ ./mkdep hack/hack.unix.c hack/hack.unix.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.u_init.c hack/hack.u_init.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 ./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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack +touch atc/grammar.h ./mkdep hack/hack.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 -fdebug-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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack @@ -1092,16 +1127,6 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/extern.c -o atc/extern.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/grammar.c -o atc/grammar.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/graphics.c -o atc/graphics.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/input.c -o atc/input.o -adventure/io.c: In function 'pspeak': -adventure/io.c:552:17: 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 -fdebug-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:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 74 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ adventure/save.c: In function 'restore': adventure/save.c:175:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fread(&sum, sizeof(sum), 1, in); /* Get the seed */ @@ -1109,6 +1134,10 @@ adventure/save.c:178:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | fread(p->address, p->width, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +adventure/io.c: In function 'pspeak': +adventure/io.c:552:17: warning: variable 'save' set but not used [-Wunused-but-set-variable] + 552 | char *numst, save; + | ^~~~ adventure/init.c: In function 'linkdata': adventure/init.c:158:15: warning: iteration 140 invokes undefined behavior [-Waggressive-loop-optimizations] 158 | if (ltext[i].seekadr != 0 && travel[i] != 0) @@ -1116,29 +1145,35 @@ adventure/init.c:157:2: 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 -fdebug-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 +adventure/main.c: In function 'main': +adventure/main.c:74:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 74 | 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/input.c -o atc/input.o arithmetic/arithmetic.c: In function 'main': arithmetic/arithmetic.c:120:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/tunable.c -o atc/tunable.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/update.c -o atc/update.o +lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] atc/log.c: In function 'log_score': atc/log.c:255:4: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/update.c -o atc/update.o -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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 atc/main.c: In function 'main': atc/main.c:80:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 @@ -1197,11 +1232,14 @@ backgammon/teachgammon/teach.c:70:2: 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 -fdebug-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 backgammon/teachgammon/ttext2.c: In function 'text': backgammon/teachgammon/ttext2.c:133:22: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 54 | if (movokay(mvlim)) { @@ -1209,15 +1247,9 @@ backgammon/common_source/check.c:69:3: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 'newpos': backgammon/common_source/fancy.c:482:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 482 | write(2, "\r\nInternal cursor error.\r\n", 26); @@ -1226,6 +1258,7 @@ backgammon/common_source/fancy.c:733:3: 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 -fdebug-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/save.c: In function 'save': backgammon/common_source/save.c:123:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | write(fdesc, board, sizeof board); @@ -1294,14 +1327,9 @@ backgammon/common_source/save.c:165:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | read(fdesc, &raflag, sizeof raflag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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/backgammon/main.c: In function 'main': -backgammon/backgammon/main.c:472:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - 472 | if (board[i] * cturn) - | ~~~~~~~~~^~~~~~~ -backgammon/backgammon/main.c:103:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 103 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ backgammon/common_source/subs.c: In function 'errexit': backgammon/common_source/subs.c:67:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | write(2, "\n", 1); @@ -1312,22 +1340,23 @@ 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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command2.c -o battlestar/command2.o +backgammon/backgammon/main.c: In function 'main': +backgammon/backgammon/main.c:472:17: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] + 472 | if (board[i] * cturn) + | ~~~~~~~~~^~~~~~~ +backgammon/backgammon/main.c:103:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 103 | 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command3.c -o battlestar/command3.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command4.c -o battlestar/command4.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command5.c -o battlestar/command5.o battlestar/battlestar.c: In function 'main': battlestar/battlestar.c:67:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command5.c -o battlestar/command5.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command6.c -o battlestar/command6.o -battlestar/command2.c: In function 'murder': -battlestar/command2.c:252:7: warning: this statement may fall through [-Wimplicit-fallthrough=] - 252 | if (testbit(location[position].objects, MAN)) { - | ^ -battlestar/command2.c:257:3: note: here - 257 | case -1: - | ^~~~ battlestar/command3.c: In function 'bury': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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/command3.c:134:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 134 | puts("She screams as you wrestle her into the hole."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1340,12 +1369,17 @@ battlestar/command3.c:138:4: 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 -fdebug-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 -fdebug-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 +battlestar/command2.c: In function 'murder': +battlestar/command2.c:252:7: warning: this statement may fall through [-Wimplicit-fallthrough=] + 252 | if (testbit(location[position].objects, MAN)) { + | ^ +battlestar/command2.c:257:3: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 battlestar/cypher.c: In function 'cypher': battlestar/cypher.c:390:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 390 | fgets(buffer, 10, stdin); @@ -1371,6 +1405,7 @@ battlestar/cypher.c:418:5: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 @@ -1382,40 +1417,6 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/words.c -o battlestar/words.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/fgetln.c -o lib/fgetln.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibcd -c bcd/bcd.c -o bcd/bcd.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkindex -Iboggle/boggle -c boggle/mkindex/mkindex.c -o boggle/mkindex/mkindex.o -battlestar/room.c: In function 'truedirec': -battlestar/room.c:124:3: warning: this statement may fall through [-Wimplicit-fallthrough=] - 124 | switch (direction) { - | ^~~~~~ -battlestar/room.c:136:2: note: here - 136 | case SOUTH: - | ^~~~ -battlestar/room.c:137:3: warning: this statement may fall through [-Wimplicit-fallthrough=] - 137 | switch (direction) { - | ^~~~~~ -battlestar/room.c:149:2: note: here - 149 | case EAST: - | ^~~~ -battlestar/room.c:150:3: warning: this statement may fall through [-Wimplicit-fallthrough=] - 150 | switch (direction) { - | ^~~~~~ -battlestar/room.c:162:2: note: here - 162 | case WEST: - | ^~~~ -battlestar/room.c:163:3: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | switch (direction) { - | ^~~~~~ -battlestar/room.c:175:2: note: here - 175 | default: - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -bcd/bcd.c: In function 'main': -bcd/bcd.c:138:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 138 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/save.c: In function 'restore': battlestar/save.c:56:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | fread(&WEIGHT, sizeof WEIGHT, 1, fp); @@ -1510,32 +1511,62 @@ battlestar/save.c:89:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | fread(&power, sizeof power, 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 -fdebug-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 +battlestar/room.c: In function 'truedirec': +battlestar/room.c:124:3: warning: this statement may fall through [-Wimplicit-fallthrough=] + 124 | switch (direction) { + | ^~~~~~ +battlestar/room.c:136:2: note: here + 136 | case SOUTH: + | ^~~~ +battlestar/room.c:137:3: warning: this statement may fall through [-Wimplicit-fallthrough=] + 137 | switch (direction) { + | ^~~~~~ +battlestar/room.c:149:2: note: here + 149 | case EAST: + | ^~~~ +battlestar/room.c:150:3: warning: this statement may fall through [-Wimplicit-fallthrough=] + 150 | switch (direction) { + | ^~~~~~ +battlestar/room.c:162:2: note: here + 162 | case WEST: + | ^~~~ +battlestar/room.c:163:3: warning: this statement may fall through [-Wimplicit-fallthrough=] + 163 | switch (direction) { + | ^~~~~~ +battlestar/room.c:175:2: note: here + 175 | default: + | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +bcd/bcd.c: In function 'main': +bcd/bcd.c:138:2: 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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/word.c -o boggle/boggle/word.o +boggle/boggle/bog.c: In function 'main': +boggle/boggle/bog.c:134:2: 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 -fdebug-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 boggle/boggle/prtable.c: In function 'prtable': boggle/boggle/prtable.c:74:6: warning: variable 'col' set but not used [-Wunused-but-set-variable] 74 | int col, row; | ^~~ -boggle/boggle/bog.c: In function 'main': -boggle/boggle/bog.c:134:2: 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 -fdebug-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 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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icanfield/canfield -c canfield/canfield/canfield.c -o canfield/canfield/canfield.o ./substscr g m canfield/canfield/canfield.6.in canfield/canfield/canfield.6 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -caesar/caesar.c: In function 'main': -caesar/caesar.c:93:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 93 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ canfield/cfscores/cfscores.c: In function 'printuser': canfield/cfscores/cfscores.c:126:17: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 126 | if (pw->pw_uid < 0) { @@ -1546,7 +1577,18 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 +caesar/caesar.c: In function 'main': +caesar/caesar.c:93:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 93 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cribbage/crib.c: In function 'main': +cribbage/crib.c:79:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 79 | 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 -fdebug-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 +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 canfield/canfield/canfield.c: In function 'getcmd': canfield/canfield/canfield.c:1388:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1388 | write(1, "\007", 1); @@ -1563,18 +1605,12 @@ canfield/canfield/canfield.c:1756:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1756 | write(dbfd, (char *)&total, sizeof(total)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./substscr g m cribbage/cribbage.6.in cribbage/cribbage.6 -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 Generating cribbage/cribbage.6 from cribbage/cribbage.6.in -cribbage/crib.c: In function 'main': -cribbage/crib.c:79:2: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 dab/board.cc: In member function 'int BOARD::full() const': dab/board.cc:157:20: warning: cast from type 'const BOARD*' to type 'BOARD*' casts away qualifiers [-Wcast-qual] 157 | BOX box(y, x, (BOARD&) *this); @@ -1583,48 +1619,38 @@ dab/board.cc:176:20: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fish/fish.c: In function 'main': -fish/fish.c:106:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 +fish/fish.c: In function 'main': +fish/fish.c:106:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 106 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gomoku/makemove.c: In function 'update_overlap': gomoku/makemove.c:246:7: 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 -fdebug-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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.Decl.c -o hack/hack.Decl.o -gomoku/main.c: In function 'main': -gomoku/main.c:98:2: 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 -fdebug-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:30: 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 -fdebug-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/main.c: In function 'main': +gomoku/main.c:98:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_name.c -o hack/hack.do_name.o -hack/hack.apply.c: In function 'doapply': -hack/hack.apply.c:107:30: warning: this statement may fall through [-Wimplicit-fallthrough=] - 107 | if (pl_character[0] == 'W' || u.ulevel > 9) { - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -hack/hack.apply.c:112:2: note: here - 112 | case WHISTLE: - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 gomoku/main.c:182:49: 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,7 +1665,14 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __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 -fdebug-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 +hack/hack.apply.c: In function 'doapply': +hack/hack.apply.c:107:30: warning: this statement may fall through [-Wimplicit-fallthrough=] + 107 | if (pl_character[0] == 'W' || u.ulevel > 9) { + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +hack/hack.apply.c:112:2: note: here + 112 | case WHISTLE: + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_name.c -o hack/hack.do_name.o hack/hack.c: In function 'lookaround': hack/hack.c:599:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 599 | if (flags.run != 1) @@ -1647,15 +1680,18 @@ hack/hack.c:602:4: 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 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 hack/hack.do_name.c: In function 'xmonnam': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.eat.c -o hack/hack.eat.o hack/hack.do_name.c:293:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 293 | if (mtmp->isshk) { | ^ hack/hack.do_name.c:298:2: 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 -fdebug-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 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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.dog.c: In function 'dogfood': hack/hack.dog.c:179:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 179 | if (!obj->cursed) @@ -1663,6 +1699,8 @@ hack/hack.dog.c:182:2: 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 -fdebug-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 -fdebug-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 hack/hack.eat.c: In function 'eatcorpse': hack/hack.eat.c:495:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 495 | flags.botl = 1; @@ -1688,25 +1726,16 @@ hack/hack.eat.c:541:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.ioctl.c -o hack/hack.ioctl.o +hack/hack.invent.c: In function 'askchain': +hack/hack.invent.c:682:12: warning: this statement may fall through [-Wimplicit-fallthrough=] + 682 | allflag = 1; + | ~~~~~~~~^~~ +hack/hack.invent.c:683:3: 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 -fdebug-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 -fdebug-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 -hack/hack.end.c: In function 'outentry': -hack/hack.end.c:551:19: 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) : "-"); - | ^~ -In file included from /usr/include/stdio.h:867, - from include/stdio.h:35, - from hack/extern.h:41, - from hack/hack.end.c:73: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 12 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]; @@ -1714,15 +1743,6 @@ 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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mhitu.c -o hack/hack.mhitu.o -hack/hack.invent.c: In function 'askchain': -hack/hack.invent.c:682:12: warning: this statement may fall through [-Wimplicit-fallthrough=] - 682 | allflag = 1; - | ~~~~~~~~^~~ -hack/hack.invent.c:683:3: note: here - 683 | case 'y': - | ^~~~ hack/hack.main.c: In function 'chdirx': hack/hack.main.c:549:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 549 | (void) setuid(getuid()); /* Ron Wessels */ @@ -1730,9 +1750,26 @@ hack/hack.main.c:550:10: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | (void) 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.makemon.c -o hack/hack.makemon.o +hack/hack.end.c: In function 'outentry': +hack/hack.end.c:551:19: 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) : "-"); + | ^~ +In file included from /usr/include/stdio.h:867, + from include/stdio.h:35, + from hack/extern.h:41, + from hack/hack.end.c:73: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 12 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mon.c -o hack/hack.mon.o hack/hack.mkobj.c: In function 'mksobj': hack/hack.mkobj.c:141:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 141 | if (otmp->otyp >= CORPSE) @@ -1740,16 +1777,11 @@ hack/hack.mkobj.c:149:2: note: here 149 | case GEM_SYM: | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mon.c -o hack/hack.mon.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.monst.c -o hack/hack.monst.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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.o_init.c: In function 'restnames': hack/hack.o_init.c:226:24: warning: passing argument 2 of 'mread' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | mread(fd, objects[i].oc_name, len); @@ -1765,7 +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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rip.c -o hack/hack.rip.o hack/hack.objnam.c: In function 'xname': hack/hack.objnam.c:178:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 178 | if (obj->otyp == DEAD_HOMUNCULUS && pl) { @@ -1779,6 +1810,7 @@ hack/hack.objnam.c:197:2: note: here 197 | case ARMOR_SYM: | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 'doname': hack/hack.objnam.c:332:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 332 | if (obj->owornmask & W_ARMOR) @@ -1786,17 +1818,6 @@ hack/hack.objnam.c:335:2: note: here 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 -fdebug-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 -hack/hack.pager.c: In function 'child': -hack/hack.pager.c:467:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 467 | (void) setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -hack/hack.pager.c:468:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 468 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -hack/hack.pager.c:470:10: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 470 | (void) chdir(getenv("HOME")); - | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from include/string.h:35, from hack/hack.h:69, @@ -1810,6 +1831,16 @@ hack/hack.objnam.c:81:22: note: length computed here 81 | int i = strlen(pref); | ^~~~~~~~~~~~ +hack/hack.pager.c: In function 'child': +hack/hack.pager.c:467:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 467 | (void) setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +hack/hack.pager.c:468:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 468 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +hack/hack.pager.c:470:10: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 470 | (void) chdir(getenv("HOME")); + | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from include/string.h:35, from hack/hack.h:69, @@ -1819,11 +1850,10 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 In file included from /usr/include/string.h:495, from include/string.h:35, from hack/hack.h:69, @@ -1838,15 +1868,9 @@ hack/hack.objnam.c:81:22: note: length computed here 81 | int i = strlen(pref); | ^~~~~~~~~~~~ -hack/hack.shk.c: In function 'getprice': -hack/hack.shk.c:912:3: warning: this statement may fall through [-Wimplicit-fallthrough=] - 912 | pline("Strange ..., carrying a chain?"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hack/hack.shk.c:913:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 In file included from /usr/include/string.h:495, from include/string.h:35, from hack/hack.h:69, @@ -1861,6 +1885,17 @@ hack/hack.objnam.c:81:22: note: length computed here 81 | int i = strlen(pref); | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.termcap.c -o hack/hack.termcap.o +hack/hack.shk.c: In function 'getprice': +hack/hack.shk.c:912:3: warning: this statement may fall through [-Wimplicit-fallthrough=] + 912 | pline("Strange ..., carrying a chain?"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hack/hack.shk.c:913:2: 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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 @@ -1870,6 +1905,7 @@ | ^~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 hack/hack.trap.c: In function 'float_down': hack/hack.trap.c:337:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 337 | if (!xdnstair || u.ustuck) @@ -1877,7 +1913,6 @@ hack/hack.trap.c:340:3: 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 -fdebug-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 -fdebug-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 -fdebug-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 hack/hack.vault.c: In function 'restfakecorr': @@ -2022,7 +2057,6 @@ hack/hack.vault.c:287:13: note: in expansion of macro 'EGD' 287 | EGD->fakecorr[i].fy == ny) | ^~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wizard.c -o hack/hack.wizard.o hack/hack.vault.c:115:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2065,12 +2099,9 @@ hack/hack.vault.c:354:6: note: in expansion of macro 'EGD' 354 | if (EGD->gddone) | ^~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/rnd.c -o hack/rnd.o -./substscr g m hack/hack.6.in hack/hack.6 -Generating hack/hack.6 from hack/hack.6.in hack/hack.wizard.c: In function 'inrange': hack/hack.wizard.c:219:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 219 | aggravate(); /* aggravate all the @@ -2078,6 +2109,7 @@ hack/hack.wizard.c:222:5: note: here 222 | case 2: | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 hack/hack.unix.c: In function 'getdate': hack/hack.unix.c:126:31: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 5 [-Wformat-overflow=] 126 | (void) sprintf(datestr, "%02d%02d%02d", @@ -2094,8 +2126,11 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/rnd.c -o hack/rnd.o +./substscr g m hack/hack.6.in hack/hack.6 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/endgame.c -o hangman/endgame.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/extern.c -o hangman/extern.o +Generating hack/hack.6 from hack/hack.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getguess.c -o hangman/getguess.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getword.c -o hangman/getword.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/main.c -o hangman/main.o @@ -2103,12 +2138,12 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prdata.c -o hangman/prdata.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prman.c -o hangman/prman.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prword.c -o hangman/prword.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/setup.c -o hangman/setup.o +./substscr g m hangman/hangman.6.in hangman/hangman.6 hangman/main.c: In function 'main': hangman/main.c:60:2: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/setup.c -o hangman/setup.o -./substscr g m hangman/hangman.6.in hangman/hangman.6 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/hunt -Ihunt/huntd -c hunt/hunt/connect.c -o hunt/hunt/connect.o 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 -fdebug-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 @@ -2116,12 +2151,45 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -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 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/driver.c -o hunt/huntd/driver.o +hunt/hunt/hunt.c: In function 'main': +hunt/hunt/hunt.c:307:8: 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:8: warning: unused parameter 's' [-Wunused-parameter] + 385 | int s; /* socket */ + | ^ +hunt/hunt/hunt.c: In function 'list_drivers': +hunt/hunt/hunt.c:553:45: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] + 553 | 0, (struct sockaddr *) &listv[listc], &namelen) > 0) { + | ^~~~~~~~ + | | + | int * +In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, + from /usr/include/ifaddrs.h:23, + from hunt/hunt/hunt.c:54: +/usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' + 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +hunt/hunt/hunt.c: In function 'main': +hunt/hunt/hunt.c:141:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 141 | 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 -fdebug-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 +hunt/hunt/hunt.c: In function 'dump_scores': +hunt/hunt/hunt.c:678:3: 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:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 852 | (void) write(Socket, "q", 1); + | ^~~~~~~~~~~~~~~~~~~~~ hunt/hunt/connect.c: In function 'do_connect': hunt/hunt/connect.c:53:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | (void) write(Socket, (char *) &uid, LONGLEN); @@ -2141,7 +2209,6 @@ hunt/hunt/connect.c:72:9: 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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/expl.c -o hunt/huntd/expl.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 hunt/huntd/answer.c: In function 'answer': @@ -2156,27 +2223,6 @@ /usr/include/x86_64-linux-gnu/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -hunt/hunt/hunt.c: In function 'main': -hunt/hunt/hunt.c:307:8: 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:8: warning: unused parameter 's' [-Wunused-parameter] - 385 | int s; /* socket */ - | ^ -hunt/hunt/hunt.c: In function 'list_drivers': -hunt/hunt/hunt.c:553:45: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] - 553 | 0, (struct sockaddr *) &listv[listc], &namelen) > 0) { - | ^~~~~~~~ - | | - | int * -In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, - from /usr/include/ifaddrs.h:23, - from hunt/hunt/hunt.c:54: -/usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' - 65 | __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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/faketalk.c -o hunt/huntd/faketalk.o hunt/huntd/answer.c:94:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | (void) write(newsock, (char *) &version, LONGLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2208,11 +2254,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 -fdebug-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 -fdebug-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/hunt.c: In function 'main': -hunt/hunt/hunt.c:141:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 141 | 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 -fdebug-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:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 179 | old_mask = sigblock(sigmask(SIGALRM)); @@ -2234,31 +2278,7 @@ /usr/include/signal.h:173:12: note: declared here 173 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ -hunt/hunt/hunt.c: In function 'dump_scores': -hunt/hunt/hunt.c:678:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 678 | write(fileno(stdout), buf, cnt); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/playit.c: In function 'send_stuff': -hunt/hunt/playit.c:292:10: 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:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 316 | (void) write(Socket, inp, count); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -hunt/hunt/hunt.c: In function 'intr': -hunt/hunt/hunt.c:852:12: 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 -fdebug-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:9: 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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRANDOM -DREFLECT -DMONITOR -DOOZE -DFLY -DVOLCANO -DBOOTS -DOTTO -DINTERNET -DLOG -DBSD_RELEASE=44 -DUSE_CURSES -DSIGNAL_TYPE=void -DHUNTD=\"/usr/sbin/huntd\" -Iinclude -Ihunt/huntd -c hunt/huntd/terminal.c -o hunt/huntd/terminal.o -./substscr g m hunt/huntd/huntd.6.in hunt/huntd/huntd.6 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/comp.c -o mille/comp.o -Generating hunt/huntd/huntd.6 from hunt/huntd/huntd.6.in -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/end.c -o mille/end.o hunt/huntd/driver.c: In function 'main': hunt/huntd/driver.c:150:35: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 150 | 0, (struct sockaddr *) &test, &namelen); @@ -2275,7 +2295,6 @@ hunt/huntd/driver.c:93:8: warning: variable 'port_num' set but not used [-Wunused-but-set-variable] 93 | short port_num, reply; | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 'init': hunt/huntd/driver.c:327:55: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 327 | if (getsockname(Status, (struct sockaddr *) &Daemon, &len) < 0) { @@ -2299,6 +2318,9 @@ /usr/include/x86_64-linux-gnu/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +hunt/hunt/otto.c:225:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 225 | (void) write(Socket, command, comlen); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hunt/huntd/driver.c:399:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 399 | if (getsockname(0, (struct sockaddr *) &test_port, &len) >= 0 | ^~~~ @@ -2313,9 +2335,6 @@ hunt/huntd/driver.c:264:6: warning: variable 'msg' set but not used [-Wunused-but-set-variable] 264 | int msg; | ^~~ -hunt/huntd/makemaze.c:84:1: warning: 'dig' defined but not used [-Wunused-function] - 84 | dig(y, x) - | ^~~ hunt/huntd/driver.c: In function 'zap': hunt/huntd/driver.c:619:6: warning: variable 'savefd' set but not used [-Wunused-but-set-variable] 619 | int savefd; @@ -2333,6 +2352,33 @@ 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ hunt/huntd/driver.c: In function 'init': +hunt/huntd/driver.c:285:9: 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 */ + | ^~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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:10: 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:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 316 | (void) write(Socket, inp, count); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +hunt/huntd/makemaze.c:84:1: warning: 'dig' defined but not used [-Wunused-function] + 84 | dig(y, x) + | ^~~ +./substscr g m hunt/huntd/huntd.6.in hunt/huntd/huntd.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +Generating hunt/huntd/huntd.6 from hunt/huntd/huntd.6.in +In file included from /usr/include/string.h:495, + from include/string.h:35, + from hunt/huntd/hunt.h:38, + from hunt/huntd/answer.c:44: +In function 'strncpy', + inlined from 'get_ident' at hunt/huntd/answer.c:411:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hunt/huntd/shots.c: In function 'move_normal_shot': hunt/huntd/shots.c:331:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 331 | if (rand_num(100) < 5) { @@ -2340,9 +2386,6 @@ hunt/huntd/shots.c:354:5: note: here 354 | case WALL1: | ^~~~ -hunt/huntd/driver.c:285:9: 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 'save_bullet': hunt/huntd/shots.c:552:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 552 | mark_boot(bp); @@ -2350,16 +2393,8 @@ hunt/huntd/shots.c:555:4: 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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -In file included from /usr/include/string.h:495, - from include/string.h:35, - from hunt/huntd/hunt.h:38, - from hunt/huntd/answer.c:44: -In function 'strncpy', - inlined from 'get_ident' at hunt/huntd/answer.c:411:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mille/comp.c: In function 'calcmove': mille/comp.c:98:5: warning: increment of a boolean expression [-Wbool-operation] 98 | ++cango; @@ -2373,7 +2408,6 @@ mille/comp.c:220:6: note: here 220 | case C_75: case C_100: | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 mille/comp.c: In function 'onecard': mille/comp.c:427:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 427 | if (spd == C_LIMIT) @@ -2381,26 +2415,57 @@ mille/comp.c:429:5: note: here 429 | case 50: | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 +In file included from /usr/include/string.h:495, + from include/string.h:35, + from hunt/hunt/hunt.c:48: +In function 'strncpy', + inlined from 'env_init' at hunt/hunt/hunt.c:1098:5: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'env_init' at hunt/hunt/hunt.c:1033:5: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'env_init' at hunt/hunt/hunt.c:1029:6: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 +In function 'strncpy', + inlined from 'main' at hunt/hunt/hunt.c:148:11: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mille/misc.c: In function 'error': mille/misc.c:65:2: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 65 | vwprintw(Score, str, ap); | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 In file included from mille/mille.h:40, from mille/misc.c:46: /usr/include/curses.h:776:28: note: declared here 776 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list) GCC_DEPRECATED(use vw_printw); /* implemented */ | ^~~~~~~~ +mille/misc.c: In function 'getcard': +mille/misc.c:115:6: 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 -fdebug-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 mille/move.c: In function 'playcard': mille/move.c:229:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | if (pp->nummiles[C_200] == 2) @@ -2420,33 +2485,6 @@ mille/move.c:237:4: note: here 237 | case C_25: | ^~~~ -mille/misc.c: In function 'getcard': -mille/misc.c:115:6: 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 -fdebug-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 -fdebug-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 -In file included from /usr/include/string.h:495, - from include/string.h:35, - from hunt/hunt/hunt.c:48: -In function 'strncpy', - inlined from 'env_init' at hunt/hunt/hunt.c:1098:5: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'env_init' at hunt/hunt/hunt.c:1033:5: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strncpy', - inlined from 'env_init' at hunt/hunt/hunt.c:1029:6: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 monop/cards.c: In function 'get_card': monop/cards.c:138:17: warning: operation on 'dp->last_card' may be undefined [-Wsequence-point] 138 | dp->last_card = ++(dp->last_card) % dp->num_cards; @@ -2462,14 +2500,15 @@ monop/execute.c:262:3: 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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -In function 'strncpy', - inlined from 'main' at hunt/hunt/hunt.c:148:11: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 20 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/print.c -o monop/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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/prop.c -o monop/prop.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/rent.c -o monop/rent.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 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] @@ -2600,7 +2639,6 @@ monop/monop.h:80:6: note: 'cost' declared here 80 | int cost; /* cost */ | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/print.c -o monop/print.o In file included from monop/monop.def:117, from monop/monop.c:50: monop/brd.dat:53:1: warning: missing initializer for field 'desc' of 'SQUARE' {aka 'struct sqr_st'} [-Wmissing-field-initializers] @@ -2685,9 +2723,6 @@ monop/monop.c:68:2: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/prop.c -o monop/prop.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/rent.c -o monop/rent.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 @@ -2699,26 +2734,20 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 morse/morse.c: In function 'main': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 morse/morse.c:130:2: 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 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -pig/pig.c: In function 'main': -pig/pig.c:69:2: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pattern.c -o primes/pattern.o phantasia/fight.c: In function 'callmonster': phantasia/fight.c:846:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 846 | fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp); @@ -2739,11 +2768,23 @@ phantasia/fight.c:1302:5: 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 -fdebug-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:3: 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:5: 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:5: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pattern.c -o primes/pattern.o phantasia/misc.c: In function 'death': phantasia/misc.c:644:8: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 644 | fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pr_tbl.c -o primes/pr_tbl.o phantasia/misc.c: In function 'altercoordinates': phantasia/misc.c:727:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 727 | ynew = Player.p_y - ROLL(1.0, 5.0); @@ -2758,6 +2799,18 @@ phantasia/misc.c:1067:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1067 | fread((char *) &dtemp, sizeof(double), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pig/pig.c: In function 'main': +pig/pig.c:69:2: 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 -fdebug-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 -fdebug-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 +ppt/ppt.c: In function 'main': +ppt/ppt.c:76:2: 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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/spsp.c -o primes/spsp.o +./substscr g n quiz/datfiles/index.in quiz/datfiles/index phantasia/main.c: In function 'main': phantasia/main.c:92:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | cleanup(TRUE); @@ -2790,38 +2843,18 @@ phantasia/main.c:525:2: note: here 525 | case '6': /* cloak */ | ^~~~ +Generating quiz/datfiles/index from quiz/datfiles/index.in pom/pom.c: In function 'main': pom/pom.c:104:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ppt/ppt.c: In function 'main': -ppt/ppt.c:76:2: 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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -phantasia/interplayer.c: In function 'throneroom': -phantasia/interplayer.c:649:3: 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:5: 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:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 771 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./substscr g n quiz/datfiles/index.in quiz/datfiles/index x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iquiz -c quiz/rxp.c -o quiz/rxp.o ./substscr g m quiz/quiz.6.in quiz/quiz.6 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 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 -fdebug-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 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 'main': quiz/quiz.c:88:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | setregid(getgid(), getgid()); @@ -2833,7 +2866,8 @@ quiz/quiz.c:328:3: 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 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 random/random.c: In function 'main': random/random.c:76:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | setregid(getgid(), getgid()); @@ -2842,6 +2876,7 @@ rain/rain.c:80:2: 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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 @@ -2849,23 +2884,16 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 robots/main.c: In function 'main': robots/main.c:71:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 71 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/assorted.c -o sail/assorted.o +Generating robots/robots.6 from robots/robots.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 robots/score.c: In function 'read_score': robots/score.c:68:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | read(inf, Top, sizeof Top); @@ -2877,12 +2905,42 @@ robots/score.c:105:2: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 +In file included from /usr/include/string.h:495, + from include/string.h:35, + from robots/robots.h:45, + from robots/score.c:41: +In function 'strncpy', + inlined from 'set_name' at robots/score.c:200:2, + inlined from 'score' at robots/score.c:140:5: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strncpy', + inlined from 'set_name' at robots/score.c:200:2, + inlined from 'score' at robots/score.c:149:4: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 +In function 'strncpy', + inlined from 'set_name' at robots/score.c:200:2: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 +sail/main.c: In function 'main': +sail/main.c:65:2: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 65 | setegid(gid); + | ^~~~~~~~~~~~ sail/dr_2.c: In function 'try.constprop.isra': sail/dr_2.c:238:17: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 238 | sprintf(st, "%d", n); @@ -2898,27 +2956,11 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from include/string.h:35, - from robots/robots.h:45, - from robots/score.c:41: -In function 'strncpy', - inlined from 'set_name' at robots/score.c:200:2, - inlined from 'score' at robots/score.c:140:5: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sail/main.c: In function 'main': -In function 'strncpy', - inlined from 'set_name' at robots/score.c:200:2, - inlined from 'score' at robots/score.c:149:4: -sail/main.c:65:2: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 65 | setegid(gid); - | ^~~~~~~~~~~~ -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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:2: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | setegid(egid); @@ -2929,13 +2971,6 @@ sail/misc.c:211:2: 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 -fdebug-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 -In function 'strncpy', - inlined from 'set_name' at robots/score.c:200:2: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 @@ -2948,6 +2983,18 @@ | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 88 | scanf("%d", &game); + | ^~~~~~~~~~~~~~~~~~ +sail/pl_main.c:208:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 208 | fgets(captain, sizeof captain, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sail/pl_main.c:222:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 222 | scanf("%9s", buf); + | ^~~~~~~~~~~~~~~~~ sail/pl_7.c: In function 'Signal': sail/pl_7.c:183:2: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 183 | vwprintw(scroll_w, format, ap); @@ -2964,18 +3011,8 @@ /usr/include/curses.h:776:28: note: declared here 776 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list) GCC_DEPRECATED(use vw_printw); /* implemented */ | ^~~~~~~~ -sail/pl_main.c: In function 'initialize': -sail/pl_main.c:88:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 88 | scanf("%d", &game); - | ^~~~~~~~~~~~~~~~~~ -sail/pl_main.c:208:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | fgets(captain, sizeof captain, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sail/pl_main.c:222:3: 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 -fdebug-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 -fdebug-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 sail/sync.c: In function 'sync_exists': sail/sync.c:130:2: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | setegid(egid); @@ -3003,8 +3040,6 @@ sail/sync.c:177:3: 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 -fdebug-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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 @@ -3016,24 +3051,10 @@ 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 -fdebug-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:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 86 | int *o = shape->off; - | ^~~~~ -tetris/shapes.c: In function 'place': -tetris/shapes.c:103:11: 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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/attack.c -o trek/attack.o -tetris/tetris.c: In function 'main': -tetris/tetris.c:141:2: 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 -fdebug-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 -fdebug-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 +Generating tetris/tetris.6 from tetris/tetris.6.in tetris/scores.c: In function 'getscores': tetris/scores.c:113:2: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | setegid(egid); @@ -3044,8 +3065,18 @@ tetris/scores.c:128:2: 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 -fdebug-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 -fdebug-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 +tetris/shapes.c: In function 'fits_in': +tetris/shapes.c:86:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 86 | int *o = shape->off; + | ^~~~~ +tetris/shapes.c: In function 'place': +tetris/shapes.c:103:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 103 | int *o = shape->off; + | ^~~~~ +tetris/tetris.c: In function 'main': +tetris/tetris.c:141:2: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 141 | setegid(gid); + | ^~~~~~~~~~~~ snake/snake/snake.c: In function 'main': snake/snake/snake.c:162:2: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | setregid(getgid(), getgid()); @@ -3069,8 +3100,11 @@ snake/snake/snake.c:562:3: 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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 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", | ^~ @@ -3085,8 +3119,21 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __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 -fdebug-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 -fdebug-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 -fdebug-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 +tetris/scores.c: In function 'showscores': +tetris/scores.c:440:20: warning: '%-11s' directive output may be truncated writing between 11 and 3239 bytes into a region of size between 75 and 87 [-Wformat-truncation=] + 440 | "%3d%c %6d %-11s (%6d on %d)", + | ^~~~~ +In file included from /usr/include/stdio.h:867, + from include/stdio.h:35, + from tetris/scores.c:48: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 3294 bytes into a destination of size 100 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __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 -fdebug-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 -fdebug-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 -fdebug-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 @@ -3113,6 +3160,11 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 trek/getpar.c: In function 'getcodpar': trek/getpar.c:143:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | scanf("%*[ \t;]"); @@ -3121,23 +3173,6 @@ trek/getpar.c:222:3: 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 -fdebug-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 -fdebug-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 -tetris/scores.c: In function 'showscores': -tetris/scores.c:440:20: warning: '%-11s' directive output may be truncated writing between 11 and 3239 bytes into a region of size between 75 and 87 [-Wformat-truncation=] - 440 | "%3d%c %6d %-11s (%6d on %d)", - | ^~~~~ -In file included from /usr/include/stdio.h:867, - from include/stdio.h:35, - from tetris/scores.c:48: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 3294 bytes into a destination of size 100 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 -fdebug-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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/bsdgames-2.17=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/play.c -o trek/play.o @@ -3172,35 +3207,35 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 ./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 -fdebug-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 from wtf/wtf.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -fdebug-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 worm/worm.c: In function 'main': worm/worm.c:102:2: 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 worms/worms.c: In function 'main': worms/worms.c:202:2: 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 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 +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 wump/wump.c: In function 'shoot': wump/wump.c:509:37: 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 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 wump/wump.c: In function 'main': wump/wump.c:148:2: 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 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 +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 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 @@ -3252,7 +3287,7 @@ troff: :312: environment stack underflow make[1]: Leaving directory '/build/bsdgames-2.17' dh_auto_test - make -j16 test VERBOSE=1 + make -j15 test 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 @@ -3367,7 +3402,7 @@ dh_prep dh_installdirs dh_auto_install - make -j16 install DESTDIR=/build/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no + make -j15 install DESTDIR=/build/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/bsdgames-2.17' set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/bsdgames-2.17/debian/bsdgames$d; done @@ -3436,157 +3471,157 @@ install -c -m 0755 boggle/boggle/boggle /build/bsdgames-2.17/debian/bsdgames/usr/games/boggle install -c -m 0755 caesar/caesar /build/bsdgames-2.17/debian/bsdgames/usr/games/caesar install -c -m 0755 canfield/cfscores/cfscores /build/bsdgames-2.17/debian/bsdgames/usr/games/cfscores -: adventure : arithmetic -install -c -m 0755 canfield/canfield/canfield /build/bsdgames-2.17/debian/bsdgames/usr/games/canfield -install -c -m 0755 countmail/countmail /build/bsdgames-2.17/debian/bsdgames/usr/games/countmail +: adventure : atc : teachgammon +: bcd : backgammon : battlestar -: bcd -install -c -m 0755 cribbage/cribbage /build/bsdgames-2.17/debian/bsdgames/usr/games/cribbage -/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-man arithmetic/arithmetic.6 +install -c -m 0755 canfield/canfield/canfield /build/bsdgames-2.17/debian/bsdgames/usr/games/canfield +install -c -m 0755 countmail/countmail /build/bsdgames-2.17/debian/bsdgames/usr/games/countmail : boggle : caesar : cfscores -install -c -m 0755 fish/fish /build/bsdgames-2.17/debian/bsdgames/usr/games/go-fish +install -c -m 0755 cribbage/cribbage /build/bsdgames-2.17/debian/bsdgames/usr/games/cribbage +install -c -m 0755 dab/dab /build/bsdgames-2.17/debian/bsdgames/usr/games/dab +: canfield +: countmail +: cribbage +/build/bsdgames-2.17/install-man arithmetic/arithmetic.6 +/build/bsdgames-2.17/install-man adventure/adventure.6 /build/bsdgames-2.17/install-score /var/games/bsdgames/atc_score /build/bsdgames-2.17/install-man backgammon.6 teachgammon.6 +/build/bsdgames-2.17/install-man bcd/bcd.6 /build/bsdgames-2.17/install-man backgammon/backgammon/backgammon.6 -: canfield +: dab /build/bsdgames-2.17/install-man battlestar/battlestar.6 -: countmail -/build/bsdgames-2.17/install-man bcd/bcd.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 +/build/bsdgames-2.17/install-man boggle/boggle/boggle.6 /build/bsdgames-2.17/install-man canfield.6 cfscores.6 -: cribbage -: dab /build/bsdgames-2.17/install-man canfield/canfield/canfield.6 -: go-fish /build/bsdgames-2.17/install-man countmail/countmail.6 -install -c -m 0755 gomoku/gomoku /build/bsdgames-2.17/debian/bsdgames/usr/games/gomoku install -c -m 0644 cribbage/cribbage.n /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/cribbage.instr -/build/bsdgames-2.17/install-man dab/dab.6 : rot13 +/build/bsdgames-2.17/install-man dab/dab.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/criblog +/build/bsdgames-2.17/install-man caesar/caesar.6 +install -c -m 0755 fish/fish /build/bsdgames-2.17/debian/bsdgames/usr/games/go-fish +install -c -m 0755 gomoku/gomoku /build/bsdgames-2.17/debian/bsdgames/usr/games/gomoku +: go-fish +: gomoku install -c -m 0755 hack/hack /build/bsdgames-2.17/debian/bsdgames/usr/games/hack -install -c -m 0644 fish/fish.instr /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr install -c -m 0755 hangman/hangman /build/bsdgames-2.17/debian/bsdgames/usr/games/hangman -: gomoku +install -c -m 0644 fish/fish.instr /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr install -c -m 0755 hunt/hunt/hunt /build/bsdgames-2.17/debian/bsdgames/usr/games/hunt -/build/bsdgames-2.17/install-man caesar/caesar.6 -/build/bsdgames-2.17/install-score /var/games/bsdgames/criblog install -c -m 0755 hunt/huntd/huntd /build/bsdgames-2.17/debian/bsdgames/usr/sbin/huntd -: hack -ln -sf fish.6 fish/go-fish.6 # hack for rename /build/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log -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-man gomoku/gomoku.6 install -c -m 0644 boggle/boggle/helpfile /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/helpfile +: hack +/build/bsdgames-2.17/install-man gomoku/gomoku.6 : hangman +ln -sf fish.6 fish/go-fish.6 # hack for rename : hunt +/build/bsdgames-2.17/install-man hunt/huntd/huntd.6 +install -c -m 0755 mille/mille /build/bsdgames-2.17/debian/bsdgames/usr/games/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 /build/bsdgames-2.17/install-score /var/games/bsdgames/cfscores +/build/bsdgames-2.17/install-man atc/atc.6 install -d -m 0755 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/hack -install -c -m 0755 monop/monop /build/bsdgames-2.17/debian/bsdgames/usr/games/monop -/build/bsdgames-2.17/install-man hunt/huntd/huntd.6 -install -d /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack -/build/bsdgames-2.17/install-man fish/go-fish.6 : mille +: monop +: morse /build/bsdgames-2.17/install-man hangman/hangman.6 -install -c -m 0755 morse/morse /build/bsdgames-2.17/debian/bsdgames/usr/games/morse /build/bsdgames-2.17/install-man hunt/hunt/hunt.6 +install -d /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack set -e; for f in data help hh rumors; do install -c -m 0644 hack/$f /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack/$f; done -install -c -m 0755 number/number /build/bsdgames-2.17/debian/bsdgames/usr/games/number -: monop -/build/bsdgames-2.17/install-man mille/mille.6 /build/bsdgames-2.17/install-man caesar.6 rot13.6 -: morse -: number +/build/bsdgames-2.17/install-man fish/go-fish.6 +/build/bsdgames-2.17/install-man mille/mille.6 /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 cribbage/cribbage.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 install -c -m 0755 pig/pig /build/bsdgames-2.17/debian/bsdgames/usr/games/pig +: number +: phantasia install -c -m 0755 pom/pom /build/bsdgames-2.17/debian/bsdgames/usr/games/pom +: pig install -c -m 0755 ppt/ppt /build/bsdgames-2.17/debian/bsdgames/usr/games/ppt -/build/bsdgames-2.17/install-man bcd.6 morse.6 -/build/bsdgames-2.17/install-man number/number.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 -rm -f fish/go-fish.6 -: phantasia -install -c -m 0755 quiz/quiz /build/bsdgames-2.17/debian/bsdgames/usr/games/quiz -: pig -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 : pom +install -c -m 0755 quiz/quiz /build/bsdgames-2.17/debian/bsdgames/usr/games/quiz : ppt -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 -: primes +/build/bsdgames-2.17/install-man number/number.6 (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) +: primes /build/bsdgames-2.17/install-man pig/pig.6 +install -c -m 0755 rain/rain /build/bsdgames-2.17/debian/bsdgames/usr/games/rain +rm -f fish/go-fish.6 +install -c -m 0755 random/random /build/bsdgames-2.17/debian/bsdgames/usr/games/random : quiz -/build/bsdgames-2.17/install-man pom/pom.6 +install -c -m 0755 robots/robots /build/bsdgames-2.17/debian/bsdgames/usr/games/robots +install -c -m 0644 monop/cards.pck /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/monop-cards.pck +install -c -m 0755 sail/sail /build/bsdgames-2.17/debian/bsdgames/usr/games/sail : rain +/build/bsdgames-2.17/install-man pom/pom.6 /build/bsdgames-2.17/install-man bcd.6 ppt.6 -install -c -m 0644 monop/cards.pck /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/monop-cards.pck : random -install -c -m 0755 snake/snscore/snscore /build/bsdgames-2.17/debian/bsdgames/usr/games/snscore -/build/bsdgames-2.17/install-man primes/primes.6 +/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm : robots +/build/bsdgames-2.17/install-man primes/primes.6 +install -c -m 0755 snake/snscore/snscore /build/bsdgames-2.17/debian/bsdgames/usr/games/snscore : sail /build/bsdgames-2.17/install-man quiz/quiz.6 -install -c -m 0755 snake/snake/snake /build/bsdgames-2.17/debian/bsdgames/usr/games/snake /build/bsdgames-2.17/install-man rain/rain.6 +: snscore /build/bsdgames-2.17/install-man random/random.6 /build/bsdgames-2.17/install-score /var/games/bsdgames/robots_roll -install -c -m 0755 tetris/tetris /build/bsdgames-2.17/debian/bsdgames/usr/games/tetris-bsd -install -c -m 0755 trek/trek /build/bsdgames-2.17/debian/bsdgames/usr/games/trek /build/bsdgames-2.17/install-score /var/games/bsdgames/saillog -: snscore -/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm -: snake /build/bsdgames-2.17/install-man snake.6 snscore.6 -install -c -m 0755 wargames/wargames /build/bsdgames-2.17/debian/bsdgames/usr/games/wargames +install -c -m 0755 snake/snake/snake /build/bsdgames-2.17/debian/bsdgames/usr/games/snake +install -c -m 0755 tetris/tetris /build/bsdgames-2.17/debian/bsdgames/usr/games/tetris-bsd +: snake +install -c -m 0755 trek/trek /build/bsdgames-2.17/debian/bsdgames/usr/games/trek : tetris-bsd : trek -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 wargames/wargames /build/bsdgames-2.17/debian/bsdgames/usr/games/wargames +install -c -m 0755 worm/worm /build/bsdgames-2.17/debian/bsdgames/usr/games/worm install -c -m 0755 worms/worms /build/bsdgames-2.17/debian/bsdgames/usr/games/worms -/build/bsdgames-2.17/install-score /var/games/bsdgames/tetris-bsd.scores -/build/bsdgames-2.17/install-man trek/trek.6 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-score /var/games/bsdgames/tetris-bsd.scores : wargames : worm +/build/bsdgames-2.17/install-man trek/trek.6 +install -c -m 0755 wump/wump /build/bsdgames-2.17/debian/bsdgames/usr/games/wump : worms -/build/bsdgames-2.17/install-man wargames/wargames.6 -/build/bsdgames-2.17/install-man robots/robots.6 -install -d -m 0750 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/sail : wtf +/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/record : wump +/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 -/build/bsdgames-2.17/install-score /var/games/bsdgames/hack/record /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 -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 trek/USD.doc/trek.me /build/bsdgames-2.17/debian/bsdgames/usr/share/doc/bsdgames/trek.me -ln -f tetris/tetris.6 tetris/tetris-bsd.6 -/build/bsdgames-2.17/install-man tetris/tetris-bsd.6 +/build/bsdgames-2.17/install-man robots/robots.6 install -c -m 0644 wtf/acronyms.comp /build/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms.comp +install -d -m 0750 /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/sail +/build/bsdgames-2.17/install-man sail/sail.6 /build/bsdgames-2.17/install-man wump/wump.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-score /var/games/bsdgames/snakerawscores +ln -f tetris/tetris.6 tetris/tetris-bsd.6 +/build/bsdgames-2.17/install-man tetris/tetris-bsd.6 /build/bsdgames-2.17/install-man hack/hack.6 -/build/bsdgames-2.17/install-man snake/snake/snake.6 rm -f tetris/tetris-bsd.6 +/build/bsdgames-2.17/install-man snake/snake/snake.6 (set -e; for f in scoreboard characs; do \ if [ ! -e /var/games/bsdgames/phantasia/$f ]; then \ cp phantasia/$f /build/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/phantasia/$f; fi; done; \ @@ -3684,12 +3719,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/3665522/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3665522/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/2429910 and its subdirectories -I: Current time: Tue Nov 29 11:50:17 -12 2022 -I: pbuilder-time-stamp: 1669765817 +I: removing directory /srv/workspace/pbuilder/3665522 and its subdirectories +I: Current time: Thu Oct 28 07:28:14 +14 2021 +I: pbuilder-time-stamp: 1635355694