86>Aug 23 06:21:13 userdel[2245129]: delete user 'rooter'
<86>Aug 23 06:21:13 userdel[2245129]: removed group 'rooter' owned by 'rooter'
<86>Aug 23 06:21:13 userdel[2245129]: removed shadow group 'rooter' owned by 'rooter'
<86>Aug 23 06:21:13 groupadd[2245135]: group added to /etc/group: name=rooter, GID=654
<86>Aug 23 06:21:13 groupadd[2245135]: group added to /etc/gshadow: name=rooter
<86>Aug 23 06:21:13 groupadd[2245135]: new group: name=rooter, GID=654
<86>Aug 23 06:21:13 useradd[2245140]: new user: name=rooter, UID=654, GID=654, home=/root, shell=/bin/bash
<86>Aug 23 06:21:13 userdel[2245148]: delete user 'builder'
<86>Aug 23 06:21:13 userdel[2245148]: removed group 'builder' owned by 'builder'
<86>Aug 23 06:21:13 userdel[2245148]: removed shadow group 'builder' owned by 'builder'
<86>Aug 23 06:21:13 groupadd[2245155]: group added to /etc/group: name=builder, GID=655
<86>Aug 23 06:21:13 groupadd[2245155]: group added to /etc/gshadow: name=builder
<86>Aug 23 06:21:13 groupadd[2245155]: new group: name=builder, GID=655
<86>Aug 23 06:21:13 useradd[2245160]: new user: name=builder, UID=655, GID=655, home=/usr/src, shell=/bin/bash
<13>Aug 23 06:21:16 rpmi: libncurses-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed
<13>Aug 23 06:21:16 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed
<13>Aug 23 06:21:17 rpmi: libgsl-2.7-alt1 sisyphus+281495.100.3.1 1627572699 installed
<13>Aug 23 06:21:17 rpmi: libgsl-devel-2.7-alt1 sisyphus+281495.100.3.1 1627572699 installed
<13>Aug 23 06:21:17 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed
<13>Aug 23 06:21:17 rpmi: groff-base-1.22.3-alt2 sisyphus+275306.100.2.1 1624538375 installed
<13>Aug 23 06:21:17 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+275295.100.2.3 1624485314 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/unnethack-5.3.2-alt2.nosrc.rpm (w1.gzdio)
Installing unnethack-5.3.2-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98269
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf unnethack-5.3.2
+ echo 'Source #0 (5.3.2.tar.gz):'
Source #0 (5.3.2.tar.gz):
+ /bin/gzip -dc /usr/src/RPM/SOURCES/5.3.2.tar.gz
+ /bin/tar -xf -
+ cd unnethack-5.3.2
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (bison3.7.patch):'
Patch #0 (bison3.7.patch):
+ /usr/bin/patch -p1
patching file sys/autoconf/Makefile.utl
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.87183
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd unnethack-5.3.2
+ LIBS=-lgsl
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-curses-graphics
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
checking whether ln -s works... yes
checking for gawk... gawk
checking dummy-graphics... no
checking lisp-graphics... no
checking curses-graphics... yes
checking tty-graphics... yes
checking x11-graphics... no
checking mswin-graphics... no
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for x86_64-alt-linux-chown... no
checking for x86_64-alt-linux-true... no
checking for chown... chown
checking for x86_64-alt-linux-chgrp... no
checking for x86_64-alt-linux-true... no
checking for chgrp... chgrp
checking for x86_64-alt-linux-chmod... no
checking for x86_64-alt-linux-true... no
checking for chmod... chmod
checking for x86_64-alt-linux-windres... no
checking for windres... no
checking for bzip2... /bin/bzip2
checking for compression support... /bin/bzip2
checking for suffix of compressed files... .bz2
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking for library containing tparm... -lncurses
checking for library containing has_colors... none required
checking for ncurses.h... (cached) yes
checking for curses.h... (cached) yes
checking for termcap.h... (cached) yes
checking for library containing tparm... (cached) -lncurses
checking for library containing has_colors... (cached) none required
checking for valid window system configuration... yes
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for regex.h... yes
checking for regex_t... yes
checking for void... yes
checking whether strncmpi is declared... no
checking whether strnicmp is declared... no
checking for msleep... no
checking for usleep... yes
checking for fcntl... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for nroff... yes
checking for tbl... yes
checking for col... yes
checking for pseudo random number device... /dev/urandom
checking whether to enable data-librarian... yes
checking whether to enable sinks... 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 randomized-planes... yes
checking whether to enable steed... yes
checking whether to enable tourist... yes
checking whether to enable convict... yes
checking whether to enable redo... yes
checking whether to enable clipping... yes
checking whether to enable menu-color... yes
checking whether to enable status-color... yes
checking whether to enable auto-open... yes
checking whether to enable elbereth... yes
checking whether to enable bones-pool... yes
checking whether to enable user-sounds... no
checking whether to enable exp-on-botl... yes
checking whether to enable score-on-botl... no
checking whether to enable realtime-on-botl... no
checking whether to enable high-score-comparison-by-uid... no
checking whether to enable paranoid... yes
checking whether to enable shell... no
checking whether to enable show-born... yes
checking whether to enable show-extinct... yes
checking whether to enable sortloot... yes
checking whether to enable dungeon-growth... yes
checking whether to enable goldobj... no
checking whether to enable autopickup-exceptions... yes
checking whether to enable quiver-fired... yes
checking whether to enable qwertz... yes
checking whether to enable simple-mail... no
checking whether to enable xlogfile... yes (file xlogfile)
checking whether to enable livelog... no
checking whether to enable dump... yes
checking whether to enable dump file... no
checking whether to enable dump messages... yes (number 30)
checking whether to enable dump-text... yes
checking whether to enable dump-html... no
checking whether to enable utf8-glyphs... yes
checking whether to enable whereis file... no
checking whether to enable wizmode... yes (user wizard)
checking for owner of installed files... games
checking for group of installed files... bin
checking whether to enable file-areas... yes
checking which directory is gamesdir... /var/lib/unnethack
checking which directory is bonesdir... /var/lib/unnethack/bones
checking which directory is savesdir... /var/lib/unnethack/saves
checking which directory is leveldir... /var/lib/unnethack/level
checking which directory is sharedir... /usr/share/unnethack
checking which directory is unsharedir... /usr/share/unnethack
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
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
+ make include/autoconf_paths.h
make: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
echo '#ifndef AUTOCONF_PATH_H' >include/autoconf_paths.h
echo '#undef AUTOCONF_PATH_H' >>include/autoconf_paths.h
echo '#define AUTOCONF_PATH_H' >>include/autoconf_paths.h
echo '#define AUTOCONF_PREFIX "/usr"' >>include/autoconf_paths.h
echo '#define AUTOCONF_LOCALSTATEDIR "/var/lib"' >>include/autoconf_paths.h
echo '#define AUTOCONF_DATADIR "/usr/share"' >>include/autoconf_paths.h
echo '#define AUTOCONF_DATAROOTDIR "/usr/share"' >>include/autoconf_paths.h
echo '#define AUTOCONF_DOCDIR "/usr/share/doc/"' >>include/autoconf_paths.h
echo '#endif' >>include/autoconf_paths.h
make: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
+ make -C src ../include/date.h
make: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
touch ../src/config.h-t
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o makedefs.o makedefs.c
makedefs.c:52:19: warning: 'SCCS_Id' defined but not used [-Wunused-const-variable=]
52 | static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03";
| ^~~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from makedefs.c:10:
In function 'strncpy',
inlined from 'new_id' at makedefs.c:1523:2,
inlined from 'do_qt_control.constprop' at makedefs.c:1580:21:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 3 bytes from a string of length 255 [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../src/monst.c -o ../src/monst_util.o
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../src/objects.c -o ../src/objects_util.o
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../src/alloc.c -o ../src/alloc_util.o
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o panic.o panic.c
x86_64-alt-linux-gcc -DAUTOCONF -o makedefs makedefs.o ../src/monst_util.o ../src/objects_util.o ../src/alloc_util.o panic.o
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -m
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -z
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -p
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -o
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
touch ../src/hack.h-t
../util/makedefs -v
make: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
+ make -j8
( cd src ; make )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o alloc.o alloc.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o base32.o base32.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./monst.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./objects.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o bones.o bones.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o allmain.o allmain.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o botl.o botl.c
botl.c: In function 'bot1str':
botl.c:284:6: warning: unused variable 'save_botlx' [-Wunused-variable]
284 | int save_botlx = flags.botlx;
| ^~~~~~~~~~
botl.c: In function 'bot2str':
botl.c:460:6: warning: unused variable 'save_botlx' [-Wunused-variable]
460 | int save_botlx = flags.botlx;
| ^~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o decl.o decl.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o attrib.o attrib.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ball.o ball.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dbridge.o dbridge.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dlb.o dlb.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o detect.o detect.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dig.o dig.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o artifact.o artifact.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o apply.o apply.c
apply.c: In function 'use_mirror':
apply.c:749:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
749 | if (vis)
| ^~
apply.c:751:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
751 | mtmp->mcanmove = 0;
| ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o do.o do.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o do_name.o do_name.c
do_name.c: In function 'do_mname':
do_name.c:393:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=]
393 | Sprintf(qbuf, "What do you want to call %s?", buf);
| ^~ ~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from do_name.c:5:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dog.o dog.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o drawing.o drawing.c
drawing.c:939:20: warning: 'IBM_r_oc_syms' defined but not used [-Wunused-const-variable=]
939 | static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */
| ^~~~~~~~~~~~~
drawing.c:911:22: warning: 'r_oc_syms' defined but not used [-Wunused-const-variable=]
911 | static const glyph_t r_oc_syms[MAXOCLASSES] = {
| ^~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dogmove.o dogmove.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o do_wear.o do_wear.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dump.o dump.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o display.o display.c
display.c: In function 'dump_screen':
display.c:1496:70: warning: '%s' directive writing up to 255 bytes into a region of size between 145 and 155 [-Wformat-overflow=]
1496 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 53 and 318 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1540:43: warning: '%s' directive writing up to 255 bytes into a region of size 179 [-Wformat-overflow=]
1540 | Sprintf(tmpbuf, "%s", html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1538:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1538 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1536:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1536 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1534:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1534 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1532:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1532 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1530:59: warning: '%s' directive writing up to 255 bytes into a region of size 167 [-Wformat-overflow=]
1530 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1528:61: warning: '%s' directive writing up to 255 bytes into a region of size 165 [-Wformat-overflow=]
1528 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1526:59: warning: '%s' directive writing up to 255 bytes into a region of size 167 [-Wformat-overflow=]
1526 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1524:61: warning: '%s' directive writing up to 255 bytes into a region of size 166 [-Wformat-overflow=]
1524 | Sprintf(tmpbuf, "%s", dfeature, color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 297) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1522:48: warning: '%s' directive writing up to 255 bytes into a region of size 174 [-Wformat-overflow=]
1522 | Sprintf(tmpbuf, "%s", html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1520:61: warning: '%s' directive writing up to 255 bytes into a region of size 165 [-Wformat-overflow=]
1520 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1518:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1518 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1516:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1516 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1514:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1514 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1512:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1512 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1510:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1510 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1508:63: warning: '%s' directive writing up to 255 bytes into a region of size 163 [-Wformat-overflow=]
1508 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 300) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1506:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1506 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1546:61: warning: '%s' directive writing up to 255 bytes into a region of size between 162 and 166 [-Wformat-overflow=]
1546 | Sprintf(tmpbuf, "%s",
| ^~
1547 | t ? defsyms[trap_to_defsym(t->ttyp)].explanation : "trap",
1548 | color, html_c);
| ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 301) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1554:49: warning: '%s' directive writing up to 255 bytes into a region of size between 165 and 175 [-Wformat-overflow=]
1554 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 33 and 298 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1504:46: warning: '%s' directive writing up to 255 bytes into a region of size between 167 and 177 [-Wformat-overflow=]
1504 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 31 and 296 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1502:59: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1502 | Sprintf(tmpbuf, "%s", dfeature, color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1500:46: warning: '%s' directive writing up to 255 bytes into a region of size between 167 and 177 [-Wformat-overflow=]
1500 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 31 and 296 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1498:53: warning: '%s' directive writing up to 255 bytes into a region of size between 160 and 170 [-Wformat-overflow=]
1498 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 38 and 303 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dothrow.o dothrow.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cmd.o cmd.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dokick.o dokick.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o exper.o exper.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o end.o end.c
end.c: In function 'list_genocided':
end.c:1450:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1450 | else
| ^~~~
end.c:1454:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
1454 | if (c == 'q') done_stopprint++;
| ^~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dungeon.o dungeon.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o files.o files.c
files.c: In function 'save_savefile_name':
files.c:1038:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
1038 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
files.c: In function 'docompress_file':
files.c:1401:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
1401 | (void) setgid(getgid());
| ^~~~~~~~~~~~~~~~
files.c:1402:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
1402 | (void) setuid(getuid());
| ^~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o eat.o eat.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o extralev.o extralev.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o explode.o explode.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o hacklib.o hacklib.c
hacklib.c: In function 'get_int_from_dev_random':
hacklib.c:473:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
473 | fread(&random_seed, sizeof(int),1,fptr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o light.o light.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fountain.o fountain.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mapglyph.o mapglyph.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mail.o mail.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o engrave.o engrave.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from engrave.c:5:
In function 'strncat',
inlined from 'engrave' at engrave.c:1292:9:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o minion.o minion.c
In file included from minion.c:7:
minion.c: In function 'msummon':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:23:10: note: in expansion of macro 'EPRI'
23 | atyp = EPRI(mon)->shralign;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
minion.c:41:13: note: in expansion of macro 'is_lminion'
41 | } else if (is_lminion(mon)) {
| ^~~~~~~~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:80:3: 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:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:118:6: note: in expansion of macro 'EMIN'
118 | EMIN(mon)->min_align = alignment;
| ^~~~
In file included from minion.c:7:
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:124:6: note: in expansion of macro 'EPRI'
124 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */
| ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o lock.o lock.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mcastu.o mcastu.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o makemon.o makemon.c
In file included from makemon.c:6:
makemon.c: In function 'clone_mon':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
makemon.c:908:5: note: in expansion of macro 'EPRI'
908 | *(EPRI(m3)) = *(EPRI(mon));
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
makemon.c:908:19: note: in expansion of macro 'EPRI'
908 | *(EPRI(m3)) = *(EPRI(mon));
| ^~~~
makemon.c: In function 'mongets':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
makemon.c:1790:16: note: in expansion of macro 'is_lminion'
1790 | } else if(is_lminion(mtmp)) {
| ^~~~~~~~~~
makemon.c: In function 'set_malign':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
makemon.c:1903:10: note: in expansion of macro 'EPRI'
1903 | mal = EPRI(mtmp)->shralign;
| ^~~~
In file included from makemon.c:7:
../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
makemon.c:1905:10: note: in expansion of macro 'EMIN'
1905 | mal = EMIN(mtmp)->min_align;
| ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o invent.o invent.c
invent.c: In function 'doorganize':
invent.c:3450:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
3450 | } else
| ^~~~
invent.c:3455:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
3455 | otmp->invlet = obj->invlet;
| ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkobj.o mkobj.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mklev.o mklev.c
mklev.c: In function 'mktrap':
mklev.c:1550:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1550 | if (lvl < 2) kind = NO_TRAP; break;
| ^~
mklev.c:1550:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1550 | if (lvl < 2) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1552:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1552 | if (lvl < 5 || level.flags.noteleport)
| ^~
mklev.c:1553:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1553 | kind = NO_TRAP; break;
| ^~~~~
mklev.c:1555:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1555 | if (lvl < 5) kind = NO_TRAP; break;
| ^~
mklev.c:1555:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1555 | if (lvl < 5) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1557:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1557 | if (lvl < 6) kind = NO_TRAP; break;
| ^~
mklev.c:1557:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1557 | if (lvl < 6) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1559:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1559 | if (lvl < 7) kind = NO_TRAP; break;
| ^~
mklev.c:1559:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1559 | if (lvl < 7) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1562:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1562 | if (lvl < 8) kind = NO_TRAP; break;
| ^~
mklev.c:1562:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1562 | if (lvl < 8) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1564:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1564 | if (!Inhell || Insheol) kind = NO_TRAP; break;
| ^~
mklev.c:1564:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1564 | if (!Inhell || Insheol) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1566:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1566 | if (!Insheol) kind = NO_TRAP; break;
| ^~
mklev.c:1566:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1566 | if (!Insheol) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1568:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1568 | if (level.flags.noteleport) kind = NO_TRAP; break;
| ^~
mklev.c:1568:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1568 | if (level.flags.noteleport) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1571:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1571 | if (rn2(7)) kind = NO_TRAP; break;
| ^~
mklev.c:1571:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1571 | if (rn2(7)) kind = NO_TRAP; break;
| ^~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkmaze.o mkmaze.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkmap.o mkmap.c
mkmap.c: In function 'pass_two':
mkmap.c:147:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
147 | for(count=0, dr=0; dr < 8; dr++)
| ^~~
mkmap.c:151:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
151 | if (count == 5)
| ^~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkroom.o mkroom.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o monstr.o monstr.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mksheol.o mksheol.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o hack.o hack.c
hack.c: In function 'moverock':
hack.c:586:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
586 | else
| ^~~~
hack.c:589:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
589 | if (Blind) feel_location(sx, sy);
| ^~
hack.c: In function 'interesting_to_explore':
hack.c:1378:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
1378 | interesting_to_explore(x,y) {
| ^~~~~~~~~~~~~~~~~~~~~~
hack.c:1378:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int]
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from hack.c:7:
In function 'strncpy',
inlined from 'nomul.part.0' at hack.c:2974:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'nomul' at hack.c:2974:11,
inlined from 'nomul' at hack.c:2965:1:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mplayer.o mplayer.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mondata.o mondata.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mhitu.o mhitu.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o music.o music.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mhitm.o mhitm.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mthrowu.o mthrowu.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o o_init.o o_init.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o muse.o muse.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pager.o pager.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from pager.c:8:
In function 'strncpy',
inlined from 'dowhatdoes_core' at pager.c:838:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'dowhatdoes_core' at pager.c:842:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'dowhatdoes_core' at pager.c:847:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
inlined from 'do_look' at pager.c:732:13:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
inlined from 'do_look' at pager.c:737:13:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o monmove.o monmove.c
In file included from monmove.c:8:
monmove.c: In function 'onscary':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
monmove.c:134:6: note: in expansion of macro 'is_lminion'
134 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] ||
| ^~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pline.o pline.c
In file included from pline.c:7:
pline.c: In function 'mstatusline':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pline.c:364:15: note: in expansion of macro 'EPRI'
364 | alignment = EPRI(mtmp)->shralign;
| ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mon.o mon.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o priest.o priest.c
In file included from priest.c:8:
priest.c: In function 'histemple_at':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:125:20: note: in expansion of macro 'EPRI'
125 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) &&
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:126:20: note: in expansion of macro 'EPRI'
126 | on_level(&(EPRI(priest)->shrlevel), &u.uz)));
| ^~~~
priest.c: In function 'pri_move':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:145:11: note: in expansion of macro 'EPRI'
145 | temple = EPRI(priest)->shroom;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:147:7: note: in expansion of macro 'EPRI'
147 | gx = EPRI(priest)->shrpos.x;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:148:7: note: in expansion of macro 'EPRI'
148 | gy = EPRI(priest)->shrpos.y;
| ^~~~
priest.c: In function 'priestini':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:192:3: note: in expansion of macro 'EPRI'
192 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:193:3: note: in expansion of macro 'EPRI'
193 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask);
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:194:3: note: in expansion of macro 'EPRI'
194 | EPRI(priest)->shrpos.x = sx;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:195:3: note: in expansion of macro 'EPRI'
195 | EPRI(priest)->shrpos.y = sy;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:196:18: note: in expansion of macro 'EPRI'
196 | assign_level(&(EPRI(priest)->shrlevel), lvl);
| ^~~~
priest.c: In function 'priestname':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:254:26: note: in expansion of macro 'EPRI'
254 | if (!mon->ispriest && EPRI(mon)->renegade)
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:272:33: note: in expansion of macro 'EPRI'
272 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign));
| ^~~~
In file included from priest.c:9:
../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:279:27: note: in expansion of macro 'EMIN'
279 | Strcat(pname, halu_gname(EMIN(mon)->min_align));
| ^~~~
In file included from priest.c:8:
priest.c: In function 'p_coaligned':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:287:42: note: in expansion of macro 'EPRI'
287 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign)));
| ^~~~
priest.c: In function 'has_shrine':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:298:14: note: in expansion of macro 'EPRI'
298 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:298:35: note: in expansion of macro 'EPRI'
298 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:301:19: note: in expansion of macro 'EPRI'
301 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE)));
| ^~~~
priest.c: In function 'findpriest':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:312:28: note: in expansion of macro 'EPRI'
312 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) &&
| ^~~~
priest.c: In function 'mk_roamer':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:546:2: note: in expansion of macro 'EPRI'
546 | EPRI(roamer)->shralign = alignment;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:548:3: note: in expansion of macro 'EPRI'
548 | EPRI(roamer)->renegade = TRUE;
| ^~~~
priest.c: In function 'reset_hostility':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:568:5: note: in expansion of macro 'EPRI'
568 | if(EPRI(roamer)->shralign != u.ualign.type) {
| ^~~~
priest.c: In function 'ghod_hitsu':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:609:11: note: in expansion of macro 'EPRI'
609 | ax = x = EPRI(priest)->shrpos.x;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:610:11: note: in expansion of macro 'EPRI'
610 | ay = y = EPRI(priest)->shrpos.y;
| ^~~~
priest.c: In function 'angry_priest':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:674:18: note: in expansion of macro 'EPRI'
674 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:674:42: note: in expansion of macro 'EPRI'
674 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:677:4: note: in expansion of macro 'EPRI'
677 | EPRI(priest)->shralign)) {
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:681:3: note: in expansion of macro 'EPRI'
681 | EPRI(priest)->renegade = 0;
| ^~~~
priest.c: In function 'clearpriests':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:697:58: note: in expansion of macro 'EPRI'
697 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz))
| ^~~~
priest.c: In function 'restpriest':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:710:21: note: in expansion of macro 'EPRI'
710 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz);
| ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o quest.o quest.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o objnam.o objnam.c
objnam.c: In function 'readobjnam':
objnam.c:2067:10: warning: variable 'found_by_descr' set but not used [-Wunused-but-set-variable]
2067 | boolean found_by_descr = FALSE;
| ^~~~~~~~~~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from objnam.c:5:
In function 'strncpy',
inlined from 'strprepend' at objnam.c:65:9,
inlined from 'doname_base' at objnam.c:710:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objnam.c: In function 'doname_base':
objnam.c:58:24: note: length computed here
58 | register int i = (int)strlen(pref);
| ^~~~~~~~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from objnam.c:5:
In function 'strncpy',
inlined from 'strprepend' at objnam.c:65:9,
inlined from 'doname_base' at objnam.c:1013:7:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objnam.c: In function 'doname_base':
objnam.c:58:24: note: length computed here
58 | register int i = (int)strlen(pref);
| ^~~~~~~~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from objnam.c:5:
In function 'strncpy',
inlined from 'strprepend' at objnam.c:65:9,
inlined from 'aobjnam' at objnam.c:1312:8:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objnam.c: In function 'aobjnam':
objnam.c:58:24: note: length computed here
58 | register int i = (int)strlen(pref);
| ^~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o polyself.o polyself.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pickup.o pickup.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o questpgr.o questpgr.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rect.o rect.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rnd.o rnd.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o options.o options.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
In function 'strncpy',
inlined from 'parse_extended_option.part.0' at options.c:1575:2:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'parse_monster_color' at options.c:1522:2:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
options.c: In function 'option_help':
options.c:4702:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=]
4702 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr,
| ^~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
options.c: In function 'doset':
options.c:3657:43: warning: 's [' directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=]
3657 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name);
| ^~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 22 bytes into a destination of size 16
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
options.c:3733:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
3733 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2);
| ^
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rip.o rip.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rnd_isaac.o rnd_isaac.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rumors.o rumors.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o restore.o restore.c
restore.c: In function 'restgamestate':
restore.c:421:14: warning: unused variable 'otmp' [-Wunused-variable]
421 | struct obj *otmp;
| ^~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pray.o pray.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o save.o save.c
save.c: In function 'savestateinlock':
save.c:394:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
394 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
save.c:412:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
412 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
save.c:416:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
416 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o region.o region.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o potion.o potion.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o role.o role.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sit.o sit.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o read.o read.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o shknam.o shknam.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o steal.o steal.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sounds.o sounds.c
sounds.c: In function 'domonnoise':
sounds.c:606:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds]
606 | verbl_msg = vampmsg[vampindex];
| ~~~~~~~^~~~~~~~~~~
sounds.c:581:34: note: while referencing 'vampmsg'
581 | static const char * const vampmsg[] = {
| ^~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o spell.o spell.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o track.o track.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o steed.o steed.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -o tilemap ./../win/share/tilemap.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./tilemap
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o topten.o topten.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o tutorial.o tutorial.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o unicode.o unicode.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o timeout.o timeout.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o u_init.o u_init.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o teleport.o teleport.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o vis_tab.o vis_tab.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o were.o were.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o vault.o vault.c
In file included from vault.c:6:
vault.c: In function 'clear_fcorr':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:27:18: note: in expansion of macro 'EGD'
27 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:29:17: note: in expansion of macro 'EGD'
29 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) {
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:29:36: note: in expansion of macro 'EGD'
29 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) {
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:30:9: note: in expansion of macro 'EGD'
30 | fcx = EGD(grd)->fakecorr[fcbeg].fx;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:31:9: note: in expansion of macro 'EGD'
31 | fcy = EGD(grd)->fakecorr[fcbeg].fy;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:33:8: note: in expansion of macro 'EGD'
33 | EGD(grd)->gddone)
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:48:24: note: in expansion of macro 'EGD'
48 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:51:3: note: in expansion of macro 'EGD'
51 | EGD(grd)->fcbeg++;
| ^~~
vault.c: In function 'grddead':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:79:3: note: in expansion of macro 'EGD'
79 | EGD(grd)->ogx = grd->mx;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:80:3: note: in expansion of macro 'EGD'
80 | EGD(grd)->ogy = grd->my;
| ^~~
vault.c: In function 'in_fcorridor':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:93:12: note: in expansion of macro 'EGD'
93 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++)
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:93:35: note: in expansion of macro 'EGD'
93 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++)
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:94:11: note: in expansion of macro 'EGD'
94 | if(x == EGD(grd)->fakecorr[fci].fx &&
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:95:10: note: in expansion of macro 'EGD'
95 | y == EGD(grd)->fakecorr[fci].fy)
| ^~~
vault.c: In function 'findgd':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:107:56: note: in expansion of macro 'EGD'
107 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz))
| ^~~
vault.c: In function 'invault':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:225:2: note: in expansion of macro 'EGD'
225 | EGD(guard)->gddone = 0;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:226:2: note: in expansion of macro 'EGD'
226 | EGD(guard)->ogx = x;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:227:2: note: in expansion of macro 'EGD'
227 | EGD(guard)->ogy = y;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:228:17: note: in expansion of macro 'EGD'
228 | assign_level(&(EGD(guard)->gdlevel), &u.uz);
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:229:2: note: in expansion of macro 'EGD'
229 | EGD(guard)->vroom = vaultroom;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:230:2: note: in expansion of macro 'EGD'
230 | EGD(guard)->warncnt = 0;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:322:2: note: in expansion of macro 'EGD'
322 | EGD(guard)->gdx = gx;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:323:2: note: in expansion of macro 'EGD'
323 | EGD(guard)->gdy = gy;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:324:2: note: in expansion of macro 'EGD'
324 | EGD(guard)->fcbeg = 0;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:325:2: note: in expansion of macro 'EGD'
325 | EGD(guard)->fakecorr[0].fx = x;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:326:2: note: in expansion of macro 'EGD'
326 | EGD(guard)->fakecorr[0].fy = y;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:328:6: note: in expansion of macro 'EGD'
328 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:330:16: note: in expansion of macro 'EGD'
330 | int vlt = EGD(guard)->vroom;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:335:3: note: in expansion of macro 'EGD'
335 | EGD(guard)->fakecorr[0].ftyp = TLCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:337:3: note: in expansion of macro 'EGD'
337 | EGD(guard)->fakecorr[0].ftyp = TRCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:339:3: note: in expansion of macro 'EGD'
339 | EGD(guard)->fakecorr[0].ftyp = BLCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:341:3: note: in expansion of macro 'EGD'
341 | EGD(guard)->fakecorr[0].ftyp = BRCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:343:3: note: in expansion of macro 'EGD'
343 | EGD(guard)->fakecorr[0].ftyp = HWALL;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:345:3: note: in expansion of macro 'EGD'
345 | EGD(guard)->fakecorr[0].ftyp = VWALL;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:350:2: note: in expansion of macro 'EGD'
350 | EGD(guard)->fcend = 1;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:351:2: note: in expansion of macro 'EGD'
351 | EGD(guard)->warncnt = 1;
| ^~~
vault.c: In function 'wallify_vault':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:376:12: note: in expansion of macro 'EGD'
376 | int vlt = EGD(grd)->vroom;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:397:20: note: in expansion of macro 'EGD'
397 | move_gold(gold, EGD(grd)->vroom);
| ^~~
vault.c: In function 'paygd':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:792:17: note: in expansion of macro 'EGD'
792 | gx = rooms[EGD(grd)->vroom].lx + rn2(2);
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:793:17: note: in expansion of macro 'EGD'
793 | gy = rooms[EGD(grd)->vroom].ly + rn2(2);
| ^~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o shk.o shk.c
shk.c: In function 'repair_damage':
shk.c:3381:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
3381 | while (!(litter[i = rn2(9)] & INSHOP));
| ^~~~~
shk.c:3382:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
3382 | remove_object(otmp);
| ^~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o windows.o windows.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o weapon.o weapon.c
weapon.c: In function 'enhance_skill':
weapon.c:1053:26: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=]
1053 | Sprintf(buf, " %s%s\t[%s]",
| ^~
1054 | prefix, P_NAME(i), sklnambuf);
| ~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weapon.c:1050:28: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=]
1050 | Sprintf(buf, " %s %-*s [%s]",
| ^~
1051 | prefix, longest, P_NAME(i), sklnambuf);
| ~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weapon.c:1042:25: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=]
1042 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)",
| ^~
1043 | prefix, P_NAME(i), sklnambuf,
| ~~~~~~~~~
weapon.c:1042:17: note: directive argument in the range [0, 65535]
1042 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)",
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 274) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weapon.c:1037:26: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=]
1037 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)",
| ^~~~~
1038 | prefix, longest, P_NAME(i), sklnambuf,
| ~~~~~~~~~
weapon.c:1037:17: note: directive argument in the range [0, 65535]
1037 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)",
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 274) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o wizard.o wizard.c
In file included from wizard.c:12:
wizard.c: In function 'cuss':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
wizard.c:639:12: note: in expansion of macro 'is_lminion'
639 | } else if(is_lminion(mtmp)) {
| ^~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o wield.o wield.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o vision.o vision.c
vision.c: In function 'vision_recalc':
vision.c:602:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
602 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:602:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
602 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:623:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
623 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:623:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
623 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:661:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
661 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:661:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
661 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o write.o write.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from write.c:4:
In function 'strncpy',
inlined from 'dowrite' at write.c:124:9:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/share/ioctl.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o worm.o worm.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/unix/unixmain.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../sys/unix/unixmain.c:7:
In function 'strncat',
inlined from 'main' at ./../sys/unix/unixmain.c:216:10:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/unix/unixres.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o worn.o worn.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/unix/unixunix.c
./../sys/unix/unixunix.c: In function 'child':
./../sys/unix/unixunix.c:338:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
338 | (void) setgid(getgid());
| ^~~~~~~~~~~~~~~~
./../sys/unix/unixunix.c:339:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
339 | (void) setuid(getuid());
| ^~~~~~~~~~~~~~~~
./../sys/unix/unixunix.c:341:10: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
341 | (void) chdir(getenv("HOME"));
| ^~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/share/unixtty.c
./../sys/share/unixtty.c: In function 'linux_mapon':
./../sys/share/unixtty.c:395:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
395 | write(1, "\033(B", 3);
| ^~~~~~~~~~~~~~~~~~~~~
./../sys/share/unixtty.c: In function 'linux_mapoff':
./../sys/share/unixtty.c:405:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
405 | write(1, "\033(U", 3);
| ^~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -DNO_MAIN -c ./../util/recover.c
./../util/recover.c: In function 'restore_savefile':
./../util/recover.c:325:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
325 | write(sfd, (genericptr_t) &levc, sizeof(levc));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sp_lev.o sp_lev.c
In file included from sp_lev.c:26:
sp_lev.c: In function 'flip_level':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:545:3: note: in expansion of macro 'EPRI'
545 | EPRI(mtmp)->shrpos.y = y2 - EPRI(mtmp)->shrpos.y;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:545:31: note: in expansion of macro 'EPRI'
545 | EPRI(mtmp)->shrpos.y = y2 - EPRI(mtmp)->shrpos.y;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:556:3: note: in expansion of macro 'EPRI'
556 | EPRI(mtmp)->shrpos.x = x2 - EPRI(mtmp)->shrpos.x;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:556:31: note: in expansion of macro 'EPRI'
556 | EPRI(mtmp)->shrpos.x = x2 - EPRI(mtmp)->shrpos.x;
| ^~~~
sp_lev.c: In function 'spo_feature':
sp_lev.c:4299:20: warning: 'typ' may be used uninitialized in this function [-Wmaybe-uninitialized]
4299 | levl[x][y].typ = (*(int *)arg);
sp_lev.c:4359:9: note: 'typ' was declared here
4359 | int typ;
| ^~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/getline.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursmain.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/termcap.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/curswins.c
../win/curses/curswins.c: In function 'curses_create_window':
../win/curses/curswins.c:98:16: warning: 'mapy' may be used uninitialized in this function [-Wmaybe-uninitialized]
98 | starty = mapy + mapb_offset;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
../win/curses/curswins.c:93:47: warning: 'mapx' may be used uninitialized in this function [-Wmaybe-uninitialized]
93 | startx = (mapw / 2) - (width / 2) + mapx + mapb_offset;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o trap.o trap.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/topl.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursmisc.c
../win/curses/cursmisc.c: In function 'curses_read_char':
../win/curses/cursmisc.c:41:13: warning: variable 'tmpch' set but not used [-Wunused-but-set-variable]
41 | int ch, tmpch;
| ^~~~~
../win/curses/cursmisc.c: In function 'curses_str_remainder':
../win/curses/cursmisc.c:328:10: warning: variable 'curstr' set but not used [-Wunused-but-set-variable]
328 | char curstr[strsize];
| ^~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from ../win/curses/cursmisc.c:4:
In function 'strcpy',
inlined from 'curses_break_str' at ../win/curses/cursmisc.c:275:5:
/usr/include/bits/string_fortified.h:75:10: warning: '__builtin_strcpy' writing one too many bytes into a region of a size that depends on 'strlen' [-Wstringop-overflow=]
75 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursmisc.c: In function 'curses_break_str':
../win/curses/cursmisc.c:271:10: note: at offset 0 to an object declared here
271 | char substr[strsize];
| ^~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from ../win/curses/cursmisc.c:4:
In function 'strcpy',
inlined from 'curses_str_remainder' at ../win/curses/cursmisc.c:331:5:
/usr/include/bits/string_fortified.h:75:10: warning: '__builtin_strcpy' writing one too many bytes into a region of a size that depends on 'strlen' [-Wstringop-overflow=]
75 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursmisc.c: In function 'curses_str_remainder':
../win/curses/cursmisc.c:327:10: note: at offset 0 to an object declared here
327 | char substr[strsize];
| ^~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursinvt.c
../win/curses/cursinvt.c: In function 'curses_add_inv':
../win/curses/cursinvt.c:87:25: warning: pointer targets in passing argument 2 of 'mapglyph' differ in signedness [-Wpointer-sign]
87 | mapglyph(glyph, &symbol, &color, &dummy,
| ^~~~~~~
| |
| int *
In file included from ../include/config.h:269,
from ../include/hack.h:9,
from ../win/curses/cursinvt.c:4:
../include/extern.h:1087:30: note: expected 'glyph_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1087 | E void FDECL(mapglyph, (int, glyph_t *, int *, unsigned *, int, int));
| ^~~~~~~~~
../include/tradstdc.h:124:23: note: in definition of macro 'FDECL'
124 | # define FDECL(f,p) f p
| ^
../win/curses/cursinvt.c:103:55: warning: passing argument 3 of 'curses_get_menu_coloring' from incompatible pointer type [-Wincompatible-pointer-types]
103 | curses_get_menu_coloring(str_mutable, &color, &attr);
| ^~~~~
| |
| attr_t * {aka long unsigned int *}
In file included from ../win/curses/cursinvt.c:7:
../win/curses/cursdial.h:24:49: note: expected 'int *' but argument is of type 'attr_t *' {aka 'long unsigned int *'}
24 | boolean curses_get_menu_coloring(char *, int *, int *);
| ^~~~~
../win/curses/cursinvt.c:99:17: warning: unused variable 'menu_color' [-Wunused-variable]
99 | boolean menu_color = FALSE;
| ^~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursstat.c
../win/curses/cursstat.c: In function 'curses_update_stats':
../win/curses/cursstat.c:444:13: warning: variable 'ax' set but not used [-Wunused-but-set-variable]
444 | int ax = 0;
| ^~
../win/curses/cursstat.c: In function 'curses_add_statuses':
../win/curses/cursstat.c:857:13: warning: variable 'my' set but not used [-Wunused-but-set-variable]
857 | int my = *y;
| ^~
../win/curses/cursstat.c: In function 'draw_horizontal':
../win/curses/cursstat.c:515:26: warning: '%s' directive writing up to 255 bytes into a region of size between 220 and 251 [-Wformat-overflow=]
515 | sprintf(buf, "%s the %s", plname, rank);
| ^~ ~~~~
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursstat.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 292 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursstat.c: In function 'draw_vertical':
../win/curses/cursstat.c:750:28: warning: '%-*s' directive writing up to 2147483628 bytes into a region of size between 220 and 251 [-Wformat-overflow=]
750 | sprintf(buf, "%-*s the %-*s", namelen, plname, ranklen, rank);
| ^~~~ ~~~~
../win/curses/cursstat.c:750:18: note: assuming directive output of 255 bytes
750 | sprintf(buf, "%-*s the %-*s", namelen, plname, ranklen, rank);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursstat.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 2147483665 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursdial.c
../win/curses/cursdial.c: In function 'curses_ext_cmd':
../win/curses/cursdial.c:324:24: warning: variable 'h' set but not used [-Wunused-but-set-variable]
324 | int x0, y0, w, h; /* bounding coords of popup */
| ^
../win/curses/cursdial.c: In function 'menu_display_page':
../win/curses/cursdial.c:1000:44: warning: pointer targets in passing argument 2 of 'mapglyph' differ in signedness [-Wpointer-sign]
1000 | mapglyph(menu_item_ptr->glyph, &curletter, &color, &special, 0, 0);
| ^~~~~~~~~~
| |
| int *
In file included from ../include/config.h:269,
from ../include/hack.h:9,
from ../win/curses/cursdial.c:4:
../include/extern.h:1087:30: note: expected 'glyph_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1087 | E void FDECL(mapglyph, (int, glyph_t *, int *, unsigned *, int, int));
| ^~~~~~~~~
../include/tradstdc.h:124:23: note: in definition of macro 'FDECL'
124 | # define FDECL(f,p) f p
| ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o version.o version.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursinit.c
../win/curses/cursinit.c: In function 'curses_debug_show_colors':
../win/curses/cursinit.c:1153:13: warning: unused variable 'win' [-Wunused-variable]
1153 | WINDOW *win = curses_get_nhwin(MESSAGE_WIN);
| ^~~
../win/curses/cursinit.c:1148:9: warning: unused variable 'i' [-Wunused-variable]
1148 | int i,c;
| ^
../win/curses/cursinit.c: In function 'curses_choose_character':
../win/curses/cursinit.c:537:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
537 | sprintf(choice, "%s%c", tmpchoice, '\033');
| ^
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursinit.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursinit.c:548:24: warning: '%s' directive writing up to 127 bytes into a region of size between 1 and 128 [-Wformat-overflow=]
548 | sprintf(choice, "%s%s", choice, tmpchoice);
| ^~ ~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursinit.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 1 and 255 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o livelog.o livelog.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o tile.o tile.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursmesg.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/wintty.c
./../win/tty/wintty.c: In function 'tty_player_selection':
./../win/tty/wintty.c:617:39: warning: '%s' directive writing up to 127 bytes into a region of size 107 [-Wformat-overflow=]
617 | Sprintf(pbuf, "Pick a role for your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 22 and 149 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../win/tty/wintty.c:688:44: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=]
688 | Sprintf(pbuf, "Pick the race of your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 23 and 150 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../win/tty/wintty.c:760:46: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=]
760 | Sprintf(pbuf, "Pick the gender of your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 25 and 152 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../win/tty/wintty.c:831:49: warning: '%s' directive writing up to 127 bytes into a region of size 101 [-Wformat-overflow=]
831 | Sprintf(pbuf, "Pick the alignment of your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 28 and 155 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o uhitm.o uhitm.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o zap.o zap.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
Loading ...
x86_64-alt-linux-gcc -DAUTOCONF -o unnethack monst.o objects.o alloc.o allmain.o apply.o artifact.o attrib.o ball.o base32.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dump.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mksheol.o mon.o mondata.o monmove.o monstr.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o rnd_isaac.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o steal.o steed.o teleport.o tile.o timeout.o topten.o track.o trap.o tutorial.o u_init.o uhitm.o unicode.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o recover.o getline.o termcap.o topl.o wintty.o cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o version.o livelog.o -lncurses -lncurses
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
unnethack is up to date.
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
+ make -C util recover lev_comp dgn_comp
make: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
x86_64-alt-linux-gcc -DAUTOCONF -o makedefs makedefs.o ../src/monst_util.o ../src/objects_util.o ../src/alloc_util.o panic.o
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -m
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -z
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -p
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
./makedefs -o
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
touch ../src/hack.h-t
../util/makedefs -v
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o recover.o recover.c
recover.c: In function 'restore_savefile':
recover.c:325:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
325 | write(sfd, (genericptr_t) &levc, sizeof(levc));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -o recover recover.o
bison -y -b lev -d ./lev_comp.y
mv lev.tab.c lev_yacc.c
cp lev.tab.h ../include/lev_comp.h
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o lev_yacc.o lev_yacc.c
rm -f lev_lex.yy.c
flex -t ./lev_comp.l > lev_lex.yy.c
mv lev_lex.yy.c lev_lex.c
x86_64-alt-linux-gcc -DAUTOCONF -c -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 lev_lex.c
./lev_comp.l: In function 'handle_varstring_method':
./lev_comp.l:488:11: warning: unused variable 'a' [-Wunused-variable]
488 | long a = ((l & SPOVAR_ARRAY) == SPOVAR_ARRAY);
| ^
./lev_comp.l:479:8: warning: unused variable 'r' [-Wunused-variable]
479 | long r;
| ^
At top level:
:3248:16: warning: 'input' defined but not used [-Wunused-function]
:3205:17: warning: 'yyunput' defined but not used [-Wunused-function]
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o lev_main.o lev_main.c
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../src/drawing.c -o ../src/drawing_util.o
./../src/drawing.c:939:20: warning: 'IBM_r_oc_syms' defined but not used [-Wunused-const-variable=]
939 | static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */
| ^~~~~~~~~~~~~
./../src/drawing.c:911:22: warning: 'r_oc_syms' defined but not used [-Wunused-const-variable=]
911 | static const glyph_t r_oc_syms[MAXOCLASSES] = {
| ^~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../src/decl.c -o ../src/decl_util.o
x86_64-alt-linux-gcc -DAUTOCONF -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc_util.o panic.o ../src/drawing_util.o ../src/decl_util.o ../src/monst_util.o ../src/objects_util.o
bison -y -b dgn -d ./dgn_comp.y
mv dgn.tab.c dgn_yacc.c
cp dgn.tab.h ../include/dgn_comp.h
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dgn_yacc.o dgn_yacc.c
rm -f dgn_lex.yy.c
flex -t ./dgn_comp.l > dgn_lex.yy.c
mv dgn_lex.yy.c dgn_lex.c
x86_64-alt-linux-gcc -DAUTOCONF -c -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 dgn_lex.c
:1483:16: warning: 'input' defined but not used [-Wunused-function]
:1440:17: warning: 'yyunput' defined but not used [-Wunused-function]
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dgn_main.o dgn_main.c
x86_64-alt-linux-gcc -DAUTOCONF -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc_util.o panic.o
make: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.15108
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/unnethack-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/unnethack-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd unnethack-5.3.2
+ make install DESTDIR=/usr/src/tmp/unnethack-buildroot CHOWN=echo CHGRP=echo CHMOD=echo
make: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
( cd src ; make )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o allmain.o allmain.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o apply.o apply.c
apply.c: In function 'use_mirror':
apply.c:749:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
749 | if (vis)
| ^~
apply.c:751:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
751 | mtmp->mcanmove = 0;
| ^~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o artifact.o artifact.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o attrib.o attrib.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ball.o ball.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o base32.o base32.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o bones.o bones.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o botl.o botl.c
botl.c: In function 'bot1str':
botl.c:284:6: warning: unused variable 'save_botlx' [-Wunused-variable]
284 | int save_botlx = flags.botlx;
| ^~~~~~~~~~
botl.c: In function 'bot2str':
botl.c:460:6: warning: unused variable 'save_botlx' [-Wunused-variable]
460 | int save_botlx = flags.botlx;
| ^~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o cmd.o cmd.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dbridge.o dbridge.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o decl.o decl.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o detect.o detect.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dig.o dig.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o display.o display.c
display.c: In function 'dump_screen':
display.c:1496:70: warning: '%s' directive writing up to 255 bytes into a region of size between 145 and 155 [-Wformat-overflow=]
1496 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 53 and 318 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1540:43: warning: '%s' directive writing up to 255 bytes into a region of size 179 [-Wformat-overflow=]
1540 | Sprintf(tmpbuf, "%s", html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1538:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1538 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1536:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1536 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1534:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1534 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1532:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1532 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1530:59: warning: '%s' directive writing up to 255 bytes into a region of size 167 [-Wformat-overflow=]
1530 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1528:61: warning: '%s' directive writing up to 255 bytes into a region of size 165 [-Wformat-overflow=]
1528 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1526:59: warning: '%s' directive writing up to 255 bytes into a region of size 167 [-Wformat-overflow=]
1526 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1524:61: warning: '%s' directive writing up to 255 bytes into a region of size 166 [-Wformat-overflow=]
1524 | Sprintf(tmpbuf, "%s", dfeature, color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 297) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1522:48: warning: '%s' directive writing up to 255 bytes into a region of size 174 [-Wformat-overflow=]
1522 | Sprintf(tmpbuf, "%s", html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1520:61: warning: '%s' directive writing up to 255 bytes into a region of size 165 [-Wformat-overflow=]
1520 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1518:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1518 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1516:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1516 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1514:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1514 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1512:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1512 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1510:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1510 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1508:63: warning: '%s' directive writing up to 255 bytes into a region of size 163 [-Wformat-overflow=]
1508 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 300) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1506:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=]
1506 | Sprintf(tmpbuf, "%s", dfeature, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1546:61: warning: '%s' directive writing up to 255 bytes into a region of size between 162 and 166 [-Wformat-overflow=]
1546 | Sprintf(tmpbuf, "%s",
| ^~
1547 | t ? defsyms[trap_to_defsym(t->ttyp)].explanation : "trap",
1548 | color, html_c);
| ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 301) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1554:49: warning: '%s' directive writing up to 255 bytes into a region of size between 165 and 175 [-Wformat-overflow=]
1554 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 33 and 298 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1504:46: warning: '%s' directive writing up to 255 bytes into a region of size between 167 and 177 [-Wformat-overflow=]
1504 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 31 and 296 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1502:59: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=]
1502 | Sprintf(tmpbuf, "%s", dfeature, color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1500:46: warning: '%s' directive writing up to 255 bytes into a region of size between 167 and 177 [-Wformat-overflow=]
1500 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 31 and 296 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
display.c:1498:53: warning: '%s' directive writing up to 255 bytes into a region of size between 160 and 170 [-Wformat-overflow=]
1498 | Sprintf(tmpbuf, "%s", color, html_c);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from display.c:118:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 38 and 303 bytes into a destination of size 200
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o do.o do.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o do_name.o do_name.c
do_name.c: In function 'do_mname':
do_name.c:393:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=]
393 | Sprintf(qbuf, "What do you want to call %s?", buf);
| ^~ ~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from do_name.c:5:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o do_wear.o do_wear.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dog.o dog.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dogmove.o dogmove.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dokick.o dokick.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dothrow.o dothrow.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o drawing.o drawing.c
drawing.c:939:20: warning: 'IBM_r_oc_syms' defined but not used [-Wunused-const-variable=]
939 | static const uchar IBM_r_oc_syms[MAXOCLASSES] = { /* a la EPYX Rogue */
| ^~~~~~~~~~~~~
drawing.c:911:22: warning: 'r_oc_syms' defined but not used [-Wunused-const-variable=]
911 | static const glyph_t r_oc_syms[MAXOCLASSES] = {
| ^~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dump.o dump.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o dungeon.o dungeon.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o eat.o eat.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o end.o end.c
end.c: In function 'list_genocided':
end.c:1450:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1450 | else
| ^~~~
end.c:1454:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
1454 | if (c == 'q') done_stopprint++;
| ^~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o engrave.o engrave.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from engrave.c:5:
In function 'strncat',
inlined from 'engrave' at engrave.c:1292:9:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o exper.o exper.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o explode.o explode.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o extralev.o extralev.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o files.o files.c
files.c: In function 'save_savefile_name':
files.c:1038:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
1038 | (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
files.c: In function 'docompress_file':
files.c:1401:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
1401 | (void) setgid(getgid());
| ^~~~~~~~~~~~~~~~
files.c:1402:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
1402 | (void) setuid(getuid());
| ^~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o fountain.o fountain.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o hack.o hack.c
hack.c: In function 'moverock':
hack.c:586:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
586 | else
| ^~~~
hack.c:589:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
589 | if (Blind) feel_location(sx, sy);
| ^~
hack.c: In function 'interesting_to_explore':
hack.c:1378:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
1378 | interesting_to_explore(x,y) {
| ^~~~~~~~~~~~~~~~~~~~~~
hack.c:1378:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int]
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from hack.c:7:
In function 'strncpy',
inlined from 'nomul.part.0' at hack.c:2974:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'nomul' at hack.c:2974:11,
inlined from 'nomul' at hack.c:2965:1:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o hacklib.o hacklib.c
hacklib.c: In function 'get_int_from_dev_random':
hacklib.c:473:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
473 | fread(&random_seed, sizeof(int),1,fptr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o invent.o invent.c
invent.c: In function 'doorganize':
invent.c:3450:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
3450 | } else
| ^~~~
invent.c:3455:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
3455 | otmp->invlet = obj->invlet;
| ^~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o light.o light.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o lock.o lock.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mail.o mail.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o makemon.o makemon.c
In file included from makemon.c:6:
makemon.c: In function 'clone_mon':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
makemon.c:908:5: note: in expansion of macro 'EPRI'
908 | *(EPRI(m3)) = *(EPRI(mon));
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
makemon.c:908:19: note: in expansion of macro 'EPRI'
908 | *(EPRI(m3)) = *(EPRI(mon));
| ^~~~
makemon.c: In function 'mongets':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
makemon.c:1790:16: note: in expansion of macro 'is_lminion'
1790 | } else if(is_lminion(mtmp)) {
| ^~~~~~~~~~
makemon.c: In function 'set_malign':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
makemon.c:1903:10: note: in expansion of macro 'EPRI'
1903 | mal = EPRI(mtmp)->shralign;
| ^~~~
In file included from makemon.c:7:
../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
makemon.c:1905:10: note: in expansion of macro 'EMIN'
1905 | mal = EMIN(mtmp)->min_align;
| ^~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mapglyph.o mapglyph.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mcastu.o mcastu.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mhitm.o mhitm.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mhitu.o mhitu.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o minion.o minion.c
In file included from minion.c:7:
minion.c: In function 'msummon':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:23:10: note: in expansion of macro 'EPRI'
23 | atyp = EPRI(mon)->shralign;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
minion.c:41:13: note: in expansion of macro 'is_lminion'
41 | } else if (is_lminion(mon)) {
| ^~~~~~~~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:80:3: 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:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:118:6: note: in expansion of macro 'EMIN'
118 | EMIN(mon)->min_align = alignment;
| ^~~~
In file included from minion.c:7:
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minion.c:124:6: note: in expansion of macro 'EPRI'
124 | EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */
| ^~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mklev.o mklev.c
mklev.c: In function 'mktrap':
mklev.c:1550:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1550 | if (lvl < 2) kind = NO_TRAP; break;
| ^~
mklev.c:1550:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1550 | if (lvl < 2) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1552:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1552 | if (lvl < 5 || level.flags.noteleport)
| ^~
mklev.c:1553:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1553 | kind = NO_TRAP; break;
| ^~~~~
mklev.c:1555:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1555 | if (lvl < 5) kind = NO_TRAP; break;
| ^~
mklev.c:1555:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1555 | if (lvl < 5) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1557:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1557 | if (lvl < 6) kind = NO_TRAP; break;
| ^~
mklev.c:1557:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1557 | if (lvl < 6) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1559:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1559 | if (lvl < 7) kind = NO_TRAP; break;
| ^~
mklev.c:1559:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1559 | if (lvl < 7) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1562:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1562 | if (lvl < 8) kind = NO_TRAP; break;
| ^~
mklev.c:1562:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1562 | if (lvl < 8) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1564:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1564 | if (!Inhell || Insheol) kind = NO_TRAP; break;
| ^~
mklev.c:1564:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1564 | if (!Inhell || Insheol) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1566:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1566 | if (!Insheol) kind = NO_TRAP; break;
| ^~
mklev.c:1566:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1566 | if (!Insheol) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1568:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1568 | if (level.flags.noteleport) kind = NO_TRAP; break;
| ^~
mklev.c:1568:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1568 | if (level.flags.noteleport) kind = NO_TRAP; break;
| ^~~~~
mklev.c:1571:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1571 | if (rn2(7)) kind = NO_TRAP; break;
| ^~
mklev.c:1571:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1571 | if (rn2(7)) kind = NO_TRAP; break;
| ^~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkmap.o mkmap.c
mkmap.c: In function 'pass_two':
mkmap.c:147:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
147 | for(count=0, dr=0; dr < 8; dr++)
| ^~~
mkmap.c:151:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
151 | if (count == 5)
| ^~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkmaze.o mkmaze.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkobj.o mkobj.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mkroom.o mkroom.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mksheol.o mksheol.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mon.o mon.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mondata.o mondata.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o monmove.o monmove.c
In file included from monmove.c:8:
monmove.c: In function 'onscary':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
monmove.c:134:6: note: in expansion of macro 'is_lminion'
134 | is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] ||
| ^~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o monstr.o monstr.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mplayer.o mplayer.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mthrowu.o mthrowu.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o muse.o muse.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o music.o music.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o o_init.o o_init.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o objnam.o objnam.c
objnam.c: In function 'readobjnam':
objnam.c:2067:10: warning: variable 'found_by_descr' set but not used [-Wunused-but-set-variable]
2067 | boolean found_by_descr = FALSE;
| ^~~~~~~~~~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from objnam.c:5:
In function 'strncpy',
inlined from 'strprepend' at objnam.c:65:9,
inlined from 'doname_base' at objnam.c:710:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objnam.c: In function 'doname_base':
objnam.c:58:24: note: length computed here
58 | register int i = (int)strlen(pref);
| ^~~~~~~~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from objnam.c:5:
In function 'strncpy',
inlined from 'strprepend' at objnam.c:65:9,
inlined from 'doname_base' at objnam.c:1013:7:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objnam.c: In function 'doname_base':
objnam.c:58:24: note: length computed here
58 | register int i = (int)strlen(pref);
| ^~~~~~~~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from objnam.c:5:
In function 'strncpy',
inlined from 'strprepend' at objnam.c:65:9,
inlined from 'aobjnam' at objnam.c:1312:8:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
objnam.c: In function 'aobjnam':
objnam.c:58:24: note: length computed here
58 | register int i = (int)strlen(pref);
| ^~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o options.o options.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
In function 'strncpy',
inlined from 'parse_extended_option.part.0' at options.c:1575:2:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'parse_monster_color' at options.c:1522:2:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
options.c: In function 'option_help':
options.c:4702:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=]
4702 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr,
| ^~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
options.c: In function 'doset':
options.c:3657:43: warning: 's [' directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=]
3657 | Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name);
| ^~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 22 bytes into a destination of size 16
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
options.c:3733:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
3733 | Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2);
| ^
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from options.c:13:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pager.o pager.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from pager.c:8:
In function 'strncpy',
inlined from 'dowhatdoes_core' at pager.c:838:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'dowhatdoes_core' at pager.c:842:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'dowhatdoes_core' at pager.c:847:11:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
inlined from 'do_look' at pager.c:732:13:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
inlined from 'do_look' at pager.c:737:13:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pickup.o pickup.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pline.o pline.c
In file included from pline.c:7:
pline.c: In function 'mstatusline':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pline.c:364:15: note: in expansion of macro 'EPRI'
364 | alignment = EPRI(mtmp)->shralign;
| ^~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o polyself.o polyself.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o potion.o potion.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pray.o pray.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o priest.o priest.c
In file included from priest.c:8:
priest.c: In function 'histemple_at':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:125:20: note: in expansion of macro 'EPRI'
125 | return((boolean)((EPRI(priest)->shroom == *in_rooms(x, y, TEMPLE)) &&
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:126:20: note: in expansion of macro 'EPRI'
126 | on_level(&(EPRI(priest)->shrlevel), &u.uz)));
| ^~~~
priest.c: In function 'pri_move':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:145:11: note: in expansion of macro 'EPRI'
145 | temple = EPRI(priest)->shroom;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:147:7: note: in expansion of macro 'EPRI'
147 | gx = EPRI(priest)->shrpos.x;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:148:7: note: in expansion of macro 'EPRI'
148 | gy = EPRI(priest)->shrpos.y;
| ^~~~
priest.c: In function 'priestini':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:192:3: note: in expansion of macro 'EPRI'
192 | EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:193:3: note: in expansion of macro 'EPRI'
193 | EPRI(priest)->shralign = Amask2align(levl[sx][sy].altarmask);
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:194:3: note: in expansion of macro 'EPRI'
194 | EPRI(priest)->shrpos.x = sx;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:195:3: note: in expansion of macro 'EPRI'
195 | EPRI(priest)->shrpos.y = sy;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:196:18: note: in expansion of macro 'EPRI'
196 | assign_level(&(EPRI(priest)->shrlevel), lvl);
| ^~~~
priest.c: In function 'priestname':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:254:26: note: in expansion of macro 'EPRI'
254 | if (!mon->ispriest && EPRI(mon)->renegade)
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:272:33: note: in expansion of macro 'EPRI'
272 | Strcat(pname, halu_gname((int)EPRI(mon)->shralign));
| ^~~~
In file included from priest.c:9:
../include/emin.h:12:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
12 | #define EMIN(mon) ((struct emin *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:279:27: note: in expansion of macro 'EMIN'
279 | Strcat(pname, halu_gname(EMIN(mon)->min_align));
| ^~~~
In file included from priest.c:8:
priest.c: In function 'p_coaligned':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:287:42: note: in expansion of macro 'EPRI'
287 | return((boolean)(u.ualign.type == ((int)EPRI(priest)->shralign)));
| ^~~~
priest.c: In function 'has_shrine':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:298:14: note: in expansion of macro 'EPRI'
298 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:298:35: note: in expansion of macro 'EPRI'
298 | lev = &levl[EPRI(pri)->shrpos.x][EPRI(pri)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:301:19: note: in expansion of macro 'EPRI'
301 | return((boolean)(EPRI(pri)->shralign == Amask2align(lev->altarmask & ~AM_SHRINE)));
| ^~~~
priest.c: In function 'findpriest':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:312:28: note: in expansion of macro 'EPRI'
312 | if(mtmp->ispriest && (EPRI(mtmp)->shroom == roomno) &&
| ^~~~
priest.c: In function 'mk_roamer':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:546:2: note: in expansion of macro 'EPRI'
546 | EPRI(roamer)->shralign = alignment;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:548:3: note: in expansion of macro 'EPRI'
548 | EPRI(roamer)->renegade = TRUE;
| ^~~~
priest.c: In function 'reset_hostility':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:568:5: note: in expansion of macro 'EPRI'
568 | if(EPRI(roamer)->shralign != u.ualign.type) {
| ^~~~
priest.c: In function 'ghod_hitsu':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:609:11: note: in expansion of macro 'EPRI'
609 | ax = x = EPRI(priest)->shrpos.x;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:610:11: note: in expansion of macro 'EPRI'
610 | ay = y = EPRI(priest)->shrpos.y;
| ^~~~
priest.c: In function 'angry_priest':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:674:18: note: in expansion of macro 'EPRI'
674 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:674:42: note: in expansion of macro 'EPRI'
674 | lev = &levl[EPRI(priest)->shrpos.x][EPRI(priest)->shrpos.y];
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:677:4: note: in expansion of macro 'EPRI'
677 | EPRI(priest)->shralign)) {
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:681:3: note: in expansion of macro 'EPRI'
681 | EPRI(priest)->renegade = 0;
| ^~~~
priest.c: In function 'clearpriests':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:697:58: note: in expansion of macro 'EPRI'
697 | if (!DEADMONSTER(mtmp) && mtmp->ispriest && !on_level(&(EPRI(mtmp)->shrlevel), &u.uz))
| ^~~~
priest.c: In function 'restpriest':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priest.c:710:21: note: in expansion of macro 'EPRI'
710 | assign_level(&(EPRI(mtmp)->shrlevel), &u.uz);
| ^~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o quest.o quest.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o questpgr.o questpgr.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o read.o read.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rect.o rect.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o region.o region.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o restore.o restore.c
restore.c: In function 'restgamestate':
restore.c:421:14: warning: unused variable 'otmp' [-Wunused-variable]
421 | struct obj *otmp;
| ^~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rip.o rip.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rnd.o rnd.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rnd_isaac.o rnd_isaac.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o role.o role.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rumors.o rumors.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o save.o save.c
save.c: In function 'savestateinlock':
save.c:394:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
394 | (void) read(fd, (genericptr_t) &hpid, sizeof(hpid));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
save.c:412:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
412 | (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
save.c:416:14: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
416 | (void) write(fd, (genericptr_t) &currlev, sizeof(currlev));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o shk.o shk.c
shk.c: In function 'repair_damage':
shk.c:3381:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
3381 | while (!(litter[i = rn2(9)] & INSHOP));
| ^~~~~
shk.c:3382:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
3382 | remove_object(otmp);
| ^~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o shknam.o shknam.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sit.o sit.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sounds.o sounds.c
sounds.c: In function 'domonnoise':
sounds.c:606:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds]
606 | verbl_msg = vampmsg[vampindex];
| ~~~~~~~^~~~~~~~~~~
sounds.c:581:34: note: while referencing 'vampmsg'
581 | static const char * const vampmsg[] = {
| ^~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sp_lev.o sp_lev.c
In file included from sp_lev.c:26:
sp_lev.c: In function 'flip_level':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:545:3: note: in expansion of macro 'EPRI'
545 | EPRI(mtmp)->shrpos.y = y2 - EPRI(mtmp)->shrpos.y;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:545:31: note: in expansion of macro 'EPRI'
545 | EPRI(mtmp)->shrpos.y = y2 - EPRI(mtmp)->shrpos.y;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:556:3: note: in expansion of macro 'EPRI'
556 | EPRI(mtmp)->shrpos.x = x2 - EPRI(mtmp)->shrpos.x;
| ^~~~
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sp_lev.c:556:31: note: in expansion of macro 'EPRI'
556 | EPRI(mtmp)->shrpos.x = x2 - EPRI(mtmp)->shrpos.x;
| ^~~~
sp_lev.c: In function 'spo_feature':
sp_lev.c:4299:20: warning: 'typ' may be used uninitialized in this function [-Wmaybe-uninitialized]
4299 | levl[x][y].typ = (*(int *)arg);
sp_lev.c:4359:9: note: 'typ' was declared here
4359 | int typ;
| ^~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o spell.o spell.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o steal.o steal.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o steed.o steed.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o teleport.o teleport.c
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -o tilemap ./../win/share/tilemap.c
./tilemap
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o tile.o tile.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o timeout.o timeout.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o topten.o topten.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o track.o track.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o trap.o trap.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o tutorial.o tutorial.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o u_init.o u_init.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o uhitm.o uhitm.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o unicode.o unicode.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o vault.o vault.c
In file included from vault.c:6:
vault.c: In function 'clear_fcorr':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:27:18: note: in expansion of macro 'EGD'
27 | if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:29:17: note: in expansion of macro 'EGD'
29 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) {
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:29:36: note: in expansion of macro 'EGD'
29 | while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) {
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:30:9: note: in expansion of macro 'EGD'
30 | fcx = EGD(grd)->fakecorr[fcbeg].fx;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:31:9: note: in expansion of macro 'EGD'
31 | fcy = EGD(grd)->fakecorr[fcbeg].fy;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:33:8: note: in expansion of macro 'EGD'
33 | EGD(grd)->gddone)
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:48:24: note: in expansion of macro 'EGD'
48 | levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:51:3: note: in expansion of macro 'EGD'
51 | EGD(grd)->fcbeg++;
| ^~~
vault.c: In function 'grddead':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:79:3: note: in expansion of macro 'EGD'
79 | EGD(grd)->ogx = grd->mx;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:80:3: note: in expansion of macro 'EGD'
80 | EGD(grd)->ogy = grd->my;
| ^~~
vault.c: In function 'in_fcorridor':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:93:12: note: in expansion of macro 'EGD'
93 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++)
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:93:35: note: in expansion of macro 'EGD'
93 | for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++)
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:94:11: note: in expansion of macro 'EGD'
94 | if(x == EGD(grd)->fakecorr[fci].fx &&
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:95:10: note: in expansion of macro 'EGD'
95 | y == EGD(grd)->fakecorr[fci].fy)
| ^~~
vault.c: In function 'findgd':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:107:56: note: in expansion of macro 'EGD'
107 | if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz))
| ^~~
vault.c: In function 'invault':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:225:2: note: in expansion of macro 'EGD'
225 | EGD(guard)->gddone = 0;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:226:2: note: in expansion of macro 'EGD'
226 | EGD(guard)->ogx = x;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:227:2: note: in expansion of macro 'EGD'
227 | EGD(guard)->ogy = y;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:228:17: note: in expansion of macro 'EGD'
228 | assign_level(&(EGD(guard)->gdlevel), &u.uz);
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:229:2: note: in expansion of macro 'EGD'
229 | EGD(guard)->vroom = vaultroom;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:230:2: note: in expansion of macro 'EGD'
230 | EGD(guard)->warncnt = 0;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:322:2: note: in expansion of macro 'EGD'
322 | EGD(guard)->gdx = gx;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:323:2: note: in expansion of macro 'EGD'
323 | EGD(guard)->gdy = gy;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:324:2: note: in expansion of macro 'EGD'
324 | EGD(guard)->fcbeg = 0;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:325:2: note: in expansion of macro 'EGD'
325 | EGD(guard)->fakecorr[0].fx = x;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:326:2: note: in expansion of macro 'EGD'
326 | EGD(guard)->fakecorr[0].fy = y;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:328:6: note: in expansion of macro 'EGD'
328 | EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:330:16: note: in expansion of macro 'EGD'
330 | int vlt = EGD(guard)->vroom;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:335:3: note: in expansion of macro 'EGD'
335 | EGD(guard)->fakecorr[0].ftyp = TLCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:337:3: note: in expansion of macro 'EGD'
337 | EGD(guard)->fakecorr[0].ftyp = TRCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:339:3: note: in expansion of macro 'EGD'
339 | EGD(guard)->fakecorr[0].ftyp = BLCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:341:3: note: in expansion of macro 'EGD'
341 | EGD(guard)->fakecorr[0].ftyp = BRCORNER;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:343:3: note: in expansion of macro 'EGD'
343 | EGD(guard)->fakecorr[0].ftyp = HWALL;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:345:3: note: in expansion of macro 'EGD'
345 | EGD(guard)->fakecorr[0].ftyp = VWALL;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:350:2: note: in expansion of macro 'EGD'
350 | EGD(guard)->fcend = 1;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:351:2: note: in expansion of macro 'EGD'
351 | EGD(guard)->warncnt = 1;
| ^~~
vault.c: In function 'wallify_vault':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:376:12: note: in expansion of macro 'EGD'
376 | int vlt = EGD(grd)->vroom;
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:397:20: note: in expansion of macro 'EGD'
397 | move_gold(gold, EGD(grd)->vroom);
| ^~~
vault.c: In function 'paygd':
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:792:17: note: in expansion of macro 'EGD'
792 | gx = rooms[EGD(grd)->vroom].lx + rn2(2);
| ^~~
../include/vault.h:29:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
29 | #define EGD(mon) ((struct egd *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vault.c:793:17: note: in expansion of macro 'EGD'
793 | gy = rooms[EGD(grd)->vroom].ly + rn2(2);
| ^~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o vision.o vision.c
vision.c: In function 'vision_recalc':
vision.c:602:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
602 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:602:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
602 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:623:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
623 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:623:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
623 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:661:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
661 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
vision.c:661:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
661 | if (row < 0) continue; if (row >= ROWNO) break;
| ^~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o vis_tab.o vis_tab.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o weapon.o weapon.c
weapon.c: In function 'enhance_skill':
weapon.c:1053:26: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=]
1053 | Sprintf(buf, " %s%s\t[%s]",
| ^~
1054 | prefix, P_NAME(i), sklnambuf);
| ~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weapon.c:1050:28: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=]
1050 | Sprintf(buf, " %s %-*s [%s]",
| ^~
1051 | prefix, longest, P_NAME(i), sklnambuf);
| ~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weapon.c:1042:25: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=]
1042 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)",
| ^~
1043 | prefix, P_NAME(i), sklnambuf,
| ~~~~~~~~~
weapon.c:1042:17: note: directive argument in the range [0, 65535]
1042 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)",
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 274) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weapon.c:1037:26: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=]
1037 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)",
| ^~~~~
1038 | prefix, longest, P_NAME(i), sklnambuf,
| ~~~~~~~~~
weapon.c:1037:17: note: directive argument in the range [0, 65535]
1037 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)",
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from weapon.c:10:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 274) into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o were.o were.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o wield.o wield.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o windows.o windows.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o wizard.o wizard.c
In file included from wizard.c:12:
wizard.c: In function 'cuss':
../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
16 | #define EPRI(mon) ((struct epri *)&(mon)->mextra[0])
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/mondata.h:26:7: note: in expansion of macro 'EPRI'
26 | EPRI(mon)->shralign > 0))
| ^~~~
wizard.c:639:12: note: in expansion of macro 'is_lminion'
639 | } else if(is_lminion(mtmp)) {
| ^~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o worm.o worm.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o worn.o worn.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o write.o write.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from write.c:4:
In function 'strncpy',
inlined from 'dowrite' at write.c:124:9:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o zap.o zap.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/share/ioctl.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/unix/unixmain.c
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../sys/unix/unixmain.c:7:
In function 'strncat',
inlined from 'main' at ./../sys/unix/unixmain.c:216:10:
/usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation]
122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/share/unixtty.c
./../sys/share/unixtty.c: In function 'linux_mapon':
./../sys/share/unixtty.c:395:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
395 | write(1, "\033(B", 3);
| ^~~~~~~~~~~~~~~~~~~~~
./../sys/share/unixtty.c: In function 'linux_mapoff':
./../sys/share/unixtty.c:405:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
405 | write(1, "\033(U", 3);
| ^~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/unix/unixunix.c
./../sys/unix/unixunix.c: In function 'child':
./../sys/unix/unixunix.c:338:10: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result]
338 | (void) setgid(getgid());
| ^~~~~~~~~~~~~~~~
./../sys/unix/unixunix.c:339:10: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
339 | (void) setuid(getuid());
| ^~~~~~~~~~~~~~~~
./../sys/unix/unixunix.c:341:10: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
341 | (void) chdir(getenv("HOME"));
| ^~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -DNO_MAIN -c ./../util/recover.c
./../util/recover.c: In function 'restore_savefile':
./../util/recover.c:325:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
325 | write(sfd, (genericptr_t) &levc, sizeof(levc));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/getline.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/termcap.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/topl.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../win/tty/wintty.c
./../win/tty/wintty.c: In function 'tty_player_selection':
./../win/tty/wintty.c:617:39: warning: '%s' directive writing up to 127 bytes into a region of size 107 [-Wformat-overflow=]
617 | Sprintf(pbuf, "Pick a role for your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 22 and 149 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../win/tty/wintty.c:688:44: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=]
688 | Sprintf(pbuf, "Pick the race of your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 23 and 150 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../win/tty/wintty.c:760:46: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=]
760 | Sprintf(pbuf, "Pick the gender of your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 25 and 152 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../win/tty/wintty.c:831:49: warning: '%s' directive writing up to 127 bytes into a region of size 101 [-Wformat-overflow=]
831 | Sprintf(pbuf, "Pick the alignment of your %s", plbuf);
| ^~ ~~~~~
In file included from /usr/include/stdio.h:866,
from ../include/global.h:8,
from ../include/config.h:477,
from ../include/hack.h:9,
from ./../win/tty/wintty.c:11:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 28 and 155 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursmain.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/curswins.c
../win/curses/curswins.c: In function 'curses_create_window':
../win/curses/curswins.c:98:16: warning: 'mapy' may be used uninitialized in this function [-Wmaybe-uninitialized]
98 | starty = mapy + mapb_offset;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
../win/curses/curswins.c:93:47: warning: 'mapx' may be used uninitialized in this function [-Wmaybe-uninitialized]
93 | startx = (mapw / 2) - (width / 2) + mapx + mapb_offset;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursmisc.c
../win/curses/cursmisc.c: In function 'curses_read_char':
../win/curses/cursmisc.c:41:13: warning: variable 'tmpch' set but not used [-Wunused-but-set-variable]
41 | int ch, tmpch;
| ^~~~~
../win/curses/cursmisc.c: In function 'curses_str_remainder':
../win/curses/cursmisc.c:328:10: warning: variable 'curstr' set but not used [-Wunused-but-set-variable]
328 | char curstr[strsize];
| ^~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from ../win/curses/cursmisc.c:4:
In function 'strcpy',
inlined from 'curses_break_str' at ../win/curses/cursmisc.c:275:5:
/usr/include/bits/string_fortified.h:75:10: warning: '__builtin_strcpy' writing one too many bytes into a region of a size that depends on 'strlen' [-Wstringop-overflow=]
75 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursmisc.c: In function 'curses_break_str':
../win/curses/cursmisc.c:271:10: note: at offset 0 to an object declared here
271 | char substr[strsize];
| ^~~~~~
In file included from /usr/include/string.h:532,
from ../include/system.h:21,
from ../include/unixconf.h:282,
from ../include/global.h:184,
from ../include/config.h:477,
from ../include/hack.h:9,
from ../win/curses/cursmisc.c:4:
In function 'strcpy',
inlined from 'curses_str_remainder' at ../win/curses/cursmisc.c:331:5:
/usr/include/bits/string_fortified.h:75:10: warning: '__builtin_strcpy' writing one too many bytes into a region of a size that depends on 'strlen' [-Wstringop-overflow=]
75 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursmisc.c: In function 'curses_str_remainder':
../win/curses/cursmisc.c:327:10: note: at offset 0 to an object declared here
327 | char substr[strsize];
| ^~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursdial.c
../win/curses/cursdial.c: In function 'curses_ext_cmd':
../win/curses/cursdial.c:324:24: warning: variable 'h' set but not used [-Wunused-but-set-variable]
324 | int x0, y0, w, h; /* bounding coords of popup */
| ^
../win/curses/cursdial.c: In function 'menu_display_page':
../win/curses/cursdial.c:1000:44: warning: pointer targets in passing argument 2 of 'mapglyph' differ in signedness [-Wpointer-sign]
1000 | mapglyph(menu_item_ptr->glyph, &curletter, &color, &special, 0, 0);
| ^~~~~~~~~~
| |
| int *
In file included from ../include/config.h:269,
from ../include/hack.h:9,
from ../win/curses/cursdial.c:4:
../include/extern.h:1087:30: note: expected 'glyph_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1087 | E void FDECL(mapglyph, (int, glyph_t *, int *, unsigned *, int, int));
| ^~~~~~~~~
../include/tradstdc.h:124:23: note: in definition of macro 'FDECL'
124 | # define FDECL(f,p) f p
| ^
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursstat.c
../win/curses/cursstat.c: In function 'curses_update_stats':
../win/curses/cursstat.c:444:13: warning: variable 'ax' set but not used [-Wunused-but-set-variable]
444 | int ax = 0;
| ^~
../win/curses/cursstat.c: In function 'curses_add_statuses':
../win/curses/cursstat.c:857:13: warning: variable 'my' set but not used [-Wunused-but-set-variable]
857 | int my = *y;
| ^~
../win/curses/cursstat.c: In function 'draw_horizontal':
../win/curses/cursstat.c:515:26: warning: '%s' directive writing up to 255 bytes into a region of size between 220 and 251 [-Wformat-overflow=]
515 | sprintf(buf, "%s the %s", plname, rank);
| ^~ ~~~~
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursstat.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 292 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursstat.c: In function 'draw_vertical':
../win/curses/cursstat.c:750:28: warning: '%-*s' directive writing up to 2147483628 bytes into a region of size between 220 and 251 [-Wformat-overflow=]
750 | sprintf(buf, "%-*s the %-*s", namelen, plname, ranklen, rank);
| ^~~~ ~~~~
../win/curses/cursstat.c:750:18: note: assuming directive output of 255 bytes
750 | sprintf(buf, "%-*s the %-*s", namelen, plname, ranklen, rank);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursstat.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 2147483665 bytes into a destination of size 256
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursinit.c
../win/curses/cursinit.c: In function 'curses_debug_show_colors':
../win/curses/cursinit.c:1153:13: warning: unused variable 'win' [-Wunused-variable]
1153 | WINDOW *win = curses_get_nhwin(MESSAGE_WIN);
| ^~~
../win/curses/cursinit.c:1148:9: warning: unused variable 'i' [-Wunused-variable]
1148 | int i,c;
| ^
../win/curses/cursinit.c: In function 'curses_choose_character':
../win/curses/cursinit.c:537:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
537 | sprintf(choice, "%s%c", tmpchoice, '\033');
| ^
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursinit.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../win/curses/cursinit.c:548:24: warning: '%s' directive writing up to 127 bytes into a region of size between 1 and 128 [-Wformat-overflow=]
548 | sprintf(choice, "%s%s", choice, tmpchoice);
| ^~ ~~~~~~~~~
In file included from /usr/include/stdio.h:866,
from /usr/include/curses.h:192,
from ../win/curses/cursinit.c:3:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 1 and 255 bytes into a destination of size 128
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursmesg.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ../win/curses/cursinvt.c
../win/curses/cursinvt.c: In function 'curses_add_inv':
../win/curses/cursinvt.c:87:25: warning: pointer targets in passing argument 2 of 'mapglyph' differ in signedness [-Wpointer-sign]
87 | mapglyph(glyph, &symbol, &color, &dummy,
| ^~~~~~~
| |
| int *
In file included from ../include/config.h:269,
from ../include/hack.h:9,
from ../win/curses/cursinvt.c:4:
../include/extern.h:1087:30: note: expected 'glyph_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1087 | E void FDECL(mapglyph, (int, glyph_t *, int *, unsigned *, int, int));
| ^~~~~~~~~
../include/tradstdc.h:124:23: note: in definition of macro 'FDECL'
124 | # define FDECL(f,p) f p
| ^
../win/curses/cursinvt.c:103:55: warning: passing argument 3 of 'curses_get_menu_coloring' from incompatible pointer type [-Wincompatible-pointer-types]
103 | curses_get_menu_coloring(str_mutable, &color, &attr);
| ^~~~~
| |
| attr_t * {aka long unsigned int *}
In file included from ../win/curses/cursinvt.c:7:
../win/curses/cursdial.h:24:49: note: expected 'int *' but argument is of type 'attr_t *' {aka 'long unsigned int *'}
24 | boolean curses_get_menu_coloring(char *, int *, int *);
| ^~~~~
../win/curses/cursinvt.c:99:17: warning: unused variable 'menu_color' [-Wunused-variable]
99 | boolean menu_color = FALSE;
| ^~~~~~~~~~
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o version.o version.c
x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o livelog.o livelog.c
Loading ...
x86_64-alt-linux-gcc -DAUTOCONF -o unnethack monst.o objects.o alloc.o allmain.o apply.o artifact.o attrib.o ball.o base32.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dump.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mksheol.o mon.o mondata.o monmove.o monstr.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o rnd_isaac.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o steal.o steed.o teleport.o tile.o timeout.o topten.o track.o trap.o tutorial.o u_init.o uhitm.o unicode.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o recover.o getline.o termcap.o topl.o wintty.o cursmain.o curswins.o cursmisc.o cursdial.o cursstat.o cursinit.o cursmesg.o cursinvt.o version.o livelog.o -lncurses -lncurses
unnethack is up to date.
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
( cd util ; make recover )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[2]: '../include/date.h' is up to date.
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
( cd dat ; make data )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
../util/makedefs -d
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd dat ; make oracles )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
../util/makedefs -h
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd dat ; make options )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
make[1]: 'options' is up to date.
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd dat ; make quest.dat )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
../util/makedefs -q
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd dat ; make rumors )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
../util/makedefs -r
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd util ; make lev_comp )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[2]: '../include/date.h' is up to date.
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
( cd dat ; make spec_levs )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
rm -f vaults.dat
../util/lev_comp ./vaults.des
../util/lev_comp ./advcal.des
../util/lev_comp ./bigroom.des
../util/lev_comp ./blkmar.des
../util/lev_comp ./castle.des
../util/lev_comp ./dragons.des
./dragons.des: line 100 : WARNING : Unknown room type "dragon shop"! Making ordinary room...
../util/lev_comp ./endgame.des
../util/lev_comp ./gehennom.des
../util/lev_comp ./heck.des
../util/lev_comp ./knox.des
../util/lev_comp ./medusa.des
../util/lev_comp ./nymph.des
../util/lev_comp ./town-?.des
../util/lev_comp ./moria.des
../util/lev_comp ./mines.des
../util/lev_comp ./oracle.des
../util/lev_comp ./sokoban.des
../util/lev_comp ./sheol.des
../util/lev_comp ./tower.des
../util/lev_comp ./yendor.des
touch spec_levs
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd dat ; make quest_levs )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
../util/lev_comp ./Arch.des
../util/lev_comp ./Barb.des
../util/lev_comp ./Caveman.des
../util/lev_comp ./Convict.des
../util/lev_comp ./Healer.des
../util/lev_comp ./Knight.des
../util/lev_comp ./Monk.des
../util/lev_comp ./Priest.des
../util/lev_comp ./Ranger.des
../util/lev_comp ./Rogue.des
../util/lev_comp ./Samurai.des
../util/lev_comp ./Tourist.des
../util/lev_comp ./Valkyrie.des
../util/lev_comp ./Wizard.des
touch quest_levs
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd util ; make dgn_comp )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[2]: '../include/date.h' is up to date.
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
( cd dat ; make dungeon )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
../util/makedefs -e
../util/dgn_comp dungeon.pdf
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd doc; make Guidebook.txt )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/doc'
tbl ./tmac.n ./Guidebook.mn | nroff -c -Tascii | col -bx > Guidebook.txt
warning: file `./Guidebook.mn', around line 204:
table wider than line width
./Guidebook.mn:1972: warning [p 39, 9.3i]: cannot adjust line
warning: file `./Guidebook.mn', around line 2783:
table wider than line width
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/doc'
mkdir -p /usr/src/tmp/unnethack-buildroot/var/lib/unnethack /usr/src/tmp/unnethack-buildroot/var/lib/unnethack
mkdir -p /usr/src/tmp/unnethack-buildroot/usr/bin
mkdir -p /usr/src/tmp/unnethack-buildroot/var/lib/unnethack /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/bones /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/saves
mkdir -p /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/level /usr/src/tmp/unnethack-buildroot/usr/share/unnethack /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
mkdir -p /usr/src/tmp/unnethack-buildroot/usr/share/doc//unnethack
rmdir ./-p
rmdir: failed to remove './-p': No such file or directory
make: [Makefile:318: install] Error 1 (ignored)
echo games /usr/src/tmp/unnethack-buildroot/var/lib/unnethack /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/bones /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/saves /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/level
games /usr/src/tmp/unnethack-buildroot/var/lib/unnethack /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/bones /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/saves /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/level
echo bin /usr/src/tmp/unnethack-buildroot/var/lib/unnethack /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/bones /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/saves /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/level
bin /usr/src/tmp/unnethack-buildroot/var/lib/unnethack /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/bones /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/saves /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/level
chmod 0755 /usr/src/tmp/unnethack-buildroot/var/lib/unnethack /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/bones /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/saves /usr/src/tmp/unnethack-buildroot/var/lib/unnethack/level
echo games /usr/src/tmp/unnethack-buildroot/usr/share/unnethack /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
games /usr/src/tmp/unnethack-buildroot/usr/share/unnethack /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
echo bin /usr/src/tmp/unnethack-buildroot/usr/share/unnethack /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
bin /usr/src/tmp/unnethack-buildroot/usr/share/unnethack /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
chmod 0755 /usr/src/tmp/unnethack-buildroot/usr/share/unnethack /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
( make dofiles )
make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
target=`sed -n \
-e '/librarian/{' \
-e 's/.*/dlb/p' \
-e 'q' \
-e '}' \
-e '$s/.*/nodlb/p' < dat/options` ; \
make dofiles-${target-nodlb}
make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
( cd src ; make )
make[3]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
unnethack is up to date.
make[3]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
( cd dat ; make options )
make[3]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
make[3]: 'options' is up to date.
make[3]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
data file compression, data librarian, debug mode,
make[3]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
( cd src ; make )
make[4]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
unnethack is up to date.
make[4]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
( cd util ; make lev_comp )
make[4]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[5]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[5]: '../include/date.h' is up to date.
make[5]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[4]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
( cd dat ; make spec_levs )
make[4]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
make[4]: 'spec_levs' is up to date.
make[4]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd dat ; make quest_levs )
make[4]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
make[4]: 'quest_levs' is up to date.
make[4]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/dat'
( cd util ; make dlb )
make[4]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
make[5]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
make[5]: '../include/date.h' is up to date.
make[5]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/src'
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./dlb_main.c
x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../src/dlb.c -o ../src/dlb_util.o
x86_64-alt-linux-gcc -DAUTOCONF -o dlb dlb_main.o ../src/dlb_util.o ../src/alloc_util.o panic.o
make[4]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2/util'
( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp data oracles options quest.dat rumors vaults.dat dungeon asmod-?.lev baalz-?.lev bigrm-*.lev blkmar-?.lev castle-?.lev fakewiz?.lev vlt-*.lev juiblex.lev knox-?.lev town*.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus-?.lev sanctum.lev soko?-*.lev hellfill.lev nymph.lev drgn?.lev tower?.lev valley-?.lev wizard?.lev heck-?-?.lev sheolfil.lev palace_f.lev palace_e.lev sheolmid.lev advcal.lev moria?-*.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev )
make[3]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
( cd dat ; cp nhdat /usr/src/tmp/unnethack-buildroot/usr/share/unnethack )
( cd /usr/src/tmp/unnethack-buildroot/usr/share/unnethack ; \
echo games nhdat ; \
echo bin nhdat ; \
chmod 0644 nhdat )
games nhdat
bin nhdat
make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
(cd src; cp unnethack /usr/src/tmp/unnethack-buildroot/usr/share/unnethack)
#cp ./sys/winnt/defaults.nh /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
cp ./sys/unix/defaults.nh /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/unnethackrc.default
cp util/recover /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
if test -f ./doc/Guidebook.txt ; then \
cp ./doc/Guidebook.txt /usr/src/tmp/unnethack-buildroot/usr/share/doc//unnethack; \
fi
cp ./dat/license /usr/src/tmp/unnethack-buildroot/usr/share/doc//unnethack
cp ./dat/unnethack_dump.css /usr/src/tmp/unnethack-buildroot/usr/share/unnethack
rm -f /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack
sed -e 's;/usr/games/lib/nethackdir;/usr/share/unnethack;' \
-e 's;HACKDIR/nethack;HACKDIR/unnethack;' \
< ./sys/unix/nethack.sh \
> /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack
( cd /usr/src/tmp/unnethack-buildroot/usr/share/unnethack ; echo games unnethack recover ; \
echo bin unnethack recover )
games unnethack recover
bin unnethack recover
chmod 04755 /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/unnethack
chmod 0755 /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/recover
( cd /usr/src/tmp/unnethack-buildroot/usr/share/doc//unnethack ; \
echo games license Guidebook.txt ; \
echo bin license Guidebook.txt ; \
chmod 0644 license Guidebook.txt )
games license Guidebook.txt
bin license Guidebook.txt
echo games /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack
games /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack
echo bin /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack
bin /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack
chmod 0755 /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack
make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
( cd /usr/src/tmp/unnethack-buildroot/var/lib/unnethack ; touch perm record logfile xlogfile )
( cd /usr/src/tmp/unnethack-buildroot/var/lib/unnethack ; echo games perm record logfile xlogfile ; \
echo bin perm record logfile xlogfile ; \
chmod 0644 perm record logfile xlogfile )
games perm record logfile xlogfile
bin perm record logfile xlogfile
You may also want to reinstall the man pages via the doc Makefile.
make: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.3.2'
+ mv /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/recover /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.recover
+ ln -rs /usr/bin/unnethack.recover /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/recover
+ mv /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/unnethack /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.bin
+ ln -rs /usr/bin/unnethack.bin /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/unnethack
+ for u in dlb dgn_comp lev_comp tilemap
+ install util/dlb /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.dlb
+ ln -rs /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.dlb /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/dlb
+ for u in dlb dgn_comp lev_comp tilemap
+ install util/dgn_comp /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.dgn_comp
+ ln -rs /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.dgn_comp /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/dgn_comp
+ for u in dlb dgn_comp lev_comp tilemap
+ install util/lev_comp /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.lev_comp
+ ln -rs /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.lev_comp /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/lev_comp
+ for u in dlb dgn_comp lev_comp tilemap
+ install util/tilemap /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.tilemap
+ ln -rs /usr/src/tmp/unnethack-buildroot/usr/bin/unnethack.tilemap /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/tilemap
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/unnethack-buildroot (auto)
mode of './usr/bin/unnethack.bin' changed from 4755 (rwsr-xr-x) to 4711 (rws--x--x)
Verifying and fixing files in /usr/src/tmp/unnethack-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/unnethack-buildroot/ (default)
Compressing files in /usr/src/tmp/unnethack-buildroot (auto)
Adjusting library links in /usr/src/tmp/unnethack-buildroot
./var/lib: (from :0)
Verifying ELF objects in /usr/src/tmp/unnethack-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Processing files: unnethack-5.3.2-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.49896
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd unnethack-5.3.2
+ DOCDIR=/usr/src/tmp/unnethack-buildroot/usr/share/doc/unnethack-5.3.2
+ export DOCDIR
+ rm -rf /usr/src/tmp/unnethack-buildroot/usr/share/doc/unnethack-5.3.2
+ /bin/mkdir -p /usr/src/tmp/unnethack-buildroot/usr/share/doc/unnethack-5.3.2
+ cp -prL doc README /usr/src/tmp/unnethack-buildroot/usr/share/doc/unnethack-5.3.2
+ chmod -R go-w /usr/src/tmp/unnethack-buildroot/usr/share/doc/unnethack-5.3.2
+ chmod -R a+rX /usr/src/tmp/unnethack-buildroot/usr/share/doc/unnethack-5.3.2
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TGCWn2
find-provides: broken symbolic link /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/recover -> ../../../../../../bin/unnethack.recover is not going to provide anything
find-provides: broken symbolic link /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/unnethack -> ../../../../../../bin/unnethack.bin is not going to provide anything
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bQhle1
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
symlinks.req: WARNING: /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/unnethack: /usr/share/unnethack/../../../../../../bin/unnethack.bin cannot be canonicalized under RPM_BUILD_ROOT
symlinks.req: WARNING: /usr/src/tmp/unnethack-buildroot/usr/share/unnethack/recover: /usr/share/unnethack/../../../../../../bin/unnethack.recover cannot be canonicalized under RPM_BUILD_ROOT
find-requires: FINDPACKAGE-COMMANDS: cp
Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, coreutils, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libncurses.so.5()(64bit) >= set:mgQBG73Azsl3EAOxtqaUlYDZE4imGUSmNQWnfIZwZ3AStl1wzjgqcy2hDqGmluWhxeNSew59YzM66sm3cXPC0TDHYRaVJgwTxsJXtZhXJ1N0ul67UE09, libtinfo.so.5()(64bit) >= set:lghURfLatwPkHU6cCiMexMyo0xGZ4ZmQyJOBYmutaiD6, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ouq0IY
Creating unnethack-debuginfo package
Processing files: unnethack-debuginfo-5.3.2-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cJMSq1
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zvcQ4Z
find-requires: running scripts (debuginfo)
Requires: unnethack = 5.3.2-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libncurses.so.5), debug64(libtinfo.so.5)
Adding to unnethack-debuginfo a strict dependency on unnethack
Wrote: /usr/src/RPM/RPMS/x86_64/unnethack-5.3.2-alt2.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/unnethack-debuginfo-5.3.2-alt2.x86_64.rpm (w2T8.xzdio)
316.09user 20.07system 3:06.12elapsed 180%CPU (0avgtext+0avgdata 88968maxresident)k
0inputs+0outputs (0major+3525773minor)pagefaults 0swaps
323.39user 26.37system 3:18.38elapsed 176%CPU (0avgtext+0avgdata 105352maxresident)k
0inputs+0outputs (0major+3826162minor)pagefaults 0swaps
--- unnethack-5.3.2-alt2.x86_64.rpm.repo 2021-04-19 14:23:36.000000000 +0000
+++ unnethack-5.3.2-alt2.x86_64.rpm.hasher 2021-08-23 06:24:27.537728213 +0000
@@ -86,8 +86,8 @@
File: /usr/bin/unnethack 100755 root:root 10992ce43d84d259dde945553e814037
-File: /usr/bin/unnethack.bin 102711 root:games 4dfa3e2d525722964f85b08a3dba3682
-File: /usr/bin/unnethack.dgn_comp 100755 root:root 596454c882d729c9299f165675aa0f51
-File: /usr/bin/unnethack.dlb 100755 root:root d665e5087cca67c1f66b0083766aee35
-File: /usr/bin/unnethack.lev_comp 100755 root:root 5ff0a486d3ea941cd8491d072b63bca2
-File: /usr/bin/unnethack.recover 100755 root:root 088fb544f1ad764c42b90a9e4a386091
-File: /usr/bin/unnethack.tilemap 100755 root:root fa18d31e258d693b477d23c728702e54
+File: /usr/bin/unnethack.bin 102711 root:games bf882a64e5c390ea84952c4bc52706b3
+File: /usr/bin/unnethack.dgn_comp 100755 root:root a1d4579e0dbe3e43052cb4d8d0a50a43
+File: /usr/bin/unnethack.dlb 100755 root:root 0b654f7c0ddad11831fa2a6dbb97461d
+File: /usr/bin/unnethack.lev_comp 100755 root:root 89d327729e9fa5e3d8d0fee28287d2ad
+File: /usr/bin/unnethack.recover 100755 root:root ef842e5b1ab1cf11bc418ed4d67d00e1
+File: /usr/bin/unnethack.tilemap 100755 root:root 3f7ff034a4d956f7c0502a3b2c68be5d
File: /usr/share/doc/unnethack 40755 root:root
@@ -155,2 +155,2 @@
File: /var/lib/unnethack/xlogfile 100664 root:games
-RPMIdentity: b1349ded2923edf2ec46bcb4c4404288f4778cc0d7933ad06f9731381c4042b219c8ecdc6a843e0596ad4fe439547be793410d0630b489b2dbfa1b67a98a585c
+RPMIdentity: 3a374ad4d25cf3b3cea238f92a70a0ef83dc04c7913554ac3a118a42e615d1538cbe4d65b5263efc2a53c01d7e4c30524bebe4a12646134a0449dd4f8aa89eed
--- unnethack-debuginfo-5.3.2-alt2.x86_64.rpm.repo 2021-04-19 14:23:36.000000000 +0000
+++ unnethack-debuginfo-5.3.2-alt2.x86_64.rpm.hasher 2021-08-23 06:24:27.668723822 +0000
@@ -1,19 +1,18 @@
-/usr/lib/debug/.build-id/06 40755 root:root
-/usr/lib/debug/.build-id/06/950e7afe5a6829c39cde46c02b829c9aadbc40 120777 root:root ../../../../bin/unnethack.recover
-/usr/lib/debug/.build-id/06/950e7afe5a6829c39cde46c02b829c9aadbc40.debug 120777 root:root ../../usr/bin/unnethack.recover.debug
-/usr/lib/debug/.build-id/8d 40755 root:root
-/usr/lib/debug/.build-id/8d/7fbb64d100aadebd0cb69e0169483f8543fe89 120777 root:root ../../../../bin/unnethack.dgn_comp
-/usr/lib/debug/.build-id/8d/7fbb64d100aadebd0cb69e0169483f8543fe89.debug 120777 root:root ../../usr/bin/unnethack.dgn_comp.debug
-/usr/lib/debug/.build-id/8e 40755 root:root
-/usr/lib/debug/.build-id/8e/3b945c7034c5a0737cc1210f5f8fb75a0273a5 120777 root:root ../../../../bin/unnethack.lev_comp
-/usr/lib/debug/.build-id/8e/3b945c7034c5a0737cc1210f5f8fb75a0273a5.debug 120777 root:root ../../usr/bin/unnethack.lev_comp.debug
-/usr/lib/debug/.build-id/90 40755 root:root
-/usr/lib/debug/.build-id/90/f75e0590d8f973be29bd05daf237f3bb6f3c68 120777 root:root ../../../../bin/unnethack.dlb
-/usr/lib/debug/.build-id/90/f75e0590d8f973be29bd05daf237f3bb6f3c68.debug 120777 root:root ../../usr/bin/unnethack.dlb.debug
-/usr/lib/debug/.build-id/b8 40755 root:root
-/usr/lib/debug/.build-id/b8/60b0a596866f0303d06d4dae9673ec7d4decad 120777 root:root ../../../../bin/unnethack.bin
-/usr/lib/debug/.build-id/b8/60b0a596866f0303d06d4dae9673ec7d4decad.debug 120777 root:root ../../usr/bin/unnethack.bin.debug
-/usr/lib/debug/.build-id/e5 40755 root:root
-/usr/lib/debug/.build-id/e5/62a7d8a72a1d0155328e5ae535c2700be8914d 120777 root:root ../../../../bin/unnethack.tilemap
-/usr/lib/debug/.build-id/e5/62a7d8a72a1d0155328e5ae535c2700be8914d.debug 120777 root:root ../../usr/bin/unnethack.tilemap.debug
+/usr/lib/debug/.build-id/00 40755 root:root
+/usr/lib/debug/.build-id/00/ac3b5202900a9e48edbb064c520fe817ce74a7 120777 root:root ../../../../bin/unnethack.bin
+/usr/lib/debug/.build-id/00/ac3b5202900a9e48edbb064c520fe817ce74a7.debug 120777 root:root ../../usr/bin/unnethack.bin.debug
+/usr/lib/debug/.build-id/9c 40755 root:root
+/usr/lib/debug/.build-id/9c/22b7727ae5b06470cc2744937e67877e621220 120777 root:root ../../../../bin/unnethack.dlb
+/usr/lib/debug/.build-id/9c/22b7727ae5b06470cc2744937e67877e621220.debug 120777 root:root ../../usr/bin/unnethack.dlb.debug
+/usr/lib/debug/.build-id/b5 40755 root:root
+/usr/lib/debug/.build-id/b5/979ccebd7c794b8e8dfcb5037159e682a3547a 120777 root:root ../../../../bin/unnethack.lev_comp
+/usr/lib/debug/.build-id/b5/979ccebd7c794b8e8dfcb5037159e682a3547a.debug 120777 root:root ../../usr/bin/unnethack.lev_comp.debug
+/usr/lib/debug/.build-id/bd 40755 root:root
+/usr/lib/debug/.build-id/bd/cf875b36dab7308f70e7ce550bfeca5b9efa91 120777 root:root ../../../../bin/unnethack.recover
+/usr/lib/debug/.build-id/bd/cf875b36dab7308f70e7ce550bfeca5b9efa91.debug 120777 root:root ../../usr/bin/unnethack.recover.debug
+/usr/lib/debug/.build-id/fd 40755 root:root
+/usr/lib/debug/.build-id/fd/73e438634baf7431bfcac8f3e7e5a2d60f9cb4 120777 root:root ../../../../bin/unnethack.tilemap
+/usr/lib/debug/.build-id/fd/73e438634baf7431bfcac8f3e7e5a2d60f9cb4.debug 120777 root:root ../../usr/bin/unnethack.tilemap.debug
+/usr/lib/debug/.build-id/fd/884ec6eeebaa212ba119d6b9a446b59d153cc2 120777 root:root ../../../../bin/unnethack.dgn_comp
+/usr/lib/debug/.build-id/fd/884ec6eeebaa212ba119d6b9a446b59d153cc2.debug 120777 root:root ../../usr/bin/unnethack.dgn_comp.debug
/usr/lib/debug/usr/bin/unnethack.bin.debug 100644 root:root
@@ -237,26 +236,25 @@
Provides: unnethack-debuginfo = 5.3.2-alt2:sisyphus+270302.100.1.1
-File: /usr/lib/debug/.build-id/06 40755 root:root
-File: /usr/lib/debug/.build-id/06/950e7afe5a6829c39cde46c02b829c9aadbc40 120777 root:root ../../../../bin/unnethack.recover
-File: /usr/lib/debug/.build-id/06/950e7afe5a6829c39cde46c02b829c9aadbc40.debug 120777 root:root ../../usr/bin/unnethack.recover.debug
-File: /usr/lib/debug/.build-id/8d 40755 root:root
-File: /usr/lib/debug/.build-id/8d/7fbb64d100aadebd0cb69e0169483f8543fe89 120777 root:root ../../../../bin/unnethack.dgn_comp
-File: /usr/lib/debug/.build-id/8d/7fbb64d100aadebd0cb69e0169483f8543fe89.debug 120777 root:root ../../usr/bin/unnethack.dgn_comp.debug
-File: /usr/lib/debug/.build-id/8e 40755 root:root
-File: /usr/lib/debug/.build-id/8e/3b945c7034c5a0737cc1210f5f8fb75a0273a5 120777 root:root ../../../../bin/unnethack.lev_comp
-File: /usr/lib/debug/.build-id/8e/3b945c7034c5a0737cc1210f5f8fb75a0273a5.debug 120777 root:root ../../usr/bin/unnethack.lev_comp.debug
-File: /usr/lib/debug/.build-id/90 40755 root:root
-File: /usr/lib/debug/.build-id/90/f75e0590d8f973be29bd05daf237f3bb6f3c68 120777 root:root ../../../../bin/unnethack.dlb
-File: /usr/lib/debug/.build-id/90/f75e0590d8f973be29bd05daf237f3bb6f3c68.debug 120777 root:root ../../usr/bin/unnethack.dlb.debug
-File: /usr/lib/debug/.build-id/b8 40755 root:root
-File: /usr/lib/debug/.build-id/b8/60b0a596866f0303d06d4dae9673ec7d4decad 120777 root:root ../../../../bin/unnethack.bin
-File: /usr/lib/debug/.build-id/b8/60b0a596866f0303d06d4dae9673ec7d4decad.debug 120777 root:root ../../usr/bin/unnethack.bin.debug
-File: /usr/lib/debug/.build-id/e5 40755 root:root
-File: /usr/lib/debug/.build-id/e5/62a7d8a72a1d0155328e5ae535c2700be8914d 120777 root:root ../../../../bin/unnethack.tilemap
-File: /usr/lib/debug/.build-id/e5/62a7d8a72a1d0155328e5ae535c2700be8914d.debug 120777 root:root ../../usr/bin/unnethack.tilemap.debug
-File: /usr/lib/debug/usr/bin/unnethack.bin.debug 100644 root:root af2e09c8533b13176143f1b19123e1c0
-File: /usr/lib/debug/usr/bin/unnethack.dgn_comp.debug 100644 root:root f8e316585ae3f514b191ced7f54266fd
-File: /usr/lib/debug/usr/bin/unnethack.dlb.debug 100644 root:root 7023c33c27ce5ae1557d0958bd960540
-File: /usr/lib/debug/usr/bin/unnethack.lev_comp.debug 100644 root:root 268cb3a62f656bedb281e1f2e50a6707
-File: /usr/lib/debug/usr/bin/unnethack.recover.debug 100644 root:root 2f7c0a62a4e9c5581609a6fa35f8d653
-File: /usr/lib/debug/usr/bin/unnethack.tilemap.debug 100644 root:root 64a9d1fb4b9f836fb3686eeb0247b454
+File: /usr/lib/debug/.build-id/00 40755 root:root
+File: /usr/lib/debug/.build-id/00/ac3b5202900a9e48edbb064c520fe817ce74a7 120777 root:root ../../../../bin/unnethack.bin
+File: /usr/lib/debug/.build-id/00/ac3b5202900a9e48edbb064c520fe817ce74a7.debug 120777 root:root ../../usr/bin/unnethack.bin.debug
+File: /usr/lib/debug/.build-id/9c 40755 root:root
+File: /usr/lib/debug/.build-id/9c/22b7727ae5b06470cc2744937e67877e621220 120777 root:root ../../../../bin/unnethack.dlb
+File: /usr/lib/debug/.build-id/9c/22b7727ae5b06470cc2744937e67877e621220.debug 120777 root:root ../../usr/bin/unnethack.dlb.debug
+File: /usr/lib/debug/.build-id/b5 40755 root:root
+File: /usr/lib/debug/.build-id/b5/979ccebd7c794b8e8dfcb5037159e682a3547a 120777 root:root ../../../../bin/unnethack.lev_comp
+File: /usr/lib/debug/.build-id/b5/979ccebd7c794b8e8dfcb5037159e682a3547a.debug 120777 root:root ../../usr/bin/unnethack.lev_comp.debug
+File: /usr/lib/debug/.build-id/bd 40755 root:root
+File: /usr/lib/debug/.build-id/bd/cf875b36dab7308f70e7ce550bfeca5b9efa91 120777 root:root ../../../../bin/unnethack.recover
+File: /usr/lib/debug/.build-id/bd/cf875b36dab7308f70e7ce550bfeca5b9efa91.debug 120777 root:root ../../usr/bin/unnethack.recover.debug
+File: /usr/lib/debug/.build-id/fd 40755 root:root
+File: /usr/lib/debug/.build-id/fd/73e438634baf7431bfcac8f3e7e5a2d60f9cb4 120777 root:root ../../../../bin/unnethack.tilemap
+File: /usr/lib/debug/.build-id/fd/73e438634baf7431bfcac8f3e7e5a2d60f9cb4.debug 120777 root:root ../../usr/bin/unnethack.tilemap.debug
+File: /usr/lib/debug/.build-id/fd/884ec6eeebaa212ba119d6b9a446b59d153cc2 120777 root:root ../../../../bin/unnethack.dgn_comp
+File: /usr/lib/debug/.build-id/fd/884ec6eeebaa212ba119d6b9a446b59d153cc2.debug 120777 root:root ../../usr/bin/unnethack.dgn_comp.debug
+File: /usr/lib/debug/usr/bin/unnethack.bin.debug 100644 root:root d5128a60412fe85ae00f5b989fbaf389
+File: /usr/lib/debug/usr/bin/unnethack.dgn_comp.debug 100644 root:root 2c38c255f87fd4fde283acf8f416f8c5
+File: /usr/lib/debug/usr/bin/unnethack.dlb.debug 100644 root:root 5b9bc9bbf321acf51c3d2b856e0fa38c
+File: /usr/lib/debug/usr/bin/unnethack.lev_comp.debug 100644 root:root 9dc20792e636e657a5b01fd7b96b5051
+File: /usr/lib/debug/usr/bin/unnethack.recover.debug 100644 root:root e21ac7c6cc842247c0c1e5953c69f0b3
+File: /usr/lib/debug/usr/bin/unnethack.tilemap.debug 100644 root:root fb2a69023fed92bdc179307ab7261f90
File: /usr/src/debug/unnethack-5.3.2 40755 root:root
@@ -467,2 +465,2 @@
File: /usr/src/debug/unnethack-5.3.2/win/tty/wintty.c 100644 root:root 9fbe630dc9be488786ab7a2e8bb1aeb4
-RPMIdentity: eb246b6f6320e37174e00691e00cae28231658741ab934e0f33f1987a559124114277edcf7796a9c81ad0a19bcd32a281e169e4735e4280952e1378d77856021
+RPMIdentity: 21539098be9aa92d3a16fc88c615719d78ea7480944e4e544398f64e10a3c65ece322349c0350848888967ae58a4a5c2c66781037268a78183187a4493e7c1d1