I: pbuilder: network access will be disabled during build I: Current time: Fri Apr 24 13:54:39 +14 2020 I: pbuilder-time-stamp: 1587686079 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: using eatmydata during job 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 '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Mon Sep 17 06:47:19 2018 +14 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/30880/tmp/hooks/D01_modify_environment starting debug: Running on profitbricks-build2-i386. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/30880/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 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 ... 19231 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 27.8 MB of archives. After unpacking 93.9 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 8 http://deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 9 http://deb.debian.org/debian buster/main i386 flex i386 2.6.4-6.2 [446 kB] Get: 10 http://deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 11 http://deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4+deb10u1 [242 kB] Get: 12 http://deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4+deb10u1 [124 kB] Get: 13 http://deb.debian.org/debian buster/main i386 file i386 1:5.35-4+deb10u1 [66.3 kB] Get: 14 http://deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 15 http://deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 16 http://deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 17 http://deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 18 http://deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 19 http://deb.debian.org/debian buster/main i386 libbison-dev i386 2:3.3.2.dfsg-1 [500 kB] Get: 20 http://deb.debian.org/debian buster/main i386 bison i386 2:3.3.2.dfsg-1 [877 kB] Get: 21 http://deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 22 http://deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 23 http://deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 24 http://deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 25 http://deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 26 http://deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 27 http://deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 28 http://deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2+deb10u2 [1334 kB] Get: 29 http://deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6 [8443 kB] Get: 30 http://deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 31 http://deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 32 http://deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2+deb10u2 [109 kB] Get: 33 http://deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 34 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 35 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 36 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 37 http://deb.debian.org/debian buster/main i386 libfontenc1 i386 1:1.1.3-1+b2 [24.5 kB] Get: 38 http://deb.debian.org/debian buster/main i386 libpng16-16 i386 1.6.36-6 [301 kB] Get: 39 http://deb.debian.org/debian buster/main i386 libfreetype6 i386 2.9.1-3+deb10u1 [395 kB] Get: 40 http://deb.debian.org/debian buster/main i386 lsb-base all 10.2019051400 [28.4 kB] Get: 41 http://deb.debian.org/debian buster/main i386 x11-common all 1:7.7+19 [251 kB] Get: 42 http://deb.debian.org/debian buster/main i386 libice6 i386 2:1.0.9-2 [61.1 kB] Get: 43 http://deb.debian.org/debian buster/main i386 xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get: 44 http://deb.debian.org/debian buster/main i386 x11proto-dev all 2018.4-4 [251 kB] Get: 45 http://deb.debian.org/debian buster/main i386 x11proto-core-dev all 2018.4-4 [3128 B] Get: 46 http://deb.debian.org/debian buster/main i386 libice-dev i386 2:1.0.9-2 [70.2 kB] Get: 47 http://deb.debian.org/debian buster/main i386 libncurses-dev i386 6.1+20181013-2+deb10u2 [360 kB] Get: 48 http://deb.debian.org/debian buster/main i386 libncurses5-dev i386 6.1+20181013-2+deb10u2 [948 B] Get: 49 http://deb.debian.org/debian buster/main i386 libpthread-stubs0-dev i386 0.4-1 [5340 B] Get: 50 http://deb.debian.org/debian buster/main i386 libsm6 i386 2:1.2.3-1 [35.7 kB] Get: 51 http://deb.debian.org/debian buster/main i386 libsm-dev i386 2:1.2.3-1 [38.8 kB] Get: 52 http://deb.debian.org/debian buster/main i386 libxau6 i386 1:1.0.8-1+b2 [20.3 kB] Get: 53 http://deb.debian.org/debian buster/main i386 libxdmcp6 i386 1:1.1.2-3 [26.7 kB] Get: 54 http://deb.debian.org/debian buster/main i386 libxcb1 i386 1.13.1-2 [141 kB] Get: 55 http://deb.debian.org/debian buster/main i386 libx11-data all 2:1.6.7-1 [298 kB] Get: 56 http://deb.debian.org/debian buster/main i386 libx11-6 i386 2:1.6.7-1 [778 kB] Get: 57 http://deb.debian.org/debian buster/main i386 libxau-dev i386 1:1.0.8-1+b2 [23.6 kB] Get: 58 http://deb.debian.org/debian buster/main i386 libxdmcp-dev i386 1:1.1.2-3 [42.7 kB] Get: 59 http://deb.debian.org/debian buster/main i386 xtrans-dev all 1.3.5-1 [100 kB] Get: 60 http://deb.debian.org/debian buster/main i386 libxcb1-dev i386 1.13.1-2 [180 kB] Get: 61 http://deb.debian.org/debian buster/main i386 libx11-dev i386 2:1.6.7-1 [856 kB] Get: 62 http://deb.debian.org/debian buster/main i386 libxext6 i386 2:1.3.3-1+b2 [55.2 kB] Get: 63 http://deb.debian.org/debian buster/main i386 libxt6 i386 1:1.1.5-1+b3 [195 kB] Get: 64 http://deb.debian.org/debian buster/main i386 libxmu6 i386 2:1.1.2-2+b3 [62.8 kB] Get: 65 http://deb.debian.org/debian buster/main i386 libxpm4 i386 1:3.5.12-1 [50.9 kB] Get: 66 http://deb.debian.org/debian buster/main i386 libxaw7 i386 2:1.0.13-1+b2 [209 kB] Get: 67 http://deb.debian.org/debian buster/main i386 x11proto-xext-dev all 2018.4-4 [3128 B] Get: 68 http://deb.debian.org/debian buster/main i386 libxext-dev i386 2:1.3.3-1+b2 [110 kB] Get: 69 http://deb.debian.org/debian buster/main i386 libxt-dev i386 1:1.1.5-1+b3 [439 kB] Get: 70 http://deb.debian.org/debian buster/main i386 libxmu-headers all 2:1.1.2-2 [51.9 kB] Get: 71 http://deb.debian.org/debian buster/main i386 libxmu-dev i386 2:1.1.2-2+b3 [70.3 kB] Get: 72 http://deb.debian.org/debian buster/main i386 libxpm-dev i386 1:3.5.12-1 [107 kB] Get: 73 http://deb.debian.org/debian buster/main i386 libxaw7-dev i386 2:1.0.13-1+b2 [276 kB] Get: 74 http://deb.debian.org/debian buster/main i386 xfonts-encodings all 1:1.0.4-2 [574 kB] Get: 75 http://deb.debian.org/debian buster/main i386 xfonts-utils i386 1:7.7+6 [95.2 kB] Fetched 27.8 MB in 6s (4478 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19231 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../06-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package flex. Preparing to unpack .../08-flex_2.6.4-6.2_i386.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_i386.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../11-libmagic1_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../12-file_1%3a5.35-4+deb10u1_i386.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_i386.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:i386. Preparing to unpack .../18-libbison-dev_2%3a3.3.2.dfsg-1_i386.deb ... Unpacking libbison-dev:i386 (2:3.3.2.dfsg-1) ... Selecting previously unselected package bison. Preparing to unpack .../19-bison_2%3a3.3.2.dfsg-1_i386.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:i386. Preparing to unpack .../25-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../27-libglib2.0-0_2.58.3-2+deb10u2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../28-libicu63_63.1-6_i386.deb ... Unpacking libicu63:i386 (63.1-6) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../29-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../30-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../31-libncurses6_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-9_i386.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:i386. Preparing to unpack .../36-libfontenc1_1%3a1.1.3-1+b2_i386.deb ... Unpacking libfontenc1:i386 (1:1.1.3-1+b2) ... Selecting previously unselected package libpng16-16:i386. Preparing to unpack .../37-libpng16-16_1.6.36-6_i386.deb ... Unpacking libpng16-16:i386 (1.6.36-6) ... Selecting previously unselected package libfreetype6:i386. Preparing to unpack .../38-libfreetype6_2.9.1-3+deb10u1_i386.deb ... Unpacking libfreetype6:i386 (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:i386. Preparing to unpack .../41-libice6_2%3a1.0.9-2_i386.deb ... Unpacking libice6:i386 (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:i386. Preparing to unpack .../45-libice-dev_2%3a1.0.9-2_i386.deb ... Unpacking libice-dev:i386 (2:1.0.9-2) ... Selecting previously unselected package libncurses-dev:i386. Preparing to unpack .../46-libncurses-dev_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses-dev:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libncurses5-dev:i386. Preparing to unpack .../47-libncurses5-dev_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses5-dev:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libpthread-stubs0-dev:i386. Preparing to unpack .../48-libpthread-stubs0-dev_0.4-1_i386.deb ... Unpacking libpthread-stubs0-dev:i386 (0.4-1) ... Selecting previously unselected package libsm6:i386. Preparing to unpack .../49-libsm6_2%3a1.2.3-1_i386.deb ... Unpacking libsm6:i386 (2:1.2.3-1) ... Selecting previously unselected package libsm-dev:i386. Preparing to unpack .../50-libsm-dev_2%3a1.2.3-1_i386.deb ... Unpacking libsm-dev:i386 (2:1.2.3-1) ... Selecting previously unselected package libxau6:i386. Preparing to unpack .../51-libxau6_1%3a1.0.8-1+b2_i386.deb ... Unpacking libxau6:i386 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp6:i386. Preparing to unpack .../52-libxdmcp6_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp6:i386 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:i386. Preparing to unpack .../53-libxcb1_1.13.1-2_i386.deb ... Unpacking libxcb1:i386 (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:i386. Preparing to unpack .../55-libx11-6_2%3a1.6.7-1_i386.deb ... Unpacking libx11-6:i386 (2:1.6.7-1) ... Selecting previously unselected package libxau-dev:i386. Preparing to unpack .../56-libxau-dev_1%3a1.0.8-1+b2_i386.deb ... Unpacking libxau-dev:i386 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp-dev:i386. Preparing to unpack .../57-libxdmcp-dev_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp-dev:i386 (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:i386. Preparing to unpack .../59-libxcb1-dev_1.13.1-2_i386.deb ... Unpacking libxcb1-dev:i386 (1.13.1-2) ... Selecting previously unselected package libx11-dev:i386. Preparing to unpack .../60-libx11-dev_2%3a1.6.7-1_i386.deb ... Unpacking libx11-dev:i386 (2:1.6.7-1) ... Selecting previously unselected package libxext6:i386. Preparing to unpack .../61-libxext6_2%3a1.3.3-1+b2_i386.deb ... Unpacking libxext6:i386 (2:1.3.3-1+b2) ... Selecting previously unselected package libxt6:i386. Preparing to unpack .../62-libxt6_1%3a1.1.5-1+b3_i386.deb ... Unpacking libxt6:i386 (1:1.1.5-1+b3) ... Selecting previously unselected package libxmu6:i386. Preparing to unpack .../63-libxmu6_2%3a1.1.2-2+b3_i386.deb ... Unpacking libxmu6:i386 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm4:i386. Preparing to unpack .../64-libxpm4_1%3a3.5.12-1_i386.deb ... Unpacking libxpm4:i386 (1:3.5.12-1) ... Selecting previously unselected package libxaw7:i386. Preparing to unpack .../65-libxaw7_2%3a1.0.13-1+b2_i386.deb ... Unpacking libxaw7:i386 (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:i386. Preparing to unpack .../67-libxext-dev_2%3a1.3.3-1+b2_i386.deb ... Unpacking libxext-dev:i386 (2:1.3.3-1+b2) ... Selecting previously unselected package libxt-dev:i386. Preparing to unpack .../68-libxt-dev_1%3a1.1.5-1+b3_i386.deb ... Unpacking libxt-dev:i386 (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:i386. Preparing to unpack .../70-libxmu-dev_2%3a1.1.2-2+b3_i386.deb ... Unpacking libxmu-dev:i386 (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm-dev:i386. Preparing to unpack .../71-libxpm-dev_1%3a3.5.12-1_i386.deb ... Unpacking libxpm-dev:i386 (1:3.5.12-1) ... Selecting previously unselected package libxaw7-dev:i386. Preparing to unpack .../72-libxaw7-dev_2%3a1.0.13-1+b2_i386.deb ... Unpacking libxaw7-dev:i386 (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_i386.deb ... Unpacking xfonts-utils (1:7.7+6) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up lsb-base (10.2019051400) ... Setting up libxau6:i386 (1:1.0.8-1+b2) ... Setting up libbison-dev:i386 (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:i386 (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:i386 (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:i386 (0.4-1) ... Setting up libicu63:i386 (63.1-6) ... Setting up xtrans-dev (1.3.5-1) ... Setting up libfontenc1:i386 (1:1.1.3-1+b2) ... Setting up autotools-dev (20180224.1) ... Setting up libx11-data (2:1.6.7-1) ... Setting up libncurses6:i386 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up xfonts-encodings (1:1.0.4-2) ... Setting up libpng16-16:i386 (1.6.36-6) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libxml2:i386 (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:i386 (2:1.0.9-2) ... Setting up libxdmcp6:i386 (1:1.1.2-3) ... Setting up libncurses-dev:i386 (6.1+20181013-2+deb10u2) ... Setting up libxcb1:i386 (1.13.1-2) ... Setting up libxau-dev:i386 (1:1.0.8-1+b2) ... Setting up libice-dev:i386 (2:1.0.9-2) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libxdmcp-dev:i386 (1:1.1.2-3) ... Setting up libfreetype6:i386 (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:i386 (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:i386 (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:i386 (2:1.6.7-1) ... Setting up libsm6:i386 (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:i386 (1.13.1-2) ... Setting up libxpm4:i386 (1:3.5.12-1) ... Setting up libsm-dev:i386 (2:1.2.3-1) ... Setting up libx11-dev:i386 (2:1.6.7-1) ... Setting up libxext6:i386 (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:i386 (1:3.5.12-1) ... Setting up libxt6:i386 (1:1.1.5-1+b3) ... Setting up libxext-dev:i386 (2:1.3.3-1+b2) ... Setting up libxmu-headers (2:1.1.2-2) ... Setting up libxmu6:i386 (2:1.1.2-2+b3) ... Setting up po-debconf (1.0.21) ... Setting up libxaw7:i386 (2:1.0.13-1+b2) ... Setting up libxt-dev:i386 (1:1.1.5-1+b3) ... Setting up libxmu-dev:i386 (2:1.1.2-2+b3) ... Setting up libxaw7-dev:i386 (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:/i/capture/the/path" HOME="/nonexistent/second-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 i386 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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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 ball.o ball.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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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 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/i386-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 -c -o do.o do.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/i386-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/i386-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/i386-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/i386-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_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 -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 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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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/i386-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/i386-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 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 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/i386-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 -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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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/i386-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/i386-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 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 -c -o explode.o explode.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/i386-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 -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 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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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 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 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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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 -c -o quest.o quest.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/i386-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 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 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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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 -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 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/i386-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/i386-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 -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 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 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 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 -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 options.c: In function 'doset': options.c:4155:40: warning: 's [' directive writing 3 bytes into a region of size between 2 and 11 [-Wformat-overflow=] Sprintf(fmtstr_doset, "%%s%%-%us [%%s]", longest_name_len); ^~~ 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/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 21 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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 -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/i386-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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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 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 -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/i386-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/i386-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/i386-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/i386-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 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 ../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 ../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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 ../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/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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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 ../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 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 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 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 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 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 -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 cc -Wdate-time -D_FORTIFY_SOURCE=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 '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/i386-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 -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 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/i386-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 display.o display.c cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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/i386-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/i386-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 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 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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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/i386-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/i386-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/i386-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 dog.o dog.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/i386-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/i386-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/i386-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 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 -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 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/i386-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 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 -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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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/i386-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/i386-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/i386-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 -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 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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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 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 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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 -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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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 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 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/i386-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 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 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/i386-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/i386-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/i386-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 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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 shknam.o shknam.c options.c: In function 'doset': options.c:4155:40: warning: 's [' directive writing 3 bytes into a region of size between 2 and 11 [-Wformat-overflow=] Sprintf(fmtstr_doset, "%%s%%-%us [%%s]", longest_name_len); ^~~ 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/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 21 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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 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 -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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 make[3]: Entering directory '/build/nethack-3.6.1/util' ./makedefs -z cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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]: 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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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/i386-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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 ../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/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 -DX11_GRAPHICS -c ../win/tty/getline.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/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; ^~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=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 ../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/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 ../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/winstat.c cc -Wdate-time -D_FORTIFY_SOURCE=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 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 -g -O2 -ffile-prefix-map=/build/nethack-3.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o tilemap tilemap.o ../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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 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 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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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 -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 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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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_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/i386-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/i386-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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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/i386-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/i386-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 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 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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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/i386-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 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 -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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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/i386-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/i386-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 -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 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/i386-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/i386-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/i386-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/i386-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 -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -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 -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o exper.o exper.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/i386-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 explode.o explode.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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 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 -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o files.o files.c cc -Wdate-time -D_FORTIFY_SOURCE=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 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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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 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 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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 -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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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/i386-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/i386-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 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 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/i386-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 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 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/i386-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/i386-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/i386-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 -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -c -o rect.o rect.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/i386-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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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 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 role.o role.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=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 cc -Wdate-time -D_FORTIFY_SOURCE=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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=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 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 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 options.c: In function 'doset': options.c:4155:40: warning: 's [' directive writing 3 bytes into a region of size between 2 and 11 [-Wformat-overflow=] Sprintf(fmtstr_doset, "%%s%%-%us [%%s]", longest_name_len); ^~~ 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/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 21 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/i386-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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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/i386-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 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/i386-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 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 -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -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 -DLISP_GRAPHICS -DDEFAULT_WINDOW_SYS=\"lisp\" -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/i386-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/i386-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/i386-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/i386-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 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 */ ^~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=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 ../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")); ^~~~~~~~~~~~~~~~~~~~~ ../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 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 cc -Wdate-time -D_FORTIFY_SOURCE=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/i386-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/i386-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/i386-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/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/i386-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/i386-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/i386-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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_i386.deb'. dpkg-deb: building package 'nethack-console-dbgsym' in '../nethack-console-dbgsym_3.6.1-1_i386.deb'. dpkg-deb: building package 'nethack-lisp-dbgsym' in '../nethack-lisp-dbgsym_3.6.1-1_i386.deb'. dpkg-deb: building package 'nethack-x11-dbgsym' in '../nethack-x11-dbgsym_3.6.1-1_i386.deb'. dpkg-deb: building package 'nethack-lisp' in '../nethack-lisp_3.6.1-1_i386.deb'. dpkg-deb: building package 'nethack-console' in '../nethack-console_3.6.1-1_i386.deb'. dpkg-deb: building package 'nethack-x11' in '../nethack-x11_3.6.1-1_i386.deb'. dpkg-deb: building package 'nethack-common' in '../nethack-common_3.6.1-1_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../nethack_3.6.1-1_i386.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: user script /srv/workspace/pbuilder/30880/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/30880/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/30880 and its subdirectories I: Current time: Fri Apr 24 14:01:46 +14 2020 I: pbuilder-time-stamp: 1587686506