Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/jnethack.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1686333388.444498/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h4dxdp0c:/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.h4dxdp0c:/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', 'bbfea60fa2be4297bc47220b5a61b093', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1686333388.444498/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h4dxdp0c:/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 aarch64 --nodeps /builddir/build/SPECS/jnethack.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/jnethack-3.6.7-0.1_1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/jnethack.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1686333388.444498/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h4dxdp0c:/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.h4dxdp0c:/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', '15be418525824121832d7e32c1c58c42', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1686333388.444498/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h4dxdp0c:/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 aarch64 --nodeps /builddir/build/SPECS/jnethack.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jf2weq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf NetHack-3.6.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/nethack-367-src.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd NetHack-3.6.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nethack-3.6.7-makefile.patch):' Patch #0 (nethack-3.6.7-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .makefile --fuzz=0 patching file sys/unix/Makefile.src patching file sys/unix/Makefile.utl + echo 'Patch #1 (nethack-3.6.7-top.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 Patch #1 (nethack-3.6.7-top.patch): patching file sys/unix/Makefile.top + echo 'Patch #2 (nethack-3.6.7-config.patch):' Patch #2 (nethack-3.6.7-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .config --fuzz=0 patching file include/config.h patching file include/unixconf.h + echo 'Patch #3 (nethack-3.6.7-guidebook.patch):' Patch #3 (nethack-3.6.7-guidebook.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .guidebook --fuzz=0 patching file sys/unix/Makefile.doc + echo 'Patch #4 (hackdir.patch):' Patch #4 (hackdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/config.h + echo 'Patch #5 (nethack-3.6.7-xpm.patch):' Patch #5 (nethack-3.6.7-xpm.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .xpm --fuzz=0 patching file include/config.h + echo 'Patch #90 (jnethack-3.6.7-0.1.diff.gz):' Patch #90 (jnethack-3.6.7-0.1.diff.gz): + /usr/bin/gzip -dc /builddir/build/SOURCES/jnethack-3.6.7-0.1.diff.gz + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jnethack --fuzz=0 patching file ChangeLog.j patching file README.md patching file READMEj1.txt patching file configure patching file dat/Arch.des patching file dat/Barb.des patching file dat/Caveman.des patching file dat/Healer.des patching file dat/Knight.des patching file dat/Monk.des patching file dat/Priest.des patching file dat/Ranger.des patching file dat/Rogue.des patching file dat/Samurai.des patching file dat/Tourist.des patching file dat/Valkyrie.des patching file dat/Wizard.des patching file dat/bogusmon.txt patching file dat/cmdhelp patching file dat/dungeon.def patching file dat/endgame.des patching file dat/engrave.txt patching file dat/epitaph.txt patching file dat/gehennom.des patching file dat/help patching file dat/hh patching file dat/history patching file dat/mines.des patching file dat/opthelp patching file dat/oracles.txt patching file dat/quest.txt patching file dat/rumors.fal patching file dat/rumors.tru patching file dat/sokoban.des patching file dat/wizhelp patching file doc/fixes36.7 patching file include/artilistj.h patching file include/decl.h patching file include/extern.h patching file include/lint.h patching file include/ntconf.h patching file include/tradstdc.h patching file include/unixconf.h patching file include/winX.h patching file include/wintty.h patching file include/xwindow.h patching file include/xwindowp.h patching file include/you.h patching file japanese/build.md patching file japanese/jconj.c patching file japanese/jlib.c patching file japanese/jpatchlevel.h patching file japanese/set_lnx.sh patching file japanese/set_mac.sh patching file src/allmain.c patching file src/apply.c patching file src/artifact.c patching file src/attrib.c patching file src/ball.c patching file src/bones.c patching file src/botl.c patching file src/cmd.c patching file src/dbridge.c patching file src/decl.c patching file src/detect.c patching file src/dig.c patching file src/do.c patching file src/do_name.c patching file src/do_wear.c patching file src/dog.c patching file src/dogmove.c patching file src/dokick.c patching file src/dothrow.c patching file src/drawing.c patching file src/dungeon.c patching file src/eat.c patching file src/end.c patching file src/engrave.c patching file src/exper.c patching file src/explode.c patching file src/files.c patching file src/fountain.c patching file src/hack.c patching file src/hacklib.c patching file src/invent.c patching file src/light.c patching file src/lock.c patching file src/mail.c patching file src/makemon.c patching file src/mapglyph.c patching file src/mcastu.c patching file src/mhitm.c patching file src/mhitu.c patching file src/minion.c patching file src/mklev.c patching file src/mkmaze.c patching file src/mkobj.c patching file src/mon.c patching file src/mondata.c patching file src/monmove.c patching file src/monstj.c patching file src/mplayer.c patching file src/mthrowu.c patching file src/muse.c patching file src/music.c patching file src/o_init.c patching file src/objectsj.c patching file src/objnam.c patching file src/options.c patching file src/pager.c patching file src/pickup.c patching file src/pline.c patching file src/polyself.c patching file src/potion.c patching file src/pray.c patching file src/priest.c patching file src/quest.c patching file src/questpgr.c patching file src/read.c patching file src/region.c patching file src/restore.c patching file src/rip.c patching file src/role.c patching file src/rumors.c patching file src/save.c patching file src/shk.c patching file src/shknam.c patching file src/sit.c patching file src/sounds.c patching file src/spell.c patching file src/steal.c patching file src/steed.c patching file src/teleport.c patching file src/timeout.c patching file src/topten.c patching file src/trap.c patching file src/uhitm.c patching file src/vault.c patching file src/version.c patching file src/weapon.c patching file src/were.c patching file src/wield.c patching file src/windows.c patching file src/wizard.c patching file src/worm.c patching file src/worn.c patching file src/write.c patching file src/zap.c patching file sys/share/cppregex.cpp patching file sys/share/pcmain.c patching file sys/share/pcunix.c patching file sys/unix/Makefile.dat patching file sys/unix/Makefile.src Hunk #2 succeeded at 366 (offset 1 line). Hunk #3 succeeded at 448 (offset 1 line). Hunk #4 succeeded at 481 (offset 1 line). Hunk #5 succeeded at 508 (offset 1 line). Hunk #6 succeeded at 524 (offset 1 line). Hunk #7 succeeded at 1045 (offset 1 line). Hunk #8 succeeded at 1097 (offset 1 line). patching file sys/unix/Makefile.top patching file sys/unix/hints/linux-x11 patching file sys/unix/hints/macosx10.10 patching file sys/unix/unixmain.c patching file sys/unix/unixunix.c patching file sys/winnt/.nethackrc.template patching file sys/winnt/Makefile.msc patching file sys/winnt/console.rc patching file sys/winnt/nttty.c patching file sys/winnt/stubs.c patching file sys/winnt/sysconf.template patching file sys/winnt/winnt.c patching file sys/winnt/winos.h patching file util/makedefs.c patching file util/recover.c patching file win/X11/JNetHack.ad patching file win/X11/Window.c patching file win/X11/dialogs.c patching file win/X11/winX.c patching file win/X11/winmap.c patching file win/X11/winmenu.c patching file win/X11/winmesg.c patching file win/X11/winmisc.c patching file win/X11/winstat.c patching file win/X11/wintext.c patching file win/X11/winval.c patching file win/share/other.txt patching file win/tty/getline.c patching file win/tty/termcap.c patching file win/tty/topl.c patching file win/tty/wintty.c patching file win/win32/NetHackW.rc patching file win/win32/mhfont.c patching file win/win32/mhfont.h patching file win/win32/mhmain.c patching file win/win32/mhmap.c patching file win/win32/mhmsgwnd.c patching file win/win32/mhstatus.c patching file win/win32/mswproc.c patching file win/win32/nethack.rc patching file win/win32/vs2017/NetHack.sln patching file win/win32/vs2017/NetHack.vcxproj patching file win/win32/vs2017/NetHackW.vcxproj patching file win/win32/vs2017/afterdlb.proj patching file win/win32/vs2017/afternethack.proj patching file win/win32/vs2017/nh340key.def patching file win/win32/vs2017/nh340key.vcxproj patching file win/win32/winMS.h + echo 'Patch #91 (jnethack-3.6.7-makefile.patch):' Patch #91 (jnethack-3.6.7-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jnethack-make --fuzz=0 patching file sys/unix/Makefile.top + find ./ -type f + xargs -i nkf -e -Lu --overwrite '{}' + /usr/bin/sed -i -e 's:PREFIX=$(wildcard ~)/nh/install:PREFIX=/usr:' sys/unix/hints/linux + /usr/bin/sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/hints/linux + /usr/bin/sed -i -e 's:PREFIX=$(wildcard ~)/nh/install:PREFIX=/usr:' sys/unix/hints/linux-x11 + /usr/bin/sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/hints/linux-x11 + /usr/bin/sed -i -e 's:^\(CFLAGS = .*\):\1 -DXI18N -DINSTALLCOLORMAP:' sys/unix/Makefile.src + /usr/bin/sed -i -e 's:^\(WINLIB = .*\):\1 $\(WINCURSESLIB\):' sys/unix/Makefile.src + sh sys/unix/setup.sh sys/unix/hints/linux-x11 + /usr/bin/sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/nethack.sh + /usr/bin/sed -i -e s:FEDORA_CONFDIR:/usr/games/nethack: sys/unix/nethack.sh + /usr/bin/sed -i -e s:FEDORA_STATEDIR:/var/games/nethack: include/unixconf.h + /usr/bin/sed -i -e s:FEDORA_HACKDIR:/usr/games/nethack: include/config.h + /usr/bin/sed -i -e s:/usr/games/lib/nethackdir:/usr/games/nethack: doc/nethack.6 doc/nethack.txt doc/recover.6 doc/recover.txt + /usr/bin/sed -i -e s:-L/usr/X11R6/lib:-L/usr/X11R6/lib64: src/Makefile util/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1vHoAR + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + cd src + make ../include/pm.h touch ../src/config.h-t gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c monst.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c objects.c make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o makedefs.o makedefs.c makedefs.c: In function 'do_date': makedefs.c:1251:58: warning: '%s' directive writing up to 59 bytes into a region of size between 32 and 221 [-Wformat-overflow=] Sprintf(outbuf, "%s NetHack%s Version %s%s - last %s %s.", PORT_ID, ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from makedefs.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 285 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ 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 -j4 ( cd src ; /usr/bin/make ) 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o alloc.o alloc.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o objectsj.o objectsj.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o monstj.o monstj.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dlb.o dlb.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dog.o dog.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o do.o do.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o do_name.o do_name.c do_name.c: In function 'getpos_menu': do_name.c:777:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(fullbuf, "%s%s%s", firstmatch, ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] Sprintf(sbuf, "[.]%s�Ƿ��ꡥ", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ do_name.c:302:27: warning: '%s' directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] Sprintf(sbuf, "[.]%s�Ƿ��ꡥ", kbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o do_wear.o do_wear.c do_wear.c: In function 'armor_or_accessory_off': do_wear.c:1653:31: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] Sprintf(why, "���%s��Ϥ����ʤ���", what); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_wear.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o drawing.o drawing.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dogmove.o dogmove.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dothrow.o dothrow.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dokick.o dokick.c dokick.c: In function 'dokick': dokick.c:1002:21: warning: '�򽳤ä�' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�򽳤ä�", what); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from dokick.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dungeon.o dungeon.c dungeon.c: In function 'print_mapseen': dungeon.c:3051:33: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] Sprintf(outbuf, " (play %s to open or close drawbridge)", tmp); ^~ ~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from dungeon.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 292 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ dungeon.c:3295:27: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] Sprintf(buf, "%s��%s��", PREFIX, tunesuffix(mptr, tmpbuf)); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from dungeon.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ dungeon.c:3370:40: warning: '%s' directive writing up to 255 bytes into a region of size 242 [-Wformat-overflow=] Sprintf(buf, "%s%s %s%c", PREFIX, TAB, tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from dungeon.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 16 and 271 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o end.o end.c end.c: In function 'list_vanquished': end.c:2327:39: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buftoo, "%*s%s", pfx, "", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from end.c:8: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o exper.o exper.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o engrave.o engrave.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o eat.o eat.c eat.c: In function 'doeat': eat.c:2931:25: warning: '�ϱ�������Ƥ���褦�ʤˤ���...' directive writing 36 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�ϱ�������Ƥ���褦�ʤˤ��������롪%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 419 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:2944:25: warning: '�Ϥʤ�������������������ʤ�...' directive writing 40 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�Ϥʤ�������������������ʤˤ��������롪%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 423 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:2972:25: warning: '���Ǥ��äƤ������ʤˤ�����...' directive writing 34 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s���Ǥ��äƤ������ʤˤ��������롪%s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 35 and 417 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:2986:25: warning: '���Ǥ�������Ƥ������ʤˤ�...' directive writing 38 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s���Ǥ�������Ƥ������ʤˤ��������롪%s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 39 and 421 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:2996:25: warning: '�Ϸ򹯤˰������ʤˤ���������..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�Ϸ򹯤˰������ʤˤ��������롥%s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:3006:25: warning: '�Ͼ������äѤ����ʤˤ�������...' directive writing 32 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�Ͼ������äѤ����ʤˤ��������롥%s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 33 and 415 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:3018:25: warning: '�ϵ�ʬ�������ʤ�ˤ���������..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�ϵ�ʬ�������ʤ�ˤ��������롥%s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:3038:25: warning: '�ϱ���Ƥ��ơ����ʤ��ˤʤ���...' directive writing 52 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�ϱ���Ƥ��ơ����ʤ��ˤʤ��ޤʤ��褦�ʤˤ��������롥%s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 53 and 435 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:3066:25: warning: '�ϱ�������Ƥ���褦�ʤˤ���...' directive writing 36 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�ϱ�������Ƥ���褦�ʤˤ��������롪%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 419 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:3053:25: warning: '�Ϥ��ʤ��ˤʤ��ޤʤ��褦�ʤ�...' directive writing 40 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�Ϥ��ʤ��ˤʤ��ޤʤ���make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' ��ʤˤ��������롥%s", foodsmell, eat_it_anyway); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 423 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ eat.c:2958:25: warning: '����ä��褦�ʤˤ��������롪' directive writing 28 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s����ä��褦�ʤˤ��������롪%s", foodsmell, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from eat.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 411 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o extralev.o extralev.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o explode.o explode.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o fountain.o fountain.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o files.o files.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o hacklib.o hacklib.c hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:1046:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] 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] Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from hacklib.c:12: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o isaac64.o isaac64.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o light.o light.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mail.o mail.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o lock.o lock.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mapglyph.o mapglyph.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o hack.o hack.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mcastu.o mcastu.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o invent.o invent.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o makemon.o makemon.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o minion.o minion.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkmap.o mkmap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mklev.o mklev.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mhitu.o mhitu.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkmaze.o mkmaze.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkroom.o mkroom.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mhitm.o mhitm.c mhitm.c: In function 'hitmm': mhitm.c:679:33: warning: '�ο��꤬' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s�ο��꤬%%s���αդ�ۤ��Ȥä���", magr_name); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from mhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 31 and 286 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ mhitm.c:686:36: warning: '��' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s��%%s��ʤ᤿��", magr_name); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from mhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ mhitm.c:661:32: warning: '��' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s��%%s���ͤ���������", magr_name); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from mhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ mhitm.c:673:32: warning: '��' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s��%%s�˿��줿��", magr_name); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from mhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 270 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ mhitm.c:667:32: warning: '��' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s��%%s��Ƭ�ͤ��򤯤�路����", magr_name); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from mhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ mhitm.c:655:32: warning: '��' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s��%%s�˳��ߤĤ�����", magr_name); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from mhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ mhitm.c:694:33: warning: '��' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s��%%s�ؤι����̿�椷����", magr_name); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from mhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 280 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mkobj.o mkobj.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mplayer.o mplayer.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mondata.o mondata.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mthrowu.o mthrowu.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o monmove.o monmove.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o music.o music.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o o_init.o o_init.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o mon.o mon.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o muse.o muse.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pager.o pager.c pager.c: In function 'do_screen_description': pager.c:1376:38: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] pager.c:1374:27: *firstmatch = look_buf; ~~~~~~~~ pager.c:1376:38: Sprintf(temp_buf, " (%s)", *firstmatch); ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from pager.c:14: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ pager.c:1385:44: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] Sprintf(temp_buf, " [���: %s]", monbuf); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from pager.c:14: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pline.o pline.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o objnam.o objnam.c objnam.c: In function 'xcalled': objnam.c:548:43: warning: pointer targets in passing argument 1 of 'offset_in_kanji' differ in signedness [-Wpointer-sign] sfxlen = sfxlen - offset_in_kanji(sfx, sfxlen); ^~~ In file included from ../include/config.h:395, from ../include/hack.h:10, from objnam.c:11: ../include/extern.h:3036:13: note: expected 'const unsigned char *' but argument is of type 'const char *' E int FDECL(offset_in_kanji, (const unsigned char *, int)); ^~~~~~~~~~~~~~~ ../include/tradstdc.h:193:21: note: in definition of macro 'FDECL' #define FDECL(f, p) f p ^ In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:321, from ../include/global.h:136, from ../include/config.h:581, from ../include/hack.h:10, from objnam.c:11: In function 'strcpy', inlined from 'makesingular' at objnam.c:3288:5, inlined from 'xname_flags' at objnam.c:778:44: /usr/include/bits/string_fortified.h:94:10: warning: '__builtin_strcpy' accessing 0 or more bytes at offsets [0, 3072] and [100, 3072] may overlap up to 9223372036854775707 bytes at offset [9223372036854775805, 100] [-Wrestrict] return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcpy', inlined from 'makeplural' at objnam.c:3155:5, inlined from 'xname_flags' at objnam.c:778:33: /usr/include/bits/string_fortified.h:94:10: warning: '__builtin_strcpy' accessing 0 or more bytes at offsets [0, 3072] and [0, 3072] may overlap up to 9223372036854775807 bytes at offset 9223372036854775805 [-Wrestrict] 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:94:10: warning: '__builtin_strcpy' accessing 0 or more bytes at offsets [100, 3072] and [0, 3072] may overlap up to 9223372036854775707 bytes at offset [9223372036854775806, 100] [-Wrestrict] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pickup.o pickup.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o polyself.o polyself.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o options.o options.c options.c: In function 'initoptions_init': options.c:1041:11: warning: unused variable 'opts' [-Wunused-variable] 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=] Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, ^~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from options.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o pray.o pray.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o quest.o quest.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o priest.o priest.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o potion.o potion.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rect.o rect.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o questpgr.o questpgr.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rip.o rip.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rnd.o rnd.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o region.o region.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o restore.o restore.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o rumors.o rumors.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o save.o save.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o role.o role.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sit.o sit.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o shknam.o shknam.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o read.o read.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:893:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sys.o sys.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o spell.o spell.c spell.c: In function 'getspell': spell.c:861:47: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] Sprintf(qbuf, "�ɤ���ˡ�򾧤��롩[%s ?]", lets); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from spell.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o steal.o steal.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o steed.o steed.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o shk.o shk.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o teleport.o teleport.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o track.o track.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o timeout.o timeout.c timeout.c: In function 'nh_timeout': timeout.c:674:45: warning: '�ι����' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(killer.name, "%s�ι����", kptr->name); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from timeout.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o topten.o topten.c topten.c: In function 'outentry': topten.c:946:28: warning: '�µܤ���æ�Ф���[�����ϲ�' directive writing 25 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(action, "%s�µܤ���æ�Ф���[�����ϲ�%d��]", ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from topten.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 295 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ topten.c:1103:36: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(linebuf, "%15s %s", "", cdr); ^~ ~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from topten.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o u_init.o u_init.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o sp_lev.o sp_lev.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o vault.o vault.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o weapon.o weapon.c 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=] Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), ^~ sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ weapon.c:1437:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] Sprintf(buf, " %s %-*s [%s]", prefix, longest, ^~ P_NAME(i), sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ weapon.c:1432:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~ sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1432:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1432:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ weapon.c:1428:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~ longest, P_NAME(i), sklnambuf, P_ADVANCE(i), ~~~~~~~~~ weapon.c:1428:38: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1428:38: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:17: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o were.o were.c were.c: In function 'you_were': were.c:232:24: warning: '%s' directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] were.c:24:12: return werebuf; ~~~~~~~ were.c:232:24: Sprintf(qbuf, "%s���Ѳ����ޤ�����", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from were.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o windows.o windows.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wield.o wield.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wizard.o wizard.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o worm.o worm.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o uhitm.o uhitm.c uhitm.c: In function 'hmon_hitmon': uhitm.c:1442:47: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] Sprintf(silverobjbuf, "%%s��%s%s�ǾƤ��줿��", ^~ uhitm.c:1445:25: saved_oname); ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from uhitm.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 17 and 276 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o write.o write.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o posixregex.o ../sys/share/posixregex.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o worn.o worn.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c ../japanese/jconj.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o ioctl.o ../sys/share/ioctl.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c ../japanese/jlib.c ../japanese/jlib.c:265:17: warning: "/*" within comment [-Wcomment] /*#define ICUTF8/**/ ../japanese/jlib.c:270:1: warning: 'charlen' defined but not used [-Wunused-function] charlen(unsigned int c) ^~~~~~~ ../japanese/jlib.c: In function 'jrndm_replace': ../japanese/jlib.c:740:19: warning: 'cc[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(cc[2] <= 0x7A) /* ����� */ ~~^~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o trap.o trap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixmain.o ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'sys_random_seed': ../sys/unix/unixmain.c:836:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&seed, sizeof (long), 1, fptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixres.o ../sys/unix/unixres.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixtty.o ../sys/share/unixtty.c ../sys/share/unixtty.c: In function 'linux_mapon': ../sys/share/unixtty.c:426:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o unixunix.o ../sys/unix/unixunix.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o getline.o ../win/tty/getline.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o termcap.o ../win/tty/termcap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o topl.o ../win/tty/topl.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o Window.o ../win/X11/Window.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dialogs.o ../win/X11/dialogs.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmap.o ../win/X11/winmap.c ../win/X11/winmap.c: In function 'map_update': ../win/X11/winmap.c:1295:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] 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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winX.o ../win/X11/winX.c ../win/X11/winX.c: In function 'X11_display_file': ../win/X11/winX.c:2083:22: warning: unused variable 'extent' [-Wunused-variable] XFontSetExtents *extent; ^~~~~~ ../win/X11/winX.c:2082:14: warning: unused variable 'fontset' [-Wunused-variable] 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] (void) seteuid(getuid()); ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c:1690:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] (void) seteuid(savuid); ^~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'init_menu_nhcolors': ../win/X11/winX.c:349:37: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] Sprintf(clrclass, "JNetHack.%s.%s", wtn_up, mapCLR_to_res[color]); ^~ ~~~~~~ ../win/X11/winX.c:349:27: note: assuming directive output of 5 bytes Sprintf(clrclass, "JNetHack.%s.%s", wtn_up, mapCLR_to_res[color]); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from ../win/X11/winX.c:54: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 271) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmesg.o ../win/X11/winmesg.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmenu.o ../win/X11/winmenu.c ../win/X11/winmenu.c: In function 'X11_select_menu': ../win/X11/winmenu.c:743:22: warning: unused variable 'extent' [-Wunused-variable] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wintty.o ../win/tty/wintty.c ../win/tty/wintty.c: In function 'tty_player_selection': ../win/tty/wintty.c:977:30: warning: '%s' directive writing up to 127 bytes into a region of size between 95 and 126 [-Wformat-overflow=] Sprintf(pbuf, "%s, %s%s%s%s", plname, aligns[ALGN].adj, plbuf, ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from ../win/tty/wintty.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 161) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o wintext.o ../win/X11/wintext.c ../win/X11/wintext.c: In function 'display_text_window': ../win/X11/wintext.c:180:30: warning: variable 'font_height' set but not used [-Wunused-but-set-variable] Dimension width, height, font_height; ^~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o zap.o zap.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winval.o ../win/X11/winval.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 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] int k; ^ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ../win/share/tilemap.c make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursmain.o ../win/curses/cursmain.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o winmisc.o ../win/X11/winmisc.c ../win/X11/winmisc.c: In function 'X11_player_selection_randomize': ../win/X11/winmisc.c:509:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] 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] char jtmp[256]; ^~~~ ../win/X11/winmisc.c:1337:12: warning: unused variable 'jroles' [-Wunused-variable] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o curswins.o ../win/curses/curswins.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursmisc.o ../win/curses/cursmisc.c ../win/curses/cursmisc.c: In function 'curses_mouse_support': ../win/curses/cursmisc.c:1035:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] mmask_t result, oldmask, newmask; ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursinit.o ../win/curses/cursinit.c ../win/curses/cursinit.c: In function 'curses_choose_character': ../win/curses/cursinit.c:455:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(choice, "%s%c", tmpchoice, '\033'); ^ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from ../win/curses/cursinit.c:6: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursstat.o ../win/curses/cursstat.c ../win/curses/cursstat.c: In function 'draw_status': ../win/curses/cursstat.c:219:13: warning: variable 'ax' set but not used [-Wunused-but-set-variable] 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] condstart = 0, conddummy = 0; ^~~~~~~~~ ../win/curses/cursstat.c:301:52: warning: variable 'ey' set but not used [-Wunused-but-set-variable] height, width, w, xtra, clen, x, y, t, ex, ey, ^~ make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursdial.o ../win/curses/cursdial.c ../win/curses/cursdial.c: In function 'curses_ext_cmd': ../win/curses/cursdial.c:385:24: warning: variable 'h' set but not used [-Wunused-but-set-variable] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursinvt.o ../win/curses/cursinvt.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cursmesg.o ../win/curses/cursmesg.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o allmain.o allmain.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o attrib.o attrib.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o ball.o ball.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o bones.o bones.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o artifact.o artifact.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dbridge.o dbridge.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o decl.o decl.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o apply.o apply.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o botl.o botl.c botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2961:45: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] botl.c:2546:16: return buf; ~~~ botl.c:2961:45: Sprintf(condbuf, "condition/%s/%s", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 522 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite2str': botl.c:3063:24: warning: '/' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] Sprintf(buf, "%s/%s/%s", initblstats[hl->fld].fldname, behavebuf, clrbuf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 513) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ botl.c: In function 'do_statusline2': botl.c:316:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", hlth, cond, dloc, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ botl.c:314:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, cond, expr, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ botl.c:312:37: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, cond, tmmv); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ botl.c:306:33: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 254 [-Wformat-overflow=] Sprintf(newbot2, "%s %s %s %s %s", dloc, hlth, expr, tmmv, cond); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 640 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] Sprintf(obuf, "%s or %s", ^~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ botl.c:3616:32: warning: '%s' directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] botl.c:2546:16: return buf; ~~~ botl.c:3616:32: Sprintf(colorqry, "���%s�ΤȤ��ο�������Ǥ�������:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 287 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ botl.c:3621:31: warning: '%s' directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] botl.c:2546:16: return buf; ~~~ botl.c:3621:31: Sprintf(attrqry, "���%s�ΤȤ���°��������Ǥ�������:", ^~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o detect.o detect.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o dig.o dig.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o vis_tab.o vis_tab.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o tile.o tile.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o display.o display.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o version.o version.c version.c: In function 'early_version_info': version.c:211:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from version.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ version.c:211:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf2, "%s\n", buf); ^ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from version.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o cmd.o cmd.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' cmd.c: In function 'paranoid_query.part.25': cmd.c:7934:30: warning: '%s' directive writing up to 255 bytes into a region of size between 113 and 128 [-Wformat-overflow=] Sprintf(qbuf, "%s%s %s", promptprefix, pbuf, responsetype); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 282 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cmd.c: In function 'extcmd_via_menu': cmd.c:734:40: warning: '%s' directive writing up to 127 bytes into a region of size 114 [-Wformat-overflow=] Sprintf(prompt, "��ĥ���ޥ��: %s", cbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 142 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:2016:23: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] Sprintf(buf, "%s��%s��°��:", ^~ cmd.c:2020:14: tmpbuf); ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 265) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cmd.c:2104:29: warning: '�λ�' directive writing 4 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s%s%s�λ�", !final ? "���ΤȤ���" : "", tmpbuf, ^~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 260) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cmd.c:2104:25: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] Sprintf(buf, "%s%s%s�λ�", !final ? "���ΤȤ���" : "", tmpbuf, ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cmd.c:2321:27: warning: '%s' directive writing up to 255 bytes into a region of size between 127 and 254 [-Wformat-overflow=] Sprintf(buf, "%s��%s", dgnbuf, tmpbuf); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 385 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cmd.c:2278:33: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] Sprintf(buf, "�ǽ�������%s", tmpbuf); ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DXI18N -DINSTALLCOLORMAP -c -o vision.o vision.c make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' Linking jnethack. gcc -L/usr/X11R6/lib64 -o jnethack monstj.o objectsj.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o isaac64.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o jconj.o jlib.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o Window.o dialogs.o winX.o winmap.o winmenu.o winmesg.o winmisc.o winstat.o wintext.o winval.o tile.o cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o version.o -lncurses -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lncurses make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' 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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jr2iQC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 + cd NetHack-3.6.7 + rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 HACKDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack GAMEDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack VARDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack SHELLDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o recover.o recover.c gcc -L/usr/X11R6/lib64 -o recover recover.o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make bogusmon ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -s make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make data ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -d make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make engrave ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make epitaph ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make oracles ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -h make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make options ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -q Summary for single line message is useless - line 2401 make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make rumors ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -r make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' cp ../win/share/tile.h ../include/tile.h gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ../win/X11/tile2x11.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ../win/share/tiletext.c echo '#define TILETEXT' >> tiletxt.c echo '#include "../win/share/tilemap.c"' >> tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o panic.o panic.c gcc -L/usr/X11R6/lib64 -o tile2x11 tile2x11.o tiletext.o tiletxt.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ ../win/share/other.txt \ -grayscale ../win/share/monsters.txt ../win/share/monsters.txt: 394 tiles ../win/share/objects.txt: 456 tiles ../win/share/other.txt: 232 tiles ../win/share/monsters.txt: 394 tiles Total tiles: 1476 make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make JNetHack.ad ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' grep ^#define ../win/X11/JNetHack.ad | \ sed -e 's/^#define/s/g' -e 's/ */ /g' \ -e 's/$/ g/g' > JNetHack.ad.tmp grep -v ^#define ../win/X11/JNetHack.ad | \ sed -f JNetHack.ad.tmp > JNetHack.ad rm -f JNetHack.ad.tmp make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make pilemark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' cp ../win/X11/pilemark.xbm pilemark.xbm make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make rip.xpm ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' cp ../win/X11/rip.xpm rip.xpm make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' bison -y -d dgn_comp.y sed -e 's#"y.tab.c"#"dgn_yacc.c"#' -e 's#y.tab.c:#dgn_yacc.c:#' y.tab.c > dgn_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"dgn_comp.h"#' y.tab.h > ../include/dgn_comp.h \ && rm y.tab.h make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dgn_yacc.o dgn_yacc.c flex dgn_comp.l sed -e 's#"lex.yy.c"#"dgn_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > dgn_lex.c \ && rm lex.yy.c gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dgn_main.o dgn_main.c gcc -L/usr/X11R6/lib64 -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd util ; /usr/bin/make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' bison -y -d lev_comp.y sed -e 's#"y.tab.c"#"lev_yacc.c"#' -e 's#y.tab.c:#lev_yacc.c:#' y.tab.c > lev_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"lev_comp.h"#' y.tab.h > ../include/lev_comp.h \ && rm y.tab.h gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lev_yacc.o lev_yacc.c flex lev_comp.l sed -e 's#"lex.yy.c"#"lev_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > lev_lex.c \ && rm lex.yy.c gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lev_main.o lev_main.c gcc -L/usr/X11R6/lib64 -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/util' ( cd dat ; /usr/bin/make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ( cd dat ; /usr/bin/make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make[1]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' true; if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin'; then \ mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin; fi rm -rf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack mkdir -p /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack/save if test -d ./-p; then rmdir ./-p; fi /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack/save /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack/save chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack/save ( /usr/bin/make dofiles ) make[1]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ /usr/bin/make dofiles-${target-nodlb} make[2]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7' ( cd src ; /usr/bin/make ) make[3]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' jnethack is up to date. make[3]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' ( cd dat ; /usr/bin/make options ) make[3]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/dat' color, data file compression, data librarian, insurance files for make[3]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7' ( cd util ; /usr/bin/make dlb ) make[4]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/util' make[5]: Entering directory '/builddir/build/BUILD/NetHack-3.6.7/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/NetHack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c dlb_main.c gcc -L/usr/X11R6/lib64 -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o 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.el8.aarch64/usr/games/nethack ) ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/games/nethack cp util/recover /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin'; then rm -f /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin/jnethack; fi if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin'; then \ sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack;' \ -e 's;HACKDIR/nethack;HACKDIR/jnethack;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin/jnethack ; fi ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack ; /bin/true jnethack recover ; \ /bin/true jnethack recover ) chmod 02755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack/jnethack chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack/recover if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin/jnethack; fi if test -n '/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/bin/jnethack; \ chmod 0755 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/var/games/nethack/perm /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack/record /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack/logfile /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/var/games/nethack/xlogfile ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack/sysconf; chmod 0600 /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack/sysconf; bdftopcf win/X11/nh10.bdf > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/games/nethack/nh10.pcf; ( cd /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/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.el8.aarch64/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.el8.aarch64/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.el8.aarch64/usr/share/man/man6/recover.6 cat dlb.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/man/man6/dlb.6 cat makedefs.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/share/pixmaps/nethack.xpm + desktop-file-install --dir /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/applications --add-category Game --add-category RolePlaying /builddir/build/SOURCES/nethack.desktop /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/share/fonts/jnethack-bitmap + install -m 0644 -p ibm.pcf nh10.pcf /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/games/nethack/JNetHack.ad + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jnethack-3.6.7-0.1_1.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZX2sO0 + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + DOCDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/share/doc/jnethack + cp -pr doc/Guidebook.txt doc/dgn_comp.txt doc/dlb.txt doc/lev_comp.txt doc/makedefs.txt doc/mn.txt doc/mnh.txt doc/nethack.txt doc/recover.txt /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/doc/jnethack + cp -pr README /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/doc/jnethack + cp -pr dat/license /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/doc/jnethack + cp -pr dat/history /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/doc/jnethack + cp -pr dat/opthelp /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/doc/jnethack + cp -pr dat/wizhelp /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/doc/jnethack + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OTi6vo + umask 022 + cd /builddir/build/BUILD + cd NetHack-3.6.7 + LICENSEDIR=/builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/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.el8.aarch64/usr/share/licenses/jnethack + cp -pr dat/license /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64/usr/share/licenses/jnethack + 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/47/905a46109f09bfdf72822f255b923400132391 warning: File listed twice: /usr/lib/.build-id/4f/3f064a757fe3ead4fba789808267e9161d9a05 Provides: application() application(nethack.desktop) config(jnethack) = 3.6.7-0.1_1.el8 jnethack = 3.6.7-0.1_1.el8 jnethack(aarch-64) = 3.6.7-0.1_1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) 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.17)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: nethack Processing files: jnethack-bitmap-fonts-3.6.7-0.1_1.el8.noarch Provides: font(:lang=aa) font(:lang=an) font(:lang=ay) font(:lang=bi) font(:lang=br) font(:lang=ch) font(:lang=da) font(:lang=de) font(:lang=en) font(:lang=es) font(:lang=eu) font(:lang=fil) font(:lang=fj) font(:lang=fo) font(:lang=fur) font(:lang=fy) font(:lang=gd) font(:lang=gl) font(:lang=gv) font(:lang=ho) font(:lang=ht) font(:lang=ia) font(:lang=id) font(:lang=ie) font(:lang=io) font(:lang=is) font(:lang=it) font(:lang=jv) font(:lang=kj) font(:lang=kwm) font(:lang=lb) font(:lang=li) font(:lang=mg) font(:lang=ms) font(:lang=nb) font(:lang=nds) font(:lang=ng) font(:lang=nl) font(:lang=nn) font(:lang=no) font(:lang=nr) font(:lang=oc) font(:lang=om) font(:lang=pap-an) font(:lang=pap-aw) font(:lang=pt) font(:lang=rm) font(:lang=rn) font(:lang=rw) font(:lang=sc) font(:lang=sg) font(:lang=sma) font(:lang=smj) font(:lang=sn) font(:lang=so) font(:lang=sq) font(:lang=ss) font(:lang=st) font(:lang=su) font(:lang=sv) font(:lang=sw) font(:lang=tl) font(:lang=ts) font(:lang=uz) font(:lang=vo) font(:lang=wa) font(:lang=xh) font(:lang=yap) font(:lang=za) font(:lang=zu) font(fixed) jnethack-bitmap-fonts = 3.6.7-0.1_1.el8 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.el8.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jnethack-3.6.7-0.1_1.el8.aarch64 Wrote: /builddir/build/RPMS/jnethack-3.6.7-0.1_1.el8.aarch64.rpm Wrote: /builddir/build/RPMS/jnethack-bitmap-fonts-3.6.7-0.1_1.el8.noarch.rpm Wrote: /builddir/build/RPMS/jnethack-bitmap-fonts-core-3.6.7-0.1_1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oUxUhn + 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.el8.aarch64 + exit 0 Child return code was: 0