Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nethack.spec'], chrootPath='/var/lib/mock/f41-build-843592-162047/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/nethack-3.6.7-5.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nethack.spec'], chrootPath='/var/lib/mock/f41-build-843592-162047/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 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! setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Y0wk8V + umask 022 + cd /builddir/build/BUILD/nethack-3.6.7-build + test -d /builddir/build/BUILD/nethack-3.6.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/nethack-3.6.7-build + /usr/bin/rm -rf /builddir/build/BUILD/nethack-3.6.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/nethack-3.6.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/nethack-3.6.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.unzwgq + umask 022 + cd /builddir/build/BUILD/nethack-3.6.7-build + cd /builddir/build/BUILD/nethack-3.6.7-build + rm -rf nethack-3.6.7 + /usr/bin/mkdir -p nethack-3.6.7 + cd nethack-3.6.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nethack-367-src.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd NetHack-3.6.7 + mv DEVEL Files Porting README dat doc include src sys util win .. + cd .. + rm -rf NetHack-3.6.7 + echo 'Patch #0 (nethack-3.6.7-makefile.patch):' Patch #0 (nethack-3.6.7-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .makefile --fuzz=0 patching file sys/unix/Makefile.src patching file sys/unix/Makefile.utl Patch #1 (nethack-3.6.7-top.patch): + echo 'Patch #1 (nethack-3.6.7-top.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sys/unix/Makefile.top Patch #2 (nethack-3.6.7-config.patch): + echo 'Patch #2 (nethack-3.6.7-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .config --fuzz=0 patching file include/config.h patching file include/unixconf.h Patch #3 (nethack-3.6.7-guidebook.patch): + echo 'Patch #3 (nethack-3.6.7-guidebook.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .guidebook --fuzz=0 patching file sys/unix/Makefile.doc Patch #4 (hackdir.patch): + echo 'Patch #4 (hackdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file include/config.h + echo 'Patch #5 (nethack-3.6.7-xpm.patch):' Patch #5 (nethack-3.6.7-xpm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .xpm --fuzz=0 patching file include/config.h + /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.2qkjcH + umask 022 + cd /builddir/build/BUILD/nethack-3.6.7-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nethack-3.6.7 + make all ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' touch ../src/config.h-t gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c monst.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c objects.c make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o makedefs.o makedefs.c makedefs.c: In function ‘do_qt_control’: makedefs.c:2472:5: warning: ‘__builtin_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.7-build/nethack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ./makedefs -o make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ./makedefs -p make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' touch ../src/hack.h-t gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o allmain.o allmain.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o alloc.o alloc.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o apply.o apply.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o artifact.o artifact.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o attrib.o attrib.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ball.o ball.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o bones.o bones.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:970, 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: ‘__builtin___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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o cmd.o cmd.c cmd.c: In function ‘attributes_enlightenment’: cmd.c:2727:20: warning: ‘__builtin_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:970, 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: ‘__builtin___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: ‘__builtin___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 ‘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 ‘background_enlightenment’ at cmd.c:1863:9, inlined from ‘enlightenment’ at cmd.c:1795:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dbridge.o dbridge.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o decl.o decl.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o detect.o detect.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dig.o dig.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o display.o display.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dlb.o dlb.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o do.o do.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o do_name.o do_name.c do_name.c: In function ‘getpos_menu’: do_name.c:605:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 605 | Sprintf(fullbuf, "%s%s%s", firstmatch, | ^ In file included from /usr/include/stdio.h:970, 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:605:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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:191:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 191 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In function ‘sprintf’, inlined from ‘getpos_help’ at do_name.c:191:9, inlined from ‘getpos’ at do_name.c:788:17: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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:191:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 191 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); | ^~ ~~~~ In function ‘sprintf’, inlined from ‘getpos_help’ at do_name.c:191:9, inlined from ‘getpos’ at do_name.c:788:17: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o do_wear.o do_wear.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dog.o dog.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dokick.o dokick.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dothrow.o dothrow.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o drawing.o drawing.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dungeon.o dungeon.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o eat.o eat.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o end.o end.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o engrave.o engrave.c engrave.c: In function ‘doengrave’: engrave.c:1154:12: warning: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o exper.o exper.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:970, 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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o extralev.o extralev.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o files.o files.c files.c: In function ‘save_savefile_name’: files.c:982:12: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 982 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function ‘docompress_file’: files.c:1400:16: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1400 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ files.c:1401:16: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1401 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o fountain.o fountain.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o hack.o hack.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:970, 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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o invent.o invent.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o isaac64.o isaac64.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o light.o light.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lock.o lock.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mail.o mail.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o makemon.o makemon.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mapglyph.o mapglyph.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mcastu.o mcastu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mhitm.o mhitm.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mhitu.o mhitu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o minion.o minion.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mklev.o mklev.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mkmap.o mkmap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mkmaze.o mkmaze.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mkobj.o mkobj.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mkroom.o mkroom.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mon.o mon.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mondata.o mondata.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o monmove.o monmove.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mplayer.o mplayer.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mthrowu.o mthrowu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o muse.o muse.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o music.o music.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o o_init.o o_init.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o objnam.o objnam.c objnam.c: In function ‘strprepend’: objnam.c:77:12: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 77 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ objnam.c:70:28: note: length computed here 70 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o options.o options.c options.c: In function ‘option_help’: options.c:6287:28: warning: ‘ - ’ directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 6287 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:970, 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:6287:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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: ‘__builtin_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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o pager.o pager.c pager.c: In function ‘checkfile.constprop’: pager.c:659:16: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 659 | (void) strncpy(dbase_str += 2, "wet", 3); /* skip "mo" replace "ist" */ | ^ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o pickup.o pickup.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: ‘__builtin_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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o potion.o potion.c potion.c: In function ‘potionhit’: potion.c:1406:41: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In file included from /usr/include/stdio.h:970, 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: ‘__builtin___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: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); | ^ In function ‘sprintf’, inlined from ‘potionhit’ at potion.c:1406:13: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o pray.o pray.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o priest.o priest.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o quest.o quest.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o questpgr.o questpgr.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o read.o read.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o rect.o rect.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o region.o region.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o restore.o restore.c restore.c: In function ‘get_plname_from_file’: restore.c:1214:12: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1214 | (void) read(fd, (genericptr_t) &pltmpsiz, sizeof(pltmpsiz)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ restore.c:1215:12: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1215 | (void) read(fd, (genericptr_t) plbuf, pltmpsiz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o rip.o rip.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o rnd.o rnd.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o role.o role.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o rumors.o rumors.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o save.o save.c save.c: In function ‘savestateinlock’: save.c:401:16: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 401 | (void) read(fd, (genericptr_t) &hpid, sizeof hpid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:418:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 418 | (void) write(fd, (genericptr_t) &hackpid, sizeof hackpid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:422:20: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 422 | (void) write(fd, (genericptr_t) &currlev, sizeof currlev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o shk.o shk.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o shknam.o shknam.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sit.o sit.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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’ 592 | static const char *const vampmsg[] = { | ^~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sp_lev.o sp_lev.c sp_lev.c: In function ‘sel_set_ter’: sp_lev.c:4257:13: warning: array subscript -1 is below array bounds of ‘struct rm[80][21]’ [-Warray-bounds=] 4257 | if (levl[x][y].typ == SDOOR || IS_DOOR(levl[x][y].typ)) { In file included from ../include/hack.h:216, from sp_lev.c:12: ../include/rm.h:593:15: note: while referencing ‘locations’ 593 | struct rm locations[COLNO][ROWNO]; | ^~~~~~~~~ sp_lev.c:4259:17: warning: array subscript -1 is below array bounds of ‘struct rm[80][21]’ [-Warray-bounds=] 4259 | levl[x][y].doormask = D_CLOSED; ../include/rm.h:593:15: note: while referencing ‘locations’ 593 | struct rm locations[COLNO][ROWNO]; | ^~~~~~~~~ sp_lev.c:4257:13: warning: array subscript 80 is above array bounds of ‘struct rm[80][21]’ [-Warray-bounds=] 4257 | if (levl[x][y].typ == SDOOR || IS_DOOR(levl[x][y].typ)) { ../include/rm.h:593:15: note: while referencing ‘locations’ 593 | struct rm locations[COLNO][ROWNO]; | ^~~~~~~~~ sp_lev.c:4259:17: warning: array subscript 80 is above array bounds of ‘struct rm[80][21]’ [-Warray-bounds=] 4259 | levl[x][y].doormask = D_CLOSED; ../include/rm.h:593:15: note: while referencing ‘locations’ 593 | struct rm locations[COLNO][ROWNO]; | ^~~~~~~~~ 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 | ~~~~~~~~~~~~~~^~~ sp_lev.c:1705:25: note: in expansion of macro ‘remove_monster’ 1705 | remove_monster(x, y); | ^~~~~~~~~~~~~~ ../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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o spell.o spell.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sys.o sys.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o steal.o steal.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o steed.o steed.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o teleport.o teleport.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o timeout.o timeout.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o topten.o topten.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o track.o track.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o trap.o trap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o u_init.o u_init.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o uhitm.o uhitm.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o vault.o vault.c make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ./makedefs -z make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o vision.o vision.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o vis_tab.o vis_tab.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o weapon.o weapon.c weapon.c: In function ‘enhance_weapon_skill’: weapon.c:1265:47: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 237 and 253 [-Wformat-overflow=] 1265 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), | ^~ 1266 | sklnambuf); | ~~~~~~~~~ In file included from /usr/include/stdio.h:970, 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:1265:25: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 276) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ weapon.c: In function ‘enhance_weapon_skill’: weapon.c:1262:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 236 and 252 [-Wformat-overflow=] 1262 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, | ^~ 1263 | P_NAME(i), sklnambuf); | ~~~~~~~~~ In function ‘sprintf’, inlined from ‘enhance_weapon_skill’ at weapon.c:1262:25: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 6 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:1257:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 238 and 254 [-Wformat-overflow=] 1257 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~ 1258 | sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1257:38: note: directive argument in the range [0, 65535] 1257 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), | ^~~~~~~~~~~~~~~~~~~~~ weapon.c:1257:38: note: directive argument in the range [20, 327680] In function ‘sprintf’, inlined from ‘enhance_weapon_skill’ at weapon.c:1257:25: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 15 or more bytes (assuming 288) 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:47: warning: ‘%-12s’ directive writing between 12 and 255 bytes into a region of size between 238 and 254 [-Wformat-overflow=] 1253 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~ 1254 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), | ~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [0, 65535] 1253 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, | ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1253:38: note: directive argument in the range [20, 327680] In function ‘sprintf’, inlined from ‘enhance_weapon_skill’ at weapon.c:1253:25: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 27 or more bytes (assuming 288) 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o were.o were.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o wield.o wield.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o windows.o windows.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o wizard.o wizard.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o worm.o worm.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o worn.o worn.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o write.o write.c write.c: In function ‘dowrite’: write.c:161:16: warning: ‘__builtin_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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o zap.o zap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o posixregex.o ../sys/share/posixregex.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ioctl.o ../sys/share/ioctl.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o unixmain.o ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function ‘sys_random_seed’: ../sys/unix/unixmain.c:789:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 789 | fread(&seed, sizeof (long), 1, fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c: In function ‘main’: ../sys/unix/unixmain.c:244:20: warning: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o unixtty.o ../sys/share/unixtty.c ../sys/share/unixtty.c: In function ‘linux_mapon’: ../sys/share/unixtty.c:426:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 426 | write(1, "\033(B", 3); | ^~~~~~~~~~~~~~~~~~~~~ ../sys/share/unixtty.c: In function ‘linux_mapoff’: ../sys/share/unixtty.c:436:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 436 | write(1, "\033(U", 3); | ^~~~~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o unixunix.o ../sys/unix/unixunix.c ../sys/unix/unixunix.c: In function ‘child’: ../sys/unix/unixunix.c:307:16: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 307 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:308:16: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 308 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:310:16: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 310 | (void) chdir(getenv("HOME")); | ^~~~~~~~~~~~~~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o unixres.o ../sys/unix/unixres.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o getline.o ../win/tty/getline.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o termcap.o ../win/tty/termcap.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o topl.o ../win/tty/topl.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o wintty.o ../win/tty/wintty.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Window.o ../win/X11/Window.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dialogs.o ../win/X11/dialogs.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o winX.o ../win/X11/winX.c ../win/X11/winX.c: In function ‘X11_init_nhwindows’: ../win/X11/winX.c:1544:12: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1544 | (void) seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ ../win/X11/winX.c:1605:12: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1605 | (void) seteuid(savuid); | ^~~~~~~~~~~~~~~ ../win/X11/winX.c: In function ‘done_button’: ../win/X11/winX.c:1870:12: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1870 | (void) strncpy(getline_input, s, len); | ^ ../win/X11/winX.c:1864:11: note: length computed here 1864 | len = strlen(s); | ^~~~~~~~~ ../win/X11/winX.c: In function ‘askname_done’: ../win/X11/winX.c:1792:12: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1792 | (void) strncpy(plname, s, len); | ^ ../win/X11/winX.c:1782:11: note: length computed here 1782 | len = strlen(s); | ^~~~~~~~~ gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o winmenu.o ../win/X11/winmenu.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o winmesg.o ../win/X11/winmesg.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:970, 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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o winval.o ../win/X11/winval.c make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.7-build/nethack-3.6.7/util' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tile.o tile.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o cursmain.o ../win/curses/cursmain.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o curswins.o ../win/curses/curswins.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o cursinit.o ../win/curses/cursinit.c ../win/curses/cursinit.c: In function ‘curses_choose_character’: ../win/curses/cursinit.c:455:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 455 | sprintf(choice, "%s%c", tmpchoice, '\033'); | ^ In file included from /usr/include/stdio.h:970, from /usr/include/curses.h:246, 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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o cursmesg.o ../win/curses/cursmesg.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 nethack is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' ( cd util ; make recover ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o recover.o recover.c gcc -L/usr/X11R6/lib64 -o recover recover.o make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd doc ; make Guidebook ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/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.7-build/nethack-3.6.7/doc' ( cd dat ; make bogusmon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/makedefs -s make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make data ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/makedefs -d make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make engrave ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make epitaph ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/makedefs -h make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make options ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/makedefs -q make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/makedefs -r make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd util ; make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' cp ../win/share/tile.h ../include/tile.h gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ../win/X11/tile2x11.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ../win/share/tiletext.c echo '#define TILETEXT' >> tiletxt.c echo '#include "../win/share/tilemap.c"' >> tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c tiletxt.c gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o panic.o panic.c gcc -L/usr/X11R6/lib64 -o tile2x11 tile2x11.o tiletext.o tiletxt.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ ../win/share/other.txt \ -grayscale ../win/share/monsters.txt ../win/share/monsters.txt: 394 tiles ../win/share/objects.txt: 456 tiles ../win/share/other.txt: 232 tiles ../win/share/monsters.txt: 394 tiles Total tiles: 1476 make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make NetHack.ad ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/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.7-build/nethack-3.6.7/dat' ( cd dat ; make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make pilemark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' cp ../win/X11/pilemark.xbm pilemark.xbm make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make rip.xpm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' cp ../win/X11/rip.xpm rip.xpm make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' bison -y -d dgn_comp.y sed -e 's#"y.tab.c"#"dgn_yacc.c"#' -e 's#y.tab.c:#dgn_yacc.c:#' y.tab.c > dgn_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"dgn_comp.h"#' y.tab.h > ../include/dgn_comp.h \ && rm y.tab.h make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dgn_yacc.o dgn_yacc.c flex dgn_comp.l sed -e 's#"lex.yy.c"#"dgn_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > dgn_lex.c \ && rm lex.yy.c gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWEIRD_LEX=`egrep -c _cplusplus dgn_lex.c` dgn_lex.c egrep: warning: egrep is obsolescent; using grep -E gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dgn_main.o dgn_main.c gcc -L/usr/X11R6/lib64 -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' bison -y -d lev_comp.y sed -e 's#"y.tab.c"#"lev_yacc.c"#' -e 's#y.tab.c:#lev_yacc.c:#' y.tab.c > lev_yacc.c \ && rm y.tab.c sed -e 's#"y.tab.h"#"lev_comp.h"#' y.tab.h > ../include/lev_comp.h \ && rm y.tab.h gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lev_yacc.o lev_yacc.c flex lev_comp.l sed -e 's#"lex.yy.c"#"lev_lex.c"#' -e 's# *$##' \ -e 's#static void yyunput#void yyunput#' lex.yy.c > lev_lex.c \ && rm lex.yy.c gcc -c -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWEIRD_LEX=`egrep -c _cplusplus lev_lex.c` lev_lex.c egrep: warning: egrep is obsolescent; using grep -E make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lev_main.o lev_main.c gcc -L/usr/X11R6/lib64 -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/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.7-build/nethack-3.6.7' ( cd util ; make dlb ) make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[3]: '../include/date.h' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' gcc -D__clang_minor__ -O2 -fomit-frame-pointer -I../include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c dlb_main.c gcc -L/usr/X11R6/lib64 -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7' true; Done. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OR71LX + umask 022 + cd /builddir/build/BUILD/nethack-3.6.7-build + '[' /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT ++ dirname /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT + mkdir -p /builddir/build/BUILD/nethack-3.6.7-build + mkdir /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nethack-3.6.7 + rm -rf /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT + /usr/bin/make install DESTDIR=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT HACKDIR=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack GAMEDIR=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack VARDIR=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack SHELLDIR=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin CHOWN=/bin/true CHGRP=/bin/true ( cd src ; /usr/bin/make ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' nethack is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' ( cd util ; /usr/bin/make recover ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; /usr/bin/make bogusmon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'bogusmon' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make data ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'data' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make engrave ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'engrave' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make epitaph ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'epitaph' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make oracles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'oracles' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make options ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make quest.dat ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'quest.dat' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make rumors ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'rumors' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd util ; /usr/bin/make tile2x11 ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[1]: 'tile2x11' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; /usr/bin/make x11tiles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'x11tiles' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make NetHack.ad ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'NetHack.ad' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make pet_mark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'pet_mark.xbm' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make pilemark.xbm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'pilemark.xbm' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make rip.xpm ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'rip.xpm' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd util ; /usr/bin/make dgn_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; /usr/bin/make dungeon ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'dungeon' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd util ; /usr/bin/make lev_comp ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; /usr/bin/make spec_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'spec_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' ( cd dat ; /usr/bin/make quest_levs ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[1]: 'quest_levs' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' true; if test -n '/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ mkdir -p /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin; fi rm -rf /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack mkdir -p /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save if test -d ./-p; then rmdir ./-p; fi /bin/true /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save /bin/true /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save chmod 0755 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack chmod 0755 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/save ( /usr/bin/make dofiles ) make[1]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7' target=`sed -n \ -e '/librarian/{' \ -e 's/.*/dlb/p' \ -e 'q' \ -e '}' \ -e '$s/.*/nodlb/p' < dat/options` ; \ /usr/bin/make dofiles-${target-nodlb} make[2]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7' ( cd src ; /usr/bin/make ) make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' nethack is up to date. make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' ( cd dat ; /usr/bin/make options ) make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' make[3]: 'options' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat' egrep: warning: egrep is obsolescent; using grep -E color, data file compression, data librarian, insurance files for make[3]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7' ( cd util ; /usr/bin/make dlb ) make[4]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' make[5]: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[5]: '../include/date.h' is up to date. make[5]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/src' make[4]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/util' ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute asmodeus.lev baalz.lev bigrm-*.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev bogusmon data engrave epitaph oracles options quest.dat rumors ) make[3]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7' ( cd dat ; cp nhdat x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm license symbols /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack ) ( cd /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/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.7-build/nethack-3.6.7' cp src/nethack /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack cp util/recover /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack if test -n '/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then rm -f /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; fi if test -n '/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ sed -e 's;/usr/games/lib/nethackdir;/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack;' \ -e 's;HACKDIR/nethack;HACKDIR/nethack;' \ < sys/unix/nethack.sh \ > /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack ; fi ( cd /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack ; /bin/true nethack recover ; \ /bin/true nethack recover ) chmod 02755 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/nethack chmod 0755 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/recover if test -n '/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ /bin/true /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; fi if test -n '/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin'; then \ /bin/true /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; \ chmod 0755 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/bin/nethack; fi make[1]: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7' touch /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/perm /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/record /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/logfile /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/var/games/nethack/xlogfile ( cd /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/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/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; /bin/true /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; chmod 0600 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/sysconf; You may also want to reinstall the man pages via the doc Makefile. + install -d -m 0755 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6 + make -C doc MANDIR=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6 manpages make: Entering directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc' cat nethack.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/nethack.6 cat lev_comp.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/lev_comp.6 cat dgn_comp.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/dgn_comp.6 cat recover.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/recover.6 cat dlb.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/dlb.6 cat makedefs.6 | ../util/makedefs --grep --input - --output - > /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/man/man6/makedefs.6 make: Leaving directory '/builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc' + install -D -p -m 0644 win/X11/nh_icon.xpm /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/pixmaps/nethack.xpm + desktop-file-install --dir /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/applications --add-category Game --add-category RolePlaying /builddir/build/SOURCES/nethack.desktop /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/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/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/fonts/nethack-bitmap + install -m 0644 -p ibm.pcf nh10.pcf /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/fonts/nethack-bitmap + /usr/bin/sed -i -e 's:^!\(NetHack.tile_file.*\):\1:' /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/games/nethack/NetHack.ad + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.6.7-5.fc41 --unique-debug-suffix -3.6.7-5.fc41.riscv64 --unique-debug-src-base nethack-3.6.7-5.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/nethack-3.6.7-5.fc41.riscv64 15572 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT Scanned 35 directories and 223 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/nethack-3.6.7-build/SPECPARTS/rpm-debuginfo.specpart Processing files: nethack-3.6.7-5.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rhtFwT + umask 022 + cd /builddir/build/BUILD/nethack-3.6.7-build + cd nethack-3.6.7 + DOCDIR=/builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/Guidebook.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/dgn_comp.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/dlb.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/lev_comp.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/makedefs.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/mn.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/mnh.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/nethack.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/doc/recover.txt /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/README /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat/license /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat/history /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat/opthelp /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/usr/share/doc/nethack + cp -pr /builddir/build/BUILD/nethack-3.6.7-build/nethack-3.6.7/dat/wizhelp /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT/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/0d/0ca122b4986fb4a52bbd204ff9a23a7133ebcf warning: File listed twice: /usr/lib/.build-id/4c/c7f51ef666f2c281d56e283a917d2cea5dbf89 Provides: application() application(nethack.desktop) config(nethack) = 3.6.7-5.fc41 nethack = 3.6.7-5.fc41 nethack(riscv-64) = 3.6.7-5.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Recommends: group(games) Processing files: nethack-bitmap-fonts-3.6.7-5.fc41.noarch Provides: font(fixed) nethack-bitmap-fonts = 3.6.7-5.fc41 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.7-5.fc41.noarch Processing files: nethack-debugsource-3.6.7-5.fc41.riscv64 Provides: nethack-debugsource = 3.6.7-5.fc41 nethack-debugsource(riscv-64) = 3.6.7-5.fc41 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.7-5.fc41.riscv64 Provides: debuginfo(build-id) = 0d0ca122b4986fb4a52bbd204ff9a23a7133ebcf debuginfo(build-id) = 4cc7f51ef666f2c281d56e283a917d2cea5dbf89 nethack-debuginfo = 3.6.7-5.fc41 nethack-debuginfo(riscv-64) = 3.6.7-5.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nethack-debugsource(riscv-64) = 3.6.7-5.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/nethack-3.6.7-build/BUILDROOT Wrote: /builddir/build/RPMS/nethack-bitmap-fonts-3.6.7-5.fc41.noarch.rpm Wrote: /builddir/build/RPMS/nethack-bitmap-fonts-core-3.6.7-5.fc41.noarch.rpm Wrote: /builddir/build/RPMS/nethack-3.6.7-5.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/nethack-debuginfo-3.6.7-5.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/nethack-debugsource-3.6.7-5.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WExzLn + umask 022 + cd /builddir/build/BUILD/nethack-3.6.7-build + test -d /builddir/build/BUILD/nethack-3.6.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/nethack-3.6.7-build + rm -rf /builddir/build/BUILD/nethack-3.6.7-build + 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/0d/0ca122b4986fb4a52bbd204ff9a23a7133ebcf File listed twice: /usr/lib/.build-id/4c/c7f51ef666f2c281d56e283a917d2cea5dbf89 Child return code was: 0