Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/slashem.spec'], chrootPath='/var/lib/mock/f42-build-54942143-6531321/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b0b78ec5284e4f27a3017cdb067e9d3b', '-D', '/var/lib/mock/f42-build-54942143-6531321/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/slashem.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/slashem-0.0.8-0.37.E0F1.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/slashem.spec'], chrootPath='/var/lib/mock/f42-build-54942143-6531321/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd59f4f8a238a4489a2609485b9b33e5f', '-D', '/var/lib/mock/f42-build-54942143-6531321/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/slashem.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.6uigrA + umask 022 + cd /builddir/build/BUILD/slashem-0.0.8-build + test -d /builddir/build/BUILD/slashem-0.0.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/slashem-0.0.8-build + /usr/bin/rm -rf /builddir/build/BUILD/slashem-0.0.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/slashem-0.0.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/slashem-0.0.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sZZGy4 + umask 022 + cd /builddir/build/BUILD/slashem-0.0.8-build + cd /builddir/build/BUILD/slashem-0.0.8-build + rm -rf slashem-0.0.8E0F1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/se008e0f1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd slashem-0.0.8E0F1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/slashem-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/slashem-libpng-1.5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/slashem-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/slashem-add-FDECLs-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/slashem-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/slashem-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e 's:^\(#define FILE_AREA_VAR\).*:\1 "/var/games/slashem/":' -e 's:^\(#define FILE_AREA_SAVE\).*:\1 "/var/games/slashem/save/":' -e 's:^\(#define FILE_AREA_SHARE\).*:\1 "/usr/share/games/slashem/":' -e 's:^\(#define FILE_AREA_UNSHARE\).*:\1 "/usr/lib64/games/slashem/":' -e 's:^\(#define FILE_AREA_DOC\).*:\1 "/usr/share/doc/slashem/":' include/unixconf.h + for f in *.txt + iconv -f iso8859-1 -t utf-8 history.txt + touch -r history.txt history.txt.conv + mv history.txt.conv history.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 make_anh.txt + touch -r make_anh.txt make_anh.txt.conv + mv make_anh.txt.conv make_anh.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 readme.txt + touch -r readme.txt readme.txt.conv + mv readme.txt.conv readme.txt + for f in *.txt + iconv -f iso8859-1 -t utf-8 slamfaq.txt + touch -r slamfaq.txt slamfaq.txt.conv + mv slamfaq.txt.conv slamfaq.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H2ywfs + umask 022 + cd /builddir/build/BUILD/slashem-0.0.8-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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,pack-relative-relocs -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 slashem-0.0.8E0F1 + export LIBXAW_CFLAGS=-I/usr/include + LIBXAW_CFLAGS=-I/usr/include ++ pkg-config --libs xaw7 + export 'LIBXAW_LIBS=-lXaw7 -lXt -lX11' + LIBXAW_LIBS='-lXaw7 -lXt -lX11' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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,pack-relative-relocs -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./sys/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./sys/autoconf/config.guess ++ basename ./sys/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./sys/autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './sys/autoconf/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./sys/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./sys/autoconf/config.sub ++ basename ./sys/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./sys/autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './sys/autoconf/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-tty-graphics --enable-x11-graphics --enable-sdl-graphics --enable-gl-graphics --enable-data-librarian --enable-sinks --enable-reincarnation --enable-zouthern --enable-score-on-botl --enable-wizmode=games checking whether ln -s works... yes checking for gawk... gawk checking for aarch64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for aarch64-redhat-linux-gnu-pkg-config... /usr/bin/aarch64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking if libXaw is useable with -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include and -lXaw7 -lXt -lX11... yes checking LIBXAW_CFLAGS... -I/usr/include checking LIBXAW_LIBS... -lXaw7 -lXt -lX11 checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... no checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for bison... bison -y checking for aarch64-redhat-linux-gnu-chown... no checking for aarch64-redhat-linux-gnu-true... no checking for chown... chown checking for aarch64-redhat-linux-gnu-chgrp... no checking for aarch64-redhat-linux-gnu-true... no checking for chgrp... chgrp checking for aarch64-redhat-linux-gnu-chmod... no checking for aarch64-redhat-linux-gnu-true... no checking for chmod... chmod checking for aarch64-redhat-linux-gnu-windres... no checking for windres... no checking for NETHACK__LIBPNG... yes checking if libpng is useable with -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/libpng16 -DWITH_GZFILEOP and -lpng16 -lz... yes checking NETHACK_LIBPNG_CFLAGS... -I/usr/include/libpng16 -DWITH_GZFILEOP checking NETHACK_LIBPNG_LIBS... -lpng16 -lz checking for tgetent in -lncurses... yes checking for NETHACK_PROXY... checking for aarch64-redhat-linux-gnu-sdl-config... no checking for sdl-config... sdl-config checking for glBegin in -lGL... yes checking for valid window system configuration... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for regex.h... yes checking for struct re_pattern_buffer... yes checking for void... yes checking whether strncmpi is declared... no checking whether strnicmp is declared... no checking whether to enable data-librarian... yes checking whether to enable sinks... yes checking whether to enable light-src-spell... yes checking whether to enable wallified-maze... yes checking whether to enable reincarnation... yes checking whether to enable blackmarket... yes checking whether to enable kops... yes checking whether to enable seduce... yes checking whether to enable invisible-objects... yes checking whether to enable unpolypile... yes checking whether to enable wallet-o-p... yes checking whether to enable lightsabers... yes checking whether to enable d-saber... yes checking whether to enable p-spoon... yes checking whether to enable firearms... yes checking whether to enable eaten-memory... yes checking whether to enable steed... yes checking whether to enable dwarf... yes checking whether to enable tourist... yes checking whether to enable yeoman... yes checking whether to enable zouthern... yes checking whether to enable redo... yes checking whether to enable clipping... yes checking whether to enable menu-color... yes checking whether to enable elbereth... yes checking whether to enable noartifactwish... no checking whether to enable no-bones... no checking whether to enable user-sounds... no checking whether to enable exp-on-botl... yes checking whether to enable score-on-botl... yes checking whether to enable keep-save... no checking whether to enable charon... no checking whether to enable show-dmg... yes checking whether to enable show-weight... yes checking whether to enable other-services... yes checking whether to enable dungeon-growth... yes checking whether to enable display-layers... yes checking whether to enable goldobj... no checking whether to enable autopickup-exceptions... no checking whether to enable wizmode... yes (user games) checking for owner of installed files... games checking for group of installed files... bin configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating dat/Makefile config.status: creating util/Makefile config.status: creating sys/autoconf/depend.awk config.status: creating include/autoconf.h config.status: linking ./sys/winnt/win32api.h to include/win32api.h + make FILE_AREA_VAR=/var/games/slashem FILE_AREA_SAVE=/var/games/slashem/save FILE_AREA_SHARE=/usr/share/games/slashem FILE_AREA_UNSHARE=/usr/lib64/games/slashem FILE_AREA_DOC=/usr/share/doc/slashem SHELLDIR=/usr/bin ( cd src ; make ) make[1]: Entering directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/src' Makefile:885: warning: overriding recipe for target 'monst.o' Makefile:360: warning: ignoring old recipe for target 'monst.o' Makefile:899: warning: overriding recipe for target 'objects.o' Makefile:364: warning: ignoring old recipe for target 'objects.o' touch ../src/config.h-t gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./monst.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./objects.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./alloc.c make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c -o makedefs.o makedefs.c makedefs.c: In function ‘do_filenames’: makedefs.c:2396:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2396 | fgets(in_line, sizeof in_line, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makedefs.c: At top level: makedefs.c:53:25: warning: ‘SCCS_Id’ defined but not used [-Wunused-const-variable=] 53 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; | ^~~~~~~ makedefs.c: In function ‘do_qt_control.constprop.0’: makedefs.c:1629:9: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation] 1629 | strncpy(&qt_hdr.id[qt_hdr.n_hdr][0], code, LEN_HDR); | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c -o panic.o panic.c gcc -DAUTOCONF -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' ./makedefs -p make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' ./makedefs -o make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' touch ../src/hack.h-t gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./allmain.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./apply.c ./apply.c: In function ‘use_pole’: ./apply.c:2918:22: warning: unused variable ‘typ’ [-Wunused-variable] 2918 | int res = 0, typ, max_range; | ^~~ ./apply.c: At top level: ./apply.c:12:19: warning: ‘all_count’ defined but not used [-Wunused-const-variable=] 12 | static const char all_count[] = { ALLOW_COUNT, ALL_CLASSES, 0 }; | ^~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./artifact.c ./artifact.c: In function ‘artifact_hit’: ./artifact.c:1181:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1181 | if (!spec_dbon_applies && !spec_ability(otmp, SPFX_BEHEAD) || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./artifact.c:1312:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1312 | } else if (dieroll < 3 || otmp->oartifact == ART_VORPAL_BLADE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1313 | mdef->data == &mons[PM_JABBERWOCK]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./artifact.c:1321:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1321 | wepdesc = artilist[otmp->oartifact].name; | ~~~~^~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./attrib.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./ball.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./bones.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./botl.c ./botl.c: In function ‘bot_raw’: ./botl.c:581:52: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 581 | *rv++ = reconfig ? "flags" : (Sprintf(flgs, "%lX", | ~~^ | | | long unsigned int | %X 582 | (Levitation ? RAW_STAT_LEVITATION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 583 | (Confusion ? RAW_STAT_CONFUSION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 584 | (Sick && (u.usick_type & SICK_VOMITABLE) ? RAW_STAT_FOODPOIS : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 585 | (Sick && (u.usick_type & SICK_NONVOMITABLE) ? RAW_STAT_ILL : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 586 | (Blind ? RAW_STAT_BLIND : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 587 | (Stunned ? RAW_STAT_STUNNED : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 588 | (Hallucination ? RAW_STAT_HALLUCINATION : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int 589 | (Slimed ? RAW_STAT_SLIMED : 0)), flgs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./botl.c: In function ‘botl_strength’: ./botl.c:241:35: warning: ‘%02d’ directive writing between 2 and 4 bytes into a region of size 3 [-Wformat-overflow=] 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); | ^~~~ In function ‘botl_strength’, inlined from ‘botl_strength’ at ./botl.c:234:1: ./botl.c:241:31: note: directive argument in the range [-146, 109] 241 | Sprintf(strength, "18/%02d", ACURR(A_STR)-18); | ^~~~~~~~~ In file included from /usr/include/stdio.h:970, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./botl.c:5: In function ‘sprintf’, inlined from ‘botl_strength’ at ./botl.c:241:6, inlined from ‘botl_strength’ at ./botl.c:234:1: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 8 bytes into a destination of size 6 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./botl.c: In function ‘bot_raw’: ./botl.c:531:53: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); | ^~ ./botl.c:531:52: note: directive argument in the range [-128, 127] 531 | *rv++ = reconfig ? "dexterity" : (Sprintf(dex, "%d", ACURR(A_DEX)), dex); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at ./botl.c:531:39: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./botl.c: In function ‘bot_raw’: ./botl.c:532:56: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); | ^~ ./botl.c:532:55: note: directive argument in the range [-128, 127] 532 | *rv++ = reconfig ? "constitution" : (Sprintf(con, "%d", ACURR(A_CON)), con); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at ./botl.c:532:42: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./botl.c: In function ‘bot_raw’: ./botl.c:533:56: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); | ^~ ./botl.c:533:55: note: directive argument in the range [-128, 127] 533 | *rv++ = reconfig ? "intelligence" : (Sprintf(itl, "%d", ACURR(A_INT)), itl); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at ./botl.c:533:42: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./botl.c: In function ‘bot_raw’: ./botl.c:534:50: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); | ^~ ./botl.c:534:49: note: directive argument in the range [-128, 127] 534 | *rv++ = reconfig ? "wisdom" : (Sprintf(wis, "%d", ACURR(A_WIS)), wis); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at ./botl.c:534:36: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./botl.c: In function ‘bot_raw’: ./botl.c:535:52: warning: ‘%d’ directive writing between 1 and 4 bytes into a region of size 3 [-Wformat-overflow=] 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); | ^~ ./botl.c:535:51: note: directive argument in the range [-128, 127] 535 | *rv++ = reconfig ? "charisma" : (Sprintf(cha, "%d", ACURR(A_CHA)), cha); | ^~~~ In function ‘sprintf’, inlined from ‘bot_raw’ at ./botl.c:535:38: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 2 and 5 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./cmd.c ./cmd.c: In function ‘enlightenment’: ./cmd.c:1332:75: warning: missing braces around initializer [-Wmissing-braces] 1332 | struct { unsigned long mask; const char *str; } warntypes[] = { | ^ ./cmd.c:1514:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 1514 | if (wizard) Sprintf(eos(buf), " (%d)", u.uhealbonus); | ~^ ~~~~~~~~~~~~ | | | | int long int | %ld ./cmd.c: In function ‘rhack’: ./cmd.c:3091:21: warning: case label value is less than minimum value for type [-Wswitch-outside-range] 3091 | case M('5'): *cmd = 'G'; break; | ^~~~ ./cmd.c:3092:21: warning: case label value is less than minimum value for type [-Wswitch-outside-range] 3092 | case M('0'): *cmd = 'I'; break; | ^~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./cmd.c:5: ./cmd.c: In function ‘click_to_cmd’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./cmd.c:3509:22: note: in expansion of macro ‘Is_container’ 3509 | cmd[0] = Is_container(level.objects[u.ux][u.uy]) ? M('l') : ','; | ^~~~~~~~~~~~ ./cmd.c: In function ‘makemenu.constprop.0’: ./cmd.c:2185:36: warning: ‘current_menu’ may be used uninitialized [-Wmaybe-uninitialized] 2185 | func = current_menu[i].m_funct; | ^ ./cmd.c:2152:32: note: ‘current_menu’ was declared here 2152 | const struct menu_tab *current_menu; | ^~~~~~~~~~~~ ./cmd.c: In function ‘enlightenment’: ./cmd.c:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 238 and 239 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In file included from /usr/include/stdio.h:970, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9: In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘enlightenment’ at ./cmd.c:1262:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 19 and 275 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘enlightenment’ at ./cmd.c:1302:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 248 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘enlightenment’ at ./cmd.c:1311:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 10 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2289:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2301:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2311:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2320:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 247 and 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2330:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2339:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 11 and 266 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2339:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 6 and 261 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:1219:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 240 and 246 [-Wformat-overflow=] 1219 | Sprintf(buf, "%s%s%s.", start, middle, end); | ^~ In function ‘sprintf’, inlined from ‘enlght_line’ at ./cmd.c:1219:2, inlined from ‘show_conduct’ at ./cmd.c:2353:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 273 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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dbridge.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./decl.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./detect.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dig.c ./dig.c: In function ‘dig’: ./dig.c:256:56: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 256 | if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) && ./dig.c: In function ‘dighole’: ./dig.c:711:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 711 | IS_DOOR(levl[u.ux][u.uy].typ) && artifact_door(u.ux, u.uy) || gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./display.c ./display.c: In function ‘map_object’: ./display.c:272:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 272 | if (level.flags.hero_memory) | ^ ./display.c: In function ‘glyph_is_floating’: ./display.c:1080:47: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1080 | glyph_is_warning(glyph) || tglyph && glyph == tglyph->glyph; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dlb.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./do.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./do.c:7: ./do.c: In function ‘obj_no_longer_held’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./do.c:634:21: note: in expansion of macro ‘Is_container’ 634 | } else if ((Is_container(obj) || obj->otyp == STATUE) && obj->cobj) { | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./do_name.c ./do_name.c: In function ‘do_mname’: ./do_name.c:272:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] 272 | Sprintf(qbuf, "What do you want to call %s?", buf); | ^~ ~~~ In file included from /usr/include/stdio.h:970, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./do_name.c:5: In function ‘sprintf’, inlined from ‘do_mname’ at ./do_name.c:272:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 27 and 282 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 -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./do_wear.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dog.c In file included from ./dog.c:7: ./dog.c: In function ‘make_pet_minion’: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dog.c:963:9: note: in expansion of macro ‘EMIN’ 963 | EMIN(mtmp2)->min_align = alignment; | ^~~~ In file included from ./dog.c:8: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dog.c:966:10: note: in expansion of macro ‘EPRI’ 966 | EPRI(mtmp2)->shralign = alignment; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dogmove.c In file included from ./dogmove.c:9: ./dogmove.c: In function ‘dog_move’: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dogmove.c:853:50: note: in expansion of macro ‘EMIN’ 853 | if (mtmp->isminion) align1 = EMIN(mtmp)->min_align; | ^~~~ In file included from ./dogmove.c:10: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dogmove.c:856:55: note: in expansion of macro ‘EPRI’ 856 | else if (mtmp->ispriest) align1 = EPRI(mtmp)->shralign; | ^~~~ ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dogmove.c:858:51: note: in expansion of macro ‘EMIN’ 858 | if (mtmp2->isminion) align2 = EMIN(mtmp2)->min_align; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dogmove.c:861:56: note: in expansion of macro ‘EPRI’ 861 | else if (mtmp2->ispriest) align2 = EPRI(mtmp2)->shralign; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dokick.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./dokick.c:5: ./dokick.c: In function ‘container_impact_dmg’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./dokick.c:382:14: note: in expansion of macro ‘Is_container’ 382 | if (!Is_container(obj) || Is_mbag(obj)) return; | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dothrow.c In file included from ../include/youprop.h:10, from ../include/hack.h:90, from ./dothrow.c:7: ./dothrow.c: In function ‘thitmonst’: ../include/mondata.h:241:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 241 | (obj)->otyp == CHEESE && ((ptr) == &mons[PM_GIANT_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | (ptr) == &mons[PM_SEWER_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 243 | (ptr) == &mons[PM_BLACK_RAT] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 244 | (ptr) == &mons[PM_PACK_RAT]) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dothrow.c:1639:20: note: in expansion of macro ‘befriend_with_obj’ 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ ../include/mondata.h:245:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 245 | (obj)->otyp == CARROT && ((ptr) == &mons[PM_RABBIT] || \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | (ptr) == &mons[PM_RABID_RABBIT]) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./dothrow.c:1639:20: note: in expansion of macro ‘befriend_with_obj’ 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ ../include/mondata.h:247:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 247 | (obj)->otyp == BANANA && (ptr)->mlet == S_YETI)) ./dothrow.c:1639:20: note: in expansion of macro ‘befriend_with_obj’ 1639 | } else if (befriend_with_obj(mon->data, obj) || | ^~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./drawing.c ./drawing.c:755:20: warning: ‘IBM_r_oc_syms’ defined but not used [-Wunused-const-variable=] 755 | static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */ | ^~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./dungeon.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./eat.c ./eat.c: In function ‘done_eating’: ./eat.c:481:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 481 | if (!victual.piece->odrained || Race_if(PM_VAMPIRE) && !rn2(5)) ./eat.c: In function ‘opentin’: ./eat.c:1275:67: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1275 | monexplain[mons[tin.tin->corpsenm].mlet]); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ./eat.c: In function ‘fprefx’: ./eat.c:1689:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1689 | if (carnivorous(youmonst.data) && (!humanoid(youmonst.data)) || ./eat.c: In function ‘doeat’: ./eat.c:2548:73: warning: ‘?:’ using integer constants in boolean context, the expression will always evaluate to ‘true’ [-Wint-in-bool-context] 2548 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./eat.c: At top level: ./eat.c:73:32: warning: ‘comestibles’ defined but not used [-Wunused-const-variable=] 73 | STATIC_OVL NEARDATA const char comestibles[] = { FOOD_CLASS, 0 }; | ^~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./end.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./end.c:7: ./end.c: In function ‘container_contents’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./end.c:1127:17: note: in expansion of macro ‘Is_container’ 1127 | if (Is_container(box) || box->otyp == STATUE) { | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./engrave.c ./engrave.c: In function ‘doengrave’: ./engrave.c:800:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 800 | if (flags.verbose) | ^~ ./engrave.c:802:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 802 | doknown = TRUE; | ^~~~~~~ ./engrave.c:812:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 812 | if (flags.verbose) | ^~ ./engrave.c:814:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 814 | doknown = TRUE; | ^~~~~~~ ./engrave.c:1191:16: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 1191 | (void) strncat(buf, ebuf, (BUFSZ - (int)strlen(buf) - 1)); | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./exper.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./explode.c ./explode.c: In function ‘set_blast_symbols’: ./explode.c:72:15: warning: variable ‘bitmask’ set but not used [-Wunused-but-set-variable] 72 | int i, j, bitmask; | ^~~~~~~ ./explode.c: In function ‘do_explode’: ./explode.c:472:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 472 | if (is_animal(u.ustuck->data)) | ^ ./explode.c: In function ‘grenade_effects’: ./explode.c:944:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 944 | if (mon && !DEADMONSTER(mon)) | ^ ./explode.c:954:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 954 | if (x == u.ux && y == u.uy) | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./extralev.c ../util/makedefs -f gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./files.c ./files.c: In function ‘commit_bonesfile’: ./files.c:795:21: warning: unused variable ‘fq_bones’ [-Wunused-variable] 795 | const char *fq_bones, *tempname; | ^~~~~~~~ ./files.c: In function ‘open_bonesfile’: ./files.c:837:21: warning: unused variable ‘fq_bones’ [-Wunused-variable] 837 | const char *fq_bones; | ^~~~~~~~ ./files.c: In function ‘save_savefile_name’: ./files.c:947:16: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 947 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c: In function ‘docompress_file’: ./files.c:1322:24: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1322 | (void) setgid(getgid()); | ^~~~~~~~~~~~~~~~ ./files.c:1323:24: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1323 | (void) setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./fountain.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./hack.c ./hack.c: In function ‘grow_herbs’: ./hack.c:120:15: warning: variable ‘lev’ set but not used [-Wunused-but-set-variable] 120 | struct rm *lev; | ^~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./hacklib.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./invent.c ./invent.c: In function ‘delobj’: ./invent.c:657:68: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 657 | update_map = (obj->where == OBJ_FLOOR || Has_contents(obj) && ./invent.c: In function ‘mergable’: ./invent.c:2659:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2659 | flags.pickup_thrown && obj->was_thrown != otmp->was_thrown || | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/youprop.h:10, from ../include/hack.h:90, from ./invent.c:5: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./invent.c:2692:18: note: in expansion of macro ‘is_reviver’ 2692 | is_reviver(&mons[otmp->corpsenm])))) | ^~~~~~~~~~ ./invent.c: In function ‘getobj’: ./invent.c:39:49: warning: ‘floorfollow’ may be used uninitialized [-Wmaybe-uninitialized] 39 | (((flags) & BY_NEXTHERE) ? (curr)->nexthere : (curr)->nobj) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./invent.c:983:13: note: ‘floorfollow’ was declared here 983 | int floorfollow; | ^~~~~~~~~~~ ./invent.c:1096:37: warning: ‘floorchain’ may be used uninitialized [-Wmaybe-uninitialized] 1096 | for (otmp = floorchain; otmp; otmp = FOLLOW(otmp, floorfollow)) | ^~~~ ./invent.c:982:21: note: ‘floorchain’ was declared here 982 | struct obj *floorchain; | ^~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./light.c ./light.c: In function ‘del_light_source’: ./light.c:107:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 107 | case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); | ^ ./light.c:109:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 109 | case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); | ^ ./light.c: In function ‘relink_light_sources’: ./light.c:347:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 347 | if (!lookup_id_mapping((unsigned)ls->id, &nid)) | ^ ./light.c:350:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 350 | nid = (unsigned) ls->id; | ^ ./light.c: In function ‘write_ls’: ./light.c:430:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 430 | ls->id = (genericptr_t)otmp->o_id; | ^ ./light.c:437:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 437 | ls->id = (genericptr_t)mtmp->m_id; | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./lock.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mail.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./makemon.c In file included from ./makemon.c:6: ./makemon.c: In function ‘clone_mon’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ./makemon.c:1300:19: note: in expansion of macro ‘EPRI’ 1300 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ./makemon.c:1300:33: note: in expansion of macro ‘EPRI’ 1300 | *(EPRI(m3)) = *(EPRI(mon)); | ^~~~ ./makemon.c: In function ‘mongets’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:35: note: in expansion of macro ‘EPRI’ 37 | EPRI(mon)->shralign > 0)) | ^~~~ ./makemon.c:2181:23: note: in expansion of macro ‘is_lminion’ 2181 | } else if(is_lminion(mtmp)) { | ^~~~~~~~~~ ./makemon.c: In function ‘peace_minded’: ./makemon.c:2293:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2293 | if (ual > A_NEUTRAL && mal < A_NEUTRAL || ./makemon.c: In function ‘set_malign’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./makemon.c:2339:31: note: in expansion of macro ‘EPRI’ 2339 | mal = EPRI(mtmp)->shralign; | ^~~~ In file included from ./makemon.c:7: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./makemon.c:2341:31: note: in expansion of macro ‘EMIN’ 2341 | mal = EMIN(mtmp)->min_align; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mapglyph.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mcastu.c ./mcastu.c: In function ‘spell_would_be_useless’: ./mcastu.c:845:43: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 845 | if ((levl[u.ux][u.uy].typ != ROOM && levl[u.ux][u.uy].typ != CORR gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mhitm.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mhitu.c ./mhitu.c: In function ‘missmu’: ./mhitu.c:161:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 161 | if (!flags.verbose || !nearmiss && !blocker) | ~~~~~~~~~~^~~~~~~~~~~ ./mhitu.c: In function ‘gazemu’: ./mhitu.c:2398:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2398 | if(!mtmp->mcan && canseemon(mtmp) && mtmp->mcansee && | ^~ ./mhitu.c:2403:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2403 | stop_occupation(); | ^~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./minion.c In file included from ./minion.c:7: ./minion.c: In function ‘msummon’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./minion.c:23:24: note: in expansion of macro ‘EPRI’ 23 | atyp = EPRI(mon)->shralign; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:35: note: in expansion of macro ‘EPRI’ 37 | EPRI(mon)->shralign > 0)) | ^~~~ ./minion.c:41:20: note: in expansion of macro ‘is_lminion’ 41 | } else if (is_lminion(mon)) { | ^~~~~~~~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./minion.c:80:17: note: in expansion of macro ‘EPRI’ 80 | EPRI(mtmp)->shralign = atyp; | ^~~~ In file included from ./minion.c:6: ./minion.c: In function ‘summon_minion’: ../include/emin.h:12:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./minion.c:117:13: note: in expansion of macro ‘EMIN’ 117 | EMIN(mon)->min_align = alignment; | ^~~~ ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./minion.c:123:13: note: in expansion of macro ‘EPRI’ 123 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mklev.c ./mklev.c: In function ‘mktrap’: ./mklev.c:1280:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1280 | if (lvl < 2) kind = NO_TRAP; break; | ^~ ./mklev.c:1280:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1280 | if (lvl < 2) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1282:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1282 | if (lvl < 5 || level.flags.noteleport) | ^~ ./mklev.c:1283:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1283 | kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1285:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1285 | if (lvl < 5) kind = NO_TRAP; break; | ^~ ./mklev.c:1285:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1285 | if (lvl < 5) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1287:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1287 | if (lvl < 6) kind = NO_TRAP; break; | ^~ ./mklev.c:1287:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1287 | if (lvl < 6) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1289:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1289 | if (lvl < 7) kind = NO_TRAP; break; | ^~ ./mklev.c:1289:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1289 | if (lvl < 7) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1292:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1292 | if (lvl < 8) kind = NO_TRAP; break; | ^~ ./mklev.c:1292:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1292 | if (lvl < 8) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1294:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1294 | if (!Inhell) kind = NO_TRAP; break; | ^~ ./mklev.c:1294:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1294 | if (!Inhell) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1296:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1296 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~ ./mklev.c:1296:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1296 | if (level.flags.noteleport) kind = NO_TRAP; break; | ^~~~~ ./mklev.c:1299:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1299 | if (rn2(7)) kind = NO_TRAP; break; | ^~ ./mklev.c:1299:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1299 | if (rn2(7)) kind = NO_TRAP; break; | ^~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mkmap.c ./mkmap.c: In function ‘pass_two’: ./mkmap.c:115:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 115 | for(count=0, dr=0; dr < 8; dr++) | ^~~ ./mkmap.c:119:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 119 | if (count == 5) | ^~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mkmaze.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mkobj.c In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./mkobj.c:5: ./mkobj.c: In function ‘weight’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./mkobj.c:955:13: note: in expansion of macro ‘Is_container’ 955 | if (Is_container(obj) || obj->otyp == STATUE) { | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mkroom.c ./mkroom.c: In function ‘fill_zoo’: ./mkroom.c:340:27: warning: ‘tx’ may be used uninitialized [-Wmaybe-uninitialized] 340 | (sx == tx && sy == ty? &mons[PM_MIGO_QUEEN] : | ~~~^~~~~ ./mkroom.c:256:17: note: ‘tx’ was declared here 256 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~ ./mkroom.c:340:39: warning: ‘ty’ may be used uninitialized [-Wmaybe-uninitialized] 340 | (sx == tx && sy == ty? &mons[PM_MIGO_QUEEN] : | ~~~^~~~~ ./mkroom.c:256:21: note: ‘ty’ was declared here 256 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~ ./mkroom.c:366:27: warning: ‘goldlim’ may be used uninitialized [-Wmaybe-uninitialized] 366 | if(i >= goldlim) i = 5*level_difficulty(); | ^ ./mkroom.c:256:25: note: ‘goldlim’ was declared here 256 | int sh, tx, ty, goldlim, type = sroom->rtype; | ^~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mon.c In file included from ../include/youprop.h:10, from ../include/hack.h:90, from ./mon.c:10: ./mon.c: In function ‘make_corpse’: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mon.c:160:26: note: in expansion of macro ‘is_reviver’ 160 | is_reviver((mon)->data) || \ | ^~~~~~~~~~ ./mon.c:407:46: note: in expansion of macro ‘KEEPTRAITS’ 407 | obj = mkcorpstat(CORPSE, KEEPTRAITS(mtmp) ? mtmp : 0, | ^~~~~~~~~~ ./mon.c: In function ‘mfndpos’: ./mon.c:1208:54: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1208 | levl[nx][ny].doormask & D_CLOSED && !(flag & OPENDOOR) ./mon.c: In function ‘replmon’: ./mon.c:1468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1468 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { | ^~~~~~~~~~ ./mon.c: In function ‘lifesaved_monster’: ./mon.c:1555:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1555 | visible = u.uswallow && u.ustuck == mtmp || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./mon.c: In function ‘unpoly_monster’: ./mon.c:1603:34: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1603 | visible = u.uswallow && u.ustuck == mtmp || cansee(mtmp->mx,mtmp->my); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./mon.c: In function ‘monstone’: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mon.c:160:26: note: in expansion of macro ‘is_reviver’ 160 | is_reviver((mon)->data) || \ | ^~~~~~~~~~ ./mon.c:1880:43: note: in expansion of macro ‘KEEPTRAITS’ 1880 | otmp = mkcorpstat(STATUE, KEEPTRAITS(mdef) ? mdef : 0, | ^~~~~~~~~~ ./mon.c: In function ‘newcham’: ./mon.c:2865:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2865 | if (msg && (u.uswallow && mtmp == u.ustuck || canspotmon(mtmp))) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mondata.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./monmove.c In file included from ./monmove.c:8: ./monmove.c: In function ‘onscary’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:37:35: note: in expansion of macro ‘EPRI’ 37 | EPRI(mon)->shralign > 0)) | ^~~~ ./monmove.c:173:13: note: in expansion of macro ‘is_lminion’ 173 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || | ^~~~~~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./monmove.c:5: ./monmove.c: In function ‘can_ooze’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./monmove.c:1437:21: note: in expansion of macro ‘Is_container’ 1437 | if (Is_container(obj) && obj->cobj) return FALSE; | ^~~~~~~~~~~~ ./monmove.c: In function ‘m_move’: ./monmove.c:1174:48: warning: ‘nix’ may be used uninitialized [-Wmaybe-uninitialized] 1174 | (void) breamspot(mtmp, | ^~~~~~~~~~~~~~~ 1175 | &ptr->mattk[bust_door_breath(mtmp)], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1176 | (nix-omx), (niy-omy)); | ~~~~~~~~~~~~~~~~~~~~~ ./monmove.c:659:21: note: ‘nix’ was declared here 659 | xchar gx,gy,nix,niy,chcnt; | ^~~ ./monmove.c:1174:48: warning: ‘niy’ may be used uninitialized [-Wmaybe-uninitialized] 1174 | (void) breamspot(mtmp, | ^~~~~~~~~~~~~~~ 1175 | &ptr->mattk[bust_door_breath(mtmp)], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1176 | (nix-omx), (niy-omy)); | ~~~~~~~~~~~~~~~~~~~~~ ./monmove.c:659:25: note: ‘niy’ was declared here 659 | xchar gx,gy,nix,niy,chcnt; | ^~~ make[2]: Entering directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' ./makedefs -m make[2]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/util' gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c -o monstr.o monstr.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mplayer.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./mthrowu.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./muse.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./music.c gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./o_init.c ./o_init.c: In function ‘init_objects’: ./o_init.c:191:24: warning: self-comparison always evaluates to false [-Wtautological-compare] 191 | if(sum != sum) | ^~ ./o_init.c: In function ‘dodiscovered’: ./o_init.c:431:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 431 | if (!dis++) | ^~ In file included from ../include/config.h:484, from ../include/hack.h:9, from ./o_init.c:5: ../include/global.h:332:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 332 | #define Sprintf (void) sprintf | ^ ./o_init.c:434:17: note: in expansion of macro ‘Sprintf’ 434 | Sprintf(buf, " %s", OBJ_NAME(objects[uniq_objs[i]])); | ^~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./objnam.c ./objnam.c: In function ‘add_erosion_words’: ./objnam.c:571:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 571 | if (!is_damageable(obj) && !iscrys || Hallucination) return; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./objnam.c: In function ‘doname’: ./objnam.c:850:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 850 | if(obj->owornmask & W_BALL) | ^~ ./objnam.c:852:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 852 | break; | ^~~~~ In file included from ../include/youprop.h:10, from ../include/hack.h:90, from ./objnam.c:5: ./objnam.c: In function ‘readobjnam’: ../include/mondata.h:168:75: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 168 | #define is_reviver(ptr) (is_rider(ptr) || (ptr)->mlet == S_FUNGUS && \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 169 | (ptr) != &mons[PM_LICHEN] || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./objnam.c:2760:36: note: in expansion of macro ‘is_reviver’ 2760 | (typ != CORPSE || !is_reviver(&mons[mntmp])) && | ^~~~~~~~~~ ./objnam.c: In function ‘strprepend’: ./objnam.c:75:16: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 75 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ | ^ ./objnam.c:68:31: note: length computed here 68 | register int i = (int)strlen(pref); | ^~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./options.c ./options.c: In function ‘option_help’: ./options.c:3863:28: warning: ‘ - ’ directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 3863 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, | ^~~ In file included from /usr/include/stdio.h:970, from ../include/global.h:8, from ../include/config.h:484, from ../include/hack.h:9, from ./options.c:13: In function ‘sprintf’, inlined from ‘option_help’ at ./options.c:3863:2: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 25 or more bytes (assuming 260) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./options.c: In function ‘doset’: ./options.c:2947:57: warning: ‘s [’ directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] 2947 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); | ^~~ In function ‘sprintf’, inlined from ‘doset’ at ./options.c:2947:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 22 bytes into a destination of size 16 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:3023:44: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 3023 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); | ^ In function ‘sprintf’, inlined from ‘doset’ at ./options.c:3023:4: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./pager.c ./pager.c: In function ‘dowhatdoes_core’: ./pager.c:862:32: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 862 | (void) strncpy(buf, "^? ", 8); | ^ ./pager.c:866:32: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 866 | (void) strncpy(buf, "M-? ", 8); | ^ ./pager.c:871:32: warning: ‘strncpy’ output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 871 | (void) strncpy(buf+1, " ", 7); | ^ ./pager.c: In function ‘do_look.isra.0’: ./pager.c:748:27: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 748 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ ./pager.c:753:27: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 753 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ ./pager.c:761:31: warning: ‘__strncat_chk’ output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 761 | (void)strncat(out_str, temp_buf, BUFSZ-strlen(out_str)-1); | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./pickup.c ./pickup.c: In function ‘autopick’: ./pickup.c:649:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 649 | flags.pickup_thrown && curr->was_thrown) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ./pickup.c:663:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 663 | flags.pickup_thrown && curr->was_thrown) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../include/decl.h:265, from ../include/hack.h:92, from ./pickup.c:9: ./pickup.c: In function ‘container_at’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./pickup.c:1469:20: note: in expansion of macro ‘Is_container’ 1469 | if(Is_container(cobj)) { | ^~~~~~~~~~~~ ./pickup.c: In function ‘doloot’: ../include/obj.h:288:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 288 | (o)->otyp >= LARGE_BOX && (o)->otyp <= BAG_OF_TRICKS) ./pickup.c:1553:17: note: in expansion of macro ‘Is_container’ 1553 | if (Is_container(cobj)) { | ^~~~~~~~~~~~ ./pickup.c: In function ‘use_container’: ./pickup.c:2215:32: warning: unused variable ‘lcnt’ [-Wunused-variable] 2215 | int cnt = 0, used = 0, lcnt = 0, | ^~~~ ./pickup.c:2209:23: warning: unused variable ‘shkp’ [-Wunused-variable] 2209 | struct monst *shkp; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./pline.c In file included from ./pline.c:7: ./pline.c: In function ‘mstatusline’: ../include/epri.h:16:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./pline.c:287:29: note: in expansion of macro ‘EPRI’ 287 | alignment = EPRI(mtmp)->shralign; | ^~~~ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./polyself.c In file included from ../include/youprop.h:10, from ../include/hack.h:90, from ./polyself.c:13: ./polyself.c: In function ‘polyman’: ../include/mondata.h:126:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ ./polyself.c:118:27: note: in expansion of macro ‘could_twoweap’ 118 | if (u.twoweap && !could_twoweap(youmonst.data)) | ^~~~~~~~~~~~~ ./polyself.c: In function ‘drop_weapon’: ../include/mondata.h:126:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 126 | P_MAX_SKILL(P_TWO_WEAPON_COMBAT) >= P_BASIC && \ ./polyself.c:850:21: note: in expansion of macro ‘could_twoweap’ 850 | } else if (!could_twoweap(youmonst.data)) { | ^~~~~~~~~~~~~ ./polyself.c: In function ‘polyatwill’: ./polyself.c:1711:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1711 | if (u.ulevel > 13 && u.uen > EN_ADULT_DRAGON || | ^ gcc -DAUTOCONF -O -I../include -I./../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -c ./potion.c ./potion.c: In function ‘upgrade_obj’: ./potion.c:2517:39: error: passing argument 2 of ‘artifact_name’ from incompatible pointer type [-Wincompatible-pointer-types] 2517 | if (artifact_name(ONAME(obj), &otyp2) && otyp2 == obj->otyp) { | ^~~~~~ | | | int * In file included from ../include/config.h:306, from ../include/hack.h:9, from ./potion.c:5: ../include/extern.h:62:50: note: expected ‘short int *’ but argument is of type ‘int *’ 62 | E const char *FDECL(artifact_name, (const char *,short *)); | ^~~~~~~ ../include/tradstdc.h:124:27: note: in definition of macro ‘FDECL’ 124 | # define FDECL(f,p) f p | ^ make[1]: *** [Makefile:915: potion.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/slashem-0.0.8-build/slashem-0.0.8E0F1/src' make: *** [Makefile:151: slashem] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.H2ywfs (%build) Bad exit status from /var/tmp/rpm-tmp.H2ywfs (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d59f4f8a238a4489a2609485b9b33e5f -D /var/lib/mock/f42-build-54942143-6531321/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/slashem.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M d59f4f8a238a4489a2609485b9b33e5f -D /var/lib/mock/f42-build-54942143-6531321/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.13wsn8_e:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/slashem.spec'