I: pbuilder: network access will be disabled during build I: Current time: Mon Aug 10 19:18:27 -12 2020 I: pbuilder-time-stamp: 1597130307 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [nethack_3.6.1-1.dsc] I: copying [./nethack_3.6.1.orig.tar.gz] I: copying [./nethack_3.6.1-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sun Sep 16 04:47:19 2018 -12 gpgv: using RSA key F88C6DE43699E8F3B3B54C10C7F1676DEA2D01EF gpgv: issuer "jcowgill@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./nethack_3.6.1-1.dsc dpkg-source: info: extracting nethack in nethack-3.6.1 dpkg-source: info: unpacking nethack_3.6.1.orig.tar.gz dpkg-source: info: unpacking nethack_3.6.1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying u1-fix-H7138-sys-unix-setup.sh-fails-with-no-arguments.patch dpkg-source: info: applying 0001-Make-sure-the-user-calling-recover-owns-the-file.patch dpkg-source: info: applying 0002-Change-paths-in-the-default-manpage-to-what-is-used-.patch dpkg-source: info: applying 0004-Add-LISP-based-windowing-system.patch dpkg-source: info: applying 0006-Common-config.h-for-all-binary-packages.patch dpkg-source: info: applying 0007-Be-a-little-bit-more-useful-with-recover-s-error-mes.patch dpkg-source: info: applying 0008-Use-usr-share-pixmaps-nethack-for-pretty-pictures.patch dpkg-source: info: applying 0009-Better-way-to-do-it.patch dpkg-source: info: applying 0017-Debian-and-Linux-specifics-defined-in-unixconf.h.patch dpkg-source: info: applying 0018-lisp-support-in-src-Makefile.patch dpkg-source: info: applying 0020-fix-64-bit-issues-in-lisp-code.patch dpkg-source: info: applying 0021-fix-kfreebsd-ftbfs.patch dpkg-source: info: applying 0024-lisp-3.6.patch dpkg-source: info: applying 0026-fix-permanently-identify.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/8694/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' 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='8694' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.MLBYtJxXxM/pbuilderrc_sF72 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.MLBYtJxXxM/b1 --logfile b1/build.log nethack_3.6.1-1.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux codethink-sled10-arm64 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 10 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore -rwxr-xr-x 1 root root 35576 Feb 28 2019 cat -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash -rwxr-xr-x 1 root root 97136 Feb 28 2019 date -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd -rwxr-xr-x 1 root root 93752 Feb 28 2019 df -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir -rwxr-xr-x 1 root root 75984 Jan 9 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 27256 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 22 07:38 fusermount -rwxr-xr-x 1 root root 174304 Jan 7 2019 grep -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 5 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln -rwxr-xr-x 1 root root 52544 Jul 26 2018 login -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 9 2019 more -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 138736 Feb 28 2019 mv lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 8 20:26 sh -> dash -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty -rwsr-xr-x 1 root root 59424 Jan 9 2019 su -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch -rwxr-xr-x 1 root root 27256 Feb 28 2019 true -rwxr-xr-x 1 root root 14264 Apr 22 07:38 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 9 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 21 2019 which lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew I: user script /srv/workspace/pbuilder/8694/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: bison, bsdmainutils, debhelper (>= 11), flex, groff-base, libncurses5-dev | libncurses-dev, libx11-dev, libxaw7-dev | libxaw-dev, libxext-dev, libxmu-dev, libxt-dev, po-debconf, xfonts-utils dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on bison; however: Package bison is not installed. pbuilder-satisfydepends-dummy depends on bsdmainutils; however: Package bsdmainutils is not installed. pbuilder-satisfydepends-dummy depends on debhelper (>= 11); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on flex; however: Package flex is not installed. pbuilder-satisfydepends-dummy depends on groff-base; however: Package groff-base is not installed. pbuilder-satisfydepends-dummy depends on libncurses5-dev | libncurses-dev; however: Package libncurses5-dev is not installed. Package libncurses-dev is not installed. pbuilder-satisfydepends-dummy depends on libx11-dev; however: Package libx11-dev is not installed. pbuilder-satisfydepends-dummy depends on libxaw7-dev | libxaw-dev; however: Package libxaw7-dev is not installed. Package libxaw-dev is not installed. pbuilder-satisfydepends-dummy depends on libxext-dev; however: Package libxext-dev is not installed. pbuilder-satisfydepends-dummy depends on libxmu-dev; however: Package libxmu-dev is not installed. pbuilder-satisfydepends-dummy depends on libxt-dev; however: Package libxt-dev is not installed. pbuilder-satisfydepends-dummy depends on po-debconf; however: Package po-debconf is not installed. pbuilder-satisfydepends-dummy depends on xfonts-utils; however: Package xfonts-utils is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bison{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} flex{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbison-dev{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libfontenc1{a} libfreetype6{a} libglib2.0-0{a} libice-dev{a} libice6{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses5-dev{a} libncurses6{a} libpipeline1{a} libpng16-16{a} libpthread-stubs0-dev{a} libsigsegv2{a} libsm-dev{a} libsm6{a} libtool{a} libuchardet0{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxaw7{a} libxaw7-dev{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxml2{a} libxmu-dev{a} libxmu-headers{a} libxmu6{a} libxpm-dev{a} libxpm4{a} libxt-dev{a} libxt6{a} lsb-base{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} x11-common{a} x11proto-core-dev{a} x11proto-dev{a} x11proto-xext-dev{a} xfonts-encodings{a} xfonts-utils{a} xorg-sgml-doctools{a} xtrans-dev{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libfl-dev libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 75 newly installed, 0 to remove and 0 not upgraded. Need to get 26.6 MB of archives. After unpacking 93.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 flex arm64 2.6.4-6.2 [446 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 libbison-dev arm64 2:3.3.2.dfsg-1 [500 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 bison arm64 2:3.3.2.dfsg-1 [855 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 36 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 37 http://deb.debian.org/debian buster/main arm64 libfontenc1 arm64 1:1.1.3-1+b2 [22.7 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 libpng16-16 arm64 1.6.36-6 [287 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 libfreetype6 arm64 2.9.1-3+deb10u1 [355 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 lsb-base all 10.2019051400 [28.4 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 x11-common all 1:7.7+19 [251 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 libice6 arm64 2:1.0.9-2 [52.0 kB] Get: 43 http://deb.debian.org/debian buster/main arm64 xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get: 44 http://deb.debian.org/debian buster/main arm64 x11proto-dev all 2018.4-4 [251 kB] Get: 45 http://deb.debian.org/debian buster/main arm64 x11proto-core-dev all 2018.4-4 [3128 B] Get: 46 http://deb.debian.org/debian buster/main arm64 libice-dev arm64 2:1.0.9-2 [62.0 kB] Get: 47 http://deb.debian.org/debian buster/main arm64 libncurses-dev arm64 6.1+20181013-2+deb10u2 [324 kB] Get: 48 http://deb.debian.org/debian buster/main arm64 libncurses5-dev arm64 6.1+20181013-2+deb10u2 [948 B] Get: 49 http://deb.debian.org/debian buster/main arm64 libpthread-stubs0-dev arm64 0.4-1 [5336 B] Get: 50 http://deb.debian.org/debian buster/main arm64 libsm6 arm64 2:1.2.3-1 [34.0 kB] Get: 51 http://deb.debian.org/debian buster/main arm64 libsm-dev arm64 2:1.2.3-1 [37.4 kB] Get: 52 http://deb.debian.org/debian buster/main arm64 libxau6 arm64 1:1.0.8-1+b2 [19.3 kB] Get: 53 http://deb.debian.org/debian buster/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB] Get: 54 http://deb.debian.org/debian buster/main arm64 libxcb1 arm64 1.13.1-2 [135 kB] Get: 55 http://deb.debian.org/debian buster/main arm64 libx11-data all 2:1.6.7-1 [298 kB] Get: 56 http://deb.debian.org/debian buster/main arm64 libx11-6 arm64 2:1.6.7-1 [735 kB] Get: 57 http://deb.debian.org/debian buster/main arm64 libxau-dev arm64 1:1.0.8-1+b2 [22.8 kB] Get: 58 http://deb.debian.org/debian buster/main arm64 libxdmcp-dev arm64 1:1.1.2-3 [41.2 kB] Get: 59 http://deb.debian.org/debian buster/main arm64 xtrans-dev all 1.3.5-1 [100 kB] Get: 60 http://deb.debian.org/debian buster/main arm64 libxcb1-dev arm64 1.13.1-2 [174 kB] Get: 61 http://deb.debian.org/debian buster/main arm64 libx11-dev arm64 2:1.6.7-1 [816 kB] Get: 62 http://deb.debian.org/debian buster/main arm64 libxext6 arm64 2:1.3.3-1+b2 [48.6 kB] Get: 63 http://deb.debian.org/debian buster/main arm64 libxt6 arm64 1:1.1.5-1+b3 [175 kB] Get: 64 http://deb.debian.org/debian buster/main arm64 libxmu6 arm64 2:1.1.2-2+b3 [57.8 kB] Get: 65 http://deb.debian.org/debian buster/main arm64 libxpm4 arm64 1:3.5.12-1 [43.9 kB] Get: 66 http://deb.debian.org/debian buster/main arm64 libxaw7 arm64 2:1.0.13-1+b2 [167 kB] Get: 67 http://deb.debian.org/debian buster/main arm64 x11proto-xext-dev all 2018.4-4 [3128 B] Get: 68 http://deb.debian.org/debian buster/main arm64 libxext-dev arm64 2:1.3.3-1+b2 [104 kB] Get: 69 http://deb.debian.org/debian buster/main arm64 libxt-dev arm64 1:1.1.5-1+b3 [424 kB] Get: 70 http://deb.debian.org/debian buster/main arm64 libxmu-headers all 2:1.1.2-2 [51.9 kB] Get: 71 http://deb.debian.org/debian buster/main arm64 libxmu-dev arm64 2:1.1.2-2+b3 [65.5 kB] Get: 72 http://deb.debian.org/debian buster/main arm64 libxpm-dev arm64 1:3.5.12-1 [100 kB] Get: 73 http://deb.debian.org/debian buster/main arm64 libxaw7-dev arm64 2:1.0.13-1+b2 [235 kB] Get: 74 http://deb.debian.org/debian buster/main arm64 xfonts-encodings all 1:1.0.4-2 [574 kB] Get: 75 http://deb.debian.org/debian buster/main arm64 xfonts-utils arm64 1:7.7+6 [85.6 kB] Fetched 26.6 MB in 2s (12.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (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 ... 19168 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../06-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package flex. Preparing to unpack .../08-flex_2.6.4-6.2_arm64.deb ... Unpacking flex (2.6.4-6.2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../09-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../10-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../11-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../12-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../13-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libbison-dev:arm64. Preparing to unpack .../18-libbison-dev_2%3a3.3.2.dfsg-1_arm64.deb ... Unpacking libbison-dev:arm64 (2:3.3.2.dfsg-1) ... Selecting previously unselected package bison. Preparing to unpack .../19-bison_2%3a3.3.2.dfsg-1_arm64.deb ... Unpacking bison (2:3.3.2.dfsg-1) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../21-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../22-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../25-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../27-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../28-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../29-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../30-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../31-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../33-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../34-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../35-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libfontenc1:arm64. Preparing to unpack .../36-libfontenc1_1%3a1.1.3-1+b2_arm64.deb ... Unpacking libfontenc1:arm64 (1:1.1.3-1+b2) ... Selecting previously unselected package libpng16-16:arm64. Preparing to unpack .../37-libpng16-16_1.6.36-6_arm64.deb ... Unpacking libpng16-16:arm64 (1.6.36-6) ... Selecting previously unselected package libfreetype6:arm64. Preparing to unpack .../38-libfreetype6_2.9.1-3+deb10u1_arm64.deb ... Unpacking libfreetype6:arm64 (2.9.1-3+deb10u1) ... Selecting previously unselected package lsb-base. Preparing to unpack .../39-lsb-base_10.2019051400_all.deb ... Unpacking lsb-base (10.2019051400) ... Selecting previously unselected package x11-common. Preparing to unpack .../40-x11-common_1%3a7.7+19_all.deb ... Unpacking x11-common (1:7.7+19) ... Selecting previously unselected package libice6:arm64. Preparing to unpack .../41-libice6_2%3a1.0.9-2_arm64.deb ... Unpacking libice6:arm64 (2:1.0.9-2) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../42-xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../43-x11proto-dev_2018.4-4_all.deb ... Unpacking x11proto-dev (2018.4-4) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../44-x11proto-core-dev_2018.4-4_all.deb ... Unpacking x11proto-core-dev (2018.4-4) ... Selecting previously unselected package libice-dev:arm64. Preparing to unpack .../45-libice-dev_2%3a1.0.9-2_arm64.deb ... Unpacking libice-dev:arm64 (2:1.0.9-2) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../46-libncurses-dev_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libncurses5-dev:arm64. Preparing to unpack .../47-libncurses5-dev_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses5-dev:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libpthread-stubs0-dev:arm64. Preparing to unpack .../48-libpthread-stubs0-dev_0.4-1_arm64.deb ... Unpacking libpthread-stubs0-dev:arm64 (0.4-1) ... Selecting previously unselected package libsm6:arm64. Preparing to unpack .../49-libsm6_2%3a1.2.3-1_arm64.deb ... Unpacking libsm6:arm64 (2:1.2.3-1) ... Selecting previously unselected package libsm-dev:arm64. Preparing to unpack .../50-libsm-dev_2%3a1.2.3-1_arm64.deb ... Unpacking libsm-dev:arm64 (2:1.2.3-1) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../51-libxau6_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../52-libxdmcp6_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:arm64. Preparing to unpack .../53-libxcb1_1.13.1-2_arm64.deb ... Unpacking libxcb1:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../54-libx11-data_2%3a1.6.7-1_all.deb ... Unpacking libx11-data (2:1.6.7-1) ... Selecting previously unselected package libx11-6:arm64. Preparing to unpack .../55-libx11-6_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-6:arm64 (2:1.6.7-1) ... Selecting previously unselected package libxau-dev:arm64. Preparing to unpack .../56-libxau-dev_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau-dev:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp-dev:arm64. Preparing to unpack .../57-libxdmcp-dev_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp-dev:arm64 (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../58-xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libxcb1-dev:arm64. Preparing to unpack .../59-libxcb1-dev_1.13.1-2_arm64.deb ... Unpacking libxcb1-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-dev:arm64. Preparing to unpack .../60-libx11-dev_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-dev:arm64 (2:1.6.7-1) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../61-libxext6_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxt6:arm64. Preparing to unpack .../62-libxt6_1%3a1.1.5-1+b3_arm64.deb ... Unpacking libxt6:arm64 (1:1.1.5-1+b3) ... Selecting previously unselected package libxmu6:arm64. Preparing to unpack .../63-libxmu6_2%3a1.1.2-2+b3_arm64.deb ... Unpacking libxmu6:arm64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm4:arm64. Preparing to unpack .../64-libxpm4_1%3a3.5.12-1_arm64.deb ... Unpacking libxpm4:arm64 (1:3.5.12-1) ... Selecting previously unselected package libxaw7:arm64. Preparing to unpack .../65-libxaw7_2%3a1.0.13-1+b2_arm64.deb ... Unpacking libxaw7:arm64 (2:1.0.13-1+b2) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../66-x11proto-xext-dev_2018.4-4_all.deb ... Unpacking x11proto-xext-dev (2018.4-4) ... Selecting previously unselected package libxext-dev:arm64. Preparing to unpack .../67-libxext-dev_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext-dev:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxt-dev:arm64. Preparing to unpack .../68-libxt-dev_1%3a1.1.5-1+b3_arm64.deb ... Unpacking libxt-dev:arm64 (1:1.1.5-1+b3) ... Selecting previously unselected package libxmu-headers. Preparing to unpack .../69-libxmu-headers_2%3a1.1.2-2_all.deb ... Unpacking libxmu-headers (2:1.1.2-2) ... Selecting previously unselected package libxmu-dev:arm64. Preparing to unpack .../70-libxmu-dev_2%3a1.1.2-2+b3_arm64.deb ... Unpacking libxmu-dev:arm64 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm-dev:arm64. Preparing to unpack .../71-libxpm-dev_1%3a3.5.12-1_arm64.deb ... Unpacking libxpm-dev:arm64 (1:3.5.12-1) ... Selecting previously unselected package libxaw7-dev:arm64. Preparing to unpack .../72-libxaw7-dev_2%3a1.0.13-1+b2_arm64.deb ... Unpacking libxaw7-dev:arm64 (2:1.0.13-1+b2) ... Selecting previously unselected package xfonts-encodings. Preparing to unpack .../73-xfonts-encodings_1%3a1.0.4-2_all.deb ... Unpacking xfonts-encodings (1:1.0.4-2) ... Selecting previously unselected package xfonts-utils. Preparing to unpack .../74-xfonts-utils_1%3a7.7+6_arm64.deb ... Unpacking xfonts-utils (1:7.7+6) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up lsb-base (10.2019051400) ... Setting up libxau6:arm64 (1:1.0.8-1+b2) ... Setting up libbison-dev:arm64 (2:3.3.2.dfsg-1) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up x11-common (1:7.7+19) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libpthread-stubs0-dev:arm64 (0.4-1) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up xtrans-dev (1.3.5-1) ... Setting up libfontenc1:arm64 (1:1.1.3-1+b2) ... Setting up autotools-dev (20180224.1) ... Setting up libx11-data (2:1.6.7-1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up xfonts-encodings (1:1.0.4-2) ... Setting up libpng16-16:arm64 (1.6.36-6) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up x11proto-dev (2018.4-4) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libice6:arm64 (2:1.0.9-2) ... Setting up libxdmcp6:arm64 (1:1.1.2-3) ... Setting up libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Setting up libxcb1:arm64 (1.13.1-2) ... Setting up libxau-dev:arm64 (1:1.0.8-1+b2) ... Setting up libice-dev:arm64 (2:1.0.9-2) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libxdmcp-dev:arm64 (1:1.1.2-3) ... Setting up libfreetype6:arm64 (2.9.1-3+deb10u1) ... Setting up x11proto-core-dev (2018.4-4) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up x11proto-xext-dev (2018.4-4) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up libncurses5-dev:arm64 (6.1+20181013-2+deb10u2) ... Setting up bison (2:3.3.2.dfsg-1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up libx11-6:arm64 (2:1.6.7-1) ... Setting up libsm6:arm64 (2:1.2.3-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up flex (2.6.4-6.2) ... Setting up gettext (0.19.8.1-9) ... Setting up libxcb1-dev:arm64 (1.13.1-2) ... Setting up libxpm4:arm64 (1:3.5.12-1) ... Setting up libsm-dev:arm64 (2:1.2.3-1) ... Setting up libx11-dev:arm64 (2:1.6.7-1) ... Setting up libxext6:arm64 (2:1.3.3-1+b2) ... Setting up xfonts-utils (1:7.7+6) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxpm-dev:arm64 (1:3.5.12-1) ... Setting up libxt6:arm64 (1:1.1.5-1+b3) ... Setting up libxext-dev:arm64 (2:1.3.3-1+b2) ... Setting up libxmu-headers (2:1.1.2-2) ... Setting up libxmu6:arm64 (2:1.1.2-2+b3) ... Setting up po-debconf (1.0.21) ... Setting up libxaw7:arm64 (2:1.0.13-1+b2) ... Setting up libxt-dev:arm64 (1:1.1.5-1+b3) ... Setting up libxmu-dev:arm64 (2:1.1.2-2+b3) ... Setting up libxaw7-dev:arm64 (2:1.0.13-1+b2) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/nethack-3.6.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package nethack dpkg-buildpackage: info: source version 3.6.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by James Cowgill dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/nethack-3.6.1' rm -f debian/nh10.pcf.gz rm -f src/nethack-console src/nethack-lisp src/nethack-x11 src/nethack-dummy if [ -f Makefile ] ; then /usr/bin/make spotless ; fi find . -name Makefile -print0 | xargs -r -0 --no-run-if-empty rm make[1]: Leaving directory '/build/nethack-3.6.1' dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_build make[1]: Entering directory '/build/nethack-3.6.1' sh sys/unix/setup.sh /usr/bin/make clean make[2]: Entering directory '/build/nethack-3.6.1' ( cd src ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/src' rm -f *.o ../src/hack.h-t ../src/config.h-t make[3]: Leaving directory '/build/nethack-3.6.1/src' ( cd util ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/util' rm -f *.o make[3]: Leaving directory '/build/nethack-3.6.1/util' ( cd doc ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/doc' rm -f Guidebook.aux Guidebook.log make[3]: Leaving directory '/build/nethack-3.6.1/doc' make[2]: Leaving directory '/build/nethack-3.6.1' touch include/config.h sleep 2 /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL' LINK='$(CC)' -C util makedefs make[2]: Entering directory '/build/nethack-3.6.1/util' make[3]: Entering directory '/build/nethack-3.6.1/src' touch ../src/config.h-t make[3]: Leaving directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o makedefs.o makedefs.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/monst.c -o ../src/monst.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/objects.c -o ../src/objects.o makedefs.c: In function 'do_rumors': makedefs.c:1034:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", tempfile); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'do_data': makedefs.c:1916:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:1919:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] Sprintf(line, "header rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'do_oracles': makedefs.c:2089:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:2092:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] Sprintf(line, "header rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:2096:42: warning: '%s' directive writing up to 599 bytes into a region of size 239 [-Wformat-overflow=] Sprintf(line, "data rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 618 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/build/nethack-3.6.1/util' /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL ' WINSRC='$(WINTTYSRC)' WINOBJ='$(WINTTYOBJ)' WINLIB='-lcurses' LINK='$(CC)' GAME='nethack-console' -C src 'nethack-console' make[2]: Entering directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o alloc.o alloc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dlb.o dlb.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -o make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../sys/unix/unixres.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -p make[3]: Leaving directory '/build/nethack-3.6.1/util' touch ../src/hack.h-t cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o allmain.o allmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o apply.o apply.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -m cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o artifact.o artifact.c make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o bones.o bones.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o cmd.o cmd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dbridge.o dbridge.c botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2405:45: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2405:45: Sprintf(condbuf, "condition/%s/%s", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 522 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o decl.o decl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o detect.o detect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dig.o dig.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o display.o display.c botl.c: In function 'status_hilite2str': botl.c:2512:24: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] Sprintf(buf, "%s/%s/%s", initblstats[hl->fld].fldname, behavebuf, clrbuf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 513) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'do_statusline2': botl.c:225:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", hlth, cond, dloc, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:223:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, cond, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:221:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, cond, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:215:33: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, tmmv, cond); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o do.o do.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o do_name.o do_name.c botl.c: In function 'status_hilite_menu_add': botl.c:2846:58: warning: '%s' directive writing up to 255 bytes into a region of size 226 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2846:58: Sprintf(colorqry, "Choose a color for conditions %s:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 287 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:2848:59: warning: '%s' directive writing up to 255 bytes into a region of size 224 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2848:59: Sprintf(attrqry, "Choose attribute for conditions %s:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:2814:59: warning: '%s' directive writing up to 255 bytes into a region of size 226 [-Wformat-overflow=] Sprintf(attrqry, "Choose attribute for when %s is %s%s:", ^~ botl.c:2816:17: inbuf, ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 32 or more bytes (assuming 295) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'extcmd_via_menu': cmd.c:500:44: warning: '%s' directive writing up to 127 bytes into a region of size 110 [-Wformat-overflow=] Sprintf(prompt, "Extended Command: %s", cbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos_menu': do_name.c:599:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(fullbuf, "%s%s%s", firstmatch, ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos': do_name.c:188:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c:188:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1541:21: warning: ' the ' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s the %s's attributes:", tmpbuf, ^~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 20 or more bytes (assuming 275) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1606:28: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] Sprintf(buf, "%sin %s%s form", !final ? "currently " : "", tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1606:28: warning: '%s' directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] Sprintf(buf, "%sin %s%s form", !final ? "currently " : "", tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 19 or more bytes (assuming 274) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o do_wear.o do_wear.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dog.o dog.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dogmove.o dogmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dokick.o dokick.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dothrow.o dothrow.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o drawing.o drawing.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o dungeon.o dungeon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o eat.o eat.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o end.o end.c do_wear.c: In function 'armor_or_accessory_off': do_wear.c:1429:52: warning: '%s' directive writing up to 127 bytes into a region of size 103 [-Wformat-overflow=] Sprintf(why, " without taking off your %s first", what); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_wear.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 159 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ end.c: In function 'list_vanquished': end.c:1832:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buftoo, "%*s%s", pfx, "", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from end.c:8: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c: In function 'print_mapseen': dungeon.c:2945:25: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] Sprintf(buf, "%s%s:", TAB, endgamelevelname(tmpbuf, i)); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 260 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:2875:33: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(outbuf, " (play %s to open or close drawbridge)", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 292 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:3036:35: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(buf, "%sThe castle%s.", PREFIX, tunesuffix(mptr, tmpbuf)); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 273 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:3085:40: warning: '%s' directive writing up to 255 bytes into a region of size 242 [-Wformat-overflow=] Sprintf(buf, "%s%syou, %s%c", PREFIX, TAB, tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 271 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o engrave.o engrave.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o exper.o exper.c eat.c: In function 'edibility_prompts': eat.c:2313:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2321:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be something very dangerous! %s", ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 43 and 552 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2339:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s might be poisonous! %s", foodsmell, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 537 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2348:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s might have been poisoned. %s", foodsmell, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 34 and 543 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2354:25: warning: ' unhealthy. ' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unhealthy. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 395 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2361:25: warning: ' rather acidic. ' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s rather acidic. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 399 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2369:25: warning: ' disgusting to you right now..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s disgusting to you right now. %s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2384:25: warning: ' foul and unfamiliar to you.ÿ' directive writing 29 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s foul and unfamiliar to you. %s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 412 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2404:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2395:25: warning: ' unfamiliar to you. ' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unfamiliar to you. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 403 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2330:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be rotten! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 534 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o explode.o explode.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o extralev.o extralev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:967:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1357:16: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ files.c:1358:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o fountain.o fountain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o hack.o hack.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o hacklib.o hacklib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o invent.o invent.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o light.o light.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o lock.o lock.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mail.o mail.c hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:998:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, ^~~~ hacklib.c:998:22: note: directive argument in the range [-2147483647, 2147483647] Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from hacklib.c:7: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mapglyph.o mapglyph.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mcastu.o mcastu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mhitm.o mhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mhitu.o mhitu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o minion.o minion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mklev.o mklev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mkmap.o mkmap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mkmaze.o mkmaze.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mkobj.o mkobj.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mkroom.o mkroom.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mon.o mon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mondata.o mondata.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o monstr.o monstr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mplayer.o mplayer.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o mthrowu.o mthrowu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o muse.o muse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o music.o music.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o o_init.o o_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o objnam.o objnam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o options.o options.c mhitm.c: In function 'hitmm': mhitm.c:576:37: warning: ' squeezes' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s squeezes", magr_name); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:563:33: warning: ' stings' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s stings", magr_name); ^~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:569:33: warning: ' touches' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s touches", magr_name); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:566:33: warning: ' butts' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s butts", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:560:33: warning: ' bites' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s bites", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:581:33: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s hits", magr_name); ^~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o pager.o pager.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o pickup.o pickup.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o pline.o pline.c pager.c: In function 'do_screen_description': pager.c:1014:38: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] pager.c:1012:27: *firstmatch = look_buf; ~~~~~~~~ pager.c:1014:38: Sprintf(temp_buf, " (%s)", *firstmatch); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from pager.c:9: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c:1020:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] Sprintf(temp_buf, " [seen: %s]", monbuf); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from pager.c:9: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'option_help': options.c:5829:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, ^~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from options.c:17: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o polyself.o polyself.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o pray.o pray.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o priest.o priest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o questpgr.o questpgr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o read.o read.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o rect.o rect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o region.o region.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o restore.o restore.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o rip.o rip.c potion.c: In function 'dodip': potion.c:1879:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "%s%s into the %s?", Dip_, ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 16 or more bytes (assuming 143) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1869:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "%s%s into the fountain?", Dip_, ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 151 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1899:24: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "dip %s into", flags.verbose ? obuf : shortestname); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 137 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o rnd.o rnd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o role.o role.c options.c: In function 'doset': options.c:4288:40: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from options.c:17: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ restore.c: In function 'get_plname_from_file': restore.c:1164:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ restore.c:1165:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) plbuf, pltmpsiz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o rumors.o rumors.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o save.o save.c potion.c: In function 'potionhit': potion.c:1354:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1354:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c: In function 'savestateinlock': save.c:395:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:412:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:416:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o shk.o shk.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o shknam.o shknam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o sit.o sit.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o sounds.o sounds.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o sp_lev.o sp_lev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o spell.o spell.c sounds.c: In function 'domonnoise': sounds.c:620:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o sys.o sys.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o steal.o steal.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o steed.o steed.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o teleport.o teleport.c spell.c: In function 'getspell': spell.c:699:47: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] Sprintf(qbuf, "Cast which spell? [%s *?]", lets); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from spell.c:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o timeout.o timeout.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o topten.o topten.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o track.o track.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o trap.o trap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o u_init.o u_init.c topten.c: In function 'outentry': topten.c:930:32: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(linebuf, "%15s %s", "", linebuf3); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from topten.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o uhitm.o uhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o vault.o vault.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -z make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o weapon.o weapon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o were.o were.c uhitm.c: In function 'hmon_hitmon': uhitm.c:1232:47: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 251 [-Wformat-overflow=] Sprintf(silverobjbuf, "Your %s%s %s", ^~ uhitm.c:1234:25: saved_oname, vtense(saved_oname, "sear")); ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from uhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 269) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o wield.o wield.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o windows.o windows.c weapon.c: In function 'enhance_weapon_skill': weapon.c:1115:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), ^~ sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1112:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] Sprintf(buf, " %s %-*s [%s]", prefix, longest, ^~ P_NAME(i), sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1107:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~ sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1107:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1107:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1103:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~ longest, P_NAME(i), sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1103:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1103:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o wizard.o wizard.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o worm.o worm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o worn.o worn.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o write.o write.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o zap.o zap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../sys/share/posixregex.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../sys/share/ioctl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../sys/unix/unixmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../sys/share/unixtty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../sys/unix/unixunix.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../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] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:308:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../win/tty/termcap.c ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:476:16: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:477:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); /* Ron Wessels */ ^~~~~~~~~~~~~~~~ ../sys/share/unixtty.c: In function 'linux_mapon': ../sys/share/unixtty.c:413:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(B", 3); ^~~~~~~~~~~~~~~~~~~~~ ../sys/share/unixtty.c: In function 'linux_mapoff': ../sys/share/unixtty.c:423:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(U", 3); ^~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../win/tty/topl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../win/tty/wintty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o vis_tab.o vis_tab.c /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o version.o version.c version.c: In function 'early_version_info': version.c:169:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from version.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version.c:169:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from version.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trap.c: In function 'untrap': trap.c:4324:57: warning: '%s' directive writing up to 255 bytes into a region of size 89 [-Wformat-overflow=] qbuf, "There %s and %s here. %s %s?", ^~ trap.c:4327:68: (ttmp->ttyp == WEB) ? "Remove" : "Disarm", the_trap); ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from trap.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c: In function 'tty_player_selection': ../win/tty/wintty.c:851:30: warning: '%s' directive writing up to 127 bytes into a region of size between 95 and 126 [-Wformat-overflow=] Sprintf(pbuf, "%s, %s%s %s %s", plname, aligns[ALGN].adj, plbuf, ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from ../win/tty/wintty.c:15: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 163) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking nethack-console. cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o nethack-console monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o monstr.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o version.o -lcurses nethack-console is up to date. make[2]: Leaving directory '/build/nethack-3.6.1/src' /usr/bin/make clean make[2]: Entering directory '/build/nethack-3.6.1' ( cd src ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/src' rm -f *.o ../src/hack.h-t ../src/config.h-t make[3]: Leaving directory '/build/nethack-3.6.1/src' ( cd util ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/util' rm -f *.o make[3]: Leaving directory '/build/nethack-3.6.1/util' ( cd doc ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/doc' rm -f Guidebook.aux Guidebook.log make[3]: Leaving directory '/build/nethack-3.6.1/doc' make[2]: Leaving directory '/build/nethack-3.6.1' touch include/config.h sleep 2 /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL' LINK='$(CC)' -C util makedefs make[2]: Entering directory '/build/nethack-3.6.1/util' make[3]: Entering directory '/build/nethack-3.6.1/src' touch ../src/config.h-t make[3]: Leaving directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o makedefs.o makedefs.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/monst.c -o ../src/monst.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/objects.c -o ../src/objects.o makedefs.c: In function 'do_rumors': makedefs.c:1034:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", tempfile); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'do_data': makedefs.c:1916:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:1919:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] Sprintf(line, "header rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'do_oracles': makedefs.c:2089:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:2092:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] Sprintf(line, "header rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:2096:42: warning: '%s' directive writing up to 599 bytes into a region of size 239 [-Wformat-overflow=] Sprintf(line, "data rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 618 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/build/nethack-3.6.1/util' /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -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/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o alloc.o alloc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dlb.o dlb.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -o make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../sys/unix/unixres.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/Window.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/dialogs.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -p make[3]: Leaving directory '/build/nethack-3.6.1/util' touch ../src/hack.h-t cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mplayer.o mplayer.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mthrowu.o mthrowu.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -m cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o muse.o muse.c make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o music.o music.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o o_init.o o_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o objnam.o objnam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o options.o options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pager.o pager.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pickup.o pickup.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pline.o pline.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o polyself.o polyself.c pager.c: In function 'do_screen_description': pager.c:1014:38: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] pager.c:1012:27: *firstmatch = look_buf; ~~~~~~~~ pager.c:1014:38: Sprintf(temp_buf, " (%s)", *firstmatch); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from pager.c:9: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c:1020:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] Sprintf(temp_buf, " [seen: %s]", monbuf); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from pager.c:9: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pray.o pray.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o priest.o priest.c options.c: In function 'option_help': options.c:5829:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, ^~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from options.c:17: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o questpgr.o questpgr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o read.o read.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rect.o rect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o region.o region.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o restore.o restore.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rip.o rip.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rnd.o rnd.c restore.c: In function 'get_plname_from_file': restore.c:1164:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ restore.c:1165:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) plbuf, pltmpsiz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c: In function 'dodip': potion.c:1879:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "%s%s into the %s?", Dip_, ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 16 or more bytes (assuming 143) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1869:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "%s%s into the fountain?", Dip_, ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 151 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1899:24: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "dip %s into", flags.verbose ? obuf : shortestname); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 137 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o role.o role.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rumors.o rumors.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o save.o save.c potion.c: In function 'potionhit': potion.c:1354:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1354:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shk.o shk.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shknam.o shknam.c save.c: In function 'savestateinlock': save.c:395:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:412:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:416:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sit.o sit.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sounds.o sounds.c options.c: In function 'doset': options.c:4288:40: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from options.c:17: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sp_lev.o sp_lev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -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:620:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sys.o sys.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steal.o steal.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steed.o steed.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o teleport.o teleport.c spell.c: In function 'getspell': spell.c:699:47: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] Sprintf(qbuf, "Cast which spell? [%s *?]", lets); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from spell.c:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o timeout.o timeout.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topten.o topten.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o track.o track.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o trap.o trap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o u_init.o u_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o uhitm.o uhitm.c topten.c: In function 'outentry': topten.c:930:32: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(linebuf, "%15s %s", "", linebuf3); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from topten.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vault.o vault.c uhitm.c: In function 'hmon_hitmon': uhitm.c:1232:47: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 251 [-Wformat-overflow=] Sprintf(silverobjbuf, "Your %s%s %s", ^~ uhitm.c:1234:25: saved_oname, vtense(saved_oname, "sear")); ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from uhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 269) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -z make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o weapon.o weapon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o were.o were.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wield.o wield.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o windows.o windows.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wizard.o wizard.c weapon.c: In function 'enhance_weapon_skill': weapon.c:1115:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), ^~ sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1112:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] Sprintf(buf, " %s %-*s [%s]", prefix, longest, ^~ P_NAME(i), sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1107:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~ sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1107:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1107:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1103:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~ longest, P_NAME(i), sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1103:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1103:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worm.o worm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worn.o worn.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o zap.o zap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../sys/share/posixregex.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../sys/share/ioctl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:476:16: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:477:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); /* Ron Wessels */ ^~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../sys/share/unixtty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../sys/unix/unixunix.c ../sys/share/unixtty.c: In function 'linux_mapon': ../sys/share/unixtty.c:413:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(B", 3); ^~~~~~~~~~~~~~~~~~~~~ ../sys/share/unixtty.c: In function 'linux_mapoff': ../sys/share/unixtty.c:423:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(U", 3); ^~~~~~~~~~~~~~~~~~~~~ ../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] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:308:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/tty/getline.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/tty/termcap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/tty/topl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/tty/wintty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/winX.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/winmap.c ../win/X11/winmap.c: In function 'map_update': ../win/X11/winmap.c:1240:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] int win_start_row, win_start_col; ^~~~~~~~~~~~~ ../win/X11/winmap.c:1240:9: warning: variable 'win_start_row' set but not used [-Wunused-but-set-variable] int win_start_row, win_start_col; ^~~~~~~~~~~~~ ../win/X11/winX.c: In function 'X11_init_nhwindows': ../win/X11/winX.c:1216:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid(getuid()); ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c:1275:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid(savuid); ^~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/winmenu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/winmesg.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/winmisc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/winstat.c ../win/X11/winmisc.c: In function 'X11_player_selection_randomize': ../win/X11/winmisc.c:495:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] boolean fully_specified_role, choose_race_first; ^~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/wintext.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/X11/winval.c make[3]: Entering directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/share/tilemap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o allmain.o allmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o apply.o apply.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o artifact.o artifact.c trap.c: In function 'untrap': trap.c:4324:57: warning: '%s' directive writing up to 255 bytes into a region of size 89 [-Wformat-overflow=] qbuf, "There %s and %s here. %s %s?", ^~ trap.c:4327:68: (ttmp->ttyp == WEB) ? "Remove" : "Disarm", the_trap); ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from trap.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o tilemap tilemap.o ./tilemap make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o bones.o bones.c ../win/tty/wintty.c: In function 'tty_player_selection': ../win/tty/wintty.c:851:30: warning: '%s' directive writing up to 127 bytes into a region of size between 95 and 126 [-Wformat-overflow=] Sprintf(pbuf, "%s, %s%s %s %s", plname, aligns[ALGN].adj, plbuf, ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from ../win/tty/wintty.c:15: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 163) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o cmd.o cmd.c botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2405:45: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2405:45: Sprintf(condbuf, "condition/%s/%s", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 522 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite2str': botl.c:2512:24: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] Sprintf(buf, "%s/%s/%s", initblstats[hl->fld].fldname, behavebuf, clrbuf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 513) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dbridge.o dbridge.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o decl.o decl.c botl.c: In function 'do_statusline2': botl.c:225:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", hlth, cond, dloc, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:223:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, cond, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:221:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, cond, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:215:33: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, tmmv, cond); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o detect.o detect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dig.o dig.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o display.o display.c botl.c: In function 'status_hilite_menu_add': botl.c:2846:58: warning: '%s' directive writing up to 255 bytes into a region of size 226 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2846:58: Sprintf(colorqry, "Choose a color for conditions %s:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 287 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:2848:59: warning: '%s' directive writing up to 255 bytes into a region of size 224 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2848:59: Sprintf(attrqry, "Choose attribute for conditions %s:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:2814:59: warning: '%s' directive writing up to 255 bytes into a region of size 226 [-Wformat-overflow=] Sprintf(attrqry, "Choose attribute for when %s is %s%s:", ^~ botl.c:2816:17: inbuf, ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 32 or more bytes (assuming 295) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do.o do.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_name.o do_name.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_wear.o do_wear.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dog.o dog.c cmd.c: In function 'extcmd_via_menu': cmd.c:500:44: warning: '%s' directive writing up to 127 bytes into a region of size 110 [-Wformat-overflow=] Sprintf(prompt, "Extended Command: %s", cbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dogmove.o dogmove.c do_name.c: In function 'getpos_menu': do_name.c:599:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(fullbuf, "%s%s%s", firstmatch, ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos': do_name.c:188:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c:188:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dokick.o dokick.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dothrow.o dothrow.c cmd.c: In function 'enlightenment': cmd.c:1541:21: warning: ' the ' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s the %s's attributes:", tmpbuf, ^~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 20 or more bytes (assuming 275) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1606:28: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] Sprintf(buf, "%sin %s%s form", !final ? "currently " : "", tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1606:28: warning: '%s' directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] Sprintf(buf, "%sin %s%s form", !final ? "currently " : "", tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 19 or more bytes (assuming 274) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o drawing.o drawing.c do_wear.c: In function 'armor_or_accessory_off': do_wear.c:1429:52: warning: '%s' directive writing up to 127 bytes into a region of size 103 [-Wformat-overflow=] Sprintf(why, " without taking off your %s first", what); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_wear.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 159 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dungeon.o dungeon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o eat.o eat.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o end.o end.c dungeon.c: In function 'print_mapseen': dungeon.c:2945:25: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] Sprintf(buf, "%s%s:", TAB, endgamelevelname(tmpbuf, i)); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 260 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:2875:33: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(outbuf, " (play %s to open or close drawbridge)", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 292 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:3036:35: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(buf, "%sThe castle%s.", PREFIX, tunesuffix(mptr, tmpbuf)); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 273 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:3085:40: warning: '%s' directive writing up to 255 bytes into a region of size 242 [-Wformat-overflow=] Sprintf(buf, "%s%syou, %s%c", PREFIX, TAB, tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 271 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o engrave.o engrave.c end.c: In function 'list_vanquished': end.c:1832:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buftoo, "%*s%s", pfx, "", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from end.c:8: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c: In function 'edibility_prompts': eat.c:2313:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2321:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be something very dangerous! %s", ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 43 and 552 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2339:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s might be poisonous! %s", foodsmell, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 537 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2348:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s might have been poisoned. %s", foodsmell, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 34 and 543 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2354:25: warning: ' unhealthy. ' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unhealthy. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 395 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2361:25: warning: ' rather acidic. ' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s rather acidic. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 399 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2369:25: warning: ' disgusting to you right now..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s disgusting to you right now. %s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2384:25: warning: ' foul and unfamiliar to you.ÿ' directive writing 29 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s foul and unfamiliar to you. %s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 412 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2404:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2395:25: warning: ' unfamiliar to you. ' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unfamiliar to you. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 403 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2330:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be rotten! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 534 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o exper.o exper.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o explode.o explode.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o extralev.o extralev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:967:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1357:16: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ files.c:1358:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o fountain.o fountain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hack.o hack.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hacklib.o hacklib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o invent.o invent.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o light.o light.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o lock.o lock.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mail.o mail.c hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:998:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, ^~~~ hacklib.c:998:22: note: directive argument in the range [-2147483647, 2147483647] Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from hacklib.c:7: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mapglyph.o mapglyph.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mcastu.o mcastu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitm.o mhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitu.o mhitu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o minion.o minion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mklev.o mklev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmap.o mkmap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmaze.o mkmaze.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkobj.o mkobj.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkroom.o mkroom.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mon.o mon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mondata.o mondata.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o monstr.o monstr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vis_tab.o vis_tab.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o tile.o tile.c /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o version.o version.c mhitm.c: In function 'hitmm': mhitm.c:576:37: warning: ' squeezes' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s squeezes", magr_name); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:563:33: warning: ' stings' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s stings", magr_name); ^~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:569:33: warning: ' touches' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s touches", magr_name); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:566:33: warning: ' butts' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s butts", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:560:33: warning: ' bites' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s bites", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:581:33: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s hits", magr_name); ^~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version.c: In function 'early_version_info': version.c:169:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from version.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version.c:169:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from version.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking nethack-x11. cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o nethack-x11 monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o monstr.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o Window.o dialogs.o winX.o winmap.o winmenu.o winmesg.o winmisc.o winstat.o wintext.o winval.o tile.o version.o -lncurses -lXaw -Wl,--as-needed -lXmu -lXext -Wl,--no-as-needed -lXt -lXpm -lX11 -Wl,--as-needed -lm -Wl,--no-as-needed nethack-x11 is up to date. make[2]: Leaving directory '/build/nethack-3.6.1/src' /usr/bin/make clean make[2]: Entering directory '/build/nethack-3.6.1' ( cd src ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/src' rm -f *.o ../src/hack.h-t ../src/config.h-t make[3]: Leaving directory '/build/nethack-3.6.1/src' ( cd util ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/util' rm -f *.o make[3]: Leaving directory '/build/nethack-3.6.1/util' ( cd doc ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-3.6.1/doc' rm -f Guidebook.aux Guidebook.log make[3]: Leaving directory '/build/nethack-3.6.1/doc' make[2]: Leaving directory '/build/nethack-3.6.1' touch include/config.h sleep 2 /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL' LINK='$(CC)' -C util makedefs make[2]: Entering directory '/build/nethack-3.6.1/util' make[3]: Entering directory '/build/nethack-3.6.1/src' touch ../src/config.h-t make[3]: Leaving directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c -o makedefs.o makedefs.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/monst.c -o ../src/monst.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/objects.c -o ../src/objects.o makedefs.c: In function 'do_rumors': makedefs.c:1034:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", tempfile); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'do_data': makedefs.c:1916:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:1919:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] Sprintf(line, "header rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: In function 'do_oracles': makedefs.c:2089:32: warning: '%s' directive writing up to 599 bytes into a region of size 245 [-Wformat-overflow=] Sprintf(line, "rewind of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 612 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:2092:44: warning: '%s' directive writing up to 599 bytes into a region of size 237 [-Wformat-overflow=] Sprintf(line, "header rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 620 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c:2096:42: warning: '%s' directive writing up to 599 bytes into a region of size 239 [-Wformat-overflow=] Sprintf(line, "data rewrite of \"%s\"", filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from makedefs.c:10: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 618 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/build/nethack-3.6.1/util' /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\"' WINSRC='$(WINLISPSRC)' WINOBJ='$(WINLISPOBJ)' WINLIB='$(WINLISPLIB)' LINK='$(CC)' GAME='nethack-lisp' -C src 'nethack-lisp' make[2]: Entering directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o alloc.o alloc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dlb.o dlb.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -o make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../sys/unix/unixres.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -p make[3]: Leaving directory '/build/nethack-3.6.1/util' touch ../src/hack.h-t cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o allmain.o allmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o apply.o apply.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -m make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o artifact.o artifact.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o bones.o bones.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o cmd.o cmd.c botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2405:45: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2405:45: Sprintf(condbuf, "condition/%s/%s", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 522 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dbridge.o dbridge.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o decl.o decl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o detect.o detect.c botl.c: In function 'status_hilite2str': botl.c:2512:24: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] Sprintf(buf, "%s/%s/%s", initblstats[hl->fld].fldname, behavebuf, clrbuf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 513) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dig.o dig.c botl.c: In function 'do_statusline2': botl.c:225:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", hlth, cond, dloc, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:223:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, cond, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:221:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, cond, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:215:33: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, tmmv, cond); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o display.o display.c botl.c: In function 'status_hilite_menu_add': botl.c:2846:58: warning: '%s' directive writing up to 255 bytes into a region of size 226 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2846:58: Sprintf(colorqry, "Choose a color for conditions %s:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 287 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:2848:59: warning: '%s' directive writing up to 255 bytes into a region of size 224 [-Wformat-overflow=] botl.c:2008:16: return buf; ~~~ botl.c:2848:59: Sprintf(attrqry, "Choose attribute for conditions %s:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c:2814:59: warning: '%s' directive writing up to 255 bytes into a region of size 226 [-Wformat-overflow=] Sprintf(attrqry, "Choose attribute for when %s is %s%s:", ^~ botl.c:2816:17: inbuf, ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from botl.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 32 or more bytes (assuming 295) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o do.o do.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o do_name.o do_name.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o do_wear.o do_wear.c cmd.c: In function 'enlightenment': cmd.c:1541:21: warning: ' the ' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s the %s's attributes:", tmpbuf, ^~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 20 or more bytes (assuming 275) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1606:28: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] Sprintf(buf, "%sin %s%s form", !final ? "currently " : "", tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1606:28: warning: '%s' directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] Sprintf(buf, "%sin %s%s form", !final ? "currently " : "", tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from cmd.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 19 or more bytes (assuming 274) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos_menu': do_name.c:599:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(fullbuf, "%s%s%s", firstmatch, ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dog.o dog.c do_name.c: In function 'getpos': do_name.c:188:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c:188:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_name.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dogmove.o dogmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dokick.o dokick.c do_wear.c: In function 'armor_or_accessory_off': do_wear.c:1429:52: warning: '%s' directive writing up to 127 bytes into a region of size 103 [-Wformat-overflow=] Sprintf(why, " without taking off your %s first", what); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from do_wear.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 159 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dothrow.o dothrow.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o drawing.o drawing.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o dungeon.o dungeon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o eat.o eat.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o end.o end.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o engrave.o engrave.c dungeon.c: In function 'print_mapseen': dungeon.c:2945:25: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] Sprintf(buf, "%s%s:", TAB, endgamelevelname(tmpbuf, i)); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 260 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:2875:33: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(outbuf, " (play %s to open or close drawbridge)", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 292 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:3036:35: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(buf, "%sThe castle%s.", PREFIX, tunesuffix(mptr, tmpbuf)); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 273 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dungeon.c:3085:40: warning: '%s' directive writing up to 255 bytes into a region of size 242 [-Wformat-overflow=] Sprintf(buf, "%s%syou, %s%c", PREFIX, TAB, tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from dungeon.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 271 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ end.c: In function 'list_vanquished': end.c:1832:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buftoo, "%*s%s", pfx, "", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from end.c:8: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o exper.o exper.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o explode.o explode.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o extralev.o extralev.c eat.c: In function 'edibility_prompts': eat.c:2313:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2321:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be something very dangerous! %s", ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 43 and 552 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2339:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s might be poisonous! %s", foodsmell, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 537 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2348:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s might have been poisoned. %s", foodsmell, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 34 and 543 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2354:25: warning: ' unhealthy. ' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unhealthy. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 395 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2361:25: warning: ' rather acidic. ' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s rather acidic. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 399 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2369:25: warning: ' disgusting to you right now..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s disgusting to you right now. %s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2384:25: warning: ' foul and unfamiliar to you.ÿ' directive writing 29 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s foul and unfamiliar to you. %s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 412 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2404:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2395:25: warning: ' unfamiliar to you. ' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unfamiliar to you. %s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 403 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2330:25: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be rotten! %s", foodsmell, it_or_they, ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from eat.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 534 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:967:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1357:16: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ files.c:1358:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o fountain.o fountain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o hack.o hack.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o hacklib.o hacklib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o invent.o invent.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o light.o light.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o lock.o lock.c hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:998:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, ^~~~ hacklib.c:998:22: note: directive argument in the range [-2147483647, 2147483647] Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from hacklib.c:7: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mail.o mail.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mapglyph.o mapglyph.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mcastu.o mcastu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mhitm.o mhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mhitu.o mhitu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o minion.o minion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mklev.o mklev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mkmap.o mkmap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mkmaze.o mkmaze.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mkobj.o mkobj.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mkroom.o mkroom.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mon.o mon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mondata.o mondata.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o monstr.o monstr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mplayer.o mplayer.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o mthrowu.o mthrowu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o muse.o muse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o music.o music.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o o_init.o o_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o objnam.o objnam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o options.o options.c mhitm.c: In function 'hitmm': mhitm.c:576:37: warning: ' squeezes' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s squeezes", magr_name); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:563:33: warning: ' stings' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s stings", magr_name); ^~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:569:33: warning: ' touches' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s touches", magr_name); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:566:33: warning: ' butts' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s butts", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:560:33: warning: ' bites' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s bites", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:581:33: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s hits", magr_name); ^~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from mhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'initoptions_init': options.c:668:11: warning: unused variable 'opts' [-Wunused-variable] char *opts; ^~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o pager.o pager.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o pickup.o pickup.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o pline.o pline.c pager.c: In function 'do_screen_description': pager.c:1014:38: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] pager.c:1012:27: *firstmatch = look_buf; ~~~~~~~~ pager.c:1014:38: Sprintf(temp_buf, " (%s)", *firstmatch); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from pager.c:9: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c:1020:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] Sprintf(temp_buf, " [seen: %s]", monbuf); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from pager.c:9: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o polyself.o polyself.c options.c: In function 'option_help': options.c:5829:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, ^~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from options.c:17: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o pray.o pray.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o priest.o priest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o questpgr.o questpgr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o read.o read.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o rect.o rect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o region.o region.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o restore.o restore.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o rip.o rip.c restore.c: In function 'get_plname_from_file': restore.c:1164:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ restore.c:1165:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) plbuf, pltmpsiz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c: In function 'dodip': potion.c:1879:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "%s%s into the %s?", Dip_, ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 16 or more bytes (assuming 143) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1869:26: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "%s%s into the fountain?", Dip_, ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 151 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1899:24: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(qbuf, "dip %s into", flags.verbose ? obuf : shortestname); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 137 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/config.h:392, from ../include/hack.h:10, from rip.c:6: rip.c:8:23: warning: 'center' declared 'static' but never defined [-Wunused-function] STATIC_DCL void FDECL(center, (int, char *)); ^~~~~~ ../include/tradstdc.h:193:21: note: in definition of macro 'FDECL' #define FDECL(f, p) f p ^ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o rnd.o rnd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o role.o role.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o rumors.o rumors.c potion.c: In function 'potionhit': potion.c:1354:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1354:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from potion.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o save.o save.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o shk.o shk.c save.c: In function 'savestateinlock': save.c:395:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:412:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:416:20: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'doset': options.c:4288:40: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from options.c:17: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o shknam.o shknam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o sit.o sit.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o sounds.o sounds.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o sp_lev.o sp_lev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o spell.o spell.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o sys.o sys.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o steal.o steal.c sounds.c: In function 'domonnoise': sounds.c:620:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o steed.o steed.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o teleport.o teleport.c spell.c: In function 'getspell': spell.c:699:47: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] Sprintf(qbuf, "Cast which spell? [%s *?]", lets); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from spell.c:5: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 279 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o timeout.o timeout.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o topten.o topten.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o track.o track.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o trap.o trap.c topten.c: In function 'outentry': topten.c:930:32: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(linebuf, "%15s %s", "", linebuf3); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from topten.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o u_init.o u_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o uhitm.o uhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o vault.o vault.c make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -z make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o weapon.o weapon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o were.o were.c uhitm.c: In function 'hmon_hitmon': uhitm.c:1232:47: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 251 [-Wformat-overflow=] Sprintf(silverobjbuf, "Your %s%s %s", ^~ uhitm.c:1234:25: saved_oname, vtense(saved_oname, "sear")); ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from uhitm.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 269) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o wield.o wield.c weapon.c: In function 'enhance_weapon_skill': weapon.c:1115:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), ^~ sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1112:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] Sprintf(buf, " %s %-*s [%s]", prefix, longest, ^~ P_NAME(i), sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1107:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~ sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1107:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1107:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1103:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~ longest, P_NAME(i), sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1103:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1103:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from weapon.c:11: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o windows.o windows.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o wizard.o wizard.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o worm.o worm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o worn.o worn.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o write.o write.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o zap.o zap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../sys/share/posixregex.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../sys/share/ioctl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../sys/unix/unixmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../sys/share/unixtty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../sys/unix/unixunix.c ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:476:16: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:477:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); /* Ron Wessels */ ^~~~~~~~~~~~~~~~ ../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] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:308:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:310:16: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../win/lisp/winlisp.c make[3]: Entering directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c ../win/share/tilemap.c ../win/lisp/winlisp.c:301:3: warning: initialization of 'void (*)(void)' from incompatible pointer type 'boolean (*)(void)' {aka 'signed char (*)(void)'} [-Wincompatible-pointer-types] genl_can_suspend_no, ^~~~~~~~~~~~~~~~~~~ ../win/lisp/winlisp.c:301:3: note: (near initialization for 'lisp_procs.win_status_init') ../win/lisp/winlisp.c: In function 'generate_status_line': ../win/lisp/winlisp.c:951:20: warning: the address of 'plname' will always evaluate as 'true' [-Waddress] lisp_string (plname);); ^~~~~~ ../win/lisp/winlisp.c:318:7: note: in definition of macro 'lisp_list' body; \ ^~~~ ../win/lisp/winlisp.c:951:7: note: in expansion of macro 'lisp_string' lisp_string (plname);); ^~~~~~~~~~~ ../win/lisp/winlisp.c:955:11: warning: unused variable 'k' [-Wunused-variable] int k = 0; ^ ../win/lisp/winlisp.c:954:12: warning: unused variable 'mbot' [-Wunused-variable] char mbot[BUFSZ]; ^~~~ ../win/lisp/winlisp.c: In function 'lisp_select_menu': ../win/lisp/winlisp.c:1211:7: warning: unused variable 'toggle' [-Wunused-variable] int toggle; ^~~~~~ ../win/lisp/winlisp.c: In function 'lisp_print_glyph': ../win/lisp/winlisp.c:1860:13: warning: unused variable 'reverse_on' [-Wunused-variable] boolean reverse_on = FALSE; ^~~~~~~~~~ ../win/lisp/winlisp.c: In function 'lisp_outrip': ../win/lisp/winlisp.c:1942:19: warning: the address of 'plname' will always evaluate as 'true' [-Waddress] lisp_string (plname); ^~~~~~ ../win/lisp/winlisp.c:309:7: note: in definition of macro 'lisp_cmd' body; \ ^~~~ ../win/lisp/winlisp.c:1942:6: note: in expansion of macro 'lisp_string' lisp_string (plname); ^~~~~~~~~~~ ../win/lisp/winlisp.c: In function 'how_to_string': ../win/lisp/winlisp.c:452:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../win/lisp/winlisp.c: In function 'lisp_nhgetch': ../win/lisp/winlisp.c:1423:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../win/lisp/winlisp.c: In function 'read_int': ../win/lisp/winlisp.c:463:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, BUFSZ, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: ../win/lisp/winlisp.c:1928:1: warning: 'get_death_text' defined but not used [-Wunused-function] get_death_text (buf) ^~~~~~~~~~~~~~ ../win/lisp/winlisp.c:415:1: warning: 'wintype_to_string' defined but not used [-Wunused-function] wintype_to_string(type) ^~~~~~~~~~~~~~~~~ ../win/lisp/winlisp.c:44:12: warning: 'lisp_menu_list_size' defined but not used [-Wunused-variable] static int lisp_menu_list_size = 1000; ^~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o vis_tab.o vis_tab.c cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o tilemap tilemap.o ./tilemap make[3]: Leaving directory '/build/nethack-3.6.1/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o tile.o tile.c /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o version.o version.c version.c: In function 'early_version_info': version.c:169:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from version.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version.c:169:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from version.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/lisp/winlisp.c: In function 'lisp_player_selection': ../win/lisp/winlisp.c:633:39: warning: '%s' directive writing up to 127 bytes into a region of size 107 [-Wformat-overflow=] Sprintf(pbuf, "Pick a role for your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from ../win/lisp/winlisp.c:14: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 149 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/lisp/winlisp.c:702:44: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=] Sprintf(pbuf, "Pick the race of your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from ../win/lisp/winlisp.c:14: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 23 and 150 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/lisp/winlisp.c:772:46: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=] Sprintf(pbuf, "Pick the gender of your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from ../win/lisp/winlisp.c:14: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 152 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/lisp/winlisp.c:841:49: warning: '%s' directive writing up to 127 bytes into a region of size 101 [-Wformat-overflow=] Sprintf(pbuf, "Pick the alignment of your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from ../win/lisp/winlisp.c:14: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 155 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trap.c: In function 'untrap': trap.c:4324:57: warning: '%s' directive writing up to 255 bytes into a region of size 89 [-Wformat-overflow=] qbuf, "There %s and %s here. %s %s?", ^~ trap.c:4327:68: (ttmp->ttyp == WEB) ? "Remove" : "Disarm", the_trap); ~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:564, from ../include/hack.h:10, from trap.c:6: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking nethack-lisp. cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o nethack-lisp monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o monstr.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o winlisp.o tile.o version.o nethack-lisp is up to date. make[2]: Leaving directory '/build/nethack-3.6.1/src' touch src/nethack-dummy ; sleep 2 /usr/bin/make -j1 LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM' \ GAME=src/nethack-dummy \ VARDATND="x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm mapbg.xpm" \ all make[2]: Entering directory '/build/nethack-3.6.1' make[2]: warning: -j1 forced in submake: resetting jobserver mode. ( cd util ; /usr/bin/make recover ) make[3]: Entering directory '/build/nethack-3.6.1/util' make[4]: Entering directory '/build/nethack-3.6.1/src' make[4]: '../include/date.h' is up to date. make[4]: Leaving directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c -o recover.o recover.c recover.c: In function 'main': recover.c:130:16: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ recover.c:131:16: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ recover.c: In function 'restore_savefile': recover.c:411:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, (genericptr_t) &levc, sizeof(levc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o recover recover.o make[3]: Leaving directory '/build/nethack-3.6.1/util' ( cd doc ; /usr/bin/make Guidebook ) make[3]: Entering directory '/build/nethack-3.6.1/doc' cat Guidebook.mn | ../util/makedefs --grep --input - --output - | tbl tmac.n - | nroff -c -Tascii | col -bx > Guidebook warning: file '', around line 293: table wider than line width warning: file '', around line 3861: table wider than line width warning: file '', around line 4547: table wider than line width make[3]: Leaving directory '/build/nethack-3.6.1/doc' ( cd dat ; /usr/bin/make bogusmon ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/makedefs -s make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make data ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/makedefs -d make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make engrave ) make[3]: Entering directory '/build/nethack-3.6.1/dat' make[3]: 'engrave' is up to date. make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make epitaph ) make[3]: Entering directory '/build/nethack-3.6.1/dat' make[3]: 'epitaph' is up to date. make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make oracles ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/makedefs -h make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make options ) make[3]: Entering directory '/build/nethack-3.6.1/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make quest.dat ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/makedefs -q make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make rumors ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/makedefs -r make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd util ; /usr/bin/make tile2x11 ) make[3]: Entering directory '/build/nethack-3.6.1/util' cp ../win/share/tile.h ../include/tile.h cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c ../win/X11/tile2x11.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c ../win/share/tiletext.c echo '#define TILETEXT' >> tiletxt.c echo '#include "../win/share/tilemap.c"' >> tiletxt.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c tiletxt.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c -o panic.o panic.c cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o tile2x11 tile2x11.o tiletext.o tiletxt.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[3]: Leaving directory '/build/nethack-3.6.1/util' ( cd dat ; /usr/bin/make x11tiles ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ ../win/share/other.txt \ -grayscale ../win/share/monsters.txt ../win/share/monsters.txt: 394 tiles ../win/share/objects.txt: 456 tiles ../win/share/other.txt: 232 tiles ../win/share/monsters.txt: 394 tiles Total tiles: 1476 make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make NetHack.ad ) make[3]: Entering directory '/build/nethack-3.6.1/dat' grep ^#define ../win/X11/NetHack.ad | \ sed -e 's/^#define/s/g' -e 's/ */ /g' \ -e 's/$/ g/g' > NetHack.ad.tmp grep -v ^#define ../win/X11/NetHack.ad | \ sed -f NetHack.ad.tmp > NetHack.ad rm -f NetHack.ad.tmp make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make pet_mark.xbm ) make[3]: Entering directory '/build/nethack-3.6.1/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make pilemark.xbm ) make[3]: Entering directory '/build/nethack-3.6.1/dat' cp ../win/X11/pilemark.xbm pilemark.xbm make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make rip.xpm ) make[3]: Entering directory '/build/nethack-3.6.1/dat' cp ../win/X11/rip.xpm rip.xpm make[3]: Leaving directory '/build/nethack-3.6.1/dat' (cd dat ; /usr/bin/make mapbg.xpm ) make[3]: Entering directory '/build/nethack-3.6.1/dat' cp ../win/gnome/mapbg.xpm mapbg.xpm make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd util ; /usr/bin/make dgn_comp ) make[3]: Entering directory '/build/nethack-3.6.1/util' yacc -d dgn_comp.y sed -e 's#"y.tab.c"#"dgn_yacc.c"#' -e 's#y.tab.c:#dgn_yacc.c:#' y.tab.c > dgn_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"dgn_comp.h"#' y.tab.h > ../include/dgn_comp.h \ && rm y.tab.h make[4]: Entering directory '/build/nethack-3.6.1/src' make[4]: '../include/date.h' is up to date. make[4]: Leaving directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c -o dgn_yacc.o dgn_yacc.c lex dgn_comp.l sed -e 's#"lex.yy.c"#"dgn_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > dgn_lex.c \ && rm lex.yy.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c -o dgn_main.o dgn_main.c cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[3]: Leaving directory '/build/nethack-3.6.1/util' ( cd dat ; /usr/bin/make dungeon ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd util ; /usr/bin/make lev_comp ) make[3]: Entering directory '/build/nethack-3.6.1/util' yacc -d lev_comp.y sed -e 's#"y.tab.c"#"lev_yacc.c"#' -e 's#y.tab.c:#lev_yacc.c:#' y.tab.c > lev_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"lev_comp.h"#' y.tab.h > ../include/lev_comp.h \ && rm y.tab.h cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c -o lev_yacc.o lev_yacc.c lex lev_comp.l sed -e 's#"lex.yy.c"#"lev_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > lev_lex.c \ && rm lex.yy.c cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c make[4]: Entering directory '/build/nethack-3.6.1/src' make[4]: '../include/date.h' is up to date. make[4]: Leaving directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c -o lev_main.o lev_main.c cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[3]: Leaving directory '/build/nethack-3.6.1/util' ( cd dat ; /usr/bin/make spec_levs ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs make[3]: Leaving directory '/build/nethack-3.6.1/dat' ( cd dat ; /usr/bin/make quest_levs ) make[3]: Entering directory '/build/nethack-3.6.1/dat' ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make[3]: Leaving directory '/build/nethack-3.6.1/dat' color, data file compression, data librarian, insurance files for make[3]: Entering directory '/build/nethack-3.6.1' ( cd util ; /usr/bin/make dlb ) make[4]: Entering directory '/build/nethack-3.6.1/util' make[5]: Entering directory '/build/nethack-3.6.1/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/build/nethack-3.6.1/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c dlb_main.c cc -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[4]: Leaving directory '/build/nethack-3.6.1/util' ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[3]: Leaving directory '/build/nethack-3.6.1' true; Done. make[2]: Leaving directory '/build/nethack-3.6.1' /usr/bin/bdftopcf win/X11/nh10.bdf | gzip -9fn > debian/nh10.pcf.gz make[1]: Leaving directory '/build/nethack-3.6.1' dh_auto_test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_installdirs dh_install dh_installdocs dh_installchangelogs dh_installexamples dh_installman dh_installdebconf debian/rules override_dh_installinit make[1]: Entering directory '/build/nethack-3.6.1' dh_installinit --no-start make[1]: Leaving directory '/build/nethack-3.6.1' dh_installsystemd dh_lintian dh_icons dh_perl dh_link dh_installxfonts dh_strip_nondeterminism dh_compress debian/rules override_dh_fixperms make[1]: Entering directory '/build/nethack-3.6.1' dh_fixperms chgrp games debian/nethack-common/usr/lib/games/nethack/recover chgrp -R games debian/nethack-common/var/games/nethack chmod -R 2775 debian/nethack-common/var/games/nethack set -e; for flavor in console lisp x11; do \ chgrp games debian/nethack-$flavor/usr/lib/games/nethack/nethack-$flavor; \ chmod 2755 debian/nethack-$flavor/usr/lib/games/nethack/nethack-$flavor; \ done make[1]: Leaving directory '/build/nethack-3.6.1' dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'nethack-common-dbgsym' in '../nethack-common-dbgsym_3.6.1-1_arm64.deb'. dpkg-deb: building package 'nethack-common' in '../nethack-common_3.6.1-1_arm64.deb'. dpkg-deb: building package 'nethack-console' in '../nethack-console_3.6.1-1_arm64.deb'. dpkg-deb: building package 'nethack-lisp' in '../nethack-lisp_3.6.1-1_arm64.deb'. dpkg-deb: building package 'nethack-x11-dbgsym' in '../nethack-x11-dbgsym_3.6.1-1_arm64.deb'. dpkg-deb: building package 'nethack-lisp-dbgsym' in '../nethack-lisp-dbgsym_3.6.1-1_arm64.deb'. dpkg-deb: building package 'nethack-console-dbgsym' in '../nethack-console-dbgsym_3.6.1-1_arm64.deb'. dpkg-deb: building package 'nethack-x11' in '../nethack-x11_3.6.1-1_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../nethack_3.6.1-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration 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/8694 and its subdirectories I: Current time: Mon Aug 10 19:22:44 -12 2020 I: pbuilder-time-stamp: 1597130564