Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/jnethack.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1686333214.171694/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vo_c2ch3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vo_c2ch3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dcf808d4dfb04baca3dbeaeb32d32f46', '-D', '/var/lib/mock/rhel+epel-9-s390x-1686333214.171694/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vo_c2ch3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/jnethack.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1677369600 Wrote: /builddir/build/SRPMS/jnethack-3.6.7-0.1_1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/jnethack.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1686333214.171694/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vo_c2ch3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vo_c2ch3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e03fe19b3e904b8782d6a2ec3c3c8b57', '-D', '/var/lib/mock/rhel+epel-9-s390x-1686333214.171694/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vo_c2ch3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/jnethack.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! warning: This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1677369600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v69AZH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf NetHack-3.6.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/nethack-367-src.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd NetHack-3.6.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (nethack-3.6.7-makefile.patch): + echo 'Patch #0 (nethack-3.6.7-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .makefile --fuzz=0 patching file sys/unix/Makefile.src patching file sys/unix/Makefile.utl Patch #1 (nethack-3.6.7-top.patch): + echo 'Patch #1 (nethack-3.6.7-top.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file sys/unix/Makefile.top Patch #2 (nethack-3.6.7-config.patch): + echo 'Patch #2 (nethack-3.6.7-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .config --fuzz=0 patching file include/config.h patching file include/unixconf.h Patch #3 (nethack-3.6.7-guidebook.patch): + echo 'Patch #3 (nethack-3.6.7-guidebook.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .guidebook --fuzz=0 patching file sys/unix/Makefile.doc Patch #4 (hackdir.patch): + echo 'Patch #4 (hackdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/config.h Patch #5 (nethack-3.6.7-xpm.patch): + echo 'Patch #5 (nethack-3.6.7-xpm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .xpm --fuzz=0 patching file include/config.h Patch #90 (jnethack-3.6.7-0.1.diff.gz): + echo 'Patch #90 (jnethack-3.6.7-0.1.diff.gz):' + /usr/bin/gzip -dc /builddir/build/SOURCES/jnethack-3.6.7-0.1.diff.gz + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jnethack --fuzz=0 patching file ChangeLog.j patching file README.md patching file READMEj1.txt patching file configure patching file dat/Arch.des patching file dat/Barb.des patching file dat/Caveman.des patching file dat/Healer.des patching file dat/Knight.des patching file dat/Monk.des patching file dat/Priest.des patching file dat/Ranger.des patching file dat/Rogue.des patching file dat/Samurai.des patching file dat/Tourist.des patching file dat/Valkyrie.des patching file dat/Wizard.des patching file dat/bogusmon.txt patching file dat/cmdhelp patching file dat/dungeon.def patching file dat/endgame.des patching file dat/engrave.txt patching file dat/epitaph.txt patching file dat/gehennom.des patching file dat/help patching file dat/hh patching file dat/history patching file dat/mines.des patching file dat/opthelp patching file dat/oracles.txt patching file dat/quest.txt patching file dat/rumors.fal patching file dat/rumors.tru patching file dat/sokoban.des patching file dat/wizhelp patching file doc/fixes36.7 patching file include/artilistj.h patching file include/decl.h patching file include/extern.h patching file include/lint.h patching file include/ntconf.h patching file include/tradstdc.h patching file include/unixconf.h patching file include/winX.h patching file include/wintty.h patching file include/xwindow.h patching file include/xwindowp.h patching file include/you.h patching file japanese/build.md patching file japanese/jconj.c patching file japanese/jlib.c patching file japanese/jpatchlevel.h patching file japanese/set_lnx.sh patching file japanese/set_mac.sh patching file src/allmain.c patching file src/apply.c patching file src/artifact.c patching file src/attrib.c patching file src/ball.c patching file src/bones.c patching file src/botl.c patching file src/cmd.c patching file src/dbridge.c patching file src/decl.c patching file src/detect.c patching file src/dig.c patching file src/do.c patching file src/do_name.c patching file src/do_wear.c patching file src/dog.c patching file src/dogmove.c patching file src/dokick.c patching file src/dothrow.c patching file src/drawing.c patching file src/dungeon.c patching file src/eat.c patching file src/end.c patching file src/engrave.c patching file src/exper.c patching file src/explode.c patching file src/files.c patching file src/fountain.c patching file src/hack.c patching file src/hacklib.c patching file src/invent.c patching file src/light.c patching file src/lock.c patching file src/mail.c patching file src/makemon.c patching file src/mapglyph.c patching file src/mcastu.c patching file src/mhitm.c patching file src/mhitu.c patching file src/minion.c patching file src/mklev.c patching file src/mkmaze.c patching file src/mkobj.c patching file src/mon.c patching file src/mondata.c patching file src/monmove.c patching file src/monstj.c patching file src/mplayer.c patching file src/mthrowu.c patching file src/muse.c patching file src/music.c patching file src/o_init.c patching file src/objectsj.c patching file src/objnam.c patching file src/options.c patching file src/pager.c patching file src/pickup.c patching file src/pline.c patching file src/polyself.c patching file src/potion.c patching file src/pray.c patching file src/priest.c patching file src/quest.c patching file src/questpgr.c patching file src/read.c patching file src/region.c patching file src/restore.c patching file src/rip.c patching file src/role.c patching file src/rumors.c patching file src/save.c patching file src/shk.c patching file src/shknam.c patching file src/sit.c patching file src/sounds.c patching file src/spell.c patching file src/steal.c patching file src/steed.c patching file src/teleport.c patching file src/timeout.c patching file src/topten.c patching file src/trap.c patching file src/uhitm.c patching file src/vault.c patching file src/version.c patching file src/weapon.c patching file src/were.c patching file src/wield.c patching file src/windows.c patching file src/wizard.c patching file src/worm.c patching file src/worn.c patching file src/write.c patching file src/zap.c patching file sys/share/cppregex.cpp patching file sys/share/pcmain.c patching file sys/share/pcunix.c patching file sys/unix/Makefile.dat patching file sys/unix/Makefile.src Hunk #2 succeeded at 366 (offset 1 line). Hunk #3 succeeded at 448 (offset 1 line). Hunk #4 succeeded at 481 (offset 1 line). Hunk #5 succeeded at 508 (offset 1 line). Hunk #6 succeeded at 524 (offset 1 line). Hunk #7 succeeded at 1045 (offset 1 line). Hunk #8 succeeded at 1097 (offset 1 line). patching file sys/unix/Makefile.top patching file sys/unix/hints/linux-x11 patching file sys/unix/hints/macosx10.10 patching file sys/unix/unixmain.c patching file sys/unix/unixunix.c patching file sys/winnt/.nethackrc.template patching file sys/winnt/Makefile.msc patching file sys/winnt/console.rc patching file sys/winnt/nttty.c patching file sys/winnt/stubs.c patching file sys/winnt/sysconf.template patching file sys/winnt/winnt.c patching file sys/winnt/winos.h patching file util/makedefs.c patching file util/recover.c patching file win/X11/JNetHack.ad patching file win/X11/Window.c patching file win/X11/dialogs.c patching file win/X11/winX.c patching file win/X11/winmap.c patching file win/X11/winmenu.c patching file win/X11/winmesg.c patching file win/X11/winmisc.c patching file win/X11/winstat.c patching file win/X11/wintext.c patching file win/X11/winval.c patching file win/share/other.txt patching file win/tty/getline.c patching file win/tty/termcap.c patching file win/tty/topl.c patching file win/tty/wintty.c patching file win/win32/NetHackW.rc patching file win/win32/mhfont.c patching file win/win32/mhfont.h patching file win/win32/mhmain.c patching file win/win32/mhmap.c patching file win/win32/mhmsgwnd.c patching file win/win32/mhstatus.c patching file win/win32/mswproc.c patching file win/win32/nethack.rc patching file win/win32/vs2017/NetHack.sln patching file win/win32/vs2017/NetHack.vcxproj patching file win/win32/vs2017/NetHackW.vcxproj patching file win/win32/vs2017/afterdlb.proj patching file win/win32/vs2017/afternethack.proj patching file win/win32/vs2017/nh340key.def patching file win/win32/vs2017/nh340key.vcxproj patching file win/win32/winMS.h Patch #91 (jnethack-3.6.7-makefile.patch): + echo 'Patch #91 (jnethack-3.6.7-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jnethack-make --fuzz=0 patching file sys/unix/Makefile.top + find ./ -type f + xargs -i nkf -e -Lu --overwrite '{}' + /usr/bin/sed -i -e 's:PREFIX=$(wildcard ~)/nh/install:PREFIX=/usr:' sys/unix/hints/linux + /usr/bin/sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/hints/linux + /usr/bin/sed -i -e 's:PREFIX=$(wildcard ~)/nh/install:PREFIX=/usr:' sys/unix/hints/linux-x11 + /usr/bin/sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/hints/linux-x11 + /usr/bin/sed -i -e 's:^\(CFLAGS = .*\):\1 -DXI18N -DINSTALLCOLORMAP:' sys/unix/Makefile.src + /usr/bin/sed -i -e 's:^\(WINLIB = .*\):\1 $\(WINCURSESLIB\):' sys/unix/Makefile.src + sh sys/unix/setup.sh sys/unix/hints/linux-x11 + /usr/bin/sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/nethack.sh + /usr/bin/sed -i -e s:FEDORA_CONFDIR:/usr/games/nethack: sys/unix/nethack.sh + /usr/bin/sed -i -e s:FEDORA_STATEDIR:/var/games/nethack: include/unixconf.h + /usr/bin/sed -i -e s:FEDORA_HACKDIR:/usr/games/nethack: include/config.h + /usr/bin/sed -i -e s:/usr/games/lib/nethackdir:/usr/games/nethack: doc/nethack.6 doc/nethack.txt doc/recover.6 doc/recover.txt + /usr/bin/sed -i -e s:-L/usr/X11R6/lib:-L/usr/X11R6/lib64: src/Makefile util/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fZIZrZ + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + cd src + make ../include/pm.h touch ../src/config.h-t gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c monst.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c objects.c make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o makedefs.o makedefs.c In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from makedefs.c:10: In function 'strncpy', inlined from 'new_id' at makedefs.c:2524:5, inlined from 'do_qt_control' at makedefs.c:2636:26: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -L/usr/X11R6/lib64 -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' ./makedefs -o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' ./makedefs -p make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' + /usr/bin/make -O -j2 V=1 VERBOSE=1 ( cd src ; /usr/bin/make ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o objectsj.o objectsj.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' touch ../src/hack.h-t make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o monstj.o monstj.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o alloc.o alloc.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o artifact.o artifact.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o attrib.o attrib.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o apply.o apply.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o ball.o ball.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o bones.o bones.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o botl.o botl.c botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2961:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2961 | Sprintf(condbuf, "condition/%s/%s", | ^~ 2962 | conditionbitmask2str(cond_maps[i].bm), clrbuf); | ~~~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_menu_add': botl.c:3689:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 3689 | Sprintf(obuf, "%s or %s", | ^~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 163 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dbridge.o dbridge.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o decl.o decl.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cmd.o cmd.c cmd.c: In function 'enlght_halfdmg': cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 19 or more bytes (assuming 274) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'one_characteristic': cmd.c:1834:25: warning: '%s' directive writing between 2 and 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'background_enlightenment.constprop.0': cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 15 and 270 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'status_enlightenment': cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 15 and 270 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 23 and 278 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 23 and 278 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 23 and 278 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 17 and 274 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:25: warning: '%s' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 9 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 23 and 278 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 23 and 278 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:23: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 23 or more bytes (assuming 278) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1834:25: warning: '%s' directive writing between 2 and 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:25: warning: '%s' directive writing between 2 and 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:25: warning: '%s' directive writing between 2 and 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:25: warning: '%s' directive writing between 2 and 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:25: warning: '%s' directive writing between 2 and 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:25: warning: '%s' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 9 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c:1834:25: warning: '%s' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1834 | Sprintf(buf, "%s%s%s%s��", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 260 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o detect.o detect.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dig.o dig.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dlb.o dlb.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o display.o display.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o do.o do.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o do_name.o do_name.c do_name.c: In function 'getpos_menu': do_name.c:777:37: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 777 | Sprintf(fullbuf, "%s%s%s", firstmatch, | ^ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos': do_name.c:302:27: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] 302 | Sprintf(sbuf, "[.]%s�Ƿ��ꡥ", kbuf); | ^~ ~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ do_name.c:302:27: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] 302 | Sprintf(sbuf, "[.]%s�Ƿ��ꡥ", kbuf); | ^~ ~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ do_name.c: In function 'christen_monst': do_name.c:1342:13: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 1342 | if (is_kanji2(buf, lth - 1)) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/config.h:395, from ../include/hack.h:10, from do_name.c:11: ../include/extern.h:3034:13: note: by argument 1 of type 'const char *' to 'is_kanji2' declared here 3034 | E int FDECL(is_kanji2, (const char *,int)); | ^~~~~~~~~ do_name.c:1336:10: note: 'buf' declared here 1336 | char buf[PL_PSIZ]; | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dog.o dog.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o do_wear.o do_wear.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -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:34:28: note: declared here 34 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; | ^~~~~ dogmove.c:34:28: note: declared here dogmove.c:34:28: note: declared here dogmove.c:34:28: note: declared here dogmove.c:34:28: note: declared here make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dokick.o dokick.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o drawing.o drawing.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dothrow.o dothrow.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dungeon.o dungeon.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o eat.o eat.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o end.o end.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o exper.o exper.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o engrave.o engrave.c In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from ../include/hack.h:10, from engrave.c:11: In function 'strncat', inlined from 'doengrave' at engrave.c:1542:12: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o explode.o explode.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o extralev.o extralev.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o fountain.o fountain.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o files.o files.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o hacklib.o hacklib.c hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:1046:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] 1046 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~ hacklib.c:1046:22: note: directive argument in the range [-2147483647, 2147483647] 1046 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from hacklib.c:12: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 15 and 67 bytes into a destination of size 15 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o hack.o hack.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o isaac64.o isaac64.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o light.o light.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o invent.o invent.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o lock.o lock.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mail.o mail.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mapglyph.o mapglyph.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mcastu.o mcastu.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o makemon.o makemon.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mhitu.o mhitu.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o minion.o minion.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mhitm.o mhitm.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkmap.o mkmap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mklev.o mklev.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkmaze.o mkmaze.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkobj.o mkobj.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkroom.o mkroom.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mondata.o mondata.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o monmove.o monmove.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mplayer.o mplayer.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mon.o mon.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mthrowu.o mthrowu.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o music.o music.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o muse.o muse.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o o_init.o o_init.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o objnam.o objnam.c objnam.c: In function 'xcalled': objnam.c:548:43: warning: pointer targets in passing argument 1 of 'offset_in_kanji' differ in signedness [-Wpointer-sign] 548 | sfxlen = sfxlen - offset_in_kanji(sfx, sfxlen); | ^~~ | | | const char * In file included from ../include/config.h:395, from ../include/hack.h:10, from objnam.c:11: ../include/extern.h:3036:31: note: expected 'const unsigned char *' but argument is of type 'const char *' 3036 | E int FDECL(offset_in_kanji, (const unsigned char *, int)); | ^~~~~~~~~~~~~~~~~~~~~ ../include/tradstdc.h:193:23: note: in definition of macro 'FDECL' 193 | #define FDECL(f, p) f p | ^ In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from ../include/hack.h:10, from objnam.c:11: In function 'strcpy', inlined from 'the' at objnam.c:2394:5, inlined from 'xname_flags' at objnam.c:778:44: /usr/include/bits/string_fortified.h:79:10: warning: 'strcpy' accessing 0 or more bytes at offsets [0, 3072] and [100, 3072] may overlap up to 9223372036854775707 bytes at offset [100, 9223372036854775806] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcpy', inlined from 'the' at objnam.c:2394:5, inlined from 'xname_flags' at objnam.c:778:33: /usr/include/bits/string_fortified.h:79:10: warning: 'strcpy' accessing 0 or more bytes at offsets [0, 3072] and [0, 3072] may overlap up to 9223372036854775807 bytes at offset [0, 9223372036854775806] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcpy', inlined from 'xname_flags' at objnam.c:778:21: /usr/include/bits/string_fortified.h:79:10: warning: 'strcpy' accessing 0 or more bytes at offsets [100, 3072] and [0, 3072] may overlap up to 9223372036854775707 bytes at offset [100, 9223372036854775806] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strprepend' at objnam.c:112:12, inlined from 'mshot_xname' at objnam.c:1165:15: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'mshot_xname': objnam.c:105:28: note: length computed here 105 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from ../include/hack.h:10, from objnam.c:11: In function 'strncpy', inlined from 'strprepend' at objnam.c:112:12, inlined from 'doname_base' at objnam.c:1888:10: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ objnam.c: In function 'doname_base': objnam.c:105:28: note: length computed here 105 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pager.o pager.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o options.o options.c options.c: In function 'initoptions_init': options.c:1041:11: warning: unused variable 'opts' [-Wunused-variable] 1041 | char *opts; | ^~~~ options.c: In function 'option_help': options.c:7024:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 7024 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from options.c:22: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from ../include/hack.h:10, from options.c:22: In function 'strncat', inlined from 'doset' at options.c:5199:28: /usr/include/bits/string_fortified.h:138:10: warning: 'strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pline.o pline.c In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from ../include/hack.h:10, from pline.c:12: In function 'strncpy', inlined from 'vpline' at pline.c:173:16: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o polyself.o polyself.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pickup.o pickup.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pray.o pray.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o potion.o potion.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o quest.o quest.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o priest.o priest.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o questpgr.o questpgr.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rect.o rect.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o region.o region.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o restore.o restore.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o read.o read.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rip.o rip.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rnd.o rnd.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rumors.o rumors.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o role.o role.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o save.o save.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o shknam.o shknam.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sit.o sit.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:893:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] 893 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:850:38: note: while referencing 'vampmsg.4' 850 | static const char *const vampmsg[] = { | ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o shk.o shk.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o spell.o spell.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sys.o sys.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o steal.o steal.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sp_lev.o sp_lev.c In file included from ../include/hack.h:216, from sp_lev.c:12: sp_lev.c: In function 'spo_monster': ../include/rm.h:659:44: warning: array subscript -1 is below array bounds of 'struct monst *[80][21]' [-Warray-bounds] 659 | #define remove_monster(x, y) level.monsters[x][y] = (struct monst *) 0 | ~~~~~~~~~~~~~~^~~ ../include/rm.h:596:19: note: while referencing 'monsters' 596 | struct monst *monsters[COLNO][ROWNO]; | ^~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o steed.o steed.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o teleport.o teleport.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o timeout.o timeout.c timeout.c: In function 'nh_timeout': timeout.c:674:45: warning: '�ι����' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 674 | Sprintf(killer.name, "%s�ι����", kptr->name); | ^~~~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from timeout.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 9 and 264 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o track.o track.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o topten.o topten.c topten.c: In function 'outentry': topten.c:1100:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1100 | } else | ^~~~ In file included from ../include/config.h:581, from ../include/hack.h:10, from topten.c:11: ../include/global.h:265:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 265 | #define Sprintf (void) sprintf | ^ topten.c:1103:13: note: in expansion of macro 'Sprintf' 1103 | Sprintf(linebuf, "%15s %s", "", cdr); | ^~~~~~~ topten.c:946:28: warning: '�µܤ���æ�Ф���[�����ϲ�' directive writing 25 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 946 | Sprintf(action, "%s�µܤ���æ�Ф���[�����ϲ�%d��]", | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from topten.c:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 30 and 295 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o u_init.o u_init.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o uhitm.o uhitm.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o trap.o trap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' ./makedefs -z make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o vault.o vault.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o were.o were.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o weapon.o weapon.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' weapon.c: In function 'enhance_weapon_skill': weapon.c:1440:47: warning: '%s' directive writing up to 255 bytes into a region of size between 245 and 253 [-Wformat-overflow=] 1440 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), | ^~ 1441 | sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 5 or more bytes (assuming 268) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c:1437:49: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 252 [-Wformat-overflow=] 1437 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, | ^~ 1438 | P_NAME(i), sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 6 or more bytes (assuming 269) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c:1432:46: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 254 [-Wformat-overflow=] 1432 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~ 1433 | sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1432:38: note: directive argument in the range [0, 65535] 1432 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1432:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 15 or more bytes (assuming 281) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c:1428:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 246 and 254 [-Wformat-overflow=] 1428 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~ 1429 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1428:38: note: directive argument in the range [0, 65535] 1428 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1428:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 27 or more bytes (assuming 281) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o windows.o windows.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wield.o wield.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o worm.o worm.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wizard.o wizard.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o write.o write.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o worn.o worn.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o posixregex.o ../sys/share/posixregex.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c ../japanese/jconj.c In file included from /usr/include/string.h:519, from ../japanese/jconj.c:8: In function 'strncpy', inlined from 'jcan' at ../japanese/jconj.c:356:9: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../japanese/jconj.c: In function 'jcan': ../japanese/jconj.c:354:15: note: length computed here 354 | int len = strlen(jverb); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../japanese/jconj.c:8: In function 'strncpy', inlined from 'jcannot' at ../japanese/jconj.c:374:9: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../japanese/jconj.c: In function 'jcannot': ../japanese/jconj.c:372:15: note: length computed here 372 | int len = strlen(jverb); | ^~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c ../japanese/jlib.c ../japanese/jlib.c:265:17: warning: "/*" within comment [-Wcomment] 265 | /*#define ICUTF8/**/ | ../japanese/jlib.c:270:1: warning: 'charlen' defined but not used [-Wunused-function] 270 | charlen(unsigned int c) | ^~~~~~~ ../japanese/jlib.c: In function 'jrndm_replace': ../japanese/jlib.c:740:19: warning: 'cc' may be used uninitialized [-Wmaybe-uninitialized] 740 | else if(cc[2] <= 0x7A) /* ����� */ | ~~^~~ ../japanese/jlib.c:721:19: note: 'cc' declared here 721 | unsigned char cc[3]; | ^~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o ioctl.o ../sys/share/ioctl.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixmain.o ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'sys_random_seed': ../sys/unix/unixmain.c:836:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 836 | fread(&seed, sizeof (long), 1, fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from ../include/hack.h:10, from ../sys/unix/unixmain.c:8: In function 'strncat', inlined from 'main' at ../sys/unix/unixmain.c:264:20: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixtty.o ../sys/share/unixtty.c ../sys/share/unixtty.c: In function 'linux_mapon': ../sys/share/unixtty.c:426:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | write(1, "\033(B", 3); | ^~~~~~~~~~~~~~~~~~~~~ ../sys/share/unixtty.c: In function 'linux_mapoff': ../sys/share/unixtty.c:436:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 436 | write(1, "\033(U", 3); | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixunix.o ../sys/unix/unixunix.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixres.o ../sys/unix/unixres.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o getline.o ../win/tty/getline.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o termcap.o ../win/tty/termcap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o topl.o ../win/tty/topl.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o zap.o zap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o Window.o ../win/X11/Window.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dialogs.o ../win/X11/dialogs.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winX.o ../win/X11/winX.c ../win/X11/winX.c: In function 'X11_display_file': ../win/X11/winX.c:2083:22: warning: unused variable 'extent' [-Wunused-variable] 2083 | XFontSetExtents *extent; | ^~~~~~ ../win/X11/winX.c:2082:14: warning: unused variable 'fontset' [-Wunused-variable] 2082 | XFontSet fontset; | ^~~~~~~ ../win/X11/winX.c: In function 'X11_init_nhwindows': ../win/X11/winX.c:1615:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1615 | (void) seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c:1690:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1690 | (void) seteuid(savuid); | ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/X11/Intrinsic.h:61, from ../win/X11/winX.c:24: In function 'strncpy', inlined from 'done_button' at ../win/X11/winX.c:1955:12: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'done_button': ../win/X11/winX.c:1949:11: note: length computed here 1949 | len = strlen(s); | ^~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/X11/Intrinsic.h:61, from ../win/X11/winX.c:24: In function 'strncpy', inlined from 'askname_done' at ../win/X11/winX.c:1877:12: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'askname_done': ../win/X11/winX.c:1867:11: note: length computed here 1867 | len = strlen(s); | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wintty.o ../win/tty/wintty.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmap.o ../win/X11/winmap.c ../win/X11/winmap.c: In function 'map_update': ../win/X11/winmap.c:1295:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] 1295 | int win_start_row, win_start_col; | ^~~~~~~~~~~~~ ../win/X11/winmap.c:1295:9: warning: variable 'win_start_row' set but not used [-Wunused-but-set-variable] 1295 | int win_start_row, win_start_col; | ^~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmesg.o ../win/X11/winmesg.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmenu.o ../win/X11/winmenu.c ../win/X11/winmenu.c: In function 'X11_select_menu': ../win/X11/winmenu.c:743:22: warning: unused variable 'extent' [-Wunused-variable] 743 | XFontSetExtents *extent; | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winstat.o ../win/X11/winstat.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' ../win/X11/winstat.c: In function 'X11_status_update_tty': ../win/X11/winstat.c:319:20: warning: variable 'oncearound' set but not used [-Wunused-but-set-variable] 319 | static boolean oncearound = FALSE; /* prevent premature partial display */ | ^~~~~~~~~~ ../win/X11/winstat.c: In function 'update_val': ../win/X11/winstat.c:1144:21: warning: unused variable 'k' [-Wunused-variable] 1144 | int k; | ^ make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmisc.o ../win/X11/winmisc.c ../win/X11/winmisc.c: In function 'X11_player_selection_randomize': ../win/X11/winmisc.c:509:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] 509 | boolean fully_specified_role, choose_race_first; | ^~~~~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c: In function 'X11_player_selection_prompts': ../win/X11/winmisc.c:1338:10: warning: unused variable 'jtmp' [-Wunused-variable] 1338 | char jtmp[256]; | ^~~~ ../win/X11/winmisc.c:1337:12: warning: unused variable 'jroles' [-Wunused-variable] 1337 | char **jroles; | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winval.o ../win/X11/winval.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wintext.o ../win/X11/wintext.c ../win/X11/wintext.c: In function 'display_text_window': ../win/X11/wintext.c:180:30: warning: variable 'font_height' set but not used [-Wunused-but-set-variable] 180 | Dimension width, height, font_height; | ^~~~~~~~~~~ ../win/X11/wintext.c: In function 'calculate_rip_text': ../win/X11/wintext.c:542:35: warning: '%s' directive writing up to 31 bytes into a region of size 17 [-Wformat-overflow=] 542 | Sprintf(rip_line[NAME_LINE], "%s", plname); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:900, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from ../win/X11/wintext.c:36: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 32 bytes into a destination of size 17 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c ../win/share/tilemap.c make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursmain.o ../win/curses/cursmain.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' gcc -L/usr/X11R6/lib64 -o tilemap tilemap.o make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' ./tilemap make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o curswins.o ../win/curses/curswins.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursmisc.o ../win/curses/cursmisc.c ../win/curses/cursmisc.c: In function 'curses_mouse_support': ../win/curses/cursmisc.c:1035:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1035 | mmask_t result, oldmask, newmask; | ^~~~~~ ../win/curses/cursmisc.c: In function 'curses_str_remainder': ../win/curses/cursmisc.c:415:19: warning: '(*substr.29_33)[-1]' may be used uninitialized [-Wmaybe-uninitialized] 415 | if (substr[last_space] == '\0') { | ~~~~~~^~~~~~~~~~~~ ../win/curses/cursmisc.c:415:19: warning: '(*substr.29_33)[-1]' may be used uninitialized [-Wmaybe-uninitialized] make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursdial.o ../win/curses/cursdial.c ../win/curses/cursdial.c: In function 'curses_ext_cmd': ../win/curses/cursdial.c:385:24: warning: variable 'h' set but not used [-Wunused-but-set-variable] 385 | int x0, y0, w, h; /* bounding coords of popup */ | ^ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursstat.o ../win/curses/cursstat.c ../win/curses/cursstat.c: In function 'draw_status': ../win/curses/cursstat.c:219:13: warning: variable 'ax' set but not used [-Wunused-but-set-variable] 219 | int ax = 0, ay = 0; | ^~ ../win/curses/cursstat.c: In function 'draw_horizontal': ../win/curses/cursstat.c:302:24: warning: variable 'conddummy' set but not used [-Wunused-but-set-variable] 302 | condstart = 0, conddummy = 0; | ^~~~~~~~~ ../win/curses/cursstat.c:301:52: warning: variable 'ey' set but not used [-Wunused-but-set-variable] 301 | height, width, w, xtra, clen, x, y, t, ex, ey, | ^~ In file included from /usr/include/string.h:519, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, 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/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__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 */ | ^~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursinit.o ../win/curses/cursinit.c ../win/curses/cursinit.c: In function 'curses_choose_character': ../win/curses/cursinit.c:455:26: warning: '__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:900, from /usr/include/curses.h:204, from ../win/curses/cursinit.c:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 129 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursinvt.o ../win/curses/cursinvt.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursmesg.o ../win/curses/cursmesg.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o allmain.o allmain.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o vis_tab.o vis_tab.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o tile.o tile.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o version.o version.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o vision.o vision.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' Linking jnethack. gcc -L/usr/X11R6/lib64 -o jnethack monstj.o objectsj.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 jconj.o jlib.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 cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o version.o -lncurses -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lncurses make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' dogmove.c: In function 'droppables': lto1: warning: function may return address of local variable [-Wreturn-local-addr] dogmove.c:34:28: note: declared here 34 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; | ^ dogmove.c:34:28: note: declared here dogmove.c:34:28: note: declared here dogmove.c:34:28: note: declared here dogmove.c:34:28: note: declared here make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' jnethack is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u3zmkY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x ++ dirname /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x + cd NetHack-3.6.7 + rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x HACKDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack GAMEDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack VARDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack SHELLDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin CHOWN=/bin/true CHGRP=/bin/true ( cd src ; /usr/bin/make ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' jnethack is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' ( cd util ; /usr/bin/make recover ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o recover.o recover.c gcc -L/usr/X11R6/lib64 -o recover recover.o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make bogusmon ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -s make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make data ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -d make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make engrave ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make epitaph ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make oracles ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -h make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make options ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -q Summary for single line message is useless - line 2401 make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make rumors ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -r make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' cp ../win/share/tile.h ../include/tile.h gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c ../win/X11/tile2x11.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c ../win/share/tiletext.c echo '#define TILETEXT' >> tiletxt.c echo '#include "../win/share/tilemap.c"' >> tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o panic.o panic.c gcc -L/usr/X11R6/lib64 -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[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/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[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make JNetHack.ad ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' grep ^#define ../win/X11/JNetHack.ad | \ sed -e 's/^#define/s/g' -e 's/ */ /g' \ -e 's/$/ g/g' > JNetHack.ad.tmp grep -v ^#define ../win/X11/JNetHack.ad | \ sed -f JNetHack.ad.tmp > JNetHack.ad rm -f JNetHack.ad.tmp make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make pilemark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' cp ../win/X11/pilemark.xbm pilemark.xbm make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make rip.xpm ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' cp ../win/X11/rip.xpm rip.xpm make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' bison -y -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[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dgn_yacc.o dgn_yacc.c flex 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 gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dgn_main.o dgn_main.c gcc -L/usr/X11R6/lib64 -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' bison -y -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 gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lev_yacc.o lev_yacc.c flex 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 gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lev_main.o lev_main.c gcc -L/usr/X11R6/lib64 -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[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/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[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/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[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' true; if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin'; then \ mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin; fi rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/save if test -d ./-p; then rmdir ./-p; fi /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/save /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/save chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/save ( /usr/bin/make dofiles ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ /usr/bin/make dofiles-${target-nodlb} make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7' ( cd src ; /usr/bin/make ) make[3]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' jnethack is up to date. make[3]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' ( cd dat ; /usr/bin/make options ) make[3]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' color, data file compression, data librarian, insurance files for make[3]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7' ( cd util ; /usr/bin/make dlb ) make[4]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[5]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c dlb_main.c gcc -L/usr/X11R6/lib64 -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o ../src/dlb.c:49:14: warning: type of 'fopen_datafile' does not match original declaration [-Wlto-type-mismatch] 49 | extern FILE *FDECL(fopen_datafile, (const char *, const char *, int)); | ^ dlb_main.c:146:1: note: type mismatch in parameter 3 146 | fopen_datafile(filename, mode) | ^ dlb_main.c:146:1: note: type 'void' should match type 'int' dlb_main.c:146:1: note: 'fopen_datafile' was previously declared here make[4]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/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 '/builddir/build/BUILD/NetHack-3.6.7' ( cd dat ; cp nhdat x11tiles JNetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack ) ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack ; /bin/true nhdat x11tiles JNetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ; \ /bin/true nhdat x11tiles JNetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ; \ chmod 0644 nhdat x11tiles JNetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ) make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7' cp src/jnethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack cp util/recover /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin'; then rm -f /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin/jnethack; fi if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin'; then \ sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack;' \ -e 's;HACKDIR/nethack;HACKDIR/jnethack;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin/jnethack ; fi ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack ; /bin/true jnethack recover ; \ /bin/true jnethack recover ) chmod 02755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/jnethack chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/recover if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin/jnethack; fi if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin/jnethack; \ chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/bin/jnethack; fi make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7' touch /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/perm /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/record /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/logfile /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack/xlogfile ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/var/games/nethack ; /bin/true perm record logfile xlogfile ; \ /bin/true perm record logfile xlogfile ; \ chmod 0600 perm record logfile xlogfile ) true; cp -n sys/unix/sysconf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/sysconf; chmod 0600 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/sysconf; bdftopcf win/X11/nh10.bdf > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/nh10.pcf; ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack; mkfontdir -x .lev ); You may also want to reinstall the man pages via the doc Makefile. + install -d -m 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6 manpages make: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/doc' cat nethack.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6/nethack.6 cat lev_comp.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6/lev_comp.6 cat dgn_comp.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6/dgn_comp.6 cat recover.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6/recover.6 cat dlb.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6/dlb.6 cat makedefs.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/man/man6/makedefs.6 make: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/doc' + install -D -p -m 0644 win/X11/nh_icon.xpm /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/pixmaps/nethack.xpm + desktop-file-install --dir /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/applications --add-category Game --add-category RolePlaying /builddir/build/SOURCES/nethack.desktop /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/applications/nethack.desktop: error: (will be fatal in the future): value "nethack.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + cd win/X11 + bdftopcf -o nh10.pcf nh10.bdf + bdftopcf -o ibm.pcf ibm.bdf + install -m 0755 -d /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/fonts/jnethack-bitmap + install -m 0644 -p ibm.pcf nh10.pcf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/fonts/jnethack-bitmap + /usr/bin/sed -i -e 's:^!\(NetHack.tile_file.*\):\1:' /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/games/nethack/JNetHack.ad + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/jnethack from /bin/sh to #!/usr/bin/sh Processing files: jnethack-3.6.7-0.1_1.el9.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9065Np + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + DOCDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + cp -pr doc/Guidebook.txt doc/dgn_comp.txt doc/dlb.txt doc/lev_comp.txt doc/makedefs.txt doc/mn.txt doc/mnh.txt doc/nethack.txt doc/recover.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + cp -pr README /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + cp -pr dat/license /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + cp -pr dat/history /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + cp -pr dat/opthelp /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + cp -pr dat/wizhelp /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/doc/jnethack + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xK5oKC + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + LICENSEDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/licenses/jnethack + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/licenses/jnethack + cp -pr dat/license /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x/usr/share/licenses/jnethack + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/games/nethack/JNetHack.ad warning: File listed twice: /usr/games/nethack/jnethack warning: File listed twice: /usr/games/nethack/license warning: File listed twice: /usr/games/nethack/nhdat warning: File listed twice: /usr/games/nethack/pet_mark.xbm warning: File listed twice: /usr/games/nethack/pilemark.xbm warning: File listed twice: /usr/games/nethack/recover warning: File listed twice: /usr/games/nethack/rip.xpm warning: File listed twice: /usr/games/nethack/symbols warning: File listed twice: /usr/games/nethack/sysconf warning: File listed twice: /usr/games/nethack/x11tiles warning: File listed twice: /usr/lib/.build-id/0b/5d1bc7c6ddfae318840698af61682960be41c0 warning: File listed twice: /usr/lib/.build-id/ba/3d940b60d053969b802f2f0c2eede395162b5a Provides: application() application(nethack.desktop) config(jnethack) = 3.6.7-0.1_1.el9 jnethack = 3.6.7-0.1_1.el9 jnethack(s390-64) = 3.6.7-0.1_1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libX11.so.6()(64bit) libXaw.so.7()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: nethack Processing files: jnethack-bitmap-fonts-3.6.7-0.1_1.el9.noarch Provides: font(fixed) jnethack-bitmap-fonts = 3.6.7-0.1_1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jnethack-bitmap-fonts-core-3.6.7-0.1_1.el9.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x Wrote: /builddir/build/RPMS/jnethack-bitmap-fonts-3.6.7-0.1_1.el9.noarch.rpm Wrote: /builddir/build/RPMS/jnethack-bitmap-fonts-core-3.6.7-0.1_1.el9.noarch.rpm Wrote: /builddir/build/RPMS/jnethack-3.6.7-0.1_1.el9.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YVVvxa + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el9.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0