Diff of the two buildlogs: -- --- b1/build.log 2025-03-06 13:36:46.519013628 +0000 +++ b2/build.log 2025-03-06 13:40:35.584677434 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Mar 6 01:29:19 -12 2025 -I: pbuilder-time-stamp: 1741267759 +I: Current time: Thu Apr 9 09:59:49 +14 2026 +I: pbuilder-time-stamp: 1775678389 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -33,52 +33,84 @@ dpkg-source: info: applying 0021-fix-kfreebsd-ftbfs.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3584864/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2527695/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 8 20:00 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2527695/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2527695/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ed94bdbe394d4c7f9e42383d7aba1e53' - 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='3584864' - PS1='# ' - PS2='> ' + INVOCATION_ID=e259f9cc5c124869b6f33e7f50c2b26e + 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=2527695 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.BBefmZvO/pbuilderrc_JlP9 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.BBefmZvO/b1 --logfile b1/build.log nethack_3.6.7-1.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://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.BBefmZvO/pbuilderrc_yEJT --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.BBefmZvO/b2 --logfile b2/build.log nethack_3.6.7-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3584864/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2527695/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -384,7 +416,7 @@ Get: 237 http://deb.debian.org/debian unstable/main amd64 qtmultimedia5-dev amd64 5.15.15-2 [46.0 kB] Get: 238 http://deb.debian.org/debian unstable/main amd64 xfonts-encodings all 1:1.0.4-2.2 [577 kB] Get: 239 http://deb.debian.org/debian unstable/main amd64 xfonts-utils amd64 1:7.7+7 [93.3 kB] -Fetched 129 MB in 4s (36.0 MB/s) +Fetched 129 MB in 1s (88.1 MB/s) Preconfiguring packages ... Selecting previously unselected package m4. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19783 files and directories currently installed.) @@ -1164,8 +1196,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Mar 6 13:31:56 UTC 2025. -Universal Time is now: Thu Mar 6 13:31:56 UTC 2025. +Local time is now: Wed Apr 8 20:01:18 UTC 2026. +Universal Time is now: Wed Apr 8 20:01:18 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libcap2-bin (1:2.73-4) ... @@ -1378,7 +1410,11 @@ fakeroot is already the newest version (1.37-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/nethack-3.6.7/ && 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 > ../nethack_3.6.7-1_source.changes +I: user script /srv/workspace/pbuilder/2527695/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2527695/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/nethack-3.6.7/ && 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 > ../nethack_3.6.7-1_source.changes dpkg-buildpackage: info: source package nethack dpkg-buildpackage: info: source version 3.6.7-1 dpkg-buildpackage: info: source distribution unstable @@ -1440,11 +1476,11 @@ /usr/bin/make LFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS' WINSRC='$(WINTTYSRC) $(WINCURSESSRC)' WINOBJ='$(WINTTYOBJ) $(WINCURSESOBJ)' WINLIB='-lcurses' LINK='$(CC)' GAME='nethack-console' -C src 'nethack-console' make[2]: Entering directory '/build/reproducible-path/nethack-3.6.7/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o alloc.o alloc.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dlb.o dlb.c make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' ./makedefs -o -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dlb.o dlb.c -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o isaac64.o isaac64.c +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' ./makedefs -p @@ -1452,13 +1488,13 @@ touch ../src/hack.h-t cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o allmain.o allmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o apply.o apply.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o artifact.o artifact.c make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' ./makedefs -z -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o artifact.o artifact.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o bones.o bones.c +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cmd.o cmd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dbridge.o dbridge.c @@ -1471,17 +1507,70 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_wear.o do_wear.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dog.o dog.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dogmove.o dogmove.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dokick.o dokick.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dothrow.o dothrow.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o drawing.o drawing.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dungeon.o dungeon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o eat.o eat.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o end.o end.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o engrave.o engrave.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o exper.o exper.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o explode.o explode.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o extralev.o extralev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o files.o files.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o fountain.o fountain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hack.o hack.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hacklib.o hacklib.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o invent.o invent.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o light.o light.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o lock.o lock.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mail.o mail.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o makemon.o makemon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mapglyph.o mapglyph.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mcastu.o mcastu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitm.o mhitm.c botl.c: In function 'parse_status_hl2': +files.c: In function 'save_savefile_name': +files.c:982:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 982 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:2069:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2069 | while (s[sidx]) { | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dokick.o dokick.c +files.c: In function 'docompress_file': +files.c:1400:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1400 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1401 | (void) setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitu.o mhitu.c botl.c: In function 'parse_condition': botl.c:2488:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2488 | while(s[sidx]) { | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dothrow.o dothrow.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o drawing.o drawing.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o minion.o minion.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mklev.o mklev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkmap.o mkmap.c +explode.c: In function 'explode': +explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] + 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), + | ^~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from explode.c:5: +In function 'sprintf', + inlined from 'explode' at explode.c:539:21: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkmaze.o mkmaze.c dogmove.c: In function 'droppables': dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] 120 | } @@ -1493,14 +1582,14 @@ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkobj.o mkobj.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkroom.o mkroom.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mon.o mon.c cmd.c: In function 'attributes_enlightenment': cmd.c:2727:20: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 2727 | (void) strncpy(buf, " if not for ", 12); | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dungeon.o dungeon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o eat.o eat.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o end.o end.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o engrave.o engrave.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mondata.o mondata.c do_name.c: In function 'getpos_menu': do_name.c:605:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 605 | Sprintf(fullbuf, "%s%s%s", firstmatch, @@ -1519,7 +1608,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o exper.o exper.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o monmove.o monmove.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mplayer.o mplayer.c botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2793 | Sprintf(condbuf, "condition/%s/%s", @@ -1568,21 +1658,61 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o explode.o explode.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o extralev.o extralev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o files.o files.c -files.c: In function 'save_savefile_name': -files.c:982:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 982 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -files.c: In function 'docompress_file': -files.c:1400:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1400 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1401 | (void) setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o fountain.o fountain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mthrowu.o mthrowu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o muse.o muse.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o music.o music.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o o_init.o o_init.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o objnam.o objnam.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o options.o options.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pager.o pager.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pickup.o pickup.c +engrave.c: In function 'doengrave': +engrave.c:1154:12: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 1154 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pline.o pline.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o polyself.o polyself.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o potion.o potion.c +hacklib.c: In function 'yyyymmddhhmmss': +hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~ +hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from hacklib.c:7: +In function 'sprintf', + inlined from 'yyyymmddhhmmss' at hacklib.c:1031:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pray.o pray.c +pline.c: In function 'vpline': +pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] + 129 | int vlen = 0; + | ^~~~ +pline.c: In function 'vconfig_error_add': +pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] + 598 | int vlen = 0; + | ^~~~ +pline.c: In function 'vpline': +pline.c:162:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); + | ^ +pager.c: In function 'checkfile.constprop': +pager.c:659:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 659 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o priest.o priest.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o quest.o quest.c cmd.c: In function 'enlght_halfdmg': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1602,6 +1732,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o questpgr.o questpgr.c cmd.c: In function 'one_characteristic': cmd.c:1653:22: warning: '%s' directive writing between 3 and 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1616,33 +1747,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -explode.c: In function 'explode': -explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] - 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), - | ^~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from explode.c:5: -In function 'sprintf', - inlined from 'explode' at explode.c:539:21: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -engrave.c: In function 'doengrave': -engrave.c:1154:12: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] - 1154 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hack.o hack.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hacklib.o hacklib.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o invent.o invent.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o light.o light.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o lock.o lock.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o read.o read.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rect.o rect.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o region.o region.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o restore.o restore.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rip.o rip.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rnd.o rnd.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o role.o role.c botl.c: In function 'status_hilite_menu_add': botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 3385 | Sprintf(obuf, "%s or %s", @@ -1656,11 +1767,66 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mail.o mail.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o makemon.o makemon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mapglyph.o mapglyph.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mcastu.o mcastu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitm.o mhitm.c +restore.c: In function 'get_plname_from_file': +restore.c:1214:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 1214 | (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +restore.c:1215:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 1215 | (void) read(fd, (genericptr_t) plbuf, pltmpsiz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rumors.o rumors.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o save.o save.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shk.o shk.c +save.c: In function 'savestateinlock': +save.c:401:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 401 | (void) read(fd, (genericptr_t) &hpid, sizeof hpid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:418:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 418 | (void) write(fd, (genericptr_t) &hackpid, sizeof hackpid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:422:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 422 | (void) write(fd, (genericptr_t) &currlev, sizeof currlev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shknam.o shknam.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sit.o sit.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sounds.o sounds.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o spell.o spell.c +objnam.c: In function 'mshot_xname': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'mshot_xname' at objnam.c:822:15: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sys.o sys.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steal.o steal.c +objnam.c: In function 'doname_base': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'doname_base' at objnam.c:1303:10: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steed.o steed.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o teleport.o teleport.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o timeout.o timeout.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topten.o topten.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o track.o track.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o trap.o trap.c +sounds.c: In function 'domonnoise': +sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds=] + 622 | verbl_msg = vampmsg[vampindex]; + | ~~~~~~~^~~~~~~~~~~ +sounds.c:592:38: note: while referencing 'vampmsg' + 592 | static const char *const vampmsg[] = { + | ^~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o u_init.o u_init.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o uhitm.o uhitm.c cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1796,181 +1962,17 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitu.o mhitu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o minion.o minion.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mklev.o mklev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkmap.o mkmap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkmaze.o mkmaze.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkobj.o mkobj.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkroom.o mkroom.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mon.o mon.c -hacklib.c: In function 'yyyymmddhhmmss': -hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~ -hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from hacklib.c:7: -In function 'sprintf', - inlined from 'yyyymmddhhmmss' at hacklib.c:1031:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mondata.o mondata.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o monmove.o monmove.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mplayer.o mplayer.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mthrowu.o mthrowu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o muse.o muse.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o music.o music.c -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3278:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3288:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3297:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3305:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3313:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3341:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3341:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o o_init.o o_init.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o objnam.o objnam.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o options.o options.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pager.o pager.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pickup.o pickup.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pline.o pline.c -pline.c: In function 'vpline': -pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] - 129 | int vlen = 0; - | ^~~~ -pline.c: In function 'vconfig_error_add': -pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] - 598 | int vlen = 0; - | ^~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o polyself.o polyself.c -pline.c: In function 'vpline': -pline.c:162:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); - | ^ -pager.c: In function 'checkfile.constprop': -pager.c:659:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 659 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o potion.o potion.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pray.o pray.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o priest.o priest.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o quest.o quest.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o questpgr.o questpgr.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o read.o read.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rect.o rect.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o region.o region.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o restore.o restore.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rip.o rip.c -restore.c: In function 'get_plname_from_file': -restore.c:1214:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 1214 | (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -restore.c:1215:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 1215 | (void) read(fd, (genericptr_t) plbuf, pltmpsiz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rnd.o rnd.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o role.o role.c +objnam.c: In function 'aobjnam': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'aobjnam' at objnam.c:1796:14: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vault.o vault.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vision.o vision.c polyself.c: In function 'polyself': polyself.c:496:26: warning: array subscript -1 is below array bounds of 'struct mvitals[382]' [-Warray-bounds=] 496 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { @@ -1980,52 +1982,19 @@ ../include/decl.h:274:3: note: while referencing 'mvitals' 274 | } mvitals[NUMMONS]; | ^~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rumors.o rumors.c -objnam.c: In function 'mshot_xname': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'mshot_xname' at objnam.c:822:15: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -objnam.c: In function 'doname_base': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'doname_base' at objnam.c:1303:10: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o save.o save.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shk.o shk.c -save.c: In function 'savestateinlock': -save.c:401:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 401 | (void) read(fd, (genericptr_t) &hpid, sizeof hpid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:418:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 418 | (void) write(fd, (genericptr_t) &hackpid, sizeof hackpid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:422:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 422 | (void) write(fd, (genericptr_t) &currlev, sizeof currlev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shknam.o shknam.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sit.o sit.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sounds.o sounds.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o spell.o spell.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vis_tab.o vis_tab.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o weapon.o weapon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o were.o were.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wield.o wield.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o windows.o windows.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wizard.o wizard.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worm.o worm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worn.o worn.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o write.o write.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o zap.o zap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c options.c: In function 'option_help': -objnam.c: In function 'aobjnam': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'aobjnam' at objnam.c:1796:14: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ options.c:6287:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 6287 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ @@ -2043,21 +2012,34 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sys.o sys.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steal.o steal.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steed.o steed.c -sounds.c: In function 'domonnoise': -sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds=] - 622 | verbl_msg = vampmsg[vampindex]; - | ~~~~~~~^~~~~~~~~~~ -sounds.c:592:38: note: while referencing 'vampmsg' - 592 | static const char *const vampmsg[] = { - | ^~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o teleport.o teleport.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o timeout.o timeout.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topten.o topten.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o track.o track.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o trap.o trap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c +write.c: In function 'dowrite': +write.c:161:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] + 161 | (void) strncpy(bp, " armor ", 7); /* won't add '\0' */ + | ^ +../sys/unix/unixmain.c: In function 'chdirx': +../sys/unix/unixmain.c:490:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 490 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixmain.c:491:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 491 | (void) setuid(getuid()); /* Ron Wessels */ + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixmain.c: In function 'sys_random_seed': +../sys/unix/unixmain.c:789:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 789 | fread(&seed, sizeof (long), 1, fptr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../sys/unix/unixunix.c: In function 'child': +../sys/unix/unixunix.c:307:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 307 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixunix.c:308:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 308 | (void) setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 310 | (void) chdir(getenv("HOME")); + | ^~~~~~~~~~~~~~~~~~~~~ potion.c: In function 'potionhit': potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); @@ -2076,19 +2058,33 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o u_init.o u_init.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o uhitm.o uhitm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vault.o vault.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vision.o vision.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vis_tab.o vis_tab.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o weapon.o weapon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o were.o were.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wield.o wield.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o windows.o windows.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wizard.o wizard.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worm.o worm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worn.o worn.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o write.o write.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c +../sys/share/unixtty.c: In function 'linux_mapon': +../sys/unix/unixmain.c: In function 'main': +../sys/unix/unixmain.c:244:20: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] + 244 | (void) strncat(strcat(plname, "-"), pl_character, + | ^ +../sys/share/unixtty.c:426:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 426 | write(1, "\033(B", 3); + | ^~~~~~~~~~~~~~~~~~~~~ +../sys/share/unixtty.c: In function 'linux_mapoff': +../sys/share/unixtty.c:436:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 436 | write(1, "\033(U", 3); + | ^~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c +/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' +../util/makedefs -v +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o version.o version.c In file included from ../include/hack.h:216, from sp_lev.c:12: In function 'create_monster', @@ -2103,41 +2099,13 @@ ../include/rm.h:596:19: note: while referencing 'monsters' 596 | struct monst *monsters[COLNO][ROWNO]; | ^~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o zap.o zap.c -write.c: In function 'dowrite': -write.c:161:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] - 161 | (void) strncpy(bp, " armor ", 7); /* won't add '\0' */ - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c -../sys/share/unixtty.c: In function 'linux_mapon': -../sys/share/unixtty.c:426:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 426 | write(1, "\033(B", 3); - | ^~~~~~~~~~~~~~~~~~~~~ -../sys/share/unixtty.c: In function 'linux_mapoff': -../sys/share/unixtty.c:436:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 436 | write(1, "\033(U", 3); - | ^~~~~~~~~~~~~~~~~~~~~ -../sys/unix/unixmain.c: In function 'chdirx': -../sys/unix/unixmain.c:490:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 490 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixmain.c:491:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 491 | (void) setuid(getuid()); /* Ron Wessels */ - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixmain.c: In function 'sys_random_seed': -../sys/unix/unixmain.c:789:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 789 | fread(&seed, sizeof (long), 1, fptr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c +../win/curses/cursstat.c: In function 'curs_HPbar': +../win/curses/cursstat.c:925:12: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] + 925 | (void) strncpy(bar, text, bar_len); + | ^ +../win/curses/cursstat.c:923:30: note: length computed here + 923 | if (bar_len > (k = (int) strlen(text))) /* 26 for vertical status */ + | ^~~~~~~~~~~~ weapon.c: In function 'enhance_weapon_skill': weapon.c:1265:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1265 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), @@ -2211,40 +2179,80 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -../sys/unix/unixunix.c: In function 'child': -../sys/unix/unixunix.c:307:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 307 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixunix.c:308:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 308 | (void) setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 310 | (void) chdir(getenv("HOME")); - | ^~~~~~~~~~~~~~~~~~~~~ -../sys/unix/unixmain.c: In function 'main': -../sys/unix/unixmain.c:244:20: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] - 244 | (void) strncat(strcat(plname, "-"), pl_character, - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c -/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' -../util/makedefs -v -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o version.o version.c -../win/curses/cursstat.c: In function 'curs_HPbar': -../win/curses/cursstat.c:925:12: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] - 925 | (void) strncpy(bar, text, bar_len); - | ^ -../win/curses/cursstat.c:923:30: note: length computed here - 923 | if (bar_len > (k = (int) strlen(text))) /* 26 for vertical status */ - | ^~~~~~~~~~~~ -options.c: In function 'doset': -options.c:4692:28: warning: '__builtin_strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] - 4692 | (void) strncat(eos(buf), abuf, - | ^ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3278:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3288:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3297:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3305:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3313:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ ../win/curses/cursinit.c: In function 'curses_choose_character': ../win/curses/cursinit.c:455:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 455 | sprintf(choice, "%s%c", tmpchoice, '\033'); @@ -2261,6 +2269,34 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3341:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3341:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +options.c: In function 'doset': +options.c:4692:28: warning: '__builtin_strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 4692 | (void) strncat(eos(buf), abuf, + | ^ Linking nethack-console. cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o nethack-console monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o isaac64.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o version.o -lcurses nethack-console is up to date. @@ -2303,236 +2339,33 @@ /usr/bin/make LFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS' WINSRC='$(WINTTYSRC) $(WINX11SRC)' WINOBJ='$(WINTTYOBJ) $(WINX11OBJ)' WINLIB='-lncurses -lXaw -Wl,--as-needed -lXmu -lXext -Wl,--no-as-needed -lXt -lXpm -lX11 -Wl,--as-needed -lm -Wl,--no-as-needed' LINK='$(CC)' GAME='nethack-x11' -C src 'nethack-x11' make[2]: Entering directory '/build/reproducible-path/nethack-3.6.7/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o alloc.o alloc.c -make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dlb.o dlb.c -./makedefs -o +make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o isaac64.o isaac64.c -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' +./makedefs -o cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o Window.o ../win/X11/Window.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dialogs.o ../win/X11/dialogs.c +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' ./makedefs -p make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' touch ../src/hack.h-t -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o weapon.o weapon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o were.o were.c -make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' -./makedefs -z -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wield.o wield.c -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o windows.o windows.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wizard.o wizard.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worm.o worm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worn.o worn.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o zap.o zap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o getline.o ../win/tty/getline.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o termcap.o ../win/tty/termcap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topl.o ../win/tty/topl.c -../sys/unix/unixmain.c: In function 'chdirx': -../sys/unix/unixmain.c:490:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 490 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixmain.c:491:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 491 | (void) setuid(getuid()); /* Ron Wessels */ - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixmain.c: In function 'sys_random_seed': -../sys/unix/unixmain.c:789:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 789 | fread(&seed, sizeof (long), 1, fptr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintty.o ../win/tty/wintty.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winX.o ../win/X11/winX.c -../sys/unix/unixunix.c: In function 'child': -../sys/unix/unixunix.c:307:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 307 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixunix.c:308:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 308 | (void) setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 310 | (void) chdir(getenv("HOME")); - | ^~~~~~~~~~~~~~~~~~~~~ -../sys/unix/unixmain.c: In function 'main': -../sys/unix/unixmain.c:244:20: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] - 244 | (void) strncat(strcat(plname, "-"), pl_character, - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmap.o ../win/X11/winmap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmenu.o ../win/X11/winmenu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmesg.o ../win/X11/winmesg.c -write.c: In function 'dowrite': -write.c:161:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] - 161 | (void) strncpy(bp, " armor ", 7); /* won't add '\0' */ - | ^ -../sys/share/unixtty.c: In function 'linux_mapon': -../sys/share/unixtty.c:426:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 426 | write(1, "\033(B", 3); - | ^~~~~~~~~~~~~~~~~~~~~ -../sys/share/unixtty.c: In function 'linux_mapoff': -../sys/share/unixtty.c:436:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 436 | write(1, "\033(U", 3); - | ^~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmisc.o ../win/X11/winmisc.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winstat.o ../win/X11/winstat.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintext.o ../win/X11/wintext.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winval.o ../win/X11/winval.c -../win/X11/winX.c: In function 'X11_init_nhwindows': -../win/X11/winX.c:1544:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1544 | (void) seteuid(getuid()); - | ^~~~~~~~~~~~~~~~~ -../win/X11/winX.c:1605:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1605 | (void) seteuid(savuid); - | ^~~~~~~~~~~~~~~ -make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/share/tilemap.c -../win/X11/winmap.c: In function 'map_update': -../win/X11/winmap.c:1243:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] - 1243 | int win_start_row, win_start_col; - | ^~~~~~~~~~~~~ -../win/X11/winmisc.c: In function 'X11_player_selection_randomize': -../win/X11/winmap.c:1243:9: warning: variable 'win_start_row' set but not used [-Wunused-but-set-variable] - 1243 | int win_start_row, win_start_col; - | ^~~~~~~~~~~~~ -../win/X11/winmisc.c:504:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] - 504 | boolean fully_specified_role, choose_race_first; - | ^~~~~~~~~~~~~~~~~~~~ -../win/X11/winstat.c: In function 'X11_status_update_tty': -../win/X11/winstat.c:314:20: warning: variable 'oncearound' set but not used [-Wunused-but-set-variable] - 314 | static boolean oncearound = FALSE; /* prevent premature partial display */ - | ^~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o allmain.o allmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o apply.o apply.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o artifact.o artifact.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ball.o ball.c +make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' +./makedefs -z cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o bones.o bones.c -weapon.c: In function 'enhance_weapon_skill': -weapon.c:1265:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] - 1265 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), - | ^~ - 1266 | sklnambuf); - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -In function 'sprintf', - inlined from 'enhance_weapon_skill' at weapon.c:1265:25: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -weapon.c: In function 'enhance_weapon_skill': -weapon.c:1262:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] - 1262 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, - | ^~ - 1263 | P_NAME(i), sklnambuf); - | ~~~~~~~~~ -In function 'sprintf', - inlined from 'enhance_weapon_skill' at weapon.c:1262:25: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -weapon.c: In function 'enhance_weapon_skill': -weapon.c:1257:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] - 1257 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), - | ^~ - 1258 | sklnambuf, P_ADVANCE(i), - | ~~~~~~~~~ -weapon.c:1257:38: note: directive argument in the range [0, 65535] - 1257 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), - | ^~~~~~~~~~~~~~~~~~~~~ -weapon.c:1257:38: note: directive argument in the range [20, 327680] -In function 'sprintf', - inlined from 'enhance_weapon_skill' at weapon.c:1257:25: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 276) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -weapon.c: In function 'enhance_weapon_skill': -weapon.c:1253:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] - 1253 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, - | ^~~~~ - 1254 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), - | ~~~~~~~~~ -weapon.c:1253:38: note: directive argument in the range [0, 65535] - 1253 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1253:38: note: directive argument in the range [20, 327680] -In function 'sprintf', - inlined from 'enhance_weapon_skill' at weapon.c:1253:25: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 276) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -../win/X11/wintext.c: In function 'calculate_rip_text': -../win/X11/wintext.c:496:35: warning: '%s' directive writing up to 31 bytes into a region of size 17 [-Wformat-overflow=] - 496 | Sprintf(rip_line[NAME_LINE], "%s", plname); - | ^~ ~~~~~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from ../win/X11/wintext.c:31: -In function 'sprintf', - inlined from 'calculate_rip_text' at ../win/X11/wintext.c:496:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 32 bytes into a destination of size 17 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o botl.o botl.c +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o cmd.o cmd.c -../win/X11/winX.c: In function 'done_button': -../win/X11/winX.c:1870:12: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 1870 | (void) strncpy(getline_input, s, len); - | ^ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o -../win/X11/winX.c:1864:11: note: length computed here - 1864 | len = strlen(s); - | ^~~~~~~~~ -../win/X11/winX.c: In function 'askname_done': -../win/X11/winX.c:1792:12: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] - 1792 | (void) strncpy(plname, s, len); - | ^ -../win/X11/winX.c:1782:11: note: length computed here - 1782 | len = strlen(s); - | ^~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dbridge.o dbridge.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o decl.o decl.c -./tilemap -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o detect.o detect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dig.o dig.c -botl.c: In function 'parse_status_hl2': -botl.c:2069:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] - 2069 | while (s[sidx]) { - | ^ -botl.c: In function 'parse_condition': -botl.c:2488:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] - 2488 | while(s[sidx]) { - | ^ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o display.o display.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do.o do.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_name.o do_name.c @@ -2541,11 +2374,50 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dogmove.o dogmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dokick.o dokick.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dothrow.o dothrow.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o drawing.o drawing.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dungeon.o dungeon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o eat.o eat.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o end.o end.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o engrave.o engrave.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o exper.o exper.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o explode.o explode.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o extralev.o extralev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o files.o files.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o fountain.o fountain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hack.o hack.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hacklib.o hacklib.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o invent.o invent.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o light.o light.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o lock.o lock.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mail.o mail.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o makemon.o makemon.c +botl.c: In function 'parse_status_hl2': +botl.c:2069:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] + 2069 | while (s[sidx]) { + | ^ +botl.c: In function 'parse_condition': +botl.c:2488:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] + 2488 | while(s[sidx]) { + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mapglyph.o mapglyph.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mcastu.o mcastu.c +files.c: In function 'save_savefile_name': +files.c:982:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 982 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +files.c: In function 'docompress_file': +files.c:1400:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1400 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1401 | (void) setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitm.o mhitm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitu.o mhitu.c cmd.c: In function 'attributes_enlightenment': cmd.c:2727:20: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 2727 | (void) strncpy(buf, " if not for ", 12); | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o drawing.o drawing.c dogmove.c: In function 'droppables': dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] 120 | } @@ -2557,45 +2429,53 @@ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here -do_name.c: In function 'getpos_menu': -do_name.c:605:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 605 | Sprintf(fullbuf, "%s%s%s", firstmatch, - | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o minion.o minion.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mklev.o mklev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmap.o mkmap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmaze.o mkmaze.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkobj.o mkobj.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkroom.o mkroom.c +explode.c: In function 'explode': +explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] + 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), + | ^~ In file included from /usr/include/stdio.h:970, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from do_name.c:6: + from explode.c:5: In function 'sprintf', - inlined from 'getpos_menu' at do_name.c:605:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 + inlined from 'explode' at explode.c:539:21: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -botl.c: In function 'status_hilite_linestr_gather_conditions': -botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] - 2793 | Sprintf(condbuf, "condition/%s/%s", - | ^~ - 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); - | ~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mon.o mon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mondata.o mondata.c +do_name.c: In function 'getpos_menu': +do_name.c:605:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 605 | Sprintf(fullbuf, "%s%s%s", firstmatch, + | ^ In file included from /usr/include/stdio.h:970, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from botl.c:6: + from do_name.c:6: In function 'sprintf', - inlined from 'status_hilite_linestr_gather_conditions' at botl.c:2793:17: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 + inlined from 'getpos_menu' at do_name.c:605:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dungeon.o dungeon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o monmove.o monmove.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mplayer.o mplayer.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mthrowu.o mthrowu.c do_name.c: In function 'getpos': do_name.c:191:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 191 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); @@ -2624,12 +2504,61 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o eat.o eat.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o end.o end.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o engrave.o engrave.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o exper.o exper.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o explode.o explode.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o extralev.o extralev.c +hacklib.c: In function 'yyyymmddhhmmss': +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o muse.o muse.c +hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~ +hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from hacklib.c:7: +In function 'sprintf', + inlined from 'yyyymmddhhmmss' at hacklib.c:1031:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +botl.c: In function 'status_hilite_linestr_gather_conditions': +botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] + 2793 | Sprintf(condbuf, "condition/%s/%s", + | ^~ + 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); + | ~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from botl.c:6: +In function 'sprintf', + inlined from 'status_hilite_linestr_gather_conditions' at botl.c:2793:17: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o music.o music.c +engrave.c: In function 'doengrave': +engrave.c:1154:12: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 1154 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o o_init.o o_init.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o objnam.o objnam.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o options.o options.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pager.o pager.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pickup.o pickup.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pline.o pline.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o polyself.o polyself.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o potion.o potion.c cmd.c: In function 'enlght_halfdmg': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2649,8 +2578,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o files.o files.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o fountain.o fountain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pray.o pray.c +pline.c: In function 'vpline': +pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] + 129 | int vlen = 0; + | ^~~~ +pline.c: In function 'vconfig_error_add': +pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] + 598 | int vlen = 0; + | ^~~~ +pline.c: In function 'vpline': +pline.c:162:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o priest.o priest.c cmd.c: In function 'one_characteristic': cmd.c:1653:22: warning: '%s' directive writing between 3 and 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2665,10 +2606,47 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -engrave.c: In function 'doengrave': -engrave.c:1154:12: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] - 1154 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); - | ^ +pager.c: In function 'checkfile.constprop': +pager.c:659:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 659 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o quest.o quest.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o questpgr.o questpgr.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o read.o read.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rect.o rect.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o region.o region.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o restore.o restore.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rip.o rip.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rnd.o rnd.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o role.o role.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rumors.o rumors.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o save.o save.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shk.o shk.c +restore.c: In function 'get_plname_from_file': +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shknam.o shknam.c +restore.c:1214:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 1214 | (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +restore.c:1215:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 1215 | (void) read(fd, (genericptr_t) plbuf, pltmpsiz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sit.o sit.c +save.c: In function 'savestateinlock': +save.c:401:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 401 | (void) read(fd, (genericptr_t) &hpid, sizeof hpid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:418:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 418 | (void) write(fd, (genericptr_t) &hackpid, sizeof hackpid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:422:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 422 | (void) write(fd, (genericptr_t) &currlev, sizeof currlev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sounds.o sounds.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sp_lev.o sp_lev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o spell.o spell.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sys.o sys.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steal.o steal.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steed.o steed.c botl.c: In function 'status_hilite_menu_add': botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 3385 | Sprintf(obuf, "%s or %s", @@ -2682,49 +2660,80 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -explode.c: In function 'explode': -explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] - 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), - | ^~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o teleport.o teleport.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o timeout.o timeout.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topten.o topten.c +sounds.c: In function 'domonnoise': +sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds=] + 622 | verbl_msg = vampmsg[vampindex]; + | ~~~~~~~^~~~~~~~~~~ +sounds.c:592:38: note: while referencing 'vampmsg' + 592 | static const char *const vampmsg[] = { + | ^~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o track.o track.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o trap.o trap.c +options.c: In function 'option_help': +options.c:6287:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] + 6287 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, + | ^~~ In file included from /usr/include/stdio.h:970, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from explode.c:5: + from options.c:17: In function 'sprintf', - inlined from 'explode' at explode.c:539:21: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 256 + inlined from 'option_help' at options.c:6287:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hack.o hack.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hacklib.o hacklib.c -files.c: In function 'save_savefile_name': -files.c:982:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 982 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -files.c: In function 'docompress_file': -files.c:1400:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1400 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1401 | (void) setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o invent.o invent.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o light.o light.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o lock.o lock.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mail.o mail.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o makemon.o makemon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mapglyph.o mapglyph.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mcastu.o mcastu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitm.o mhitm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitu.o mhitu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o minion.o minion.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mklev.o mklev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmap.o mkmap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o u_init.o u_init.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o uhitm.o uhitm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vault.o vault.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vision.o vision.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vis_tab.o vis_tab.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o weapon.o weapon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o were.o were.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wield.o wield.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o windows.o windows.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wizard.o wizard.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worm.o worm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worn.o worn.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o zap.o zap.c +objnam.c: In function 'mshot_xname': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'mshot_xname' at objnam.c:822:15: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c +polyself.c: In function 'polyself': +polyself.c:496:26: warning: array subscript -1 is below array bounds of 'struct mvitals[382]' [-Warray-bounds=] + 496 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { + | ~~~~~~~^~~~~~~ +In file included from ../include/hack.h:170, + from polyself.c:22: +../include/decl.h:274:3: note: while referencing 'mvitals' + 274 | } mvitals[NUMMONS]; + | ^~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c +objnam.c: In function 'doname_base': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'doname_base' at objnam.c:1303:10: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2741,6 +2750,10 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': +write.c: In function 'dowrite': +write.c:161:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] + 161 | (void) strncpy(bp, " armor ", 7); /* won't add '\0' */ + | ^ cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ @@ -2816,6 +2829,7 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ @@ -2860,40 +2874,229 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmaze.o mkmaze.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkobj.o mkobj.c -hacklib.c: In function 'yyyymmddhhmmss': -hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~ -hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o getline.o ../win/tty/getline.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o termcap.o ../win/tty/termcap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topl.o ../win/tty/topl.c +../sys/unix/unixmain.c: In function 'chdirx': +../sys/unix/unixmain.c:490:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 490 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixmain.c:491:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 491 | (void) setuid(getuid()); /* Ron Wessels */ + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixmain.c: In function 'sys_random_seed': +../sys/unix/unixmain.c:789:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 789 | fread(&seed, sizeof (long), 1, fptr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintty.o ../win/tty/wintty.c +../sys/unix/unixunix.c: In function 'child': +../sys/unix/unixunix.c:307:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 307 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixunix.c:308:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 308 | (void) setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 310 | (void) chdir(getenv("HOME")); + | ^~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winX.o ../win/X11/winX.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmap.o ../win/X11/winmap.c +../sys/share/unixtty.c: In function 'linux_mapon': +../sys/share/unixtty.c:426:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 426 | write(1, "\033(B", 3); + | ^~~~~~~~~~~~~~~~~~~~~ +../sys/share/unixtty.c: In function 'linux_mapoff': +../sys/share/unixtty.c:436:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 436 | write(1, "\033(U", 3); + | ^~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmenu.o ../win/X11/winmenu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmesg.o ../win/X11/winmesg.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmisc.o ../win/X11/winmisc.c +../sys/unix/unixmain.c: In function 'main': +../sys/unix/unixmain.c:244:20: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] + 244 | (void) strncat(strcat(plname, "-"), pl_character, + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winstat.o ../win/X11/winstat.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintext.o ../win/X11/wintext.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winval.o ../win/X11/winval.c +../win/X11/winX.c: In function 'X11_init_nhwindows': +../win/X11/winX.c:1544:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1544 | (void) seteuid(getuid()); + | ^~~~~~~~~~~~~~~~~ +../win/X11/winX.c:1605:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1605 | (void) seteuid(savuid); + | ^~~~~~~~~~~~~~~ +../win/X11/winmap.c: In function 'map_update': +../win/X11/winmap.c:1243:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] + 1243 | int win_start_row, win_start_col; + | ^~~~~~~~~~~~~ +../win/X11/winmap.c:1243:9: warning: variable 'win_start_row' set but not used [-Wunused-but-set-variable] + 1243 | int win_start_row, win_start_col; + | ^~~~~~~~~~~~~ +../win/X11/winmisc.c: In function 'X11_player_selection_randomize': +../win/X11/winmisc.c:504:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] + 504 | boolean fully_specified_role, choose_race_first; + | ^~~~~~~~~~~~~~~~~~~~ +make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/share/tilemap.c +../win/X11/winstat.c: In function 'X11_status_update_tty': +../win/X11/winstat.c:314:20: warning: variable 'oncearound' set but not used [-Wunused-but-set-variable] + 314 | static boolean oncearound = FALSE; /* prevent premature partial display */ + | ^~~~~~~~~~ +objnam.c: In function 'aobjnam': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'aobjnam' at objnam.c:1796:14: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +potion.c: In function 'potionhit': +potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); + | ^ In file included from /usr/include/stdio.h:970, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from hacklib.c:7: + from potion.c:6: In function 'sprintf', - inlined from 'yyyymmddhhmmss' at hacklib.c:1031:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 + inlined from 'potionhit' at potion.c:1406:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkroom.o mkroom.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mon.o mon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mondata.o mondata.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o monmove.o monmove.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mplayer.o mplayer.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mthrowu.o mthrowu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o muse.o muse.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o music.o music.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o o_init.o o_init.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o objnam.o objnam.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o options.o options.c +../win/X11/winX.c: In function 'done_button': +../win/X11/winX.c:1870:12: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 1870 | (void) strncpy(getline_input, s, len); + | ^ +../win/X11/winX.c:1864:11: note: length computed here + 1864 | len = strlen(s); + | ^~~~~~~~~ +../win/X11/winX.c: In function 'askname_done': +../win/X11/winX.c:1792:12: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] + 1792 | (void) strncpy(plname, s, len); + | ^ +../win/X11/winX.c:1782:11: note: length computed here + 1782 | len = strlen(s); + | ^~~~~~~~~ +weapon.c: In function 'enhance_weapon_skill': +weapon.c:1265:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] + 1265 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), + | ^~ + 1266 | sklnambuf); + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +In function 'sprintf', + inlined from 'enhance_weapon_skill' at weapon.c:1265:25: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +weapon.c: In function 'enhance_weapon_skill': +weapon.c:1262:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] + 1262 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, + | ^~ + 1263 | P_NAME(i), sklnambuf); + | ~~~~~~~~~ +In function 'sprintf', + inlined from 'enhance_weapon_skill' at weapon.c:1262:25: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +weapon.c: In function 'enhance_weapon_skill': +weapon.c:1257:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] + 1257 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), + | ^~ + 1258 | sklnambuf, P_ADVANCE(i), + | ~~~~~~~~~ +weapon.c:1257:38: note: directive argument in the range [0, 65535] + 1257 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), + | ^~~~~~~~~~~~~~~~~~~~~ +weapon.c:1257:38: note: directive argument in the range [20, 327680] +In function 'sprintf', + inlined from 'enhance_weapon_skill' at weapon.c:1257:25: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 276) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +weapon.c: In function 'enhance_weapon_skill': +weapon.c:1253:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] + 1253 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, + | ^~~~~ + 1254 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), + | ~~~~~~~~~ +weapon.c:1253:38: note: directive argument in the range [0, 65535] + 1253 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1253:38: note: directive argument in the range [20, 327680] +In function 'sprintf', + inlined from 'enhance_weapon_skill' at weapon.c:1253:25: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 276) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +../win/X11/wintext.c: In function 'calculate_rip_text': +../win/X11/wintext.c:496:35: warning: '%s' directive writing up to 31 bytes into a region of size 17 [-Wformat-overflow=] + 496 | Sprintf(rip_line[NAME_LINE], "%s", plname); + | ^~ ~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from ../win/X11/wintext.c:31: +In function 'sprintf', + inlined from 'calculate_rip_text' at ../win/X11/wintext.c:496:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 32 bytes into a destination of size 17 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from ../include/hack.h:216, + from sp_lev.c:12: +In function 'create_monster', + inlined from 'spo_monster' at sp_lev.c:3108:5: +../include/rm.h:659:44: warning: array subscript -1 is below array bounds of 'struct monst *[80][21]' [-Warray-bounds=] + 659 | #define remove_monster(x, y) level.monsters[x][y] = (struct monst *) 0 + | ~~~~~~~~~~~~~~^~~ +sp_lev.c:1705:25: note: in expansion of macro 'remove_monster' + 1705 | remove_monster(x, y); + | ^~~~~~~~~~~~~~ +../include/rm.h: In function 'spo_monster': +../include/rm.h:596:19: note: while referencing 'monsters' + 596 | struct monst *monsters[COLNO][ROWNO]; + | ^~~~~~~~ +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o +./tilemap +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o tile.o tile.c +/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' +../util/makedefs -v +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o version.o version.c cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2992,173 +3195,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pager.o pager.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pickup.o pickup.c -pager.c: In function 'checkfile.constprop': -pager.c:659:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 659 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pline.o pline.c -pline.c: In function 'vpline': -pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] - 129 | int vlen = 0; - | ^~~~ -pline.c: In function 'vconfig_error_add': -pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] - 598 | int vlen = 0; - | ^~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o polyself.o polyself.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o potion.o potion.c -pline.c: In function 'vpline': -pline.c:162:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pray.o pray.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o priest.o priest.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o quest.o quest.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o questpgr.o questpgr.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o read.o read.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rect.o rect.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o region.o region.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o restore.o restore.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rip.o rip.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rnd.o rnd.c -restore.c: In function 'get_plname_from_file': -restore.c:1214:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 1214 | (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -restore.c:1215:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 1215 | (void) read(fd, (genericptr_t) plbuf, pltmpsiz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o role.o role.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rumors.o rumors.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o save.o save.c -polyself.c: In function 'polyself': -polyself.c:496:26: warning: array subscript -1 is below array bounds of 'struct mvitals[382]' [-Warray-bounds=] - 496 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { - | ~~~~~~~^~~~~~~ -In file included from ../include/hack.h:170, - from polyself.c:22: -../include/decl.h:274:3: note: while referencing 'mvitals' - 274 | } mvitals[NUMMONS]; - | ^~~~~~~ -objnam.c: In function 'mshot_xname': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'mshot_xname' at objnam.c:822:15: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shk.o shk.c -save.c: In function 'savestateinlock': -save.c:401:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 401 | (void) read(fd, (genericptr_t) &hpid, sizeof hpid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:418:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 418 | (void) write(fd, (genericptr_t) &hackpid, sizeof hackpid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:422:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 422 | (void) write(fd, (genericptr_t) &currlev, sizeof currlev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objnam.c: In function 'doname_base': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'doname_base' at objnam.c:1303:10: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -options.c: In function 'option_help': -options.c:6287:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] - 6287 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, - | ^~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from options.c:17: -In function 'sprintf', - inlined from 'option_help' at options.c:6287:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shknam.o shknam.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sit.o sit.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sounds.o sounds.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sp_lev.o sp_lev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o spell.o spell.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sys.o sys.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steal.o steal.c -objnam.c: In function 'aobjnam': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'aobjnam' at objnam.c:1796:14: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steed.o steed.c -sounds.c: In function 'domonnoise': -sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds=] - 622 | verbl_msg = vampmsg[vampindex]; - | ~~~~~~~^~~~~~~~~~~ -sounds.c:592:38: note: while referencing 'vampmsg' - 592 | static const char *const vampmsg[] = { - | ^~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o teleport.o teleport.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o timeout.o timeout.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topten.o topten.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o track.o track.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o trap.o trap.c -potion.c: In function 'potionhit': -potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); - | ^ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from potion.c:6: -In function 'sprintf', - inlined from 'potionhit' at potion.c:1406:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o u_init.o u_init.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o uhitm.o uhitm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vault.o vault.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vision.o vision.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vis_tab.o vis_tab.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o tile.o tile.c -/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' -../util/makedefs -v -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o version.o version.c -In file included from ../include/hack.h:216, - from sp_lev.c:12: -In function 'create_monster', - inlined from 'spo_monster' at sp_lev.c:3108:5: -../include/rm.h:659:44: warning: array subscript -1 is below array bounds of 'struct monst *[80][21]' [-Warray-bounds=] - 659 | #define remove_monster(x, y) level.monsters[x][y] = (struct monst *) 0 - | ~~~~~~~~~~~~~~^~~ -sp_lev.c:1705:25: note: in expansion of macro 'remove_monster' - 1705 | remove_monster(x, y); - | ^~~~~~~~~~~~~~ -../include/rm.h: In function 'spo_monster': -../include/rm.h:596:19: note: while referencing 'monsters' - 596 | struct monst *monsters[COLNO][ROWNO]; - | ^~~~~~~~ options.c: In function 'doset': options.c:4692:28: warning: '__builtin_strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 4692 | (void) strncat(eos(buf), abuf, @@ -3206,38 +3242,38 @@ make[2]: Entering directory '/build/reproducible-path/nethack-3.6.7/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o alloc.o alloc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dlb.o dlb.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o isaac64.o isaac64.c make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' ./makedefs -o make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o isaac64.o isaac64.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixres.o ../sys/unix/unixres.c g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4clust.o ../win/Qt4/qt4clust.cpp /usr/bin/moc -o qt4main.moc ../win/Qt4/qt4main.h -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/bin/moc -o qt4kde0.moc ../win/Qt4/qt4kde0.h /usr/bin/moc -o qt4map.moc ../win/Qt4/qt4map.h /usr/bin/moc -o qt4menu.moc ../win/Qt4/qt4menu.h /usr/bin/moc -o qt4msg.moc ../win/Qt4/qt4msg.h /usr/bin/moc -o qt4plsel.moc ../win/Qt4/qt4plsel.h /usr/bin/moc -o qt4set.moc ../win/Qt4/qt4set.h +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/bin/moc -o qt4stat.moc ../win/Qt4/qt4stat.h g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4str.o ../win/Qt4/qt4str.cpp /usr/bin/moc -o qt4xcmd.moc ../win/Qt4/qt4xcmd.h -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/bin/moc -o qt4yndlg.moc ../win/Qt4/qt4yndlg.h +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' ./makedefs -p make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' touch ../src/hack.h-t cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o allmain.o allmain.c make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' -./makedefs -z cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o apply.o apply.c -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o artifact.o artifact.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o attrib.o attrib.c +./makedefs -z cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o bones.o bones.c +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o cmd.o cmd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dbridge.o dbridge.c @@ -3250,74 +3286,104 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o do_wear.o do_wear.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dog.o dog.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dogmove.o dogmove.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dokick.o dokick.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dothrow.o dothrow.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o drawing.o drawing.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dungeon.o dungeon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o eat.o eat.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o end.o end.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o engrave.o engrave.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o exper.o exper.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o explode.o explode.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o extralev.o extralev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o files.o files.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o fountain.o fountain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o hack.o hack.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o hacklib.o hacklib.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o invent.o invent.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o light.o light.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o lock.o lock.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mail.o mail.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o makemon.o makemon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mapglyph.o mapglyph.c +files.c: In function 'save_savefile_name': +files.c:982:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 982 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +files.c: In function 'docompress_file': +files.c:1400:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1400 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1401 | (void) setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mcastu.o mcastu.c botl.c: In function 'parse_status_hl2': botl.c:2069:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2069 | while (s[sidx]) { | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dokick.o dokick.c botl.c: In function 'parse_condition': botl.c:2488:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2488 | while(s[sidx]) { | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dothrow.o dothrow.c -cmd.c: In function 'attributes_enlightenment': -cmd.c:2727:20: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] - 2727 | (void) strncpy(buf, " if not for ", 12); - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o drawing.o drawing.c -dogmove.c: In function 'droppables': -dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] - 120 | } - | ^ -dogmove.c:29:28: note: declared here - 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; - | ^~~~~ -dogmove.c:29:28: note: declared here -dogmove.c:29:28: note: declared here -dogmove.c:29:28: note: declared here -dogmove.c:29:28: note: declared here -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dungeon.o dungeon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o eat.o eat.c -botl.c: In function 'status_hilite_linestr_gather_conditions': -botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] - 2793 | Sprintf(condbuf, "condition/%s/%s", - | ^~ - 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); - | ~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mhitm.o mhitm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mhitu.o mhitu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o minion.o minion.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mklev.o mklev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkmap.o mkmap.c +do_name.c: In function 'getpos_menu': +do_name.c:605:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 605 | Sprintf(fullbuf, "%s%s%s", firstmatch, + | ^ In file included from /usr/include/stdio.h:970, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from botl.c:6: + from do_name.c:6: In function 'sprintf', - inlined from 'status_hilite_linestr_gather_conditions' at botl.c:2793:17: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 + inlined from 'getpos_menu' at do_name.c:605:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -do_name.c: In function 'getpos_menu': -do_name.c:605:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 605 | Sprintf(fullbuf, "%s%s%s", firstmatch, - | ^ +cmd.c: In function 'attributes_enlightenment': +explode.c: In function 'explode': +cmd.c:2727:20: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] + 2727 | (void) strncpy(buf, " if not for ", 12); + | ^ +explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] + 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), + | ^~ In file included from /usr/include/stdio.h:970, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from do_name.c:6: + from explode.c:5: In function 'sprintf', - inlined from 'getpos_menu' at do_name.c:605:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 + inlined from 'explode' at explode.c:539:21: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o end.o end.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o engrave.o engrave.c +dogmove.c: In function 'droppables': +dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] + 120 | } + | ^ +dogmove.c:29:28: note: declared here + 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; + | ^~~~~ +dogmove.c:29:28: note: declared here +dogmove.c:29:28: note: declared here +dogmove.c:29:28: note: declared here +dogmove.c:29:28: note: declared here +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkmaze.o mkmaze.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkobj.o mkobj.c do_name.c: In function 'getpos': do_name.c:191:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 191 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); @@ -3346,14 +3412,94 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o exper.o exper.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o explode.o explode.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o extralev.o extralev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkroom.o mkroom.c +hacklib.c: In function 'yyyymmddhhmmss': +hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mon.o mon.c +hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from hacklib.c:7: +In function 'sprintf', + inlined from 'yyyymmddhhmmss' at hacklib.c:1031:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mondata.o mondata.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o monmove.o monmove.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mplayer.o mplayer.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mthrowu.o mthrowu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o muse.o muse.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o music.o music.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o o_init.o o_init.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o objnam.o objnam.c +engrave.c: In function 'doengrave': +engrave.c:1154:12: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 1154 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); + | ^ +botl.c: In function 'status_hilite_linestr_gather_conditions': +botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] + 2793 | Sprintf(condbuf, "condition/%s/%s", + | ^~ + 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); + | ~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from botl.c:6: +In function 'sprintf', + inlined from 'status_hilite_linestr_gather_conditions' at botl.c:2793:17: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o options.o options.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pager.o pager.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pickup.o pickup.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pline.o pline.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o polyself.o polyself.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o potion.o potion.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pray.o pray.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o priest.o priest.c +pline.c: In function 'vpline': +pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] + 129 | int vlen = 0; + | ^~~~ +pline.c: In function 'vconfig_error_add': +pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] + 598 | int vlen = 0; + | ^~~~ +pline.c: In function 'vpline': +pline.c:162:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o quest.o quest.c +pager.c: In function 'checkfile.constprop': +pager.c:659:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 659 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o questpgr.o questpgr.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o read.o read.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rect.o rect.c ../win/Qt4/qt4str.cpp: In function 'QString nethack_qt4::nh_capitalize_words(const QString&)': ../win/Qt4/qt4str.cpp:38:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 38 | for (size_t i = 0; i < words.size(); ++i) { | ~~^~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o files.o files.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o region.o region.c cmd.c: In function 'enlght_halfdmg': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -3373,6 +3519,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o restore.o restore.c cmd.c: In function 'one_characteristic': cmd.c:1653:22: warning: '%s' directive writing between 3 and 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -3387,67 +3534,144 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -engrave.c: In function 'doengrave': -engrave.c:1154:12: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] - 1154 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); +restore.c: In function 'get_plname_from_file': +restore.c:1214:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 1214 | (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +restore.c:1215:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 1215 | (void) read(fd, (genericptr_t) plbuf, pltmpsiz); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rip.o rip.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rnd.o rnd.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o role.o role.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rumors.o rumors.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o save.o save.c +botl.c: In function 'status_hilite_menu_add': +botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] + 3385 | Sprintf(obuf, "%s or %s", + | ^~~~ +In function 'sprintf', + inlined from 'status_hilite_menu_add' at botl.c:3385:21: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o shk.o shk.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o shknam.o shknam.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sit.o sit.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sounds.o sounds.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sp_lev.o sp_lev.c +save.c: In function 'savestateinlock': +save.c:401:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 401 | (void) read(fd, (genericptr_t) &hpid, sizeof hpid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:418:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 418 | (void) write(fd, (genericptr_t) &hackpid, sizeof hackpid); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o spell.o spell.c +save.c:422:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 422 | (void) write(fd, (genericptr_t) &currlev, sizeof currlev); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sys.o sys.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o steal.o steal.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o steed.o steed.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o teleport.o teleport.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o timeout.o timeout.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o topten.o topten.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o track.o track.c +sounds.c: In function 'domonnoise': +sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds=] + 622 | verbl_msg = vampmsg[vampindex]; + | ~~~~~~~^~~~~~~~~~~ +sounds.c:592:38: note: while referencing 'vampmsg' + 592 | static const char *const vampmsg[] = { + | ^~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o trap.o trap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o u_init.o u_init.c +objnam.c: In function 'mshot_xname': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ -files.c: In function 'save_savefile_name': -files.c:982:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 982 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -files.c: In function 'docompress_file': -files.c:1400:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1400 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1401 | (void) setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -explode.c: In function 'explode': -explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] - 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), - | ^~ +In function 'strprepend', + inlined from 'mshot_xname' at objnam.c:822:15: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o uhitm.o uhitm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o vault.o vault.c +objnam.c: In function 'doname_base': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'doname_base' at objnam.c:1303:10: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o vision.o vision.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o vis_tab.o vis_tab.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o weapon.o weapon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o were.o were.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wield.o wield.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o windows.o windows.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wizard.o wizard.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o worm.o worm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o worn.o worn.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o write.o write.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o zap.o zap.c +sounds.c: In function 'add_sound_mapping': +sounds.c:1135:31: warning: '%s' directive writing up to 254 bytes into a region of size between 1 and 255 [-Wformat-overflow=] + 1135 | Sprintf(filespec, "%s/%s", sounddir, filename); + | ^~ ~~~~~~~~ +options.c: In function 'option_help': +options.c:6287:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] + 6287 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, + | ^~~ In file included from /usr/include/stdio.h:970, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from explode.c:5: + from options.c:17: In function 'sprintf', - inlined from 'explode' at explode.c:539:21: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 256 + inlined from 'option_help' at options.c:6287:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -botl.c: In function 'status_hilite_menu_add': -botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] - 3385 | Sprintf(obuf, "%s or %s", - | ^~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from sounds.c:5: In function 'sprintf', - inlined from 'status_hilite_menu_add' at botl.c:3385:21: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 + inlined from 'add_sound_mapping' at sounds.c:1135:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 510 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o fountain.o fountain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o hack.o hack.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o hacklib.o hacklib.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o invent.o invent.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o light.o light.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o lock.o lock.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mail.o mail.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o makemon.o makemon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mapglyph.o mapglyph.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mcastu.o mcastu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mhitm.o mhitm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mhitu.o mhitu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o minion.o minion.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mklev.o mklev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkmap.o mkmap.c +objnam.c: In function 'aobjnam': +objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'aobjnam' at objnam.c:1796:14: +objnam.c:70:28: note: length computed here + 70 | register int i = (int) strlen(pref); + | ^~~~~~~~~~~~ +write.c: In function 'dowrite': +write.c:161:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] + 161 | (void) strncpy(bp, " armor ", 7); /* won't add '\0' */ + | ^ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o posixregex.o ../sys/share/posixregex.c cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -3569,7 +3793,6 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkmaze.o mkmaze.c cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ @@ -3584,339 +3807,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkobj.o mkobj.c -hacklib.c: In function 'yyyymmddhhmmss': -hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~ -hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from hacklib.c:7: -In function 'sprintf', - inlined from 'yyyymmddhhmmss' at hacklib.c:1031:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mkroom.o mkroom.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mon.o mon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mondata.o mondata.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o monmove.o monmove.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mplayer.o mplayer.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mthrowu.o mthrowu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o muse.o muse.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o music.o music.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o o_init.o o_init.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o objnam.o objnam.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o options.o options.c -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3278:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3288:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3297:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3305:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pager.o pager.c -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3313:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3341:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cmd.c: In function 'show_conduct': -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ -In function 'sprintf', - inlined from 'enlght_line' at cmd.c:1653:5, - inlined from 'show_conduct' at cmd.c:3341:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pickup.o pickup.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pline.o pline.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o polyself.o polyself.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o potion.o potion.c -pline.c: In function 'vpline': -pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] - 129 | int vlen = 0; - | ^~~~ -pline.c: In function 'vconfig_error_add': -pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] - 598 | int vlen = 0; - | ^~~~ -pline.c: In function 'vpline': -pline.c:162:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); - | ^ -pager.c: In function 'checkfile.constprop': -pager.c:659:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 659 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pray.o pray.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o priest.o priest.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o quest.o quest.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o questpgr.o questpgr.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o read.o read.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rect.o rect.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o region.o region.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o restore.o restore.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rip.o rip.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rnd.o rnd.c -restore.c: In function 'get_plname_from_file': -restore.c:1214:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 1214 | (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -restore.c:1215:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 1215 | (void) read(fd, (genericptr_t) plbuf, pltmpsiz); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o role.o role.c -polyself.c: In function 'polyself': -polyself.c:496:26: warning: array subscript -1 is below array bounds of 'struct mvitals[382]' [-Warray-bounds=] - 496 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { - | ~~~~~~~^~~~~~~ -In file included from ../include/hack.h:170, - from polyself.c:22: -../include/decl.h:274:3: note: while referencing 'mvitals' - 274 | } mvitals[NUMMONS]; - | ^~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rumors.o rumors.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o save.o save.c -options.c: In function 'option_help': -options.c:6287:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] - 6287 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, - | ^~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from options.c:17: -In function 'sprintf', - inlined from 'option_help' at options.c:6287:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -objnam.c: In function 'mshot_xname': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'mshot_xname' at objnam.c:822:15: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -save.c: In function 'savestateinlock': -save.c:401:16: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 401 | (void) read(fd, (genericptr_t) &hpid, sizeof hpid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:418:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 418 | (void) write(fd, (genericptr_t) &hackpid, sizeof hackpid); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:422:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 422 | (void) write(fd, (genericptr_t) &currlev, sizeof currlev); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o shk.o shk.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o shknam.o shknam.c -objnam.c: In function 'doname_base': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'doname_base' at objnam.c:1303:10: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sit.o sit.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sounds.o sounds.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sp_lev.o sp_lev.c -objnam.c: In function 'aobjnam': -objnam.c:77:12: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'aobjnam' at objnam.c:1796:14: -objnam.c:70:28: note: length computed here - 70 | register int i = (int) strlen(pref); - | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o spell.o spell.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sys.o sys.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o steal.o steal.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o steed.o steed.c -sounds.c: In function 'domonnoise': -sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds=] - 622 | verbl_msg = vampmsg[vampindex]; - | ~~~~~~~^~~~~~~~~~~ -sounds.c:592:38: note: while referencing 'vampmsg' - 592 | static const char *const vampmsg[] = { - | ^~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o teleport.o teleport.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o timeout.o timeout.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o topten.o topten.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o track.o track.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o trap.o trap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o u_init.o u_init.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o uhitm.o uhitm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o vault.o vault.c -potion.c: In function 'potionhit': -potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); - | ^ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from potion.c:6: -In function 'sprintf', - inlined from 'potionhit' at potion.c:1406:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o vision.o vision.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o vis_tab.o vis_tab.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o weapon.o weapon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o were.o were.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wield.o wield.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o windows.o windows.c -sounds.c: In function 'add_sound_mapping': -sounds.c:1135:31: warning: '%s' directive writing up to 254 bytes into a region of size between 1 and 255 [-Wformat-overflow=] - 1135 | Sprintf(filespec, "%s/%s", sounddir, filename); - | ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from sounds.c:5: -In function 'sprintf', - inlined from 'add_sound_mapping' at sounds.c:1135:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 510 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wizard.o wizard.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o worm.o worm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o worn.o worn.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o write.o write.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o zap.o zap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o posixregex.o ../sys/share/posixregex.c -In file included from ../include/hack.h:216, - from sp_lev.c:12: -In function 'create_monster', - inlined from 'spo_monster' at sp_lev.c:3108:5: -../include/rm.h:659:44: warning: array subscript -1 is below array bounds of 'struct monst *[80][21]' [-Warray-bounds=] - 659 | #define remove_monster(x, y) level.monsters[x][y] = (struct monst *) 0 - | ~~~~~~~~~~~~~~^~~ -sp_lev.c:1705:25: note: in expansion of macro 'remove_monster' - 1705 | remove_monster(x, y); - | ^~~~~~~~~~~~~~ -../include/rm.h: In function 'spo_monster': -../include/rm.h:596:19: note: while referencing 'monsters' - 596 | struct monst *monsters[COLNO][ROWNO]; - | ^~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o ioctl.o ../sys/share/ioctl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixmain.o ../sys/unix/unixmain.c -write.c: In function 'dowrite': -write.c:161:16: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] - 161 | (void) strncpy(bp, " armor ", 7); /* won't add '\0' */ - | ^ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixtty.o ../sys/share/unixtty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixunix.o ../sys/unix/unixunix.c g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4bind.o ../win/Qt4/qt4bind.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4click.o ../win/Qt4/qt4click.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:490:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -3929,9 +3824,7 @@ ../sys/unix/unixmain.c:789:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 789 | fread(&seed, sizeof (long), 1, fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4delay.o ../win/Qt4/qt4delay.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4glyph.o ../win/Qt4/qt4glyph.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4click.o ../win/Qt4/qt4click.cpp cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ../sys/unix/unixunix.c: In function 'child': ../sys/unix/unixunix.c:307:16: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -3943,19 +3836,50 @@ ../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 310 | (void) chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4icon.o ../win/Qt4/qt4icon.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ../sys/unix/unixmain.c: In function 'main': ../sys/unix/unixmain.c:244:20: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 244 | (void) strncat(strcat(plname, "-"), pl_character, | ^ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4delay.o ../win/Qt4/qt4delay.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +polyself.c: In function 'polyself': +polyself.c:496:26: warning: array subscript -1 is below array bounds of 'struct mvitals[382]' [-Warray-bounds=] + 496 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { + | ~~~~~~~^~~~~~~ +In file included from ../include/hack.h:170, + from polyself.c:22: +../include/decl.h:274:3: note: while referencing 'mvitals' + 274 | } mvitals[NUMMONS]; + | ^~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4glyph.o ../win/Qt4/qt4glyph.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4icon.o ../win/Qt4/qt4icon.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4inv.o ../win/Qt4/qt4inv.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4key.o ../win/Qt4/qt4key.cpp cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4key.o ../win/Qt4/qt4key.cpp cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4line.o ../win/Qt4/qt4line.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4main.o ../win/Qt4/qt4main.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4map.o ../win/Qt4/qt4map.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4menu.o ../win/Qt4/qt4menu.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4msg.o ../win/Qt4/qt4msg.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4plsel.o ../win/Qt4/qt4plsel.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4rip.o ../win/Qt4/qt4rip.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4set.o ../win/Qt4/qt4set.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4stat.o ../win/Qt4/qt4stat.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4streq.o ../win/Qt4/qt4streq.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4svsel.o ../win/Qt4/qt4svsel.cpp cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ weapon.c: In function 'enhance_weapon_skill': weapon.c:1265:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] @@ -4030,22 +3954,186 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4map.o ../win/Qt4/qt4map.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4win.o ../win/Qt4/qt4win.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4xcmd.o ../win/Qt4/qt4xcmd.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +In file included from ../include/hack.h:216, + from sp_lev.c:12: +In function 'create_monster', + inlined from 'spo_monster' at sp_lev.c:3108:5: +../include/rm.h:659:44: warning: array subscript -1 is below array bounds of 'struct monst *[80][21]' [-Warray-bounds=] + 659 | #define remove_monster(x, y) level.monsters[x][y] = (struct monst *) 0 + | ~~~~~~~~~~~~~~^~~ +sp_lev.c:1705:25: note: in expansion of macro 'remove_monster' + 1705 | remove_monster(x, y); + | ^~~~~~~~~~~~~~ +../include/rm.h: In function 'spo_monster': +../include/rm.h:596:19: note: while referencing 'monsters' + 596 | struct monst *monsters[COLNO][ROWNO]; + | ^~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4yndlg.o ../win/Qt4/qt4yndlg.cpp +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c ../win/share/tilemap.c +potion.c: In function 'potionhit': +potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); + | ^ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from potion.c:6: +In function 'sprintf', + inlined from 'potionhit' at potion.c:1406:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' +../util/makedefs -v +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o version.o version.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o +version.c: In function 'early_version_info': +version.c:187:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 187 | Sprintf(buf2, "%s\n", buf); + | ^ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from version.c:6: +In function 'sprintf', + inlined from 'early_version_info' at version.c:187:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +version.c: In function 'early_version_info': +version.c:187:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 187 | Sprintf(buf2, "%s\n", buf); + | ^ +In function 'sprintf', + inlined from 'early_version_info' at version.c:187:5: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +./tilemap +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o tile.o tile.c +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3278:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3288:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3297:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3305:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3313:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3341:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cmd.c: In function 'show_conduct': +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ +In function 'sprintf', + inlined from 'enlght_line' at cmd.c:1653:5, + inlined from 'show_conduct' at cmd.c:3341:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ options.c: In function 'doset': options.c:4692:28: warning: '__builtin_strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 4692 | (void) strncat(eos(buf), abuf, | ^ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4menu.o ../win/Qt4/qt4menu.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4msg.o ../win/Qt4/qt4msg.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4plsel.o ../win/Qt4/qt4plsel.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4rip.o ../win/Qt4/qt4rip.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4set.o ../win/Qt4/qt4set.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ In function 'sel_set_feature', inlined from 'selection_iterate' at sp_lev.c:4244:18, inlined from 'spo_feature' at sp_lev.c:4339:5, @@ -4056,35 +4144,15 @@ sp_lev.c:4320:9: note: 'typ' was declared here 4320 | int typ; | ^~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4stat.o ../win/Qt4/qt4stat.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4streq.o ../win/Qt4/qt4streq.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4svsel.o ../win/Qt4/qt4svsel.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4win.o ../win/Qt4/qt4win.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4xcmd.o ../win/Qt4/qt4xcmd.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -../win/Qt4/qt4key.cpp: In member function 'Qt::KeyboardModifiers nethack_qt4::NetHackQtKeyBuffer::GetState()': -../win/Qt4/qt4key.cpp:67:27: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::KeyboardModifier; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] - 67 | if ( Empty() ) return 0; - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1305, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4key.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here - 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} - | ^~~~~~ -../win/Qt4/qt4key.cpp: In member function 'Qt::KeyboardModifiers nethack_qt4::NetHackQtKeyBuffer::TopState() const': -../win/Qt4/qt4key.cpp:87:27: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::KeyboardModifier; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] - 87 | if ( Empty() ) return 0; - | ^ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here - 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} - | ^~~~~~ +../win/Qt4/qt4map.cpp: In member function 'virtual void nethack_qt4::NetHackQtMapViewport::paintEvent(QPaintEvent*)': +../win/Qt4/qt4map.cpp:121:30: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 121 | if ( fm.width("M") > qt_settings->glyphs().width() ) + | ~~~~~~~~^~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4map.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ In file included from ../win/Qt4/qt4menu.cpp:24: ../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': ../win/Qt4/qt4menu.h:24:34: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] @@ -4150,104 +4218,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -../win/Qt4/qt4menu.cpp:393:28: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 393 | WidenColumn(4, fm.width(text)); - | ~~~~~~~~^~~~~~ -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -../win/Qt4/qt4menu.cpp:395:18: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] - 395 | if (mi.color != -1) { - | ~~~~~~~~~^~~~~ -../win/Qt4/qt4menu.cpp: In member function 'virtual void nethack_qt4::NetHackQtMenuWindow::keyPressEvent(QKeyEvent*)': -../win/Qt4/qt4menu.cpp:496:36: warning: comparison of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] - 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) -../win/Qt4/qt4menu.cpp:496:62: warning: comparison of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] - 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4yndlg.o ../win/Qt4/qt4yndlg.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -../win/Qt4/qt4icon.cpp: In member function 'void nethack_qt4::NetHackQtLabelledIcon::setLabel(const QString&, long int, long int, const QString&)': -../win/Qt4/qt4icon.cpp:74:20: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 74 | buf.sprintf("%ld", v); - | ~~~~~~~~~~~^~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4icon.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here - 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -In file included from ../win/Qt4/qt4bind.cpp:36: -../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': -../win/Qt4/qt4menu.h:24:34: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 24 | int lwidth = fm.width(item(i)->text()); - | ~~~~~~~~^~~~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4bind.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -../win/Qt4/qt4bind.cpp: In constructor 'nethack_qt4::NetHackQtBind::NetHackQtBind(int&, char**)': -../win/Qt4/qt4bind.cpp:115:20: warning: 'static void QCoreApplication::flush()' is deprecated [-Wdeprecated-declarations] - 115 | qApp->flush(); -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcommandlineparser.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:55, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:169:31: note: declared here - 169 | QT_DEPRECATED static void flush(); - | ^~~~~ -../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_init_nhwindows(int*, char**)': -../win/Qt4/qt4bind.cpp:147:31: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] - 147 | QApplication::setColorSpec(ManyColor); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, - from ../win/Qt4/qt4bind.cpp:23: -/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here - 106 | QT_DEPRECATED static void setColorSpec(int); - | ^~~~~~~~~~~~ -../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_display_file(const char*, int)': -../win/Qt4/qt4bind.cpp:366:24: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 366 | message.sprintf("File not found: %s\n",filename); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here - 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4bind.cpp: In member function 'virtual bool nethack_qt4::NetHackQtBind::notify(QObject*, QEvent*)': -../win/Qt4/qt4bind.cpp:700:65: warning: comparison of integer expressions of different signedness: 'QFlags::Int' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 700 | && ((key_macro[i].state&key_event->modifiers())==key_macro[i].state)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -../win/Qt4/qt4glyph.cpp: In constructor 'nethack_qt4::NetHackQtGlyphs::NetHackQtGlyphs()': -../win/Qt4/qt4glyph.cpp:55:24: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 55 | msg.sprintf("Cannot load x11tiles or nhtiles.bmp"); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4glyph.cpp:21: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here - 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4msg.cpp: In member function 'virtual void nethack_qt4::NetHackQtMessageWindow::PutStr(int, const QString&)': -../win/Qt4/qt4msg.cpp:144:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 144 | if (list->count() >= ::iflags.msg_history) - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -../win/Qt4/qt4plsel.cpp: In constructor 'nethack_qt4::NetHackQtPlayerSelector::NetHackQtPlayerSelector(nethack_qt4::NetHackQtKeyBuffer&)': -../win/Qt4/qt4plsel.cpp:185:18: warning: unused variable 'vbgb' [-Wunused-variable] - 185 | QVBoxLayout* vbgb = new QVBoxLayout(genderbox); - | ^~~~ -../win/Qt4/qt4plsel.cpp:186:18: warning: unused variable 'vbab' [-Wunused-variable] - 186 | QVBoxLayout* vbab = new QVBoxLayout(alignbox); - | ^~~~ -make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c ../win/share/tilemap.c ../win/Qt4/qt4main.cpp: In function 'QString nethack_qt4::aboutMsg()': ../win/Qt4/qt4main.cpp:442:16: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 442 | msg.sprintf( @@ -4282,6 +4252,12 @@ | ~~~~~~~~~~~~~~ 457 | PATCHLEVEL); | ~~~~~~~~~~~ +../win/Qt4/qt4menu.cpp:393:28: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 393 | WidenColumn(4, fm.width(text)); + | ~~~~~~~~^~~~~~ +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, @@ -4291,92 +4267,33 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ -/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' -../util/makedefs -v -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o version.o version.c -version.c: In function 'early_version_info': -version.c:187:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 187 | Sprintf(buf2, "%s\n", buf); - | ^ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from version.c:6: -In function 'sprintf', - inlined from 'early_version_info' at version.c:187:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -version.c: In function 'early_version_info': -version.c:187:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 187 | Sprintf(buf2, "%s\n", buf); - | ^ -In function 'sprintf', - inlined from 'early_version_info' at version.c:187:5: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o -./tilemap -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o tile.o tile.c -../win/Qt4/qt4main.cpp: At global scope: -../win/Qt4/qt4main.cpp:419:21: warning: 'nethack_qt4::cast_c_xpm' defined but not used [-Wunused-variable] - 419 | static const char * cast_c_xpm[] = { - | ^~~~~~~~~~ -../win/Qt4/qt4main.cpp:400:21: warning: 'nethack_qt4::cast_b_xpm' defined but not used [-Wunused-variable] - 400 | static const char * cast_b_xpm[] = { - | ^~~~~~~~~~ -../win/Qt4/qt4main.cpp:381:21: warning: 'nethack_qt4::cast_a_xpm' defined but not used [-Wunused-variable] - 381 | static const char * cast_a_xpm[] = { - | ^~~~~~~~~~ -../win/Qt4/qt4menu.cpp: In member function 'virtual void nethack_qt4::NetHackQtTextWindow::UseRIP(int, time_t)': -../win/Qt4/qt4menu.cpp:670:54: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 17 [-Wformat-truncation=] - 670 | snprintf(rip_line[NAME_LINE], STONE_LINE_LEN+1, "%s", plname); - | ^~ ~~~~~~ -In file included from /usr/include/stdio.h:970, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from ../win/Qt4/qt4menu.cpp:8: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'virtual void nethack_qt4::NetHackQtTextWindow::UseRIP(int, time_t)' at ../win/Qt4/qt4menu.cpp:670:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 17 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -../win/Qt4/qt4map.cpp: In member function 'virtual void nethack_qt4::NetHackQtMapViewport::paintEvent(QPaintEvent*)': -../win/Qt4/qt4map.cpp:121:30: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 121 | if ( fm.width("M") > qt_settings->glyphs().width() ) - | ~~~~~~~~^~~~~ -../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_init_nhwindows(int*, char**)': -../win/Qt4/qt4bind.cpp:144:12: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 144 | seteuid(getuid()); - | ~~~~~~~^~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4map.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -../win/Qt4/qt4bind.cpp:151:12: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 151 | seteuid(gamesuid); - | ~~~~~~~^~~~~~~~~~ -../win/Qt4/qt4bind.cpp: At global scope: -../win/Qt4/qt4bind.cpp:740:13: warning: 'void nethack_qt4::Qt_positionbar(char*)' defined but not used [-Wunused-function] - 740 | static void Qt_positionbar(char *) {} - | ^~~~~~~~~~~~~~ +../win/Qt4/qt4menu.cpp:395:18: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] + 395 | if (mi.color != -1) { + | ~~~~~~~~~^~~~~ +../win/Qt4/qt4menu.cpp: In member function 'virtual void nethack_qt4::NetHackQtMenuWindow::keyPressEvent(QKeyEvent*)': +../win/Qt4/qt4menu.cpp:496:36: warning: comparison of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] + 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) +../win/Qt4/qt4menu.cpp:496:62: warning: comparison of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] + 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) +../win/Qt4/qt4key.cpp: In member function 'Qt::KeyboardModifiers nethack_qt4::NetHackQtKeyBuffer::GetState()': +../win/Qt4/qt4key.cpp:67:27: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::KeyboardModifier; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 67 | if ( Empty() ) return 0; + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1305, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4key.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ +../win/Qt4/qt4key.cpp: In member function 'Qt::KeyboardModifiers nethack_qt4::NetHackQtKeyBuffer::TopState() const': +../win/Qt4/qt4key.cpp:87:27: warning: 'constexpr QFlags::QFlags(Zero) [with Enum = Qt::KeyboardModifier; Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] + 87 | if ( Empty() ) return 0; + | ^ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here + 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} + | ^~~~~~ ../win/Qt4/qt4rip.cpp: In function 'void nethack_qt4::tryload(QPixmap&, const char*)': ../win/Qt4/qt4rip.cpp:44:20: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 44 | msg.sprintf("Cannot load \"%s\"", fn); @@ -4390,21 +4307,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ -../win/Qt4/qt4streq.cpp: In member function 'bool nethack_qt4::NetHackQtStringRequestor::Get(char*, int)': -../win/Qt4/qt4streq.cpp:81:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 81 | resize(fontMetrics().width(prompt.text())+50,fontMetrics().height()*6); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4streq.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -../win/Qt4/qt4streq.cpp:83:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 83 | resize(fontMetrics().width(prompt.text())*2+50,fontMetrics().height()*4); - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ In file included from ../win/Qt4/qt4map.cpp:28: ../include/qt_xpms.h: At global scope: ../include/qt_xpms.h:1363:20: warning: 'wis_xpm' defined but not used [-Wunused-variable] @@ -4473,6 +4375,105 @@ ../include/qt_xpms.h:3:20: warning: 'blind_xpm' defined but not used [-Wunused-variable] 3 | static const char *blind_xpm[] = { | ^~~~~~~~~ +../win/Qt4/qt4svsel.cpp: In constructor 'nethack_qt4::NetHackQtSavedGameSelector::NetHackQtSavedGameSelector(const char**)': +../win/Qt4/qt4svsel.cpp:63:18: warning: unused variable 'bgl' [-Wunused-variable] + 63 | QVBoxLayout *bgl = new QVBoxLayout(box); + | ^~~ +In file included from ../win/Qt4/qt4bind.cpp:36: +../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': +../win/Qt4/qt4menu.h:24:34: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 24 | int lwidth = fm.width(item(i)->text()); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4bind.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +../win/Qt4/qt4bind.cpp: In constructor 'nethack_qt4::NetHackQtBind::NetHackQtBind(int&, char**)': +../win/Qt4/qt4bind.cpp:115:20: warning: 'static void QCoreApplication::flush()' is deprecated [-Wdeprecated-declarations] + 115 | qApp->flush(); +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcommandlineparser.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:55, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:169:31: note: declared here + 169 | QT_DEPRECATED static void flush(); + | ^~~~~ +../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_init_nhwindows(int*, char**)': +../win/Qt4/qt4bind.cpp:147:31: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] + 147 | QApplication::setColorSpec(ManyColor); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, + from ../win/Qt4/qt4bind.cpp:23: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here + 106 | QT_DEPRECATED static void setColorSpec(int); + | ^~~~~~~~~~~~ +../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_display_file(const char*, int)': +../win/Qt4/qt4bind.cpp:366:24: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 366 | message.sprintf("File not found: %s\n",filename); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here + 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4bind.cpp: In member function 'virtual bool nethack_qt4::NetHackQtBind::notify(QObject*, QEvent*)': +../win/Qt4/qt4bind.cpp:700:65: warning: comparison of integer expressions of different signedness: 'QFlags::Int' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 700 | && ((key_macro[i].state&key_event->modifiers())==key_macro[i].state)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +../win/Qt4/qt4yndlg.cpp: In member function 'char nethack_qt4::NetHackQtYnDialog::Exec()': +../win/Qt4/qt4yndlg.cpp:117:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] + 117 | QGroupBox *group = new QGroupBox(bigq ? QString::null : qlabel, this); + | ^~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4yndlg.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:951:23: note: declared here + 951 | static const Null null; + | ^~~~ +../win/Qt4/qt4yndlg.cpp:117:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] + 117 | QGroupBox *group = new QGroupBox(bigq ? QString::null : qlabel, this); + | ^~~~ +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:951:23: note: declared here + 951 | static const Null null; + | ^~~~ +../win/Qt4/qt4yndlg.cpp:185:25: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 185 | for (uint i=0; itext()); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4win.cpp:60: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +../win/Qt4/qt4main.cpp: At global scope: +../win/Qt4/qt4main.cpp:419:21: warning: 'nethack_qt4::cast_c_xpm' defined but not used [-Wunused-variable] + 419 | static const char * cast_c_xpm[] = { + | ^~~~~~~~~~ +../win/Qt4/qt4main.cpp:400:21: warning: 'nethack_qt4::cast_b_xpm' defined but not used [-Wunused-variable] + 400 | static const char * cast_b_xpm[] = { + | ^~~~~~~~~~ +../win/Qt4/qt4main.cpp:381:21: warning: 'nethack_qt4::cast_a_xpm' defined but not used [-Wunused-variable] + 381 | static const char * cast_a_xpm[] = { + | ^~~~~~~~~~ ../win/Qt4/qt4stat.cpp: In member function 'void nethack_qt4::NetHackQtStatusWindow::updateStats()': ../win/Qt4/qt4stat.cpp:376:20: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 376 | buf.sprintf("STR:%d",ACURR(A_STR)-100); @@ -4534,13 +4535,84 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ -In file included from ../win/Qt4/qt4win.cpp:72: -../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': -../win/Qt4/qt4menu.h:24:34: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 24 | int lwidth = fm.width(item(i)->text()); - | ~~~~~~~~^~~~~~~~~~~~~~~~~ +../win/Qt4/qt4plsel.cpp: In constructor 'nethack_qt4::NetHackQtPlayerSelector::NetHackQtPlayerSelector(nethack_qt4::NetHackQtKeyBuffer&)': +../win/Qt4/qt4plsel.cpp:185:18: warning: unused variable 'vbgb' [-Wunused-variable] + 185 | QVBoxLayout* vbgb = new QVBoxLayout(genderbox); + | ^~~~ +../win/Qt4/qt4plsel.cpp:186:18: warning: unused variable 'vbab' [-Wunused-variable] + 186 | QVBoxLayout* vbab = new QVBoxLayout(alignbox); + | ^~~~ +../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_init_nhwindows(int*, char**)': +../win/Qt4/qt4bind.cpp:144:12: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 144 | seteuid(getuid()); + | ~~~~~~~^~~~~~~~~~ +../win/Qt4/qt4bind.cpp:151:12: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 151 | seteuid(gamesuid); + | ~~~~~~~^~~~~~~~~~ +../win/Qt4/qt4bind.cpp: At global scope: +../win/Qt4/qt4bind.cpp:740:13: warning: 'void nethack_qt4::Qt_positionbar(char*)' defined but not used [-Wunused-function] + 740 | static void Qt_positionbar(char *) {} + | ^~~~~~~~~~~~~~ +../win/Qt4/qt4menu.cpp: In member function 'virtual void nethack_qt4::NetHackQtTextWindow::UseRIP(int, time_t)': +../win/Qt4/qt4menu.cpp:670:54: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 17 [-Wformat-truncation=] + 670 | snprintf(rip_line[NAME_LINE], STONE_LINE_LEN+1, "%s", plname); + | ^~ ~~~~~~ +In file included from /usr/include/stdio.h:970, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from ../win/Qt4/qt4menu.cpp:8: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'virtual void nethack_qt4::NetHackQtTextWindow::UseRIP(int, time_t)' at ../win/Qt4/qt4menu.cpp:670:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 17 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +../win/Qt4/qt4msg.cpp: In member function 'virtual void nethack_qt4::NetHackQtMessageWindow::PutStr(int, const QString&)': +../win/Qt4/qt4msg.cpp:144:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 144 | if (list->count() >= ::iflags.msg_history) + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +../win/Qt4/qt4icon.cpp: In member function 'void nethack_qt4::NetHackQtLabelledIcon::setLabel(const QString&, long int, long int, const QString&)': +../win/Qt4/qt4icon.cpp:74:20: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 74 | buf.sprintf("%ld", v); + | ~~~~~~~~~~~^~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4icon.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here + 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4glyph.cpp: In constructor 'nethack_qt4::NetHackQtGlyphs::NetHackQtGlyphs()': +../win/Qt4/qt4glyph.cpp:55:24: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 55 | msg.sprintf("Cannot load x11tiles or nhtiles.bmp"); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4glyph.cpp:21: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:390:14: note: declared here + 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4streq.cpp: In member function 'bool nethack_qt4::NetHackQtStringRequestor::Get(char*, int)': +../win/Qt4/qt4streq.cpp:81:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 81 | resize(fontMetrics().width(prompt.text())+50,fontMetrics().height()*6); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4win.cpp:60: + from ../win/Qt4/qt4streq.cpp:18: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +../win/Qt4/qt4streq.cpp:83:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 83 | resize(fontMetrics().width(prompt.text())*2+50,fontMetrics().height()*4); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ @@ -4555,10 +4627,6 @@ ../include/qt_xpms.h:920:20: warning: 'pet_mark_xpm' defined but not used [-Wunused-variable] 920 | static const char *pet_mark_xpm[] = { | ^~~~~~~~~~~~ -../win/Qt4/qt4svsel.cpp: In constructor 'nethack_qt4::NetHackQtSavedGameSelector::NetHackQtSavedGameSelector(const char**)': -../win/Qt4/qt4svsel.cpp:63:18: warning: unused variable 'bgl' [-Wunused-variable] - 63 | QVBoxLayout *bgl = new QVBoxLayout(box); - | ^~~ ../win/Qt4/qt4xcmd.cpp: In constructor 'nethack_qt4::NetHackQtExtCmdRequestor::NetHackQtExtCmdRequestor(QWidget*)': ../win/Qt4/qt4xcmd.cpp:56:41: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 56 | butw = std::max(butw,30+fm.width(extcmdlist[i].ef_txt)); @@ -4568,38 +4636,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -../win/Qt4/qt4yndlg.cpp: In member function 'char nethack_qt4::NetHackQtYnDialog::Exec()': -../win/Qt4/qt4yndlg.cpp:117:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] - 117 | QGroupBox *group = new QGroupBox(bigq ? QString::null : qlabel, this); - | ^~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4yndlg.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:951:23: note: declared here - 951 | static const Null null; - | ^~~~ -../win/Qt4/qt4yndlg.cpp:117:58: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] - 117 | QGroupBox *group = new QGroupBox(bigq ? QString::null : qlabel, this); - | ^~~~ -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:951:23: note: declared here - 951 | static const Null null; - | ^~~~ -../win/Qt4/qt4yndlg.cpp:185:25: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 185 | for (uint i=0; i