Diff of the two buildlogs: -- --- b1/build.log 2024-12-19 08:55:28.875051694 +0000 +++ b2/build.log 2024-12-19 09:08:05.484864170 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Dec 18 20:25:44 -12 2024 -I: pbuilder-time-stamp: 1734596744 +I: Current time: Thu Dec 19 22:56:16 +14 2024 +I: pbuilder-time-stamp: 1734598576 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -37,52 +37,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/790/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21074/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 Dec 19 08:56 /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/21074/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21074/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e90dc1d6343f449abe5c626febbe367f' - 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='790' - PS1='# ' - PS2='> ' + INVOCATION_ID=f65b499c113545898a676d852ecb0c74 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=21074 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.7nujuyP2/pbuilderrc_Luup --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7nujuyP2/b1 --logfile b1/build.log nethack_3.6.7-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.7nujuyP2/pbuilderrc_VK91 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7nujuyP2/b2 --logfile b2/build.log nethack_3.6.7-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/790/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/21074/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -388,7 +420,7 @@ Get: 237 http://deb.debian.org/debian trixie/main armhf qtmultimedia5-dev armhf 5.15.15-2 [45.9 kB] Get: 238 http://deb.debian.org/debian trixie/main armhf xfonts-encodings all 1:1.0.4-2.2 [577 kB] Get: 239 http://deb.debian.org/debian trixie/main armhf xfonts-utils armhf 1:7.7+7 [84.2 kB] -Fetched 115 MB in 5s (23.5 MB/s) +Fetched 115 MB in 2s (46.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package m4. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19674 files and directories currently installed.) @@ -1173,8 +1205,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Dec 19 08:28:32 UTC 2024. -Universal Time is now: Thu Dec 19 08:28:32 UTC 2024. +Local time is now: Thu Dec 19 08:57:44 UTC 2024. +Universal Time is now: Thu Dec 19 08:57:44 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libcap2-bin (1:2.66-5+b1) ... @@ -1384,7 +1416,11 @@ fakeroot is already the newest version (1.36-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/21074/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/21074/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 @@ -1449,182 +1485,24 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' touch ../src/hack.h-t +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o allmain.o allmain.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o weapon.o weapon.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o were.o were.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wield.o wield.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o windows.o windows.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wizard.o wizard.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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 ()); - | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worm.o worm.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worn.o worn.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o write.o write.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.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, - | ^ -../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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c -../win/curses/cursstat.c: In function 'curs_HPbar': -../win/curses/cursstat.c:925:12: warning: '__builtin_strncpy' 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 */ - | ^~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c -../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'); - | ^ -In file included from /usr/include/stdio.h:970, - from /usr/include/curses.h:246, - from ../win/curses/cursinit.c:6: -In function 'sprintf', - inlined from 'curses_choose_character' at ../win/curses/cursinit.c:455:5: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o allmain.o allmain.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o apply.o apply.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o artifact.o artifact.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o attrib.o attrib.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ball.o ball.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o bones.o bones.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o botl.o botl.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cmd.o cmd.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)((unsigned int)sidx * 128)' must not be NULL [-Waddress] 2069 | while (s[sidx]) { @@ -1633,7 +1511,11 @@ botl.c:2488:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((unsigned int)sidx * 128)' must not be NULL [-Waddress] 2488 | while(s[sidx]) { | ^ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cmd.o cmd.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dbridge.o dbridge.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", @@ -1654,24 +1536,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dbridge.o dbridge.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/arm-linux-gnueabihf/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o decl.o decl.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o detect.o detect.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); @@ -1691,6 +1557,19 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 function 'sprintf', + inlined from 'status_hilite_menu_add' at botl.c:3385:21: +/usr/include/arm-linux-gnueabihf/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 ()); + | ~~~~~~~~~~~~~~~~~ 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); @@ -1705,9 +1584,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o decl.o decl.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o detect.o detect.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dig.o dig.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o display.o display.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); @@ -1843,7 +1721,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o display.o display.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do.o do.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_name.o do_name.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); @@ -1942,8 +1821,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do.o do.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_name.o do_name.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_wear.o do_wear.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, @@ -1990,7 +1868,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_wear.o do_wear.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dog.o dog.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dogmove.o dogmove.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dokick.o dokick.c @@ -2011,11 +1888,11 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o eat.o eat.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o end.o end.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o engrave.o engrave.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o exper.o exper.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o exper.o exper.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o explode.o explode.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o extralev.o extralev.c explode.c: In function 'explode': @@ -2038,6 +1915,7 @@ | ~~~~~~~~~~~~~~~~~ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o files.o files.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o fountain.o fountain.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hack.o hack.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)); @@ -2049,7 +1927,6 @@ files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1401 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hack.o hack.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hacklib.o hacklib.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o invent.o invent.c hacklib.c: In function 'yyyymmddhhmmss': @@ -2097,6 +1974,12 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o o_init.o o_init.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o objnam.o objnam.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o options.o options.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pager.o pager.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pickup.o pickup.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 */ @@ -2106,7 +1989,6 @@ objnam.c:70:28: note: length computed here 70 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pager.o pager.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 */ @@ -2116,19 +1998,6 @@ objnam.c:70:28: note: length computed here 70 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~ -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" */ - | ^ 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, @@ -2147,7 +2016,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pickup.o pickup.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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] @@ -2162,6 +2039,8 @@ 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); | ^ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o polyself.o polyself.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o potion.o potion.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pray.o pray.c options.c: In function 'doset': options.c:4555:40: warning: 's [' directive writing 3 bytes into a region of size between 2 and 11 [-Wformat-overflow=] 4555 | Sprintf(fmtstr_doset, "%%s%%-%us [%%s]", longest_name_len); @@ -2179,7 +2058,6 @@ 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, | ^ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o potion.o potion.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)) { @@ -2189,11 +2067,21 @@ ../include/decl.h:274:3: note: while referencing 'mvitals' 274 | } mvitals[NUMMONS]; | ^~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pray.o pray.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o priest.o priest.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o quest.o quest.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o questpgr.o questpgr.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o read.o read.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rect.o rect.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o region.o region.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o restore.o restore.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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c: In function 'potionhit': +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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")); | ^ @@ -2211,17 +2099,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o read.o read.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rect.o rect.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o region.o region.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o restore.o restore.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rip.o rip.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rnd.o rnd.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o role.o role.c @@ -2241,6 +2118,7 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shknam.o shknam.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sit.o sit.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sounds.o sounds.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.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]; @@ -2248,8 +2126,10 @@ sounds.c:592:38: note: while referencing 'vampmsg' 592 | static const char *const vampmsg[] = { | ^~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o spell.o spell.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sys.o sys.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steal.o steal.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steed.o steed.c In file included from ../include/hack.h:216, from sp_lev.c:12: In function 'create_monster', @@ -2264,9 +2144,6 @@ ../include/rm.h:596:19: note: while referencing 'monsters' 596 | struct monst *monsters[COLNO][ROWNO]; | ^~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sys.o sys.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steal.o steal.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steed.o steed.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o teleport.o teleport.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o timeout.o timeout.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topten.o topten.c @@ -2277,6 +2154,165 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vault.o vault.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vision.o vision.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vis_tab.o vis_tab.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o weapon.o weapon.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o were.o were.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wield.o wield.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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 ()); + | ~~~~~~~~~~~~~~~~~ +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o windows.o windows.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wizard.o wizard.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worm.o worm.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worn.o worn.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o write.o write.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o zap.o zap.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c +../win/curses/cursstat.c: In function 'curs_HPbar': +../win/curses/cursstat.c:925:12: warning: '__builtin_strncpy' 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 */ + | ^~~~~~~~~~~~ +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c +../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'); + | ^ +In file included from /usr/include/stdio.h:970, + from /usr/include/curses.h:246, + from ../win/curses/cursinit.c:6: +In function 'sprintf', + inlined from 'curses_choose_character' at ../win/curses/cursinit.c:455:5: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 + 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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o version.o version.c @@ -2322,11 +2358,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 -Wl,-z,relro -Wl,-z,now' CFLAGS='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dlb.o dlb.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o isaac64.o isaac64.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o Window.o ../win/X11/Window.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dialogs.o ../win/X11/dialogs.c @@ -2343,6 +2379,8 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o windows.o windows.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wizard.o wizard.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worm.o worm.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worn.o worn.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.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), @@ -2416,13 +2454,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worn.o worn.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o zap.o zap.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c @@ -2437,11 +2473,11 @@ ../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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.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); @@ -2452,6 +2488,7 @@ | ^~~~~~~~~~~~~~~~~~~~~ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o getline.o ../win/tty/getline.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o termcap.o ../win/tty/termcap.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()); @@ -2462,7 +2499,6 @@ ../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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o termcap.o ../win/tty/termcap.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topl.o ../win/tty/topl.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintty.o ../win/tty/wintty.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winX.o ../win/X11/winX.c @@ -2473,13 +2509,6 @@ ../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/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmap.o ../win/X11/winmap.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] @@ -2488,6 +2517,13 @@ ../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/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmenu.o ../win/X11/winmenu.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmesg.o ../win/X11/winmesg.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmisc.o ../win/X11/winmisc.c @@ -2541,6 +2577,11 @@ 2488 | while(s[sidx]) { | ^ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o cmd.o cmd.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dbridge.o dbridge.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); + | ^ 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", @@ -2561,11 +2602,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dbridge.o dbridge.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o decl.o decl.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o detect.o detect.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", @@ -2612,9 +2650,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o decl.o decl.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o detect.o detect.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dig.o dig.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o display.o display.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); @@ -2750,6 +2787,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do.o do.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_name.o do_name.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); @@ -2848,9 +2887,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o display.o display.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do.o do.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_name.o do_name.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_wear.o do_wear.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, @@ -2897,10 +2934,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_wear.o do_wear.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dog.o dog.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dogmove.o dogmove.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dokick.o dokick.c dogmove.c: In function 'droppables': dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] 120 | } @@ -2912,17 +2947,18 @@ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dokick.o dokick.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dothrow.o dothrow.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o drawing.o drawing.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dungeon.o dungeon.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o eat.o eat.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o end.o end.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o engrave.o engrave.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o exper.o exper.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o exper.o exper.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o explode.o explode.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o extralev.o extralev.c explode.c: In function 'explode': @@ -3004,6 +3040,12 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o o_init.o o_init.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o objnam.o objnam.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o options.o options.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pager.o pager.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pickup.o pickup.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 */ @@ -3022,20 +3064,6 @@ objnam.c:70:28: note: length computed here 70 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pager.o pager.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" */ - | ^ -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: 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, @@ -3054,7 +3082,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pickup.o pickup.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -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] @@ -3069,6 +3105,17 @@ 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); | ^ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o polyself.o polyself.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o potion.o potion.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pray.o pray.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]; + | ^~~~~~~ options.c: In function 'doset': options.c:4555:40: warning: 's [' directive writing 3 bytes into a region of size between 2 and 11 [-Wformat-overflow=] 4555 | Sprintf(fmtstr_doset, "%%s%%-%us [%%s]", longest_name_len); @@ -3086,20 +3133,11 @@ 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, | ^ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o potion.o potion.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pray.o pray.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o priest.o priest.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o quest.o quest.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o questpgr.o questpgr.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o read.o read.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rect.o rect.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")); @@ -3118,8 +3156,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o read.o read.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rect.o rect.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o region.o region.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o restore.o restore.c restore.c: In function 'get_plname_from_file': @@ -3148,6 +3184,8 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shknam.o shknam.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sit.o sit.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sounds.o sounds.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sp_lev.o sp_lev.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o spell.o spell.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]; @@ -3155,8 +3193,9 @@ sounds.c:592:38: note: while referencing 'vampmsg' 592 | static const char *const vampmsg[] = { | ^~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sp_lev.o sp_lev.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o spell.o spell.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sys.o sys.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steal.o steal.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steed.o steed.c In file included from ../include/hack.h:216, from sp_lev.c:12: In function 'create_monster', @@ -3171,9 +3210,6 @@ ../include/rm.h:596:19: note: while referencing 'monsters' 596 | struct monst *monsters[COLNO][ROWNO]; | ^~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sys.o sys.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steal.o steal.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steed.o steed.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o teleport.o teleport.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o timeout.o timeout.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topten.o topten.c @@ -3231,15 +3267,15 @@ make[2]: Entering directory '/build/reproducible-path/nethack-3.6.7/src' cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o alloc.o alloc.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dlb.o dlb.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o isaac64.o isaac64.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixres.o ../sys/unix/unixres.c g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4clust.o ../win/Qt4/qt4clust.cpp -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /usr/bin/moc -o qt4main.moc ../win/Qt4/qt4main.h /usr/bin/moc -o qt4kde0.moc ../win/Qt4/qt4kde0.h +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ /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 @@ -3254,11 +3290,13 @@ ./makedefs -p make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' touch ../src/hack.h-t +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o weapon.o weapon.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o weapon.o weapon.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o were.o were.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wield.o wield.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o windows.o windows.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), @@ -3332,24 +3370,23 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wield.o wield.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wizard.o wizard.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o worm.o worm.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 'unsigned int'} and 'int' [-Wsign-compare] 38 | for (size_t i = 0; i < words.size(); ++i) { | ~~^~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o windows.o windows.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o wizard.o wizard.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o worm.o worm.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o worn.o worn.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o write.o write.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o zap.o zap.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o posixregex.o ../sys/share/posixregex.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o posixregex.o ../sys/share/posixregex.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o ioctl.o ../sys/share/ioctl.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixmain.o ../sys/unix/unixmain.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixtty.o ../sys/share/unixtty.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()); @@ -3361,12 +3398,11 @@ ../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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixtty.o ../sys/share/unixtty.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixunix.o ../sys/unix/unixunix.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o unixunix.o ../sys/unix/unixunix.c g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4bind.o ../win/Qt4/qt4bind.cpp cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ../sys/unix/unixunix.c: In function 'child': @@ -3383,6 +3419,8 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ 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] @@ -3426,7 +3464,9 @@ ../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)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4glyph.o ../win/Qt4/qt4glyph.cpp +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4inv.o ../win/Qt4/qt4inv.cpp cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ../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] @@ -3439,9 +3479,7 @@ ../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 *) {} | ^~~~~~~~~~~~~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4inv.o ../win/Qt4/qt4inv.cpp +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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] @@ -3456,8 +3494,6 @@ /usr/include/arm-linux-gnueabihf/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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); @@ -3475,6 +3511,8 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -I. -I/usr/include -c -o qt4main.o ../win/Qt4/qt4main.cpp cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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; @@ -3494,8 +3532,6 @@ /usr/include/arm-linux-gnueabihf/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) {} | ^~~~~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../win/Qt4/qt4main.cpp: In function 'QString nethack_qt4::aboutMsg()': @@ -3541,6 +3577,17 @@ /usr/include/arm-linux-gnueabihf/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ +../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/arm-linux-gnueabihf/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4map.cpp:20: +/usr/include/arm-linux-gnueabihf/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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[] = { @@ -3551,15 +3598,6 @@ ../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/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/arm-linux-gnueabihf/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4map.cpp:20: -/usr/include/arm-linux-gnueabihf/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] @@ -3628,10 +3666,6 @@ ../include/qt_xpms.h:3:20: warning: 'blind_xpm' defined but not used [-Wunused-variable] 3 | static const char *blind_xpm[] = { | ^~~~~~~~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ 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] @@ -3706,6 +3740,8 @@ ../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) { | ~~~~~~~~~^~~~~ +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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); @@ -3724,10 +3760,16 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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); @@ -3735,12 +3777,6 @@ ../win/Qt4/qt4plsel.cpp:186:18: warning: unused variable 'vbab' [-Wunused-variable] 186 | QVBoxLayout* vbab = new QVBoxLayout(alignbox); | ^~~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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); @@ -3756,6 +3792,8 @@ | ^~~~~~~ g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ ../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); @@ -3817,8 +3855,6 @@ /usr/include/arm-linux-gnueabihf/qt5/QtCore/qstring.h:390:14: note: declared here 390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ In file included from ../win/Qt4/qt4stat.cpp:28: ../include/qt_xpms.h: At global scope: ../include/qt_xpms.h:949:20: warning: 'pile_mark_xpm' defined but not used [-Wunused-variable] @@ -3847,14 +3883,21 @@ /usr/include/arm-linux-gnueabihf/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ +g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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/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); | ^~~ -g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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++ g++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c ../win/share/tilemap.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 -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o +./tilemap +make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o allmain.o allmain.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o apply.o apply.c 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] @@ -3865,13 +3908,7 @@ /usr/include/arm-linux-gnueabihf/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -make[3]: Entering directory '/build/reproducible-path/nethack-3.6.7/util' -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c ../win/share/tilemap.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 -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o -./tilemap -make[3]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util' -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o allmain.o allmain.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o apply.o apply.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o artifact.o artifact.c ../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)); @@ -3881,6 +3918,8 @@ /usr/include/arm-linux-gnueabihf/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o attrib.o attrib.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o ball.o ball.c ../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); @@ -3913,11 +3952,9 @@ ../win/Qt4/qt4yndlg.cpp:47:9: warning: variable 'ch_per_line' set but not used [-Wunused-but-set-variable] 47 | int ch_per_line=6; | ^~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o artifact.o artifact.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o attrib.o attrib.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o ball.o ball.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o bones.o bones.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o botl.o botl.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o cmd.o cmd.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)((unsigned int)sidx * 128)' must not be NULL [-Waddress] 2069 | while (s[sidx]) { @@ -3926,7 +3963,6 @@ botl.c:2488:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((unsigned int)sidx * 128)' must not be NULL [-Waddress] 2488 | while(s[sidx]) { | ^ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o cmd.o cmd.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dbridge.o dbridge.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] @@ -4001,6 +4037,7 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dig.o dig.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o display.o display.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); @@ -4136,7 +4173,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o display.o display.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o do.o do.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); @@ -4235,7 +4272,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o do.o do.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o do_name.o do_name.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o do_wear.o do_wear.c do_name.c: In function 'getpos_menu': @@ -4286,7 +4322,6 @@ | ~~~~~~~~~~~~~~~~~ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dog.o dog.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dogmove.o dogmove.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dokick.o dokick.c dogmove.c: In function 'droppables': dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] 120 | } @@ -4298,18 +4333,20 @@ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dokick.o dokick.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dothrow.o dothrow.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o drawing.o drawing.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o dungeon.o dungeon.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o eat.o eat.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o end.o end.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o engrave.o engrave.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o exper.o exper.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o explode.o explode.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o exper.o exper.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o explode.o explode.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o extralev.o extralev.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(), @@ -4328,9 +4365,9 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o extralev.o extralev.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o files.o files.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o fountain.o fountain.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o hack.o hack.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)); @@ -4342,8 +4379,8 @@ files.c:1401:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1401 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o hack.o hack.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o hacklib.o hacklib.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o invent.o invent.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, @@ -4365,7 +4402,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o invent.o invent.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o light.o light.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o lock.o lock.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o mail.o mail.c @@ -4390,6 +4426,12 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o o_init.o o_init.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o objnam.o objnam.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o options.o options.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pager.o pager.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pickup.o pickup.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 */ @@ -4408,16 +4450,6 @@ objnam.c:70:28: note: length computed here 70 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pager.o pager.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); - | ^~~~~~~~~~~~ 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, @@ -4436,11 +4468,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pickup.o pickup.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -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] @@ -4455,6 +4491,17 @@ 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); | ^ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o polyself.o polyself.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o potion.o potion.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pray.o pray.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]; + | ^~~~~~~ options.c: In function 'doset': options.c:4555:40: warning: 's [' directive writing 3 bytes into a region of size between 2 and 11 [-Wformat-overflow=] 4555 | Sprintf(fmtstr_doset, "%%s%%-%us [%%s]", longest_name_len); @@ -4472,18 +4519,9 @@ 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, | ^ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o potion.o potion.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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o pray.o pray.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o priest.o priest.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o quest.o quest.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o questpgr.o questpgr.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")); @@ -4502,12 +4540,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o quest.o quest.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o questpgr.o questpgr.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o read.o read.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rect.o rect.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o region.o region.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o restore.o restore.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -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)); @@ -4515,7 +4552,6 @@ 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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rip.o rip.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rnd.o rnd.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o role.o role.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o rumors.o rumors.c @@ -4534,6 +4570,7 @@ cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o shknam.o shknam.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sit.o sit.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sounds.o sounds.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sp_lev.o sp_lev.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]; @@ -4541,7 +4578,7 @@ sounds.c:592:38: note: while referencing 'vampmsg' 592 | static const char *const vampmsg[] = { | ^~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sp_lev.o sp_lev.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o spell.o spell.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); @@ -4560,7 +4597,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o spell.o spell.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sys.o sys.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o steal.o steal.c In file included from ../include/hack.h:216, from sp_lev.c:12: In function 'create_monster', @@ -4575,11 +4613,12 @@ ../include/rm.h:596:19: note: while referencing 'monsters' 596 | struct monst *monsters[COLNO][ROWNO]; | ^~~~~~~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o sys.o sys.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o steal.o steal.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o steed.o steed.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o teleport.o teleport.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o timeout.o timeout.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o topten.o topten.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o track.o track.c +cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o trap.o trap.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, @@ -4590,9 +4629,6 @@ sp_lev.c:4320:9: note: 'typ' was declared here 4320 | int typ; | ^~~ -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o topten.o topten.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o track.o track.c -cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o trap.o trap.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o u_init.o u_init.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o uhitm.o uhitm.c cc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -I/usr/include/arm-linux-gnueabihf/qt5/QtGui -I/usr/include/arm-linux-gnueabihf/qt5 -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtWidgets -DQT_MULTIMEDIA_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -DQT_NETWORK_LIB -I/usr/include/arm-linux-gnueabihf/qt5/QtNetwork -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -c -o vault.o vault.c @@ -5304,14 +5340,14 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'nethack-console-dbgsym' in '../nethack-console-dbgsym_3.6.7-1_armhf.deb'. -dpkg-deb: building package 'nethack-qt' in '../nethack-qt_3.6.7-1_armhf.deb'. dpkg-deb: building package 'nethack-common' in '../nethack-common_3.6.7-1_armhf.deb'. -dpkg-deb: building package 'nethack-qt-dbgsym' in '../nethack-qt-dbgsym_3.6.7-1_armhf.deb'. -dpkg-deb: building package 'nethack-x11' in '../nethack-x11_3.6.7-1_armhf.deb'. -dpkg-deb: building package 'nethack-common-dbgsym' in '../nethack-common-dbgsym_3.6.7-1_armhf.deb'. dpkg-deb: building package 'nethack-console' in '../nethack-console_3.6.7-1_armhf.deb'. +dpkg-deb: building package 'nethack-qt' in '../nethack-qt_3.6.7-1_armhf.deb'. +dpkg-deb: building package 'nethack-x11' in '../nethack-x11_3.6.7-1_armhf.deb'. dpkg-deb: building package 'nethack-x11-dbgsym' in '../nethack-x11-dbgsym_3.6.7-1_armhf.deb'. +dpkg-deb: building package 'nethack-console-dbgsym' in '../nethack-console-dbgsym_3.6.7-1_armhf.deb'. +dpkg-deb: building package 'nethack-qt-dbgsym' in '../nethack-qt-dbgsym_3.6.7-1_armhf.deb'. +dpkg-deb: building package 'nethack-common-dbgsym' in '../nethack-common-dbgsym_3.6.7-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../nethack_3.6.7-1_armhf.buildinfo dpkg-genchanges --build=binary -O../nethack_3.6.7-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -5319,12 +5355,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/21074/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21074/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/790 and its subdirectories -I: Current time: Wed Dec 18 20:55:22 -12 2024 -I: pbuilder-time-stamp: 1734598522 +I: removing directory /srv/workspace/pbuilder/21074 and its subdirectories +I: Current time: Thu Dec 19 23:08:00 +14 2024 +I: pbuilder-time-stamp: 1734599280