Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/jnethack.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1686333193.436104/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xx2txzku:/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.xx2txzku:/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', 'ea671b7929d34864a44dd09886ed18f0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1686333193.436104/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xx2txzku:/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 x86_64 --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: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1677369600 Wrote: /builddir/build/SRPMS/jnethack-3.6.7-0.1_1.fc39.src.rpm RPM build warnings: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/jnethack.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1686333193.436104/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xx2txzku:/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.xx2txzku:/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', 'fe5af9ed78e04758a6b4ccaa05efce69', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1686333193.436104/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xx2txzku:/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 x86_64 --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: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) 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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1677369600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1X4TG3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf NetHack-3.6.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nethack-367-src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd NetHack-3.6.7 + /usr/bin/mkdir -p SPECPARTS + /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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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/patch --no-backup-if-mismatch -f -p1 -b --suffix .jnethack --fuzz=0 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/jnethack-3.6.7-0.1.diff.gz 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 -f -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.oqViJZ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o makedefs.o makedefs.c makedefs.c: In function 'do_qt_control': makedefs.c:2524:5: warning: 'strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 2524 | strncpy(&qt_hdr.id[qt_hdr.n_hdr][0], code, LEN_HDR); | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o botl.o botl.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' botl.c: In function 'parse_status_hl2': botl.c:2225:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2225 | while (s[sidx]) { | ^ botl.c: In function 'parse_condition': botl.c:2656:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2656 | while(s[sidx]) { | ^ 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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: In function 'sprintf', inlined from 'status_hilite_linestr_gather_conditions' at botl.c:2961:17: /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 function 'sprintf', inlined from 'status_hilite_menu_add' at botl.c:3689:21: /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]: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o cmd.o cmd.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' 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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: In function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'enlght_halfdmg' at cmd.c:1943:5: /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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'one_characteristic' at cmd.c:2756:5: /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 '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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'status_enlightenment' at cmd.c:2815:9: /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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'status_enlightenment' at cmd.c:2863:9: /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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'background_enlightenment' at cmd.c:2110:9, inlined from 'enlightenment' at cmd.c:2028:9: /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 '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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'basics_enlightenment' at cmd.c:2505:5, inlined from 'enlightenment' at cmd.c:2030:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'basics_enlightenment' at cmd.c:2518:5, inlined from 'enlightenment' at cmd.c:2030:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'attributes_enlightenment' at cmd.c:3352:9, inlined from 'enlightenment' at cmd.c:2044:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'attributes_enlightenment' at cmd.c:3350:9, inlined from 'enlightenment' at cmd.c:2044:9: /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: In function 'enlightenment': 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'attributes_enlightenment' at cmd.c:3360:9, inlined from 'enlightenment' at cmd.c:2044:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'attributes_enlightenment' at cmd.c:3482:9, inlined from 'enlightenment' at cmd.c:2044:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'attributes_enlightenment' at cmd.c:3515:9, inlined from 'enlightenment' at cmd.c:2044:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'attributes_enlightenment' at cmd.c:3526:9, inlined from 'enlightenment' at cmd.c:2044:9: /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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'show_conduct' at cmd.c:4507:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'show_conduct' at cmd.c:4528:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'show_conduct' at cmd.c:4545:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'show_conduct' at cmd.c:4561:9: /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: 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'show_conduct' at cmd.c:4577:9: /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: In function 'show_conduct': 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'show_conduct' at cmd.c:4617:9: /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: In function 'show_conduct': 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 function 'sprintf', inlined from 'enlght_line' at cmd.c:1834:5, inlined from 'show_conduct' at cmd.c:4617:9: /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]: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o do_name.o do_name.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' 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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:11: In function 'sprintf', inlined from 'getpos_menu' at do_name.c:777:13: /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 function 'sprintf', inlined from 'getpos_help' at do_name.c:302:9, inlined from 'getpos' at do_name.c:978:17: /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 '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 function 'sprintf', inlined from 'getpos_help' at do_name.c:302:9, inlined from 'getpos' at do_name.c:978:17: /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: ../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]: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o dogmove.o dogmove.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' dogmove.c: In function 'droppables': dogmove.c:125:1: warning: function may return address of local variable [-Wreturn-local-addr] 125 | } | ^ 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' 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o engrave.o engrave.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' engrave.c: In function 'doengrave': engrave.c:1542:12: warning: '__strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 1542 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o hacklib.o hacklib.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' 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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from hacklib.c:12: In function 'sprintf', inlined from 'yyyymmddhhmmss' at hacklib.c:1046:5: /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]: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 | ^ objnam.c: In function 'strprepend': objnam.c:112:12: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 112 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ objnam.c:105:28: note: length computed here 105 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ In file included from /usr/include/string.h:535, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581: 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_chk' 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_chk' 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_chk' 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from options.c:22: In function 'sprintf', inlined from 'option_help' at options.c:7024:9: /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 ()); | ~~~~~~~~~~~~~~~~~ options.c: In function 'doset': options.c:5199:28: warning: 'strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 5199 | (void) strncat(eos(buf), abuf, | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o pline.o pline.c pline.c: In function 'vpline': pline.c:173:16: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 173 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o polyself.o polyself.c polyself.c: In function 'polyself': polyself.c:547:26: warning: array subscript -1 is below array bounds of 'struct mvitals[382]' [-Warray-bounds=] 547 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { | ~~~~~~~^~~~~~~ In file included from ../include/hack.h:170, from polyself.c:27: ../include/decl.h:277:3: note: while referencing 'mvitals' 277 | } mvitals[NUMMONS]; | ^~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o sp_lev.o sp_lev.c In file included from ../include/hack.h:216, from sp_lev.c:12: In function 'create_monster', inlined from 'spo_monster' at sp_lev.c:3108:5: ../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: In function 'spo_monster': ../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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from timeout.c:11: In function 'sprintf', inlined from 'nh_timeout' at timeout.c:674:21: /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o topten.o topten.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' 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:964, from ../include/global.h:9: In function 'sprintf', inlined from 'outentry' at topten.c:946:9: /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]: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 249 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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1440:25: /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 ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function 'enhance_weapon_skill': weapon.c:1437:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] 1437 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, | ^~ 1438 | P_NAME(i), sklnambuf); | ~~~~~~~~~ In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1437:25: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function 'enhance_weapon_skill': weapon.c:1432:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 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 [20, 327680] In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1432:25: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 15 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function 'enhance_weapon_skill': weapon.c:1428:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 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 [20, 327680] In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1428:25: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 27 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c ../japanese/jconj.c ../japanese/jconj.c: In function 'jcan': ../japanese/jconj.c:356:9: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 356 | strncpy(tmp, jverb, len - 4); | ^ ../japanese/jconj.c:354:15: note: length computed here 354 | int len = strlen(jverb); | ^~~~~~~~~~~~~ ../japanese/jconj.c: In function 'jcannot': ../japanese/jconj.c:374:9: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 374 | strncpy(tmp, jverb, len-4); | ^ ../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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c: In function 'main': ../sys/unix/unixmain.c:264:20: warning: '__strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 264 | (void) strncat(strcat(plname, "-"), pl_character, | ^ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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); | ^~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'done_button': ../win/X11/winX.c:1955:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1955 | (void) strncpy(getline_input, s, len); | ^ ../win/X11/winX.c:1949:11: note: length computed here 1949 | len = strlen(s); | ^~~~~~~~~ ../win/X11/winX.c: In function 'askname_done': ../win/X11/winX.c:1877:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1877 | (void) strncpy(plname, s, len); | ^ ../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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o winstat.o ../win/X11/winstat.c ../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]: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:964, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from ../win/X11/wintext.c:36: In function 'sprintf', inlined from 'calculate_rip_text' at ../win/X11/wintext.c:542:5: /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DXI18N -DINSTALLCOLORMAP -c -o cursmisc.o ../win/curses/cursmisc.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' ../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; | ^~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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, | ^~ ../win/curses/cursstat.c: In function 'curs_HPbar': ../win/curses/cursstat.c:925:12: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 925 | (void) strncpy(bar, text, bar_len); | ^ ../win/curses/cursstat.c:923:30: note: length computed here 923 | if (bar_len > (k = (int) strlen(text))) /* 26 for vertical status */ | ^~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:964, from /usr/include/curses.h:232, from ../win/curses/cursinit.c:6: In function 'sprintf', inlined from 'curses_choose_character' at ../win/curses/cursinit.c:455:5: /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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 dogmove.c: In function 'droppables': dogmove.c:125:1: warning: function may return address of local variable [-Wreturn-local-addr] 125 | } | ^ 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' 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.0UnTv3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd NetHack-3.6.7 + rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 HACKDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack GAMEDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack VARDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack SHELLDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c egrep: warning: egrep is obsolescent; using grep -E 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c egrep: warning: egrep is obsolescent; using grep -E 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.fc39.x86_64/usr/bin'; then \ mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin; fi rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack/save if test -d ./-p; then rmdir ./-p; fi /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack/save /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack/save chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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' egrep: warning: egrep is obsolescent; using grep -E 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.fc39.x86_64/usr/games/nethack ) ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/usr/games/nethack cp util/recover /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin'; then rm -f /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin/jnethack; fi if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin'; then \ sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack;' \ -e 's;HACKDIR/nethack;HACKDIR/jnethack;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin/jnethack ; fi ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack ; /bin/true jnethack recover ; \ /bin/true jnethack recover ) chmod 02755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack/jnethack chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack/recover if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin/jnethack; fi if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/bin/jnethack; \ chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/var/games/nethack/perm /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack/record /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack/logfile /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/var/games/nethack/xlogfile ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack/sysconf; chmod 0600 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack/sysconf; bdftopcf win/X11/nh10.bdf > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/games/nethack/nh10.pcf; ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/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.fc39.x86_64/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.fc39.x86_64/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.fc39.x86_64/usr/share/man/man6/recover.6 cat dlb.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/man/man6/dlb.6 cat makedefs.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/usr/share/pixmaps/nethack.xpm + desktop-file-install --dir /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/applications --add-category Game --add-category RolePlaying /builddir/build/SOURCES/nethack.desktop /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/usr/share/fonts/jnethack-bitmap + install -m 0644 -p ibm.pcf nh10.pcf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/jnethack from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: jnethack-3.6.7-0.1_1.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jPBmEl + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + DOCDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/Guidebook.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/dgn_comp.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/dlb.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/lev_comp.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/makedefs.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/mn.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/mnh.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/nethack.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/doc/recover.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/README /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/dat/license /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/dat/history /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/dat/opthelp /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/dat/wizhelp /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/usr/share/doc/jnethack + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.p3d0SB + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + LICENSEDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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.fc39.x86_64/usr/share/licenses/jnethack + cp -pr /builddir/build/BUILD/NetHack-3.6.7/dat/license /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64/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/31/c1f3975081cdd044845373edf5cc8c49e5a3ce warning: File listed twice: /usr/lib/.build-id/55/465da7eb5bc67a350e9139429da325ce43f7c8 Provides: application() application(nethack.desktop) config(jnethack) = 3.6.7-0.1_1.fc39 jnethack = 3.6.7-0.1_1.fc39 jnethack(x86-64) = 3.6.7-0.1_1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh glibc >= 2.37.9000-10 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: nethack Recommends: group(games) Processing files: jnethack-bitmap-fonts-3.6.7-0.1_1.fc39.noarch Provides: font(fixed) jnethack-bitmap-fonts = 3.6.7-0.1_1.fc39 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.fc39.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.fc39.x86_64 Wrote: /builddir/build/RPMS/jnethack-bitmap-fonts-3.6.7-0.1_1.fc39.noarch.rpm Wrote: /builddir/build/RPMS/jnethack-bitmap-fonts-core-3.6.7-0.1_1.fc39.noarch.rpm Wrote: /builddir/build/RPMS/jnethack-3.6.7-0.1_1.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.x8j5qr + 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.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.vsKfZC + umask 022 + cd /builddir/build/BUILD + rm -rf NetHack-3.6.7 NetHack-3.6.7.gemspec + RPM_EC=0 ++ jobs -p RPM build warnings: + exit 0 %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! File listed twice: /usr/games/nethack/JNetHack.ad File listed twice: /usr/games/nethack/jnethack File listed twice: /usr/games/nethack/license File listed twice: /usr/games/nethack/nhdat File listed twice: /usr/games/nethack/pet_mark.xbm File listed twice: /usr/games/nethack/pilemark.xbm File listed twice: /usr/games/nethack/recover File listed twice: /usr/games/nethack/rip.xpm File listed twice: /usr/games/nethack/symbols File listed twice: /usr/games/nethack/sysconf File listed twice: /usr/games/nethack/x11tiles File listed twice: /usr/lib/.build-id/31/c1f3975081cdd044845373edf5cc8c49e5a3ce File listed twice: /usr/lib/.build-id/55/465da7eb5bc67a350e9139429da325ce43f7c8 Child return code was: 0