Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nethack.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1668097449.304237/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4nzyyah:/etc/resolv.conf', '--bind=/dev/btrfs-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._4nzyyah:/etc/resolv.conf', '--bind=/dev/btrfs-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', '42e6de36a17c42ef94626fc653de36e1', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1668097449.304237/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4nzyyah:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nethack.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/nethack-3.6.6-9.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nethack.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1668097449.304237/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4nzyyah:/etc/resolv.conf', '--bind=/dev/btrfs-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._4nzyyah:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'cb05d68e511346d19a32148f9bed62c5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1668097449.304237/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._4nzyyah:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nethack.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! warning: This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Hh5HX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nethack-3.6.6 + /usr/bin/mkdir -p nethack-3.6.6 + cd nethack-3.6.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nethack-366-src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd NetHack-NetHack-3.6.6_Released + mv DEVEL Files Porting README dat doc include src sys util win .. + cd .. + rm -rf NetHack-NetHack-3.6.6_Released + echo 'Patch #0 (nethack-3.6.6-makefile.patch):' Patch #0 (nethack-3.6.6-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .makefile --fuzz=0 patching file sys/unix/Makefile.src patching file sys/unix/Makefile.utl Patch #1 (nethack-3.6.6-top.patch): + echo 'Patch #1 (nethack-3.6.6-top.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sys/unix/Makefile.top Patch #2 (nethack-3.6.6-config.patch): + echo 'Patch #2 (nethack-3.6.6-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .config --fuzz=0 patching file include/config.h patching file include/unixconf.h Patch #3 (nethack-3.6.6-guidebook.patch): + echo 'Patch #3 (nethack-3.6.6-guidebook.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .guidebook --fuzz=0 patching file sys/unix/Makefile.doc Patch #4 (hackdir.patch): + echo 'Patch #4 (hackdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/config.h + echo 'Patch #5 (nethack-3.6.6-xpm.patch):' Patch #5 (nethack-3.6.6-xpm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .xpm --fuzz=0 patching file include/config.h + /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 + sh sys/unix/setup.sh sys/unix/hints/linux + /usr/bin/sed -i -e 's:^\(HACKDIR=\).*:\1/usr/games/nethack:' sys/unix/nethack.sh + /usr/bin/sed -i -e s:FEDORA_CONFDIR:/usr/games/nethack: sys/unix/nethack.sh + /usr/bin/sed -i -e s:FEDORA_STATEDIR:/var/games/nethack: include/unixconf.h + /usr/bin/sed -i -e s:FEDORA_HACKDIR:/usr/games/nethack: include/config.h + /usr/bin/sed -i -e s:/usr/games/lib/nethackdir:/usr/games/nethack: doc/nethack.6 doc/nethack.txt doc/recover.6 doc/recover.txt + /usr/bin/sed -i -e s:-L/usr/X11R6/lib:-L/usr/X11R6/lib64: src/Makefile util/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1LBbS6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nethack-3.6.6 + make all ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' touch ../src/config.h-t gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c monst.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c objects.c make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o makedefs.o makedefs.c makedefs.c: In function 'do_qt_control': makedefs.c:2472:5: warning: 'strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 2472 | strncpy(&qt_hdr.id[qt_hdr.n_hdr][0], code, LEN_HDR); | ^ gcc -L/usr/X11R6/lib64 -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' ./makedefs -o make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' ./makedefs -p make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' touch ../src/hack.h-t gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o allmain.o allmain.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o alloc.o alloc.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o apply.o apply.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o artifact.o artifact.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o attrib.o attrib.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ball.o ball.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o bones.o bones.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o botl.o botl.c botl.c: In function 'parse_status_hl2': botl.c:2069:12: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2069 | while (s[sidx]) { | ^ botl.c: In function 'parse_condition': botl.c:2488:11: warning: the comparison will always evaluate as 'true' for the pointer operand in 's + (sizetype)((long unsigned int)sidx * 128)' must not be NULL [-Waddress] 2488 | while(s[sidx]) { | ^ botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2793 | Sprintf(condbuf, "condition/%s/%s", | ^~ 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); | ~~~~~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from botl.c:6: In function 'sprintf', inlined from 'status_hilite_linestr_gather_conditions' at botl.c:2793:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_menu_add': botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 3385 | Sprintf(obuf, "%s or %s", | ^~~~ In function 'sprintf', inlined from 'status_hilite_menu_add' at botl.c:3385:21: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 163 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cmd.o cmd.c cmd.c: In function 'attributes_enlightenment': cmd.c:2727:20: warning: 'strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 2727 | (void) strncpy(buf, " if not for ", 12); | ^ cmd.c: In function 'enlght_halfdmg': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from cmd.c:6: In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'enlght_halfdmg' at cmd.c:1719:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 11 or more bytes (assuming 266) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'one_characteristic': cmd.c:1653:22: warning: '%s' directive writing between 3 and 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'one_characteristic' at cmd.c:2268:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 6 or more bytes (assuming 262) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'background_enlightenment.constprop.0': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'background_enlightenment.constprop.0' at cmd.c:1863:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'basics_enlightenment' at cmd.c:2095:5, inlined from 'enlightenment' at cmd.c:1797:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'basics_enlightenment' at cmd.c:2104:5, inlined from 'enlightenment' at cmd.c:1797:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'attributes_enlightenment' at cmd.c:2637:9, inlined from 'enlightenment' at cmd.c:1811:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'attributes_enlightenment' at cmd.c:2635:9, inlined from 'enlightenment' at cmd.c:1811:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 237 and 238 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'attributes_enlightenment' at cmd.c:2641:9, inlined from 'enlightenment' at cmd.c:1811:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 20 and 276 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'attributes_enlightenment' at cmd.c:2694:9, inlined from 'enlightenment' at cmd.c:1811:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'attributes_enlightenment' at cmd.c:2710:9, inlined from 'enlightenment' at cmd.c:1811:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'attributes_enlightenment' at cmd.c:2715:9, inlined from 'enlightenment' at cmd.c:1811:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'show_conduct' at cmd.c:3278:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'show_conduct' at cmd.c:3288:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'show_conduct' at cmd.c:3297:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'show_conduct' at cmd.c:3305:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'show_conduct' at cmd.c:3313:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'show_conduct' at cmd.c:3341:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ In function 'sprintf', inlined from 'enlght_line' at cmd.c:1653:5, inlined from 'show_conduct' at cmd.c:3341:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 262 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dbridge.o dbridge.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o decl.o decl.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o detect.o detect.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dig.o dig.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o display.o display.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dlb.o dlb.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o do.o do.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o do_name.o do_name.c do_name.c: In function 'getpos_menu': do_name.c:604:37: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 604 | Sprintf(fullbuf, "%s%s%s", firstmatch, | ^ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from do_name.c:6: In function 'sprintf', inlined from 'getpos_menu' at do_name.c:604:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos': do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In function 'sprintf', inlined from 'getpos_help' at do_name.c:190:9, inlined from 'getpos' at do_name.c:787:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 41 and 296 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ do_name.c: In function 'getpos': do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In function 'sprintf', inlined from 'getpos_help' at do_name.c:190:9, inlined from 'getpos' at do_name.c:787:17: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 41 and 296 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o do_wear.o do_wear.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dog.o dog.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dogmove.o dogmove.c dogmove.c: In function 'droppables': dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] 120 | } | ^ dogmove.c:29:28: note: declared here 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; | ^~~~~ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dokick.o dokick.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dothrow.o dothrow.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drawing.o drawing.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dungeon.o dungeon.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o eat.o eat.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o end.o end.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o engrave.o engrave.c engrave.c: In function 'doengrave': engrave.c:1154:12: warning: '__strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 1154 | (void) strncat(buf, ebuf, BUFSZ - (int) strlen(buf) - 1); | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o exper.o exper.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o explode.o explode.c explode.c: In function 'explode': explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), | ^~ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from explode.c:5: In function 'sprintf', inlined from 'explode' at explode.c:539:21: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o extralev.o extralev.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o files.o files.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fountain.o fountain.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o hack.o hack.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o hacklib.o hacklib.c hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~ hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from hacklib.c:7: In function 'sprintf', inlined from 'yyyymmddhhmmss' at hacklib.c:1031:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 15 and 67 bytes into a destination of size 15 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o invent.o invent.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o isaac64.o isaac64.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o light.o light.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lock.o lock.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mail.o mail.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o makemon.o makemon.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mapglyph.o mapglyph.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mcastu.o mcastu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mhitm.o mhitm.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mhitu.o mhitu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o minion.o minion.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mklev.o mklev.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mkmap.o mkmap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mkmaze.o mkmaze.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mkobj.o mkobj.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mkroom.o mkroom.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mon.o mon.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mondata.o mondata.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o monmove.o monmove.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mplayer.o mplayer.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mthrowu.o mthrowu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o muse.o muse.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o music.o music.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o o_init.o o_init.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o objnam.o objnam.c objnam.c: In function 'mshot_xname': objnam.c:76:12: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 76 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ In function 'strprepend', inlined from 'mshot_xname' at objnam.c:805:15: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ objnam.c: In function 'doname_base': objnam.c:76:12: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 76 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ In function 'strprepend', inlined from 'doname_base' at objnam.c:1286:10: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ objnam.c: In function 'aobjnam': objnam.c:76:12: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 76 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ In function 'strprepend', inlined from 'aobjnam' at objnam.c:1781:14: objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o options.o options.c options.c: In function 'option_help': options.c:6279:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from options.c:17: In function 'sprintf', inlined from 'option_help' at options.c:6279:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ options.c: In function 'doset': options.c:4692:28: warning: 'strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 4692 | (void) strncat(eos(buf), abuf, | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pager.o pager.c pager.c: In function 'checkfile.constprop.0': pager.c:652:16: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 652 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pickup.o pickup.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pline.o pline.c pline.c: In function 'vpline': pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] 129 | int vlen = 0; | ^~~~ pline.c: In function 'vconfig_error_add': pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] 598 | int vlen = 0; | ^~~~ pline.c: In function 'vpline': pline.c:162:16: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 162 | (void) strncpy(pbuf + BUFSZ - 1 - 6, "...", 3); | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o polyself.o polyself.c polyself.c: In function 'polyself': polyself.c:496:26: warning: array subscript -1 is below array bounds of 'struct mvitals[382]' [-Warray-bounds] 496 | if (!(mvitals[mntmp].mvflags & G_GENOD)) { | ~~~~~~~^~~~~~~ In file included from ../include/hack.h:170, from polyself.c:22: ../include/decl.h:274:3: note: while referencing 'mvitals' 274 | } mvitals[NUMMONS]; | ^~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o potion.o potion.c potion.c: In function 'potionhit': potion.c:1406:41: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from potion.c:6: In function 'sprintf', inlined from 'potionhit' at potion.c:1406:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ potion.c: In function 'potionhit': potion.c:1406:41: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In function 'sprintf', inlined from 'potionhit' at potion.c:1406:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pray.o pray.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o priest.o priest.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o quest.o quest.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o questpgr.o questpgr.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o read.o read.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rect.o rect.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o region.o region.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o restore.o restore.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rip.o rip.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rnd.o rnd.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o role.o role.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rumors.o rumors.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o save.o save.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o shk.o shk.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o shknam.o shknam.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o sit.o sit.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] 622 | verbl_msg = vampmsg[vampindex]; | ~~~~~~~^~~~~~~~~~~ sounds.c:592:38: note: while referencing 'vampmsg.4' 592 | static const char *const vampmsg[] = { | ^~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o sp_lev.o sp_lev.c In file included from ../include/hack.h:216, from sp_lev.c:12: In function 'create_monster', inlined from 'spo_monster' at sp_lev.c:3108:5: ../include/rm.h:659:44: warning: array subscript -1 is below array bounds of 'struct monst *[80][21]' [-Warray-bounds] 659 | #define remove_monster(x, y) level.monsters[x][y] = (struct monst *) 0 | ~~~~~~~~~~~~~~^~~ ../include/rm.h: In function 'spo_monster': ../include/rm.h:596:19: note: while referencing 'monsters' 596 | struct monst *monsters[COLNO][ROWNO]; | ^~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o spell.o spell.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o sys.o sys.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o steal.o steal.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o steed.o steed.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o teleport.o teleport.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o timeout.o timeout.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o topten.o topten.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o track.o track.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o trap.o trap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o u_init.o u_init.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o uhitm.o uhitm.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vault.o vault.c make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' ./makedefs -z make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vision.o vision.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o vis_tab.o vis_tab.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o weapon.o weapon.c weapon.c: In function 'enhance_weapon_skill': weapon.c:1261:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), | ^~ 1262 | sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from weapon.c:11: In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1261:25: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function 'enhance_weapon_skill': weapon.c:1258:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, | ^~ 1259 | P_NAME(i), sklnambuf); | ~~~~~~~~~ In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1258:25: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function 'enhance_weapon_skill': weapon.c:1253:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~ 1254 | sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [0, 65535] 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [-325120, 327680] In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1253:25: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function 'enhance_weapon_skill': weapon.c:1249:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~ 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [0, 65535] 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1249:38: note: directive argument in the range [-325120, 327680] In function 'sprintf', inlined from 'enhance_weapon_skill' at weapon.c:1249:25: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o were.o were.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o wield.o wield.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o windows.o windows.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o wizard.o wizard.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o worm.o worm.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o worn.o worn.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o write.o write.c write.c: In function 'dowrite': write.c:161:16: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 161 | (void) strncpy(bp, " armor ", 7); /* won't add '\0' */ | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o zap.o zap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o posixregex.o ../sys/share/posixregex.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ioctl.o ../sys/share/ioctl.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o unixmain.o ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'main': ../sys/unix/unixmain.c:244:20: warning: '__strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 244 | (void) strncat(strcat(plname, "-"), pl_character, | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o unixtty.o ../sys/share/unixtty.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o unixunix.o ../sys/unix/unixunix.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o unixres.o ../sys/unix/unixres.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o getline.o ../win/tty/getline.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o termcap.o ../win/tty/termcap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o topl.o ../win/tty/topl.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o wintty.o ../win/tty/wintty.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o Window.o ../win/X11/Window.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dialogs.o ../win/X11/dialogs.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o winX.o ../win/X11/winX.c ../win/X11/winX.c: In function 'init_standard_windows': ../win/X11/winX.c:2575:46: warning: passing argument 2 of 'XtAppSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] 2575 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../win/X11/winX.c:19: /usr/include/X11/Intrinsic.h:1771:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)(char *)' 1771 | XtErrorHandler /* handler */ _X_NORETURN | ^ ../win/X11/winX.c: In function 'X11_init_nhwindows': ../win/X11/winX.c:1508:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1508 | (void) seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c:1569:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1569 | (void) seteuid(savuid); | ^~~~~~~~~~~~~~~ ../win/X11/winX.c: In function 'done_button': ../win/X11/winX.c:1834:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1834 | (void) strncpy(getline_input, s, len); | ^ ../win/X11/winX.c:1828:11: note: length computed here 1828 | len = strlen(s); | ^~~~~~~~~ ../win/X11/winX.c: In function 'askname_done': ../win/X11/winX.c:1756:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1756 | (void) strncpy(plname, s, len); | ^ ../win/X11/winX.c:1746:11: note: length computed here 1746 | len = strlen(s); | ^~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o winmap.o ../win/X11/winmap.c ../win/X11/winmap.c: In function 'map_update': ../win/X11/winmap.c:1243:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] 1243 | int win_start_row, win_start_col; | ^~~~~~~~~~~~~ ../win/X11/winmap.c:1243:9: warning: variable 'win_start_row' set but not used [-Wunused-but-set-variable] 1243 | int win_start_row, win_start_col; | ^~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o winmenu.o ../win/X11/winmenu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o winmesg.o ../win/X11/winmesg.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o winmisc.o ../win/X11/winmisc.c ../win/X11/winmisc.c: In function 'X11_player_selection_randomize': ../win/X11/winmisc.c:504:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] 504 | boolean fully_specified_role, choose_race_first; | ^~~~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o winstat.o ../win/X11/winstat.c ../win/X11/winstat.c: In function 'X11_status_update_tty': ../win/X11/winstat.c:314:20: warning: variable 'oncearound' set but not used [-Wunused-but-set-variable] 314 | static boolean oncearound = FALSE; /* prevent premature partial display */ | ^~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o wintext.o ../win/X11/wintext.c ../win/X11/wintext.c: In function 'calculate_rip_text': ../win/X11/wintext.c:496:35: warning: '%s' directive writing up to 31 bytes into a region of size 17 [-Wformat-overflow=] 496 | Sprintf(rip_line[NAME_LINE], "%s", plname); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:906, from ../include/global.h:9, from ../include/config.h:581, from ../include/hack.h:10, from ../win/X11/wintext.c:31: In function 'sprintf', inlined from 'calculate_rip_text' at ../win/X11/wintext.c:496:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 32 bytes into a destination of size 17 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o winval.o ../win/X11/winval.c make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ../win/share/tilemap.c gcc -L/usr/X11R6/lib64 -o tilemap tilemap.o ./tilemap make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tile.o tile.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cursmain.o ../win/curses/cursmain.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o curswins.o ../win/curses/curswins.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cursmisc.o ../win/curses/cursmisc.c ../win/curses/cursmisc.c: In function 'curses_mouse_support': ../win/curses/cursmisc.c:1035:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1035 | mmask_t result, oldmask, newmask; | ^~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cursdial.o ../win/curses/cursdial.c ../win/curses/cursdial.c: In function 'curses_ext_cmd': ../win/curses/cursdial.c:385:24: warning: variable 'h' set but not used [-Wunused-but-set-variable] 385 | int x0, y0, w, h; /* bounding coords of popup */ | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cursstat.o ../win/curses/cursstat.c ../win/curses/cursstat.c: In function 'draw_status': ../win/curses/cursstat.c:219:13: warning: variable 'ax' set but not used [-Wunused-but-set-variable] 219 | int ax = 0, ay = 0; | ^~ ../win/curses/cursstat.c: In function 'draw_horizontal': ../win/curses/cursstat.c:302:24: warning: variable 'conddummy' set but not used [-Wunused-but-set-variable] 302 | condstart = 0, conddummy = 0; | ^~~~~~~~~ ../win/curses/cursstat.c:301:52: warning: variable 'ey' set but not used [-Wunused-but-set-variable] 301 | height, width, w, xtra, clen, x, y, t, ex, ey, | ^~ ../win/curses/cursstat.c: In function 'curs_HPbar': ../win/curses/cursstat.c:925:12: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 925 | (void) strncpy(bar, text, bar_len); | ^ ../win/curses/cursstat.c:923:30: note: length computed here 923 | if (bar_len > (k = (int) strlen(text))) /* 26 for vertical status */ | ^~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cursinit.o ../win/curses/cursinit.c ../win/curses/cursinit.c: In function 'curses_choose_character': ../win/curses/cursinit.c:455:26: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 455 | sprintf(choice, "%s%c", tmpchoice, '\033'); | ^ In file included from /usr/include/stdio.h:906, from /usr/include/curses.h:232, from ../win/curses/cursinit.c:6: In function 'sprintf', inlined from 'curses_choose_character' at ../win/curses/cursinit.c:455:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 129 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cursmesg.o ../win/curses/cursmesg.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o cursinvt.o ../win/curses/cursinvt.c /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' ../util/makedefs -v gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o version.o version.c Linking nethack. gcc -L/usr/X11R6/lib64 -o nethack monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o isaac64.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o sys.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o posixregex.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o Window.o dialogs.o winX.o winmap.o winmenu.o winmesg.o winmisc.o winstat.o wintext.o winval.o tile.o 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 dogmove.c: In function 'droppables': dogmove.c:120:1: warning: function may return address of local variable [-Wreturn-local-addr] 120 | } | ^ dogmove.c:29:28: note: declared here 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; | ^ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here nethack is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' ( cd util ; make recover ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6/util' ( cd doc ; make Guidebook ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/doc' tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook /bin/sh: line 1: tbl: command not found /bin/sh: line 1: nroff: command not found make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/doc' ( cd dat ; make bogusmon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/makedefs -s make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make data ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/makedefs -d make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make engrave ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make epitaph ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/makedefs -h make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make options ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/makedefs -q make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/makedefs -r make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd util ; make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' cp ../win/share/tile.h ../include/tile.h gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ../win/X11/tile2x11.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ../win/share/tiletext.c echo '#define TILETEXT' >> tiletxt.c echo '#include "../win/share/tilemap.c"' >> tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6/util' ( cd dat ; make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ ../win/share/other.txt \ -grayscale ../win/share/monsters.txt ../win/share/monsters.txt: 394 tiles ../win/share/objects.txt: 456 tiles ../win/share/other.txt: 232 tiles ../win/share/monsters.txt: 394 tiles Total tiles: 1476 make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make NetHack.ad ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' grep ^#define ../win/X11/NetHack.ad | \ sed -e 's/^#define/s/g' -e 's/ */ /g' \ -e 's/$/ g/g' > NetHack.ad.tmp grep -v ^#define ../win/X11/NetHack.ad | \ sed -f NetHack.ad.tmp > NetHack.ad rm -f NetHack.ad.tmp make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make pilemark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' cp ../win/X11/pilemark.xbm pilemark.xbm make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make rip.xpm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' cp ../win/X11/rip.xpm rip.xpm make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/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.6/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dgn_yacc.o dgn_yacc.c flex dgn_comp.l sed -e 's#"lex.yy.c"#"dgn_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > dgn_lex.c \ && rm lex.yy.c gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c egrep: warning: egrep is obsolescent; using grep -E gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' bison -y -d lev_comp.y sed -e 's#"y.tab.c"#"lev_yacc.c"#' -e 's#y.tab.c:#lev_yacc.c:#' y.tab.c > lev_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"lev_comp.h"#' y.tab.h > ../include/lev_comp.h \ && rm y.tab.h gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lev_yacc.o lev_yacc.c flex lev_comp.l sed -e 's#"lex.yy.c"#"lev_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > lev_lex.c \ && rm lex.yy.c gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c egrep: warning: egrep is obsolescent; using grep -E make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.6/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' egrep: warning: egrep is obsolescent; using grep -E color, data file compression, data librarian, insurance files for make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6' ( cd util ; make dlb ) make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' make[3]: '../include/date.h' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c dlb_main.c gcc -L/usr/X11R6/lib64 -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o ../src/dlb.c:49:14: warning: type of 'fopen_datafile' does not match original declaration [-Wlto-type-mismatch] 49 | extern FILE *FDECL(fopen_datafile, (const char *, const char *, int)); | ^ dlb_main.c:146:1: note: type mismatch in parameter 3 146 | fopen_datafile(filename, mode) | ^ dlb_main.c:146:1: note: type 'void' should match type 'int' dlb_main.c:146:1: note: 'fopen_datafile' was previously declared here make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6' true; Done. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HZlSJZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nethack-3.6.6 + rm -rf /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 HACKDIR=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack GAMEDIR=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack VARDIR=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack SHELLDIR=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin CHOWN=/bin/true CHGRP=/bin/true ( cd src ; /usr/bin/make ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' nethack is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' ( cd util ; /usr/bin/make recover ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' ( cd dat ; /usr/bin/make bogusmon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'bogusmon' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make data ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'data' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make engrave ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make epitaph ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make oracles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'oracles' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make options ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'quest.dat' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make rumors ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'rumors' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd util ; /usr/bin/make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' make[1]: 'tile2x11' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' ( cd dat ; /usr/bin/make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'x11tiles' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make NetHack.ad ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'NetHack.ad' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'pet_mark.xbm' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make pilemark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'pilemark.xbm' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make rip.xpm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'rip.xpm' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd util ; /usr/bin/make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' ( cd dat ; /usr/bin/make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'dungeon' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd util ; /usr/bin/make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' ( cd dat ; /usr/bin/make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' ( cd dat ; /usr/bin/make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' true; if test -n '/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin'; then \ mkdir -p /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin; fi rm -rf /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack mkdir -p /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/save if test -d ./-p; then rmdir ./-p; fi /bin/true /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/save /bin/true /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/save chmod 0755 /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack chmod 0755 /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/save ( /usr/bin/make dofiles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.6' 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.6' ( cd src ; /usr/bin/make ) make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' nethack is up to date. make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' ( cd dat ; /usr/bin/make options ) make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/dat' egrep: warning: egrep is obsolescent; using grep -E color, data file compression, data librarian, insurance files for make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.6' ( cd util ; /usr/bin/make dlb ) make[4]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/util' make[5]: Entering directory '/builddir/build/BUILD/nethack-3.6.6/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/src' make[4]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/util' ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6' ( cd dat ; cp nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack ) ( cd /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack ; /bin/true nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ; \ /bin/true nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ; \ chmod 0644 nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols ) make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6' cp src/nethack /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack cp util/recover /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack if test -n '/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin'; then rm -f /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin/nethack; fi if test -n '/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin'; then \ sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack;' \ -e 's;HACKDIR/nethack;HACKDIR/nethack;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin/nethack ; fi ( cd /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack ; /bin/true nethack recover ; \ /bin/true nethack recover ) chmod 02755 /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/nethack chmod 0755 /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/recover if test -n '/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin/nethack; fi if test -n '/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin'; then \ /bin/true /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin/nethack; \ chmod 0755 /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/bin/nethack; fi make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.6' touch /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/perm /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/record /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/logfile /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack/xlogfile ( cd /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/var/games/nethack ; /bin/true perm record logfile xlogfile ; \ /bin/true perm record logfile xlogfile ; \ chmod 0600 perm record logfile xlogfile ) true; cp -n sys/unix/sysconf /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/sysconf; chmod 0600 /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/sysconf; You may also want to reinstall the man pages via the doc Makefile. + install -d -m 0755 /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6 manpages make: Entering directory '/builddir/build/BUILD/nethack-3.6.6/doc' cat nethack.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6/nethack.6 cat lev_comp.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6/lev_comp.6 cat dgn_comp.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6/dgn_comp.6 cat recover.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6/recover.6 cat dlb.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6/dlb.6 cat makedefs.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/man/man6/makedefs.6 make: Leaving directory '/builddir/build/BUILD/nethack-3.6.6/doc' + install -D -p -m 0644 win/X11/nh_icon.xpm /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/pixmaps/nethack.xpm + desktop-file-install --dir /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/applications --add-category Game --add-category RolePlaying /builddir/build/SOURCES/nethack.desktop /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/applications/nethack.desktop: error: (will be fatal in the future): value "nethack.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + cd win/X11 + bdftopcf -o nh10.pcf nh10.bdf + bdftopcf -o ibm.pcf ibm.bdf + install -m 0755 -d /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/fonts/nethack-bitmap + install -m 0644 -p ibm.pcf nh10.pcf /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/fonts/nethack-bitmap + /usr/bin/sed -i -e 's:^!\(NetHack.tile_file.*\):\1:' /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/NetHack.ad + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.6.6-9.fc38 --unique-debug-suffix -3.6.6-9.fc38.x86_64 --unique-debug-src-base nethack-3.6.6-9.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/nethack-3.6.6 extracting debug info from /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/nethack extracting debug info from /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/games/nethack/recover original debug info size: 10000kB, size after compression: 7944kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 15561 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/nethack from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: nethack-3.6.6-9.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wfUutA + umask 022 + cd /builddir/build/BUILD + cd nethack-3.6.6 + DOCDIR=/builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + 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/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + cp -pr README /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + cp -pr dat/license /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + cp -pr dat/history /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + cp -pr dat/opthelp /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + cp -pr dat/wizhelp /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64/usr/share/doc/nethack + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/games/nethack/NetHack.ad warning: File listed twice: /usr/games/nethack/license warning: File listed twice: /usr/games/nethack/nethack 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/e2/a22ad48c4901e0facabcee6a6800fa3dcc18fa warning: File listed twice: /usr/lib/.build-id/f2/ff9bf7e640ad3267c7f56e0eb6905f0323f3ad Provides: application() application(nethack.desktop) config(nethack) = 3.6.6-9.fc38 nethack = 3.6.6-9.fc38 nethack(x86-64) = 3.6.6-9.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libX11.so.6()(64bit) libXaw.so.7()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: nethack-bitmap-fonts-3.6.6-9.fc38.noarch Provides: font(fixed) nethack-bitmap-fonts = 3.6.6-9.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nethack-bitmap-fonts-core-3.6.6-9.fc38.noarch Processing files: nethack-debugsource-3.6.6-9.fc38.x86_64 Provides: nethack-debugsource = 3.6.6-9.fc38 nethack-debugsource(x86-64) = 3.6.6-9.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nethack-debuginfo-3.6.6-9.fc38.x86_64 Provides: debuginfo(build-id) = e2a22ad48c4901e0facabcee6a6800fa3dcc18fa debuginfo(build-id) = f2ff9bf7e640ad3267c7f56e0eb6905f0323f3ad nethack-debuginfo = 3.6.6-9.fc38 nethack-debuginfo(x86-64) = 3.6.6-9.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nethack-debugsource(x86-64) = 3.6.6-9.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 Wrote: /builddir/build/RPMS/nethack-debuginfo-3.6.6-9.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/nethack-3.6.6-9.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/nethack-bitmap-fonts-3.6.6-9.fc38.noarch.rpm Wrote: /builddir/build/RPMS/nethack-bitmap-fonts-core-3.6.6-9.fc38.noarch.rpm Wrote: /builddir/build/RPMS/nethack-debugsource-3.6.6-9.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5jlEW6 + umask 022 + cd /builddir/build/BUILD + cd nethack-3.6.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nethack-3.6.6-9.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.rJoIBU + umask 022 + cd /builddir/build/BUILD + rm -rf nethack-3.6.6 nethack-3.6.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! File listed twice: /usr/games/nethack/NetHack.ad File listed twice: /usr/games/nethack/license File listed twice: /usr/games/nethack/nethack File listed twice: /usr/games/nethack/nhdat File listed twice: /usr/games/nethack/pet_mark.xbm File listed twice: /usr/games/nethack/pilemark.xbm File listed twice: /usr/games/nethack/recover File listed twice: /usr/games/nethack/rip.xpm File listed twice: /usr/games/nethack/symbols File listed twice: /usr/games/nethack/sysconf File listed twice: /usr/games/nethack/x11tiles File listed twice: /usr/lib/.build-id/e2/a22ad48c4901e0facabcee6a6800fa3dcc18fa File listed twice: /usr/lib/.build-id/f2/ff9bf7e640ad3267c7f56e0eb6905f0323f3ad Child return code was: 0