86>Sep 17 09:18:58 userdel[2722731]: delete user 'rooter' <86>Sep 17 09:18:58 userdel[2722731]: removed group 'rooter' owned by 'rooter' <86>Sep 17 09:18:58 userdel[2722731]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 17 09:18:58 groupadd[2722744]: group added to /etc/group: name=rooter, GID=1844 <86>Sep 17 09:18:58 groupadd[2722744]: group added to /etc/gshadow: name=rooter <86>Sep 17 09:18:58 groupadd[2722744]: new group: name=rooter, GID=1844 <86>Sep 17 09:18:58 useradd[2722752]: new user: name=rooter, UID=1844, GID=1844, home=/root, shell=/bin/bash <86>Sep 17 09:18:58 userdel[2722771]: delete user 'builder' <86>Sep 17 09:18:58 userdel[2722771]: removed group 'builder' owned by 'builder' <86>Sep 17 09:18:58 userdel[2722771]: removed shadow group 'builder' owned by 'builder' <86>Sep 17 09:18:58 groupadd[2722785]: group added to /etc/group: name=builder, GID=1845 <86>Sep 17 09:18:58 groupadd[2722785]: group added to /etc/gshadow: name=builder <86>Sep 17 09:18:58 groupadd[2722785]: new group: name=builder, GID=1845 <86>Sep 17 09:18:58 useradd[2722805]: new user: name=builder, UID=1845, GID=1845, home=/usr/src, shell=/bin/bash <13>Sep 17 09:19:01 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 17 09:19:01 rpmi: libgsl-2.5-alt1 sisyphus.212796.100 1536590939 installed <13>Sep 17 09:19:01 rpmi: libgsl-devel-2.5-alt1 sisyphus.212796.100 1536590939 installed <13>Sep 17 09:19:01 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Sep 17 09:19:01 rpmi: groff-base-1.22.3-alt2 1502488668 installed <13>Sep 17 09:19:01 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596258 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/unnethack-5.1.0-alt1.nosrc.rpm (w1.gzdio) Installing unnethack-5.1.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.89845 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf unnethack-5.1.0 + echo 'Source #0 (unnethack-5.1.0.tar.gz):' Source #0 (unnethack-5.1.0.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/unnethack-5.1.0.tar.gz + /bin/tar -xf - + cd unnethack-5.1.0 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i 's/[$](LFLAGS) \(.*\)[$](LIBS)/\1 $(LFLAGS) $(LIBS)/' sys/autoconf/Makefile.src + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.89845 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd unnethack-5.1.0 + 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 for tgetent in -lncurses... yes 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 tparm in -lcurses... yes checking for tgetent in -lncurses... (cached) yes 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 nroff... yes checking for tbl... yes checking for col... yes checking for pseudo random number device... /dev/urandom checking for gsl_blas_dgemm in -lgsl... yes 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 -j16 make: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0' 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.1.0' ( cd src ; make ) make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' touch ../src/config.h-t make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' x86_64-alt-linux-gcc -DAUTOCONF -O2 -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o panic.o panic.c make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' 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 make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' 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 make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' 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 make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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=] static const char SCCS_Id[] = "@(#)makedefs.c\t3.4\t2002/02/03"; ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' x86_64-alt-linux-gcc -DAUTOCONF -lgsl -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.1.0/util' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' ./makedefs -p make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' ./makedefs -m make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' ./makedefs -o make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[2]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' ./makedefs -z make[2]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/util' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' touch ../src/hack.h-t make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:282:6: warning: unused variable 'save_botlx' [-Wunused-variable] int save_botlx = flags.botlx; ^~~~~~~~~~ botl.c: In function 'bot2str': botl.c:433:6: warning: unused variable 'save_botlx' [-Wunused-variable] int save_botlx = flags.botlx; ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 allmain.c: In function 'moveloop': allmain.c:231:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) ^~~ allmain.c:255:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' monclock = 70; ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' ../util/makedefs -v make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:391:42: warning: '%s' directive writing up to 255 bytes into a region of size 103 [-Wformat-overflow=] Sprintf(qbuf, "What do you want to call %s?", buf); ^~ ~~~ In file included from /usr/include/stdio.h:862, 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:33:10: note: '__builtin___sprintf_chk' output between 27 and 282 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:1493:70: warning: '%s' directive writing up to 255 bytes into a region of size between 145 and 155 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", color, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 53 and 318 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1505:63: warning: '%s' directive writing up to 255 bytes into a region of size 163 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 300) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1503:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1543:61: warning: '%s' directive writing up to 255 bytes into a region of size between 162 and 166 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", ^~ display.c:1545:12: color, html_c); ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 301) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1537:43: warning: '%s' directive writing up to 255 bytes into a region of size 179 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1535:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1533:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1531:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1529:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1527:59: warning: '%s' directive writing up to 255 bytes into a region of size 167 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1525:61: warning: '%s' directive writing up to 255 bytes into a region of size 165 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1523:59: warning: '%s' directive writing up to 255 bytes into a region of size 167 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1521:61: warning: '%s' directive writing up to 255 bytes into a region of size 166 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, color, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 42 or more bytes (assuming 297) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1519:48: warning: '%s' directive writing up to 255 bytes into a region of size 174 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 34 and 289 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1517:61: warning: '%s' directive writing up to 255 bytes into a region of size 165 [-Wformat-overflow=] Sprintf(tmpbuf, " ", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 43 or more bytes (assuming 298) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1515:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1513:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1511:58: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1509:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1507:57: warning: '%s' directive writing up to 255 bytes into a region of size 169 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 294) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1551:49: warning: '%s' directive writing up to 255 bytes into a region of size between 165 and 175 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", color, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 33 and 298 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1501:46: warning: '%s' directive writing up to 255 bytes into a region of size between 167 and 177 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", color, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 31 and 296 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1499:59: warning: '%s' directive writing up to 255 bytes into a region of size 168 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", dfeature, color, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 40 or more bytes (assuming 295) into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1495:53: warning: '%s' directive writing up to 255 bytes into a region of size between 160 and 170 [-Wformat-overflow=] Sprintf(tmpbuf, "%s", color, html_c); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from display.c:118: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 38 and 303 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 cmd.c: In function 'extcmd_via_menu': cmd.c:434:41: warning: '%s' directive writing up to 127 bytes into a region of size 110 [-Wformat-overflow=] Sprintf(prompt, "Extended Command: %s", cbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from cmd.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 'setrandom': hacklib.c:478:12: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] if (fptr) fread(&random_seed, sizeof(int),1,fptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:1440:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ end.c:1444:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (c == 'q') done_stopprint++; ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:1042:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) SAVEF, sizeof(SAVEF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c: In function 'docompress_file': files.c:1405:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ files.c:1406:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 engrave.c: In function 'engrave': engrave.c:882:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flags.verbose) ^~ engrave.c:884:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' doknown = TRUE; ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:23:10: note: in expansion of macro 'EPRI' atyp = EPRI(mon)->shralign; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:26:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ minion.c:41:13: note: in expansion of macro 'is_lminion' } else if (is_lminion(mon)) { ^~~~~~~~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:80:3: note: in expansion of macro 'EPRI' 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] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:118:6: note: in expansion of macro 'EMIN' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ minion.c:124:6: note: in expansion of macro 'EPRI' EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:747:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (vis) ^~ apply.c:749:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' mtmp->mcanmove = 0; ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] 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' if (count == 5) ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 eat.c: In function 'edibility_prompts': eat.c:1990:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", ^~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2010:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s might be poisonous! %s", ^~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 28 and 537 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2017:19: warning: ' unhealthy. ' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unhealthy. %s", ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 395 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2023:19: warning: ' rather acidic. ' directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s rather acidic. %s", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 399 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:1996:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be something very dangerous! %s", ^~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 43 and 552 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2030:19: warning: ' disgusting to you right now..' directive writing 30 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s disgusting to you right now. %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 31 and 413 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2044:19: warning: ' foul and unfamiliar to you. ' directive writing 29 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s foul and unfamiliar to you. %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 30 and 412 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2061:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be tainted! %s", ^~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 26 and 535 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2053:19: warning: ' unfamiliar to you. ' directive writing 20 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s unfamiliar to you. %s", ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 403 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:2003:19: warning: ' like ' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf, "%s like %s could be rotten! %s", ^~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from eat.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 25 and 534 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:904:5: note: in expansion of macro 'EPRI' *(EPRI(m3)) = *(EPRI(mon)); ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) makemon.c:904:19: note: in expansion of macro 'EPRI' *(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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:26:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ makemon.c:1751:16: note: in expansion of macro 'is_lminion' } 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:1864:10: note: in expansion of macro 'EPRI' 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] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:1866:10: note: in expansion of macro 'EMIN' mal = EMIN(mtmp)->min_align; ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:1541:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 2) kind = NO_TRAP; break; ^~ mklev.c:1541:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 2) kind = NO_TRAP; break; ^~~~~ mklev.c:1543:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5 || level.flags.noteleport) ^~ mklev.c:1544:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' kind = NO_TRAP; break; ^~~~~ mklev.c:1546:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5) kind = NO_TRAP; break; ^~ mklev.c:1546:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 5) kind = NO_TRAP; break; ^~~~~ mklev.c:1548:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 6) kind = NO_TRAP; break; ^~ mklev.c:1548:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 6) kind = NO_TRAP; break; ^~~~~ mklev.c:1550:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 7) 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' if (lvl < 7) kind = NO_TRAP; break; ^~~~~ mklev.c:1553:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 8) kind = NO_TRAP; break; ^~ mklev.c:1553:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (lvl < 8) kind = NO_TRAP; break; ^~~~~ mklev.c:1555:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Inhell || Insheol) kind = NO_TRAP; break; ^~ mklev.c:1555:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Inhell || Insheol) kind = NO_TRAP; break; ^~~~~ mklev.c:1557:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Insheol) kind = NO_TRAP; break; ^~ mklev.c:1557:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Insheol) kind = NO_TRAP; break; ^~~~~ mklev.c:1559:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (level.flags.noteleport) kind = NO_TRAP; break; ^~ mklev.c:1559:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (level.flags.noteleport) kind = NO_TRAP; break; ^~~~~ mklev.c:1562:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rn2(7)) kind = NO_TRAP; break; ^~ mklev.c:1562:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rn2(7)) kind = NO_TRAP; break; ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pline.c:364:15: note: in expansion of macro 'EPRI' alignment = EPRI(mtmp)->shralign; ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 'getobj': invent.c:839:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (otmp = getnextgetobj()) { ^~~~ invent.c: In function 'doorganize': invent.c:3437:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ invent.c:3442:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' otmp->invlet = obj->invlet; ^~~~ invent.c: In function 'getobj.part.7': invent.c:1048:44: warning: '%s' directive writing up to 255 bytes into a region of size 105 [-Wformat-overflow=] Sprintf(qbuf, "What do you want to %s? [%s or ?*]", ^~ word, buf); ~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from invent.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 31 or more bytes (assuming 286) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 pager.c: In function 'do_look': pager.c:731:28: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] pager.c:729:16: firstmatch = look_buf; ~~~~~~~~ pager.c:731:28: Sprintf(temp_buf, " (%s)", firstmatch); ^~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from pager.c:8: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 259 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pager.c:736:34: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] Sprintf(temp_buf, " [seen: %s]", monbuf); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from pager.c:8: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:26:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ monmove.c:134:6: note: in expansion of macro 'is_lminion' is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:125:20: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:126:20: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:145:11: note: in expansion of macro 'EPRI' temple = EPRI(priest)->shroom; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:147:7: note: in expansion of macro 'EPRI' gx = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:148:7: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:192:3: note: in expansion of macro 'EPRI' EPRI(priest)->shroom = (sroom - rooms) + ROOMOFFSET; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:193:3: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:194:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.x = sx; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:195:3: note: in expansion of macro 'EPRI' EPRI(priest)->shrpos.y = sy; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:196:18: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:254:26: note: in expansion of macro 'EPRI' if (!mon->ispriest && EPRI(mon)->renegade) ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:272:33: note: in expansion of macro 'EPRI' 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] #define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:279:27: note: in expansion of macro 'EMIN' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:287:42: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:298:14: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:298:35: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:301:19: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:312:28: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:546:2: note: in expansion of macro 'EPRI' EPRI(roamer)->shralign = alignment; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:548:3: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:568:5: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:609:11: note: in expansion of macro 'EPRI' ax = x = EPRI(priest)->shrpos.x; ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:610:11: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:674:18: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:674:42: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:677:4: note: in expansion of macro 'EPRI' EPRI(priest)->shralign)) { ^~~~ ../include/epri.h:16:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:681:3: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:697:58: note: in expansion of macro 'EPRI' 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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ priest.c:710:21: note: in expansion of macro 'EPRI' assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:585:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hack.c:588:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (Blind) feel_location(sx, sy); ^~ hack.c: In function 'interesting_to_explore': hack.c:1351:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] interesting_to_explore(x,y) { ^~~~~~~~~~~~~~~~~~~~~~ hack.c:1351:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 mhitm.c: In function 'hitmm': mhitm.c:456:24: warning: ' squeezes' directive writing 9 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s squeezes", magr_name); ^~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:431:20: warning: ' stings' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s stings", magr_name); ^~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:440:21: warning: ' touches' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s touches", magr_name); ^~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:438:21: warning: ' is touching' directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s is touching", magr_name); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:434:20: warning: ' butts' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s butts", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:428:20: warning: ' bites' directive writing 6 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s bites", magr_name); ^~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:447:21: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s hits", magr_name); ^~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:445:21: warning: ' is hitting' directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s is hitting", magr_name); ^~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitm.c:460:20: warning: ' hits' directive writing 5 bytes into a region of size between 1 and 256 [-Wformat-overflow=] Sprintf(buf,"%s hits", magr_name); ^~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from mhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 261 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] struct obj *otmp; ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 pickup.c: In function 'use_container': pickup.c:2468:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] if (!cnt) Sprintf(menuprompt, "%s ", emptymsg); ^ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from pickup.c:9: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:398:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fd, (genericptr_t) &hpid, sizeof(hpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:416:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &hackpid, sizeof(hackpid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:420:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:2061:10: warning: variable 'found_by_descr' set but not used [-Wunused-but-set-variable] boolean found_by_descr = FALSE; ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 spell.c: In function 'getspell': spell.c:546:37: warning: '%s' directive writing up to 255 bytes into a region of size 109 [-Wformat-overflow=] Sprintf(qbuf, "Cast which spell? [%s ?]", lets); ^~ ~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from spell.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 23 and 278 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 options.c: In function 'option_help': options.c:4523:21: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, ^~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from options.c:13: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c: In function 'doset': options.c:3481:43: warning: 's [' directive writing 3 bytes into a region of size between 1 and 11 [-Wformat-overflow=] Sprintf(fmtstr_doset_add_menu, "%%s%%-%ds [%%s]", biggest_name); ^~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from options.c:13: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 22 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c:3557:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] Sprintf(buf, "%s:%s", compopt[opt_indx].name, buf2); ^ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from options.c:13: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 topten.c: In function 'outentry': topten.c:969:29: warning: '%s' directive writing up to 255 bytes into a region of size 240 [-Wformat-overflow=] Sprintf(linebuf, "%15s %s", "", linebuf3); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from topten.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 272 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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 make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] #define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mondata.h:26:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ wizard.c:639:12: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' x86_64-alt-linux-gcc -DAUTOCONF -Wall -I../include -I./../include -pipe -frecord-gcc-switches -Wall -g -O2 -c ./../sys/unix/unixmain.c make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:394:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(B", 3); ^~~~~~~~~~~~~~~~~~~~~ ./../sys/share/unixtty.c: In function 'linux_mapoff': ./../sys/share/unixtty.c:404:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, "\033(U", 3); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] write(sfd, (genericptr_t) &levc, sizeof(levc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:27:18: note: in expansion of macro 'EGD' if (!on_level(&(EGD(grd)->gdlevel), &u.uz)) return TRUE; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:29:17: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:29:36: note: in expansion of macro 'EGD' while((fcbeg = EGD(grd)->fcbeg) < EGD(grd)->fcend) { ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:30:9: note: in expansion of macro 'EGD' fcx = EGD(grd)->fakecorr[fcbeg].fx; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:31:9: note: in expansion of macro 'EGD' fcy = EGD(grd)->fakecorr[fcbeg].fy; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:33:8: note: in expansion of macro 'EGD' EGD(grd)->gddone) ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:48:24: note: in expansion of macro 'EGD' levl[fcx][fcy].typ = EGD(grd)->fakecorr[fcbeg].ftyp; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:51:3: note: in expansion of macro 'EGD' EGD(grd)->fcbeg++; ^~~ vault.c: In function 'grddead': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:79:3: note: in expansion of macro 'EGD' EGD(grd)->ogx = grd->mx; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:80:3: note: in expansion of macro 'EGD' EGD(grd)->ogy = grd->my; ^~~ vault.c: In function 'in_fcorridor': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:93:12: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:93:35: note: in expansion of macro 'EGD' for(fci = EGD(grd)->fcbeg; fci < EGD(grd)->fcend; fci++) ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:94:11: note: in expansion of macro 'EGD' if(x == EGD(grd)->fakecorr[fci].fx && ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:95:10: note: in expansion of macro 'EGD' y == EGD(grd)->fakecorr[fci].fy) ^~~ vault.c: In function 'findgd': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:107:56: note: in expansion of macro 'EGD' if(mtmp->isgd && !DEADMONSTER(mtmp) && on_level(&(EGD(mtmp)->gdlevel), &u.uz)) ^~~ vault.c: In function 'invault': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:225:2: note: in expansion of macro 'EGD' EGD(guard)->gddone = 0; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:226:2: note: in expansion of macro 'EGD' EGD(guard)->ogx = x; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:227:2: note: in expansion of macro 'EGD' EGD(guard)->ogy = y; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:228:17: note: in expansion of macro 'EGD' assign_level(&(EGD(guard)->gdlevel), &u.uz); ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:229:2: note: in expansion of macro 'EGD' EGD(guard)->vroom = vaultroom; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:230:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 0; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:322:2: note: in expansion of macro 'EGD' EGD(guard)->gdx = gx; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:323:2: note: in expansion of macro 'EGD' EGD(guard)->gdy = gy; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:324:2: note: in expansion of macro 'EGD' EGD(guard)->fcbeg = 0; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:325:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fx = x; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:326:2: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].fy = y; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:328:6: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = levl[x][y].typ; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:330:16: note: in expansion of macro 'EGD' int vlt = EGD(guard)->vroom; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:335:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TLCORNER; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:337:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = TRCORNER; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:339:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BLCORNER; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:341:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = BRCORNER; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:343:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = HWALL; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:345:3: note: in expansion of macro 'EGD' EGD(guard)->fakecorr[0].ftyp = VWALL; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:350:2: note: in expansion of macro 'EGD' EGD(guard)->fcend = 1; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:351:2: note: in expansion of macro 'EGD' EGD(guard)->warncnt = 1; ^~~ vault.c: In function 'wallify_vault': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:376:12: note: in expansion of macro 'EGD' int vlt = EGD(grd)->vroom; ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:397:20: note: in expansion of macro 'EGD' move_gold(gold, EGD(grd)->vroom); ^~~ vault.c: In function 'paygd': ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:781:17: note: in expansion of macro 'EGD' gx = rooms[EGD(grd)->vroom].lx + rn2(2); ^~~ ../include/vault.h:25:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define EGD(mon) ((struct egd *)&(mon)->mextra[0]) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vault.c:782:17: note: in expansion of macro 'EGD' gy = rooms[EGD(grd)->vroom].ly + rn2(2); ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ./../sys/unix/unixunix.c:339:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ ./../sys/unix/unixunix.c:341:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/unnethack-5.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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.1.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/unnethack-5.1.0/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=] Sprintf(buf, " %s%s\t[%s]", ^~ prefix, P_NAME(i), sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] Sprintf(buf, " %s %-*s [%s]", ^~ prefix, longest, P_NAME(i), sklnambuf); ~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", ^~ prefix, P_NAME(i), sklnambuf, ~~~~~~~~~ weapon.c:1042:17: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 274) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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=] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", ^~~~~ prefix, longest, P_NAME(i), sklnambuf, ~~~~~~~~~ weapon.c:1037:17: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 274) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1001:25: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] Sprintf(buf2,"%-*s [%s]", ^~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1001:25: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] Sprintf(buf2,"%-*s [%s]", ^~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:477, from ../include/hack.h:9, from weapon.c:10: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:1004:39: warning: '%s' directive writing up to 255 bytes into a region of size 238 [-Wformat-overflow=] Sprintf(buf2,"