Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/nethack/nethack_3.6.6-2+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/nethack-3.6.6-2+b1yukv62ge/nethack_3.6.6-2+b1_amd64.buildinfo Get source package info: nethack=3.6.6-2 Source URL: http://snapshot.notset.fr/mr/package/nethack/3.6.6-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bison=2:3.7.4+dfsg-1 bsdextrautils=2.36.1-5 bsdmainutils=12.1.7 bsdutils=1:2.36.1-5 build-essential=12.9 bzip2=1.0.8-4 calendar=12.1.7 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20201015-2 file=1:5.39-3 findutils=4.8.0-1 flex=2.6.4-8 fontconfig=2.13.1-4.2 fontconfig-config=2.13.1-4.2 fonts-dejavu-core=2.37-2 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 iso-codes=4.5.0-1 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libasound2=1.2.4-1.1 libasound2-data=1.2.4-1.1 libasyncns0=0.8-6+b1 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libavahi-client3=0.8-3 libavahi-common-data=0.8-3 libavahi-common3=0.8-3 libbinutils=2.35.1-7 libblkid-dev=2.36.1-5 libblkid1=2.36.1-5 libbrotli1=1.0.9-2+b2 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcap2-bin=1:2.44-1 libcc1-0=10.2.1-6 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libcups2=2.3.3op1-7 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdouble-conversion3=3.1.5-6.1 libdpkg-perl=1.20.7.1 libdrm-amdgpu1=2.4.103-2 libdrm-common=2.4.103-2 libdrm-intel1=2.4.103-2 libdrm-nouveau2=2.4.103-2 libdrm-radeon1=2.4.103-2 libdrm2=2.4.103-2 libdw1=0.182-3 libedit2=3.1-20191231-2+b1 libegl-dev=1.3.2-1 libegl-mesa0=20.3.3-1 libegl1=1.3.2-1 libelf1=0.182-3 libevdev2=1.10.1+dfsg-1 libexpat1=2.2.10-1 libffi-dev=3.3-5 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.9.0-1 libflac8=1.3.3-2 libfontconfig1=2.13.1-4.2 libfontenc1=1:1.1.4-1 libfreetype6=2.10.4+dfsg-1 libgbm1=20.3.3-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgl-dev=1.3.2-1 libgl1=1.3.2-1 libgl1-mesa-dri=20.3.3-1 libglapi-mesa=20.3.3-1 libglib2.0-0=2.66.4-1 libglib2.0-bin=2.66.4-1 libglib2.0-data=2.66.4-1 libglib2.0-dev=2.66.4-1 libglib2.0-dev-bin=2.66.4-1 libglu1-mesa=9.0.1-1 libglu1-mesa-dev=9.0.1-1 libglvnd0=1.3.2-1 libglx-dev=1.3.2-1 libglx-mesa0=20.3.3-1 libglx0=1.3.2-1 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.7.0-5 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgraphite2-3=1.3.14-1 libgssapi-krb5-2=1.18.3-4 libgstreamer-gl1.0-0=1.18.3-1 libgstreamer-plugins-base1.0-0=1.18.3-1 libgstreamer1.0-0=1.18.3-1 libgudev-1.0-0=234-1 libharfbuzz0b=2.6.7-1 libhogweed6=3.6-2 libice-dev=2:1.0.10-1 libice6=2:1.0.10-1 libicu67=67.1-6 libidn2-0=2.3.0-4 libinput-bin=1.16.4-3 libinput10=1.16.4-3 libisl23=0.23-1 libitm1=10.2.1-6 libjpeg62-turbo=1:2.0.5-2 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 libllvm11=1:11.0.1-2 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmd4c0=0.4.7-1 libmount-dev=2.36.1-5 libmount1=2.36.1-5 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libmtdev1=1.1.6-1 libncurses-dev=6.2+20201114-2 libncurses5-dev=6.2+20201114-2 libncurses6=6.2+20201114-2 libncursesw6=6.2+20201114-2 libnettle8=3.6-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libogg0=1.3.4-0.1 libopus0=1.3.1-0.1 liborc-0.4-0=1:0.4.32-1 libp11-kit0=0.23.22-1 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libpciaccess0=0.16-1 libpcre16-3=2:8.39-13 libpcre2-16-0=10.36-2 libpcre2-32-0=10.36-2 libpcre2-8-0=10.36-2 libpcre2-dev=10.36-2 libpcre2-posix2=10.36-2 libpcre3=2:8.39-13 libpcre3-dev=2:8.39-13 libpcre32-3=2:8.39-13 libpcrecpp0v5=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libpng16-16=1.6.37-3 libpthread-stubs0-dev=0.4-1 libpulse0=14.1-1 libpython3-stdlib=3.9.1-1 libpython3.9-minimal=3.9.1-2 libpython3.9-stdlib=3.9.1-2 libqt5concurrent5=5.15.2+dfsg-2 libqt5core5a=5.15.2+dfsg-2 libqt5dbus5=5.15.2+dfsg-2 libqt5gui5=5.15.2+dfsg-2 libqt5multimedia5=5.15.2-2 libqt5multimediagsttools5=5.15.2-2 libqt5multimediaquick5=5.15.2-2 libqt5multimediawidgets5=5.15.2-2 libqt5network5=5.15.2+dfsg-2 libqt5printsupport5=5.15.2+dfsg-2 libqt5qml5=5.15.2+dfsg-2 libqt5qmlmodels5=5.15.2+dfsg-2 libqt5quick5=5.15.2+dfsg-2 libqt5sql5=5.15.2+dfsg-2 libqt5test5=5.15.2+dfsg-2 libqt5widgets5=5.15.2+dfsg-2 libqt5xml5=5.15.2+dfsg-2 libquadmath0=10.2.1-6 libreadline8=8.1-1 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libselinux1-dev=3.1-2+b2 libsensors-config=1:3.6.0-5 libsensors5=1:3.6.0-5 libsepol1=3.1-1 libsepol1-dev=3.1-1 libsigsegv2=2.12-3 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.36.1-5 libsndfile1=1.0.30-1 libsqlite3-0=3.34.0-1 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.2-4 libtasn1-6=4.16.0-2 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.2-4 libunistring2=0.9.10-4 libunwind8=1.3.2-2 libuuid1=2.36.1-5 libvorbis0a=1.3.7-1 libvorbisenc2=1.3.7-1 libvulkan-dev=1.2.162.0-1 libvulkan1=1.2.162.0-1 libwacom-common=1.7-1 libwacom2=1.7-1 libwayland-client0=1.18.0-2~exp1.1 libwayland-cursor0=1.18.0-2~exp1.1 libwayland-egl1=1.18.0-2~exp1.1 libwayland-server0=1.18.0-2~exp1.1 libwrap0=7.6.q-31 libx11-6=2:1.7.0-2 libx11-data=2:1.7.0-2 libx11-dev=2:1.7.0-2 libx11-xcb1=2:1.7.0-2 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxaw7=2:1.0.13-1.1 libxaw7-dev=2:1.0.13-1.1 libxcb-dri2-0=1.14-2.1 libxcb-dri3-0=1.14-2.1 libxcb-glx0=1.14-2.1 libxcb-icccm4=0.4.1-1.1 libxcb-image0=0.4.0-1+b3 libxcb-keysyms1=0.4.0-1+b2 libxcb-present0=1.14-2.1 libxcb-randr0=1.14-2.1 libxcb-render-util0=0.3.9-1+b1 libxcb-render0=1.14-2.1 libxcb-shape0=1.14-2.1 libxcb-shm0=1.14-2.1 libxcb-sync1=1.14-2.1 libxcb-util1=0.4.0-1+b1 libxcb-xfixes0=1.14-2.1 libxcb-xinerama0=1.14-2.1 libxcb-xinput0=1.14-2.1 libxcb-xkb1=1.14-2.1 libxcb1=1.14-2.1 libxcb1-dev=1.14-2.1 libxdamage1=1:1.1.5-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1.1 libxext6=2:1.3.3-1.1 libxfixes3=1:5.0.3-2 libxkbcommon-x11-0=1.0.3-2 libxkbcommon0=1.0.3-2 libxml2=2.9.10+dfsg-6.3+b1 libxmu-dev=2:1.1.2-2+b3 libxmu-headers=2:1.1.2-2 libxmu6=2:1.1.2-2+b3 libxpm-dev=1:3.5.12-1 libxpm4=1:3.5.12-1 libxrender1=1:0.9.10-1 libxshmfence1=1.3-1 libxt-dev=1:1.2.0-1 libxt6=1:1.2.0-1 libxxf86vm1=1:1.1.4-1+b2 libz3-4=4.8.9-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.5-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 mailcap=3.68 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 media-types=4.0.0 mime-support=3.66 ncal=12.1.7 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 python3=3.9.1-1 python3-distutils=3.9.1-2 python3-lib2to3=3.9.1-2 python3-minimal=3.9.1-1 python3.9=3.9.1-2 python3.9-minimal=3.9.1-2 qt5-qmake=5.15.2+dfsg-2 qt5-qmake-bin=5.15.2+dfsg-2 qtbase5-dev=5.15.2+dfsg-2 qtbase5-dev-tools=5.15.2+dfsg-2 qtchooser=66-2 qtmultimedia5-dev=5.15.2-2 readline-common=8.1-1 sed=4.7-1 sensible-utils=0.0.14 shared-mime-info=2.0-1 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 tzdata=2020f-1 ucf=3.0043 util-linux=2.36.1-5 uuid-dev=2.36.1-5 x11-common=1:7.7+21 x11proto-core-dev=2020.1-1 x11proto-dev=2020.1-1 x11proto-xext-dev=2020.1-1 xfonts-encodings=1:1.0.4-2.1 xfonts-utils=1:7.7+6 xkb-data=2.29-2 xorg-sgml-doctools=1:1.11-1.1 xtrans-dev=1.4.0-1 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210124T203726Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210115T083904Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d nethack=3.6.6-2 && mkdir -p /build/nethack-x1htKg && dpkg-source --no-check -x /*.dsc /build/nethack-x1htKg/nethack-3.6.6 && cd /build/nethack-x1htKg/nethack-3.6.6 && { printf '%s' 'nethack (3.6.6-2+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild on buildd -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 17 Jan 2021 10:47:01 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/nethack-x1htKg" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/nethack-x1htKg/nethack-3.6.6 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610880421" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/nethack-x1htKg /tmp/nethack-3.6.6-2+b1yukv62ge bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210115T083904Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.6AkYvIc9S5 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.6AkYvIc9S5 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-5). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210115T083904Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210115T083904Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (865 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4661 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210124T203726Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210115T083904Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.6AkYvIc9S5 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210124T203726Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210115T083904Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210124T203726Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210124T203726Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210124T203726Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210124T203726Z unstable/main amd64 Packages [11.7 MB] Fetched 34.4 MB in 30s (1161 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.6AkYvIc9S5 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d nethack=3.6.6-2 && mkdir -p /build/nethack-x1htKg && dpkg-source --no-check -x /*.dsc /build/nethack-x1htKg/nethack-3.6.6 && cd /build/nethack-x1htKg/nethack-3.6.6 && { printf '%s' 'nethack (3.6.6-2+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild on buildd -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 17 Jan 2021 10:47:01 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/nethack-x1htKg"' exec /tmp/mmdebstrap.6AkYvIc9S5 Reading package lists... NOTICE: 'nethack' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/games-team/nethack.git Please use: git clone https://salsa.debian.org/games-team/nethack.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 5630 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nethack 3.6.6-2 (dsc) [2473 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nethack 3.6.6-2 (tar) [5578 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main nethack 3.6.6-2 (diff) [50.0 kB] Fetched 5630 kB in 5s (1065 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'nethack_3.6.6-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting nethack in /build/nethack-x1htKg/nethack-3.6.6 dpkg-source: info: unpacking nethack_3.6.6.orig.tar.gz dpkg-source: info: unpacking nethack_3.6.6-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0002-Change-paths-in-the-default-manpage.patch dpkg-source: info: applying 0001-Make-sure-the-user-calling-recover-owns-the-file.patch dpkg-source: info: applying 0003-Pkg-config.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 0021-fix-kfreebsd-ftbfs.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/nethack-x1htKg/nethack-3.6.6 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610880421" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.6AkYvIc9S5 dpkg-buildpackage: info: source package nethack dpkg-buildpackage: info: source version 3.6.6-2+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' rm -f debian/nh10.pcf.gz rm -f src/nethack-console src/nethack-x11 src/nethack-qt 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-x1htKg/nethack-3.6.6' dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_build make[1]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' sh sys/unix/setup.sh /usr/bin/make clean make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' ( cd src ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' rm -f *.o ../src/hack.h-t ../src/config.h-t make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' ( cd util ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' rm -f *.o make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' ( cd dat ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' rm -f gitinfo.txt make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd doc ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/doc' rm -f Guidebook.aux Guidebook.log make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/doc' make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6' touch include/config.h sleep 2 /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL' LINK='$(CC)' -C util makedefs make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' touch ../src/config.h-t make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/objects.c -o ../src/objects.o In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from makedefs.c:10: In function ‘strncpy’, inlined from ‘new_id’ at makedefs.c:2472:5, inlined from ‘do_qt_control’ at makedefs.c:2584:26: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS' WINSRC='$(WINTTYSRC) $(WINCURSESSRC)' WINOBJ='$(WINTTYOBJ) $(WINCURSESOBJ)' WINLIB='-lcurses' LINK='$(CC)' GAME='nethack-console' -C src 'nethack-console' make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o alloc.o alloc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dlb.o dlb.c make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -o cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o isaac64.o isaac64.c make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -p make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' touch ../src/hack.h-t cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o allmain.o allmain.c make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -z make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o apply.o apply.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o artifact.o artifact.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o bones.o bones.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cmd.o cmd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dbridge.o dbridge.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: In function ‘strncpy’, inlined from ‘attributes_enlightenment’ at cmd.c:2727:20: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function ‘status_hilite_linestr_gather_conditions’: botl.c:2793:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2793 | Sprintf(condbuf, "condition/%s/%s", | ^~ 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); | ~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from botl.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 12 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o decl.o decl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o detect.o detect.c botl.c: In function ‘status_hilite_menu_add’: botl.c:3385:38: warning: ‘ or ’ directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 3385 | Sprintf(obuf, "%s or %s", | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from botl.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 163 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function ‘enlght_halfdmg’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 266) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function ‘one_characteristic’: cmd.c:1653:22: warning: ‘%s’ directive writing between 3 and 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 262) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dig.o dig.c cmd.c: In function ‘background_enlightenment.constprop’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o display.o display.c cmd.c: In function ‘enlightenment’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 237 and 238 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 276 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 262 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do.o do.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_name.o do_name.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_wear.o do_wear.c do_name.c: In function ‘getpos_menu’: do_name.c:604:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 604 | Sprintf(fullbuf, "%s%s%s", firstmatch, | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from do_name.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function ‘getpos’: do_name.c:190:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from do_name.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 41 and 296 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c:190:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from do_name.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 41 and 296 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dog.o dog.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dogmove.o dogmove.c dogmove.c: In function ‘droppables’: cc1: warning: function may return address of local variable [-Wreturn-local-addr] dogmove.c:29:28: note: declared here 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; | ^~~~~ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dokick.o dokick.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dothrow.o dothrow.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o drawing.o drawing.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dungeon.o dungeon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o eat.o eat.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o end.o end.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o engrave.o engrave.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from engrave.c:6: In function ‘strncat’, inlined from ‘doengrave’ at engrave.c:1154:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o exper.o exper.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o explode.o explode.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o extralev.o extralev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o files.o files.c explode.c: In function ‘explode’: explode.c:539:67: warning: ‘%s’ directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from explode.c:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 21 or more bytes (assuming 276) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o fountain.o fountain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hack.o hack.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hacklib.o hacklib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o invent.o invent.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o light.o light.c hacklib.c: In function ‘yyyymmddhhmmss’: hacklib.c:1031:28: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~ hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from hacklib.c:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 15 and 67 bytes into a destination of size 15 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o lock.o lock.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mail.o mail.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mapglyph.o mapglyph.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mcastu.o mcastu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitm.o mhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitu.o mhitu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o minion.o minion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mklev.o mklev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkmap.o mkmap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkmaze.o mkmaze.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkobj.o mkobj.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkroom.o mkroom.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mon.o mon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mondata.o mondata.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mplayer.o mplayer.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mthrowu.o mthrowu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o muse.o muse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o music.o music.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o o_init.o o_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o objnam.o objnam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o options.o options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pager.o pager.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from pager.c:9: In function ‘strncpy’, inlined from ‘checkfile.constprop’ at pager.c:652:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pickup.o pickup.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘mshot_xname’ at objnam.c:805:15: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘mshot_xname’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘doname_base’ at objnam.c:1286:10: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘doname_base’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘aobjnam’ at objnam.c:1781:14: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘aobjnam’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ options.c: In function ‘option_help’: options.c:6279:28: warning: ‘ - ’ directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from options.c:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 25 or more bytes (assuming 260) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pline.o pline.c pline.c: In function ‘vpline’: pline.c:129:9: warning: variable ‘vlen’ set but not used [-Wunused-but-set-variable] 129 | int vlen = 0; | ^~~~ pline.c: In function ‘vconfig_error_add’: pline.c:598:9: warning: variable ‘vlen’ set but not used [-Wunused-but-set-variable] 598 | int vlen = 0; | ^~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from pline.c:7: In function ‘strncpy’, inlined from ‘vpline’ at pline.c:162:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o polyself.o polyself.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pray.o pray.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o priest.o priest.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from options.c:17: In function ‘strncat’, inlined from ‘doset’ at options.c:4692:28: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin_strncat’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o questpgr.o questpgr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o read.o read.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rect.o rect.c potion.c: In function ‘potionhit’: potion.c:1406:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from potion.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1406:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from potion.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o region.o region.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o restore.o restore.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rip.o rip.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rnd.o rnd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o role.o role.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rumors.o rumors.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o save.o save.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shk.o shk.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shknam.o shknam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sit.o sit.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sounds.o sounds.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.c sounds.c: In function ‘domonnoise’: sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of ‘const char * const[2]’ [-Warray-bounds] 622 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:592:38: note: while referencing ‘vampmsg’ 592 | static const char *const vampmsg[] = { | ^~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o spell.o spell.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sys.o sys.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steal.o steal.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steed.o steed.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o teleport.o teleport.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o timeout.o timeout.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topten.o topten.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o track.o track.c sp_lev.c: In function ‘load_special’: sp_lev.c:4272:20: warning: ‘typ’ may be used uninitialized in this function [-Wmaybe-uninitialized] 4272 | levl[x][y].typ = (*(int *) arg); sp_lev.c:4320:9: note: ‘typ’ was declared here 4320 | int typ; | ^~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o trap.o trap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o u_init.o u_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o uhitm.o uhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vault.o vault.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vis_tab.o vis_tab.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o weapon.o weapon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o were.o were.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wield.o wield.c weapon.c: In function ‘enhance_weapon_skill’: weapon.c:1261:47: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), | ^~ 1262 | sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 264) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1258:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, | ^~ 1259 | P_NAME(i), sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 265) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~ 1254 | sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [0, 65535] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 15 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1249:47: warning: ‘%-12s’ directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~ 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [0, 65535] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 27 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o windows.o windows.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wizard.o wizard.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worm.o worm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worn.o worn.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o write.o write.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from write.c:4: In function ‘strncpy’, inlined from ‘dowrite’ at write.c:161:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o zap.o zap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from ../sys/unix/unixmain.c:8: In function ‘strncat’, inlined from ‘main’ at ../sys/unix/unixmain.c:244:20: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from ../win/curses/cursstat.c:7: In function ‘strncpy’, inlined from ‘curs_HPbar’ at ../win/curses/cursstat.c:925:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/curses/cursstat.c: In function ‘curs_HPbar’: ../win/curses/cursstat.c:923:30: note: length computed here 923 | if (bar_len > (k = (int) strlen(text))) /* 26 for vertical status */ | ^~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c ../win/curses/cursinit.c: In function ‘curses_choose_character’: ../win/curses/cursinit.c:455:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 455 | sprintf(choice, "%s%c", tmpchoice, '\033'); | ^ In file included from /usr/include/stdio.h:867, from /usr/include/curses.h:192, from ../win/curses/cursinit.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 129 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o version.o version.c Linking nethack-console. cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o nethack-console monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o isaac64.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o version.o -lcurses nethack-console is up to date. make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' /usr/bin/make clean make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' ( cd src ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' rm -f *.o ../src/hack.h-t ../src/config.h-t make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' ( cd util ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' rm -f *.o make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' ( cd dat ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' rm -f gitinfo.txt make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd doc ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/doc' rm -f Guidebook.aux Guidebook.log make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/doc' make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6' touch include/config.h sleep 2 /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL' LINK='$(CC)' -C util makedefs make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' touch ../src/config.h-t make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/objects.c -o ../src/objects.o In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from makedefs.c:10: In function ‘strncpy’, inlined from ‘new_id’ at makedefs.c:2472:5, inlined from ‘do_qt_control’ at makedefs.c:2584:26: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dlb.o dlb.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o isaac64.o isaac64.c make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -o make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o Window.o ../win/X11/Window.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dialogs.o ../win/X11/dialogs.c make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -p make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' touch ../src/hack.h-t make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -z make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o weapon.o weapon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o were.o were.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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:1261:47: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), | ^~ 1262 | sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 264) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1258:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, | ^~ 1259 | P_NAME(i), sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 265) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~ 1254 | sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [0, 65535] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 15 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1249:47: warning: ‘%-12s’ directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~ 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [0, 65535] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 27 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from write.c:4: In function ‘strncpy’, inlined from ‘dowrite’ at write.c:161:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from ../sys/unix/unixmain.c:8: In function ‘strncat’, inlined from ‘main’ at ../sys/unix/unixmain.c:244:20: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o getline.o ../win/tty/getline.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o termcap.o ../win/tty/termcap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topl.o ../win/tty/topl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintty.o ../win/tty/wintty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winX.o ../win/X11/winX.c ../win/X11/winX.c: In function ‘init_standard_windows’: ../win/X11/winX.c:2575:46: warning: passing argument 2 of ‘XtAppSetErrorHandler’ makes ‘__attribute__((noreturn))’ qualified function pointer from unqualified [-Wdiscarded-qualifiers] 2575 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../win/X11/winX.c:19: /usr/include/X11/Intrinsic.h:1771:5: note: expected ‘__attribute__((noreturn)) void (*)(char *)’ but argument is of type ‘void (*)(char *)’ 1771 | XtErrorHandler /* handler */ _X_NORETURN | ^ ../win/X11/winX.c: In function ‘X11_init_nhwindows’: ../win/X11/winX.c:1508:12: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1508 | (void) seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c:1569:12: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1569 | (void) seteuid(savuid); | ^~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmap.o ../win/X11/winmap.c In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from ../win/X11/winX.c:19: In function ‘strncpy’, inlined from ‘done_button’ at ../win/X11/winX.c:1834:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function ‘done_button’: ../win/X11/winX.c:1828:11: note: length computed here 1828 | len = strlen(s); | ^~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from ../win/X11/winX.c:19: In function ‘strncpy’, inlined from ‘askname_done’ at ../win/X11/winX.c:1756:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function ‘askname_done’: ../win/X11/winX.c:1746:11: note: length computed here 1746 | len = strlen(s); | ^~~~~~~~~ ../win/X11/winmap.c: In function ‘map_update’: ../win/X11/winmap.c:1243:24: warning: variable ‘win_start_col’ set but not used [-Wunused-but-set-variable] 1243 | int win_start_row, win_start_col; | ^~~~~~~~~~~~~ ../win/X11/winmap.c:1243:9: warning: variable ‘win_start_row’ set but not used [-Wunused-but-set-variable] 1243 | int win_start_row, win_start_col; | ^~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmenu.o ../win/X11/winmenu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmesg.o ../win/X11/winmesg.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmisc.o ../win/X11/winmisc.c ../win/X11/winmisc.c: In function ‘X11_player_selection_randomize’: ../win/X11/winmisc.c:504:13: warning: variable ‘fully_specified_role’ set but not used [-Wunused-but-set-variable] 504 | boolean fully_specified_role, choose_race_first; | ^~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winstat.o ../win/X11/winstat.c ../win/X11/winstat.c: In function ‘X11_status_update_tty’: ../win/X11/winstat.c:314:20: warning: variable ‘oncearound’ set but not used [-Wunused-but-set-variable] 314 | static boolean oncearound = FALSE; /* prevent premature partial display */ | ^~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintext.o ../win/X11/wintext.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winval.o ../win/X11/winval.c make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o apply.o apply.c cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o ./tilemap make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o artifact.o artifact.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dbridge.o dbridge.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: In function ‘strncpy’, inlined from ‘attributes_enlightenment’ at cmd.c:2727:20: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function ‘status_hilite_linestr_gather_conditions’: botl.c:2793:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2793 | Sprintf(condbuf, "condition/%s/%s", | ^~ 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); | ~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from botl.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 12 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o decl.o decl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o detect.o detect.c botl.c: In function ‘status_hilite_menu_add’: cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dig.o dig.c botl.c:3385:38: warning: ‘ or ’ directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 3385 | Sprintf(obuf, "%s or %s", | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from botl.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 5 and 163 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function ‘enlght_halfdmg’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 266) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function ‘one_characteristic’: cmd.c:1653:22: warning: ‘%s’ directive writing between 3 and 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 262) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function ‘background_enlightenment.constprop’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o display.o display.c cmd.c: In function ‘enlightenment’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 237 and 238 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 276 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function ‘show_conduct’: cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1653:24: warning: ‘%s’ directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 262 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do.o do.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_name.o do_name.c do_name.c: In function ‘getpos_menu’: do_name.c:604:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 604 | Sprintf(fullbuf, "%s%s%s", firstmatch, | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from do_name.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c: In function ‘getpos’: do_name.c:190:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from do_name.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 41 and 296 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ do_name.c:190:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from do_name.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 41 and 296 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_wear.o do_wear.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dog.o dog.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dogmove.o dogmove.c dogmove.c: In function ‘droppables’: cc1: warning: function may return address of local variable [-Wreturn-local-addr] dogmove.c:29:28: note: declared here 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; | ^~~~~ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dothrow.o dothrow.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o engrave.o engrave.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from engrave.c:6: In function ‘strncat’, inlined from ‘doengrave’ at engrave.c:1154:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o exper.o exper.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o files.o files.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o fountain.o fountain.c explode.c: In function ‘explode’: explode.c:539:67: warning: ‘%s’ directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from explode.c:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 21 or more bytes (assuming 276) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o invent.o invent.c hacklib.c: In function ‘yyyymmddhhmmss’: hacklib.c:1031:28: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~ hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from hacklib.c:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 15 and 67 bytes into a destination of size 15 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pickup.o pickup.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from pager.c:9: In function ‘strncpy’, inlined from ‘checkfile.constprop’ at pager.c:652:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘mshot_xname’ at objnam.c:805:15: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘mshot_xname’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘doname_base’ at objnam.c:1286:10: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘doname_base’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pline.o pline.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘aobjnam’ at objnam.c:1781:14: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘aobjnam’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ options.c: In function ‘option_help’: options.c:6279:28: warning: ‘ - ’ directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from options.c:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 25 or more bytes (assuming 260) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pline.c: In function ‘vpline’: pline.c:129:9: warning: variable ‘vlen’ set but not used [-Wunused-but-set-variable] 129 | int vlen = 0; | ^~~~ pline.c: In function ‘vconfig_error_add’: pline.c:598:9: warning: variable ‘vlen’ set but not used [-Wunused-but-set-variable] 598 | int vlen = 0; | ^~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from pline.c:7: In function ‘strncpy’, inlined from ‘vpline’ at pline.c:162:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pray.o pray.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from options.c:17: In function ‘strncat’, inlined from ‘doset’ at options.c:4692:28: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin_strncat’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o priest.o priest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o questpgr.o questpgr.c potion.c: In function ‘potionhit’: potion.c:1406:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from potion.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1406:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from potion.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o restore.o restore.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rnd.o rnd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o role.o role.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shk.o shk.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shknam.o shknam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sp_lev.o sp_lev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o spell.o spell.c sounds.c: In function ‘domonnoise’: sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of ‘const char * const[2]’ [-Warray-bounds] 622 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:592:38: note: while referencing ‘vampmsg’ 592 | static const char *const vampmsg[] = { | ^~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o track.o track.c sp_lev.c: In function ‘load_special’: sp_lev.c:4272:20: warning: ‘typ’ may be used uninitialized in this function [-Wmaybe-uninitialized] 4272 | levl[x][y].typ = (*(int *) arg); sp_lev.c:4320:9: note: ‘typ’ was declared here 4320 | int typ; | ^~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vis_tab.o vis_tab.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o version.o version.c Linking nethack-x11. cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -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 isaac64.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o 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-x1htKg/nethack-3.6.6/src' /usr/bin/make clean make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' ( cd src ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' rm -f *.o ../src/hack.h-t ../src/config.h-t make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' ( cd util ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' rm -f *.o make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' ( cd dat ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' rm -f gitinfo.txt make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd doc ; /usr/bin/make clean ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/doc' rm -f Guidebook.aux Guidebook.log make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/doc' make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6' touch include/config.h sleep 2 /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL' LINK='$(CXX)' -C util makedefs make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' touch ../src/config.h-t make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -c ../src/objects.c -o ../src/objects.o In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from makedefs.c:10: In function ‘strncpy’, inlined from ‘new_id’ at makedefs.c:2472:5, inlined from ‘do_qt_control’ at makedefs.c:2584:26: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' /usr/bin/make LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC' WINSRC='$(WINQT4SRC)' WINOBJ='$(WINQT4OBJ)' WINLIB='$(WINQT5LIB)' LINK='$(CXX)' GAME='nethack-qt' -C src 'nethack-qt' make[2]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o alloc.o alloc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dlb.o dlb.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o isaac64.o isaac64.c make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -o make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o unixres.o ../sys/unix/unixres.c g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4clust.o ../win/Qt4/qt4clust.cpp /usr/bin/moc -o qt4main.moc ../win/Qt4/qt4main.h /usr/bin/moc -o qt4kde0.moc ../win/Qt4/qt4kde0.h /usr/bin/moc -o qt4map.moc ../win/Qt4/qt4map.h /usr/bin/moc -o qt4menu.moc ../win/Qt4/qt4menu.h /usr/bin/moc -o qt4msg.moc ../win/Qt4/qt4msg.h /usr/bin/moc -o qt4plsel.moc ../win/Qt4/qt4plsel.h /usr/bin/moc -o qt4set.moc ../win/Qt4/qt4set.h /usr/bin/moc -o qt4stat.moc ../win/Qt4/qt4stat.h g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4str.o ../win/Qt4/qt4str.cpp /usr/bin/moc -o qt4xcmd.moc ../win/Qt4/qt4xcmd.h /usr/bin/moc -o qt4yndlg.moc ../win/Qt4/qt4yndlg.h make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -p make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' touch ../src/hack.h-t make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' ./makedefs -z cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o weapon.o weapon.c make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o were.o were.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o wield.o wield.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o windows.o windows.c weapon.c: In function ‘enhance_weapon_skill’: weapon.c:1261:47: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), | ^~ 1262 | sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 264) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1258:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, | ^~ 1259 | P_NAME(i), sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 6 or more bytes (assuming 265) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~ 1254 | sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [0, 65535] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 15 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1249:47: warning: ‘%-12s’ directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~ 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [0, 65535] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from weapon.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 27 or more bytes (assuming 277) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o wizard.o wizard.c ../win/Qt4/qt4str.cpp: In function ‘QString nethack_qt4::nh_capitalize_words(const QString&)’: ../win/Qt4/qt4str.cpp:38:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 38 | for (size_t i = 0; i < words.size(); ++i) { | ~~^~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o worm.o worm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o worn.o worn.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o write.o write.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from write.c:4: In function ‘strncpy’, inlined from ‘dowrite’ at write.c:161:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o zap.o zap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o posixregex.o ../sys/share/posixregex.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o ioctl.o ../sys/share/ioctl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o unixmain.o ../sys/unix/unixmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o unixtty.o ../sys/share/unixtty.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o unixunix.o ../sys/unix/unixunix.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from ../sys/unix/unixmain.c:8: In function ‘strncat’, inlined from ‘main’ at ../sys/unix/unixmain.c:244:20: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4bind.o ../win/Qt4/qt4bind.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4click.o ../win/Qt4/qt4click.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4delay.o ../win/Qt4/qt4delay.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4glyph.o ../win/Qt4/qt4glyph.cpp In file included from ../win/Qt4/qt4bind.cpp:36: ../win/Qt4/qt4menu.h: In member function ‘int nethack_qt4::NetHackQtTextListBox::TotalWidth() const’: ../win/Qt4/qt4menu.h:24:43: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 24 | int lwidth = fm.width(item(i)->text()); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4bind.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4bind.cpp: In constructor ‘nethack_qt4::NetHackQtBind::NetHackQtBind(int&, char**)’: ../win/Qt4/qt4bind.cpp:115:14: warning: ‘static void QCoreApplication::flush()’ is deprecated [-Wdeprecated-declarations] 115 | qApp->flush(); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcommandlineparser.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:55, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4bind.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:169:31: note: declared here 169 | QT_DEPRECATED static void flush(); | ^~~~~ ../win/Qt4/qt4bind.cpp: In static member function ‘static void nethack_qt4::NetHackQtBind::qt_init_nhwindows(int*, char**)’: ../win/Qt4/qt4bind.cpp:147:19: warning: ‘static void QApplication::setColorSpec(int)’ is deprecated [-Wdeprecated-declarations] 147 | QApplication::setColorSpec(ManyColor); | ^~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, from ../win/Qt4/qt4bind.cpp:23: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here 106 | QT_DEPRECATED static void setColorSpec(int); | ^~~~~~~~~~~~ ../win/Qt4/qt4bind.cpp:147:41: warning: ‘static void QApplication::setColorSpec(int)’ is deprecated [-Wdeprecated-declarations] 147 | QApplication::setColorSpec(ManyColor); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, from ../win/Qt4/qt4bind.cpp:23: /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here 106 | QT_DEPRECATED static void setColorSpec(int); | ^~~~~~~~~~~~ ../win/Qt4/qt4bind.cpp: In static member function ‘static void nethack_qt4::NetHackQtBind::qt_display_file(const char*, int)’: ../win/Qt4/qt4bind.cpp:366:49: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 366 | message.sprintf("File not found: %s\n",filename); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4bind.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4icon.o ../win/Qt4/qt4icon.cpp ../win/Qt4/qt4bind.cpp: In member function ‘virtual bool nethack_qt4::NetHackQtBind::notify(QObject*, QEvent*)’: ../win/Qt4/qt4bind.cpp:682:51: warning: comparison of integer expressions of different signedness: ‘QFlags::Int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 682 | && ((key_macro[i].state&key_event->modifiers())==key_macro[i].state)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4inv.o ../win/Qt4/qt4inv.cpp ../win/Qt4/qt4bind.cpp: At global scope: ../win/Qt4/qt4bind.cpp:722:13: warning: ‘void nethack_qt4::Qt_positionbar(char*)’ defined but not used [-Wunused-function] 722 | static void Qt_positionbar(char *) {} | ^~~~~~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4key.o ../win/Qt4/qt4key.cpp ../win/Qt4/qt4glyph.cpp: In constructor ‘nethack_qt4::NetHackQtGlyphs::NetHackQtGlyphs()’: ../win/Qt4/qt4glyph.cpp:55:55: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 55 | msg.sprintf("Cannot load x11tiles or nhtiles.bmp"); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4glyph.cpp:21: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4line.o ../win/Qt4/qt4line.cpp ../win/Qt4/qt4icon.cpp: In member function ‘void nethack_qt4::NetHackQtLabelledIcon::setLabel(const QString&, long int, long int, const QString&)’: ../win/Qt4/qt4icon.cpp:74:22: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 74 | buf.sprintf("%ld", v); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4icon.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4key.cpp: In member function ‘Qt::KeyboardModifiers nethack_qt4::NetHackQtKeyBuffer::GetState()’: ../win/Qt4/qt4key.cpp:67:27: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::KeyboardModifier; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 67 | if ( Empty() ) return 0; | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4key.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ ../win/Qt4/qt4key.cpp: In member function ‘Qt::KeyboardModifiers nethack_qt4::NetHackQtKeyBuffer::TopState() const’: ../win/Qt4/qt4key.cpp:87:27: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::KeyboardModifier; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 87 | if ( Empty() ) return 0; | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4key.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4main.o ../win/Qt4/qt4main.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4map.o ../win/Qt4/qt4map.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4menu.o ../win/Qt4/qt4menu.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4msg.o ../win/Qt4/qt4msg.cpp ../win/Qt4/qt4map.cpp: In member function ‘virtual void nethack_qt4::NetHackQtMapViewport::paintEvent(QPaintEvent*)’: ../win/Qt4/qt4map.cpp:121:20: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 121 | if ( fm.width("M") > qt_settings->glyphs().width() ) | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4map.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4main.cpp: In function ‘QString nethack_qt4::aboutMsg()’: ../win/Qt4/qt4main.cpp:457:12: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 457 | PATCHLEVEL); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4main.cpp:21: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ In file included from ../win/Qt4/qt4menu.cpp:24: ../win/Qt4/qt4menu.h: In member function ‘int nethack_qt4::NetHackQtTextListBox::TotalWidth() const’: ../win/Qt4/qt4menu.h:24:43: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 24 | int lwidth = fm.width(item(i)->text()); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4menu.cpp: In constructor ‘nethack_qt4::NetHackQtMenuWindow::NetHackQtMenuWindow(QWidget*)’: ../win/Qt4/qt4menu.cpp:120:28: warning: ‘constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations] 120 | prompt.setParent(this,0); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from ../win/Qt4/qt4map.cpp:28: ../include/qt_xpms.h: At global scope: ../include/qt_xpms.h:1363:20: warning: ‘wis_xpm’ defined but not used [-Wunused-variable] 1363 | static const char *wis_xpm[] = { | ^~~~~~~ ../include/qt_xpms.h:1304:20: warning: ‘stunned_xpm’ defined but not used [-Wunused-variable] 1304 | static const char *stunned_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:1240:20: warning: ‘str_xpm’ defined but not used [-Wunused-variable] 1240 | static const char *str_xpm[] = { | ^~~~~~~ ../include/qt_xpms.h:1180:20: warning: ‘slt_enc_xpm’ defined but not used [-Wunused-variable] 1180 | static const char *slt_enc_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:1110:20: warning: ‘sick_il_xpm’ defined but not used [-Wunused-variable] 1110 | static const char *sick_il_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:1033:20: warning: ‘sick_fp_xpm’ defined but not used [-Wunused-variable] 1033 | static const char *sick_fp_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:963:20: warning: ‘satiated_xpm’ defined but not used [-Wunused-variable] 963 | static const char *satiated_xpm[] = { | ^~~~~~~~~~~~ ../include/qt_xpms.h:860:20: warning: ‘ovr_enc_xpm’ defined but not used [-Wunused-variable] 860 | static const char *ovr_enc_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:799:20: warning: ‘neutral_xpm’ defined but not used [-Wunused-variable] 799 | static const char *neutral_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:739:20: warning: ‘mod_enc_xpm’ defined but not used [-Wunused-variable] 739 | static const char *mod_enc_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:682:20: warning: ‘lawful_xpm’ defined but not used [-Wunused-variable] 682 | static const char *lawful_xpm[] = { | ^~~~~~~~~~ ../include/qt_xpms.h:623:20: warning: ‘int_xpm’ defined but not used [-Wunused-variable] 623 | static const char *int_xpm[] = { | ^~~~~~~ ../include/qt_xpms.h:563:20: warning: ‘hvy_enc_xpm’ defined but not used [-Wunused-variable] 563 | static const char *hvy_enc_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:501:20: warning: ‘hungry_xpm’ defined but not used [-Wunused-variable] 501 | static const char *hungry_xpm[] = { | ^~~~~~~~~~ ../include/qt_xpms.h:424:20: warning: ‘hallu_xpm’ defined but not used [-Wunused-variable] 424 | static const char *hallu_xpm[] = { | ^~~~~~~~~ ../include/qt_xpms.h:364:20: warning: ‘ext_enc_xpm’ defined but not used [-Wunused-variable] 364 | static const char *ext_enc_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:298:20: warning: ‘dex_xpm’ defined but not used [-Wunused-variable] 298 | static const char *dex_xpm[] = { | ^~~~~~~ ../include/qt_xpms.h:238:20: warning: ‘confused_xpm’ defined but not used [-Wunused-variable] 238 | static const char *confused_xpm[] = { | ^~~~~~~~~~~~ ../include/qt_xpms.h:172:20: warning: ‘cns_xpm’ defined but not used [-Wunused-variable] 172 | static const char *cns_xpm[] = { | ^~~~~~~ ../include/qt_xpms.h:116:20: warning: ‘chaotic_xpm’ defined but not used [-Wunused-variable] 116 | static const char *chaotic_xpm[] = { | ^~~~~~~~~~~ ../include/qt_xpms.h:55:20: warning: ‘cha_xpm’ defined but not used [-Wunused-variable] 55 | static const char *cha_xpm[] = { | ^~~~~~~ ../include/qt_xpms.h:3:20: warning: ‘blind_xpm’ defined but not used [-Wunused-variable] 3 | static const char *blind_xpm[] = { | ^~~~~~~~~ ../win/Qt4/qt4menu.cpp: In member function ‘virtual int nethack_qt4::NetHackQtMenuWindow::SelectMenu(int, mi**)’: ../win/Qt4/qt4menu.cpp:240:31: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 240 | for (std::size_t i = 0; i < itemlist.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ ../win/Qt4/qt4menu.cpp:248:29: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 248 | for (std::size_t j = 0U; j < columns.size(); ++j) { | ~~^~~~~~~~~~~~~~~~ ../win/Qt4/qt4menu.cpp:249:42: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 249 | int w = fm.width(columns[j] + " \t"); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4menu.cpp:259:32: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 259 | for (std::size_t i = 0U; i < itemlist.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ ../win/Qt4/qt4menu.cpp:264:32: warning: comparison of integer expressions of different signedness: ‘std::size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 264 | for (std::size_t j = 0U; j+1U < columns.size(); ++j) { | ~~~~~^~~~~~~~~~~~~~~~ ../win/Qt4/qt4menu.cpp:267:32: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 267 | while (fm.width(columns[j]) < width) { | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4menu.cpp:273:30: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 273 | WidenColumn(4, fm.width(text)); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4menu.cpp: In member function ‘void nethack_qt4::NetHackQtMenuWindow::AddRow(int, const nethack_qt4::NetHackQtMenuWindow::MenuItem&)’: ../win/Qt4/qt4menu.cpp:350:34: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 350 | WidenColumn(0, fm.width("999999")); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4menu.cpp:389:35: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 389 | WidenColumn(3, fm.width(letter)); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4menu.cpp:393:33: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 393 | WidenColumn(4, fm.width(text)); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4menu.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4menu.cpp:395:18: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare] 395 | if (mi.color != -1) { | ~~~~~~~~~^~~~~ ../win/Qt4/qt4menu.cpp: In member function ‘virtual void nethack_qt4::NetHackQtMenuWindow::keyPressEvent(QKeyEvent*)’: ../win/Qt4/qt4menu.cpp:496:22: warning: comparison of integer expressions of different signedness: ‘char’ and ‘unsigned int’ [-Wsign-compare] 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) ../win/Qt4/qt4menu.cpp:496:48: warning: comparison of integer expressions of different signedness: ‘char’ and ‘unsigned int’ [-Wsign-compare] 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) ../win/Qt4/qt4main.cpp: At global scope: ../win/Qt4/qt4main.cpp:419:21: warning: ‘nethack_qt4::cast_c_xpm’ defined but not used [-Wunused-variable] 419 | static const char * cast_c_xpm[] = { | ^~~~~~~~~~ ../win/Qt4/qt4main.cpp:400:21: warning: ‘nethack_qt4::cast_b_xpm’ defined but not used [-Wunused-variable] 400 | static const char * cast_b_xpm[] = { | ^~~~~~~~~~ ../win/Qt4/qt4main.cpp:381:21: warning: ‘nethack_qt4::cast_a_xpm’ defined but not used [-Wunused-variable] 381 | static const char * cast_a_xpm[] = { | ^~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4plsel.o ../win/Qt4/qt4plsel.cpp ../win/Qt4/qt4menu.cpp: In member function ‘virtual void nethack_qt4::NetHackQtTextWindow::UseRIP(int, time_t)’: ../win/Qt4/qt4menu.cpp:670:54: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 17 [-Wformat-truncation=] 670 | snprintf(rip_line[NAME_LINE], STONE_LINE_LEN+1, "%s", plname); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from ../win/Qt4/qt4menu.cpp:8: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin_snprintf’ output between 1 and 32 bytes into a destination of size 17 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4rip.o ../win/Qt4/qt4rip.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4set.o ../win/Qt4/qt4set.cpp ../win/Qt4/qt4msg.cpp: In member function ‘virtual void nethack_qt4::NetHackQtMessageWindow::PutStr(int, const QString&)’: ../win/Qt4/qt4msg.cpp:144:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 144 | if (list->count() >= ::iflags.msg_history) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4stat.o ../win/Qt4/qt4stat.cpp ../win/Qt4/qt4plsel.cpp: In constructor ‘nethack_qt4::NetHackQtPlayerSelector::NetHackQtPlayerSelector(nethack_qt4::NetHackQtKeyBuffer&)’: ../win/Qt4/qt4plsel.cpp:185:18: warning: unused variable ‘vbgb’ [-Wunused-variable] 185 | QVBoxLayout* vbgb = new QVBoxLayout(genderbox); | ^~~~ ../win/Qt4/qt4plsel.cpp:186:18: warning: unused variable ‘vbab’ [-Wunused-variable] 186 | QVBoxLayout* vbab = new QVBoxLayout(alignbox); | ^~~~ ../win/Qt4/qt4rip.cpp: In function ‘void nethack_qt4::tryload(QPixmap&, const char*)’: ../win/Qt4/qt4rip.cpp:44:38: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 44 | msg.sprintf("Cannot load \"%s\"", fn); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4rip.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4streq.o ../win/Qt4/qt4streq.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4svsel.o ../win/Qt4/qt4svsel.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4win.o ../win/Qt4/qt4win.cpp ../win/Qt4/qt4stat.cpp: In member function ‘void nethack_qt4::NetHackQtStatusWindow::updateStats()’: ../win/Qt4/qt4stat.cpp:376:39: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 376 | buf.sprintf("STR:%d",ACURR(A_STR)-100); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:378:25: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 378 | buf.sprintf("STR:18/**"); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:380:43: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 380 | buf.sprintf("STR:18/%02d",ACURR(A_STR)-18); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:382:35: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 382 | buf.sprintf("STR:%d",ACURR(A_STR)); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:437:65: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 437 | buf2.sprintf("%s the %s", plname, buf.toLatin1().constData()); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:444:53: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 444 | buf.sprintf("%s, level ", dungeons[u.uz.dnum].dname); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:453:28: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 453 | buf.sprintf("/%d", u.mhmax); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:459:29: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 459 | buf.sprintf("/%d", u.uhpmax); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../win/Qt4/qt4stat.cpp:463:32: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 463 | buf.sprintf("/%d", u.uenmax); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4stat.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ In file included from ../win/Qt4/qt4stat.cpp:28: ../include/qt_xpms.h: At global scope: ../include/qt_xpms.h:949:20: warning: ‘pile_mark_xpm’ defined but not used [-Wunused-variable] 949 | static const char *pile_mark_xpm[] = { | ^~~~~~~~~~~~~ ../include/qt_xpms.h:936:20: warning: ‘pet_mark_small_xpm’ defined but not used [-Wunused-variable] 936 | static const char *pet_mark_small_xpm[] = { | ^~~~~~~~~~~~~~~~~~ ../include/qt_xpms.h:920:20: warning: ‘pet_mark_xpm’ defined but not used [-Wunused-variable] 920 | static const char *pet_mark_xpm[] = { | ^~~~~~~~~~~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4xcmd.o ../win/Qt4/qt4xcmd.cpp ../win/Qt4/qt4streq.cpp: In member function ‘bool nethack_qt4::NetHackQtStringRequestor::Get(char*, int)’: ../win/Qt4/qt4streq.cpp:81:42: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 81 | resize(fontMetrics().width(prompt.text())+50,fontMetrics().height()*6); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4streq.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4streq.cpp:83:42: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 83 | resize(fontMetrics().width(prompt.text())*2+50,fontMetrics().height()*4); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4streq.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ ../win/Qt4/qt4svsel.cpp: In constructor ‘nethack_qt4::NetHackQtSavedGameSelector::NetHackQtSavedGameSelector(const char**)’: ../win/Qt4/qt4svsel.cpp:63:18: warning: unused variable ‘bgl’ [-Wunused-variable] 63 | QVBoxLayout *bgl = new QVBoxLayout(box); | ^~~ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4yndlg.o ../win/Qt4/qt4yndlg.cpp In file included from ../win/Qt4/qt4win.cpp:72: ../win/Qt4/qt4menu.h: In member function ‘int nethack_qt4::NetHackQtTextListBox::TotalWidth() const’: ../win/Qt4/qt4menu.h:24:43: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 24 | int lwidth = fm.width(item(i)->text()); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4win.cpp:60: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c ../win/share/tilemap.c cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o ./tilemap make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o allmain.o allmain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o apply.o apply.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o artifact.o artifact.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o attrib.o attrib.c ../win/Qt4/qt4xcmd.cpp: In constructor ‘nethack_qt4::NetHackQtExtCmdRequestor::NetHackQtExtCmdRequestor(QWidget*)’: ../win/Qt4/qt4xcmd.cpp:56:55: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 56 | butw = std::max(butw,30+fm.width(extcmdlist[i].ef_txt)); | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, from ../win/Qt4/qt4xcmd.cpp:19: /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o bones.o bones.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o cmd.o cmd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dbridge.o dbridge.c botl.c: In function ‘status_hilite_linestr_gather_conditions’: botl.c:2793:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2793 | Sprintf(condbuf, "condition/%s/%s", | ^~ 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); | ~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from botl.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 12 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: In function ‘strncpy’, inlined from ‘attributes_enlightenment’ at cmd.c:2727:20: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o decl.o decl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o detect.o detect.c ../win/Qt4/qt4yndlg.cpp: In member function ‘char nethack_qt4::NetHackQtYnDialog::Exec()’: ../win/Qt4/qt4yndlg.cpp:117:51: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 117 | QGroupBox *group = new QGroupBox(bigq ? QString::null : qlabel, this); | ^~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4yndlg.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ ../win/Qt4/qt4yndlg.cpp:117:51: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 117 | QGroupBox *group = new QGroupBox(bigq ? QString::null : qlabel, this); | ^~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, from ../win/Qt4/qt4yndlg.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ ../win/Qt4/qt4yndlg.cpp:185:18: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 185 | for (uint i=0; itm_mon + 1, | ^~~~ hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from hacklib.c:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 15 and 67 bytes into a destination of size 15 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o lock.o lock.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mail.o mail.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mapglyph.o mapglyph.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mcastu.o mcastu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mhitm.o mhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mhitu.o mhitu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o minion.o minion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mklev.o mklev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mkmap.o mkmap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mkmaze.o mkmaze.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mkobj.o mkobj.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mkroom.o mkroom.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mon.o mon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mondata.o mondata.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mplayer.o mplayer.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mthrowu.o mthrowu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o muse.o muse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o music.o music.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o o_init.o o_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o objnam.o objnam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o options.o options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pager.o pager.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pickup.o pickup.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from pager.c:9: In function ‘strncpy’, inlined from ‘checkfile.constprop’ at pager.c:652:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘mshot_xname’ at objnam.c:805:15: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘mshot_xname’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘doname_base’ at objnam.c:1286:10: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘doname_base’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ options.c: In function ‘option_help’: options.c:6279:28: warning: ‘ - ’ directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from options.c:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 25 or more bytes (assuming 260) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from objnam.c:6: In function ‘strncpy’, inlined from ‘strprepend’ at objnam.c:76:12, inlined from ‘aobjnam’ at objnam.c:1781:14: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function ‘aobjnam’: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pline.o pline.c pline.c: In function ‘vpline’: pline.c:129:9: warning: variable ‘vlen’ set but not used [-Wunused-but-set-variable] 129 | int vlen = 0; | ^~~~ pline.c: In function ‘vconfig_error_add’: pline.c:598:9: warning: variable ‘vlen’ set but not used [-Wunused-but-set-variable] 598 | int vlen = 0; | ^~~~ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from pline.c:7: In function ‘strncpy’, inlined from ‘vpline’ at pline.c:162:16: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o polyself.o polyself.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pray.o pray.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, from options.c:17: In function ‘strncat’, inlined from ‘doset’ at options.c:4692:28: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: ‘__builtin_strncat’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o priest.o priest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o questpgr.o questpgr.c potion.c: In function ‘potionhit’: potion.c:1406:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from potion.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1406:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from potion.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o read.o read.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o rect.o rect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o region.o region.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o restore.o restore.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o rip.o rip.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o rnd.o rnd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o role.o role.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o rumors.o rumors.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o save.o save.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o shk.o shk.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o shknam.o shknam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sit.o sit.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sounds.o sounds.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sp_lev.o sp_lev.c sounds.c: In function ‘domonnoise’: sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of ‘const char * const[2]’ [-Warray-bounds] 622 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:592:38: note: while referencing ‘vampmsg’ 592 | static const char *const vampmsg[] = { | ^~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o spell.o spell.c sounds.c: In function ‘add_sound_mapping’: sounds.c:1135:33: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1135 | Sprintf(filespec, "%s/%s", sounddir, filename); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from sounds.c:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sys.o sys.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o steal.o steal.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o steed.o steed.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o teleport.o teleport.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o timeout.o timeout.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o topten.o topten.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o track.o track.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o trap.o trap.c sp_lev.c: In function ‘load_special’: sp_lev.c:4272:20: warning: ‘typ’ may be used uninitialized in this function [-Wmaybe-uninitialized] 4272 | levl[x][y].typ = (*(int *) arg); sp_lev.c:4320:9: note: ‘typ’ was declared here 4320 | int typ; | ^~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o u_init.o u_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o uhitm.o uhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vault.o vault.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vis_tab.o vis_tab.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o version.o version.c version.c: In function ‘early_version_info’: version.c:187:24: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 187 | Sprintf(buf2, "%s\n", buf); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from version.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 257 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version.c:187:24: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 187 | Sprintf(buf2, "%s\n", buf); | ^ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, from version.c:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 257 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking nethack-qt. g++ -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o nethack-qt monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o isaac64.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o qt4bind.o qt4click.o qt4clust.o qt4delay.o qt4glyph.o qt4icon.o qt4inv.o qt4key.o qt4line.o qt4main.o qt4map.o qt4menu.o qt4msg.o qt4plsel.o qt4rip.o qt4set.o qt4stat.o qt4str.o qt4streq.o qt4svsel.o qt4win.o qt4xcmd.o qt4yndlg.o tile.o version.o `pkg-config Qt5Gui Qt5Widgets Qt5Multimedia --libs` nethack-qt is up to date. make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' touch src/nethack-dummy ; sleep 2 /usr/bin/make -j1 LFLAGS='-g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6' make[2]: warning: -j1 forced in submake: resetting jobserver mode. ( cd util ; /usr/bin/make recover ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' make[4]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' make[4]: '../include/date.h' is up to date. make[4]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c -o recover.o recover.c cc -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o recover recover.o make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' ( cd doc ; /usr/bin/make Guidebook ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/doc' cat Guidebook.mn | ../util/makedefs --grep --input - --output - | tbl tmac.n - | nroff -c -Tascii | col -bx > Guidebook make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/doc' ( cd dat ; /usr/bin/make bogusmon ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ../util/makedefs -s make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make data ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ../util/makedefs -d make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make engrave ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' make[3]: 'engrave' is up to date. make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make epitaph ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' make[3]: 'epitaph' is up to date. make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make oracles ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ../util/makedefs -h make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make options ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make quest.dat ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ../util/makedefs -q make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make rumors ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ../util/makedefs -r make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd util ; /usr/bin/make tile2x11 ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' cp ../win/share/tile.h ../include/tile.h cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -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-x1htKg/nethack-3.6.6/util' ( cd dat ; /usr/bin/make x11tiles ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/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-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make NetHack.ad ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/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-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make pet_mark.xbm ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make pilemark.xbm ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' cp ../win/X11/pilemark.xbm pilemark.xbm make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make rip.xpm ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' cp ../win/X11/rip.xpm rip.xpm make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' (cd dat ; /usr/bin/make mapbg.xpm ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' cp ../win/gnome/mapbg.xpm mapbg.xpm make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd util ; /usr/bin/make dgn_comp ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/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-x1htKg/nethack-3.6.6/src' make[4]: '../include/date.h' is up to date. make[4]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/util' ( cd dat ; /usr/bin/make dungeon ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[3]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/dat' ( cd util ; /usr/bin/make lev_comp ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6/src' make[4]: '../include/date.h' is up to date. make[4]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -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-x1htKg/nethack-3.6.6/util' ( cd dat ; /usr/bin/make spec_levs ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/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-x1htKg/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make quest_levs ) make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/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-x1htKg/nethack-3.6.6/dat' color, data file compression, data librarian, insurance files for make[3]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' ( cd util ; /usr/bin/make dlb ) make[4]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/util' make[5]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/nethack-x1htKg/nethack-3.6.6=. -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-x1htKg/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[4]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6/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-x1htKg/nethack-3.6.6' true; Done. make[2]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6' /usr/bin/bdftopcf win/X11/nh10.bdf | gzip -9fn > debian/nh10.pcf.gz make[1]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6' dh_auto_test -a create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_installdirs -a dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a dh_installdebconf -a debian/rules override_dh_installinit make[1]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' dh_installinit --no-start make[1]: Leaving directory '/build/nethack-x1htKg/nethack-3.6.6' dh_installsystemd -a dh_lintian -a dh_icons -a dh_perl -a dh_link -a dh_installxfonts -a dh_strip_nondeterminism -a dh_compress -a debian/rules override_dh_fixperms make[1]: Entering directory '/build/nethack-x1htKg/nethack-3.6.6' 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 x11 qt; 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-x1htKg/nethack-3.6.6' dh_missing -a dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'nethack-x11' in '../nethack-x11_3.6.6-2+b1_amd64.deb'. dpkg-deb: building package 'nethack-common' in '../nethack-common_3.6.6-2+b1_amd64.deb'. dpkg-deb: building package 'nethack-console' in '../nethack-console_3.6.6-2+b1_amd64.deb'. dpkg-deb: building package 'nethack-qt' in '../nethack-qt_3.6.6-2+b1_amd64.deb'. dpkg-deb: building package 'nethack-common-dbgsym' in '../nethack-common-dbgsym_3.6.6-2+b1_amd64.deb'. dpkg-deb: building package 'nethack-qt-dbgsym' in '../nethack-qt-dbgsym_3.6.6-2+b1_amd64.deb'. dpkg-deb: building package 'nethack-x11-dbgsym' in '../nethack-x11-dbgsym_3.6.6-2+b1_amd64.deb'. dpkg-deb: building package 'nethack-console-dbgsym' in '../nethack-console-dbgsym_3.6.6-2+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../nethack_3.6.6-2+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/nethack-x1htKg /tmp/nethack-3.6.6-2+b1yukv62ge I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.6AkYvIc9S5... I: success in 1773.7913 seconds md5: nethack-common-dbgsym_3.6.6-2+b1_amd64.deb: OK md5: nethack-common_3.6.6-2+b1_amd64.deb: OK md5: nethack-console-dbgsym_3.6.6-2+b1_amd64.deb: OK md5: nethack-console_3.6.6-2+b1_amd64.deb: OK md5: nethack-qt-dbgsym_3.6.6-2+b1_amd64.deb: OK md5: nethack-qt_3.6.6-2+b1_amd64.deb: OK md5: nethack-x11-dbgsym_3.6.6-2+b1_amd64.deb: OK md5: nethack-x11_3.6.6-2+b1_amd64.deb: OK sha1: nethack-common-dbgsym_3.6.6-2+b1_amd64.deb: OK sha1: nethack-common_3.6.6-2+b1_amd64.deb: OK sha1: nethack-console-dbgsym_3.6.6-2+b1_amd64.deb: OK sha1: nethack-console_3.6.6-2+b1_amd64.deb: OK sha1: nethack-qt-dbgsym_3.6.6-2+b1_amd64.deb: OK sha1: nethack-qt_3.6.6-2+b1_amd64.deb: OK sha1: nethack-x11-dbgsym_3.6.6-2+b1_amd64.deb: OK sha1: nethack-x11_3.6.6-2+b1_amd64.deb: OK sha256: nethack-common-dbgsym_3.6.6-2+b1_amd64.deb: OK sha256: nethack-common_3.6.6-2+b1_amd64.deb: OK sha256: nethack-console-dbgsym_3.6.6-2+b1_amd64.deb: OK sha256: nethack-console_3.6.6-2+b1_amd64.deb: OK sha256: nethack-qt-dbgsym_3.6.6-2+b1_amd64.deb: OK sha256: nethack-qt_3.6.6-2+b1_amd64.deb: OK sha256: nethack-x11-dbgsym_3.6.6-2+b1_amd64.deb: OK sha256: nethack-x11_3.6.6-2+b1_amd64.deb: OK Checksums: OK