<86>Oct 14 13:08:46 userdel[22924]: delete user 'rooter' <86>Oct 14 13:08:46 userdel[22924]: removed group 'rooter' owned by 'rooter' <86>Oct 14 13:08:46 userdel[22924]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 14 13:08:46 groupadd[22936]: group added to /etc/group: name=rooter, GID=591 <86>Oct 14 13:08:46 groupadd[22936]: group added to /etc/gshadow: name=rooter <86>Oct 14 13:08:46 groupadd[22936]: new group: name=rooter, GID=591 <86>Oct 14 13:08:46 useradd[22947]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Oct 14 13:08:46 userdel[22962]: delete user 'builder' <86>Oct 14 13:08:46 userdel[22962]: removed group 'builder' owned by 'builder' <86>Oct 14 13:08:46 userdel[22962]: removed shadow group 'builder' owned by 'builder' <86>Oct 14 13:08:46 groupadd[22972]: group added to /etc/group: name=builder, GID=592 <86>Oct 14 13:08:46 groupadd[22972]: group added to /etc/gshadow: name=builder <86>Oct 14 13:08:46 groupadd[22972]: new group: name=builder, GID=592 <86>Oct 14 13:08:46 useradd[22980]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash <13>Oct 14 13:08:50 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Oct 14 13:08:50 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Oct 14 13:08:50 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596430 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/nethack-3.4.3-alt1.qa1.nosrc.rpm Installing nethack-3.4.3-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.19313 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf nethack-3.4.3 + echo 'Source #0 (nethack-343-src.tar.bz2):' Source #0 (nethack-343-src.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/nethack-343-src.tar.bz2 + /bin/tar -xf - + cd nethack-3.4.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (nethack-config.patch):' Patch #0 (nethack-config.patch): + /usr/bin/patch -p0 patching file include/unixconf.h patching file sys/unix/Makefile.top + echo 'Patch #1 (nethack-decl.patch):' Patch #1 (nethack-decl.patch): + /usr/bin/patch -p0 patching file include/system.h + echo 'Patch #2 (nethack-misc.patch):' Patch #2 (nethack-misc.patch): + /usr/bin/patch -p0 patching file doc/nethack.6 patching file util/recover.c Hunk #1 succeeded at 16 (offset 1 line). Hunk #2 succeeded at 113 (offset 1 line). Hunk #3 succeeded at 172 (offset 1 line). Hunk #4 succeeded at 192 (offset 1 line). Hunk #5 succeeded at 219 (offset 1 line). patching file src/cmd.c Hunk #1 succeeded at 2443 (offset 310 lines). + echo 'Patch #3 (nethack-syscall.patch):' Patch #3 (nethack-syscall.patch): + /usr/bin/patch -p0 patching file include/unixconf.h Hunk #1 succeeded at 327 (offset 5 lines). + echo 'Patch #5 (nethack-gzip.patch):' Patch #5 (nethack-gzip.patch): + /usr/bin/patch -p0 patching file include/config.h Hunk #1 succeeded at 169 (offset 6 lines). + tar xvf /usr/src/RPM/SOURCES/SuSE.tar.bz2 SuSE/ SuSE/README.SuSE SuSE/gnome/ SuSE/gnome/Makefile.src SuSE/gnome/config.h SuSE/gnome/nethack-tty.sh SuSE/gnome/nethack.sh SuSE/gnome/nethackrc SuSE/nethack SuSE/qt/ SuSE/qt/Makefile.src SuSE/qt/config.h SuSE/qt/nethack-tty.sh SuSE/qt/nethack.sh SuSE/qt/nethackrc SuSE/recover-helper SuSE/tty/ SuSE/tty/Makefile.src SuSE/tty/config.h SuSE/tty/nethack.sh SuSE/tty/nethackrc SuSE/x11/ SuSE/x11/Makefile.src SuSE/x11/config.h SuSE/x11/nethack-tty.sh SuSE/x11/nethack.sh SuSE/x11/nethackrc + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.89972 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd nethack-3.4.3 + sh sys/unix/setup.sh 1 Lucky you! Symbolic links. + make clean make: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3' ( cd src ; make clean ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' rm -f *.o ../src/hack.h-t ../src/config.h-t make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' ( cd util ; make clean ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' rm -f *.o make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' make: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3' + cp -f SuSE/tty/config.h include/config.h + cp -f SuSE/tty/Makefile.src src/Makefile + make nethack 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE' make: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3' ( cd src ; make ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' touch ../src/config.h-t cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c monst.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c objects.c make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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"; ^~~~~~~ cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ./makedefs -p make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ./makedefs -o make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' touch ../src/hack.h-t cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o allmain.o allmain.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o alloc.o alloc.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o apply.o apply.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o artifact.o artifact.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o attrib.o attrib.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o ball.o ball.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o bones.o bones.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o botl.o botl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o cmd.o cmd.c cmd.c: In function 'extcmd_via_menu': cmd.c:418: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dbridge.o dbridge.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o decl.o decl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o detect.o detect.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dig.o dig.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o display.o display.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dlb.o dlb.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o do.o do.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o do_name.o do_name.c do_name.c: In function 'do_mname': do_name.c:272: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o do_wear.o do_wear.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dog.o dog.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dogmove.o dogmove.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dokick.o dokick.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dothrow.o dothrow.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o drawing.o drawing.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o dungeon.o dungeon.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o eat.o eat.c eat.c: In function 'doeat': eat.c:2052:59: warning: ?: using integer constants in boolean context, the expression will always evaluate to 'true' [-Wint-in-bool-context] (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ eat.c: In function 'edibility_prompts': eat.c:1788: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:353, 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:1808: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:353, 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:1815: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:353, 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:1821: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:353, 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:1794: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:353, 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:1828: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:353, 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:1842: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:353, 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:1859: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:353, 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:1851: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:353, 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:1801: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o end.o end.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o engrave.o engrave.c engrave.c: In function 'doengrave': engrave.c:727:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (flags.verbose) ^~ engrave.c:729:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' doknown = TRUE; ^~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o exper.o exper.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o explode.o explode.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o extralev.o extralev.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o files.o files.c files.c: In function 'save_savefile_name': files.c:831: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:1156:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ files.c:1157:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o fountain.o fountain.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o hack.o hack.c hack.c: In function 'moverock': hack.c:262:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hack.c:265:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (Blind) feel_location(sx, sy); ^~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o hacklib.o hacklib.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o invent.o invent.c invent.c: In function 'getobj': invent.c:950: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o light.o light.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o lock.o lock.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mail.o mail.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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:756: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:756: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:25:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ makemon.c:1498: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:1616: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:1618:10: note: in expansion of macro 'EMIN' mal = EMIN(mtmp)->min_align; ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mapglyph.o mapglyph.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mcastu.o mcastu.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mhitm.o mhitm.c mhitm.c: In function 'hitmm': mhitm.c:425: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:353, 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:411: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:353, 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:417:20: 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:353, 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:414: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:353, 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:408: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:353, 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:429: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mhitu.o mhitu.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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:25: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:117: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:123:6: note: in expansion of macro 'EPRI' EPRI(mon)->shralign = alignment; /* always A_LAWFUL here */ ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mklev.o mklev.c mklev.c: In function 'mktrap': mklev.c:1220:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 2) kind = NO_TRAP; break; ^~ mklev.c:1220: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:1222:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5 || level.flags.noteleport) ^~ mklev.c:1223:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' kind = NO_TRAP; break; ^~~~~ mklev.c:1225:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 5) kind = NO_TRAP; break; ^~ mklev.c:1225: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:1227:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 6) kind = NO_TRAP; break; ^~ mklev.c:1227: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:1229:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 7) kind = NO_TRAP; break; ^~ mklev.c:1229: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:1232:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (lvl < 8) kind = NO_TRAP; break; ^~ mklev.c:1232: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:1234:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!Inhell) kind = NO_TRAP; break; ^~ mklev.c:1234:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!Inhell) kind = NO_TRAP; break; ^~~~~ mklev.c:1236:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (level.flags.noteleport) kind = NO_TRAP; break; ^~ mklev.c:1236: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:1239:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rn2(7)) kind = NO_TRAP; break; ^~ mklev.c:1239: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; ^~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mkmap.o mkmap.c mkmap.c: In function 'pass_two': mkmap.c:115:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(count=0, dr=0; dr < 8; dr++) ^~~ mkmap.c:119:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (count == 5) ^~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mkmaze.o mkmaze.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mkobj.o mkobj.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mkroom.o mkroom.c mkroom.c: In function 'fill_zoo': mkroom.c:366:22: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] levl[tx][ty].typ = THRONE; mkroom.c:366:22: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] mkroom.c:321:6: warning: 'goldlim' may be used uninitialized in this function [-Wmaybe-uninitialized] if(i >= goldlim) i = 5*level_difficulty(); ^ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mon.o mon.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mondata.o mondata.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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:25:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ monmove.c:136:6: note: in expansion of macro 'is_lminion' is_lminion(mtmp) || mtmp->data == &mons[PM_ANGEL] || ^~~~~~~~~~ make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ./makedefs -m make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o monstr.o monstr.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mplayer.o mplayer.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o mthrowu.o mthrowu.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o muse.o muse.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o music.o music.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o o_init.o o_init.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o objnam.o objnam.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o options.o options.c options.c: In function 'option_help': options.c:3321: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:353, 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:2512: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o pager.o pager.c pager.c: In function 'do_look': pager.c:718:28: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] pager.c:716:16: firstmatch = look_buf; ~~~~~~~~ pager.c:718:28: Sprintf(temp_buf, " (%s)", firstmatch); ^~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, 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:723: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o pickup.o pickup.c pickup.c: In function 'use_container': pickup.c:2157: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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:287:15: note: in expansion of macro 'EPRI' alignment = EPRI(mtmp)->shralign; ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o polyself.o polyself.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o potion.o potion.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o pray.o pray.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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:136: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:137: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:156: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:158: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:159: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:203: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:204: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:205: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:206: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:207:18: note: in expansion of macro 'EPRI' assign_level(&(EPRI(priest)->shrlevel), lvl); ^~~~ ../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:215:17: note: in expansion of macro 'EPRI' if(sanctum && EPRI(priest)->shralign == A_NONE && ^~~~ 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:265: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:277: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:283: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:291: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:302: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:302: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:305: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:316: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:551: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:553: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:573: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:614: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:615: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:679: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:679: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:682: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:686: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:702: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:715:21: note: in expansion of macro 'EPRI' assign_level(&(EPRI(mtmp)->shrlevel), &u.uz); ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o quest.o quest.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o questpgr.o questpgr.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o read.o read.c read.c: In function 'seffects': read.c:1006:20: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] else do_genocide(!sobj->cursed | (2 * !!Confusion)); ^~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o rect.o rect.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o region.o region.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o restore.o restore.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o rip.o rip.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o rnd.o rnd.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o role.o role.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o rumors.o rumors.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o save.o save.c save.c: In function 'savestateinlock': save.c:360: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:378: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:382:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(fd, (genericptr_t) &currlev, sizeof(currlev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o shk.o shk.c shk.c: In function 'repair_damage': shk.c:3154:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (!(litter[i = rn2(9)] & INSHOP)); ^~~~~ shk.c:3155:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' remove_object(otmp); ^~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o shknam.o shknam.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o sit.o sit.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o sounds.o sounds.c sounds.c: In function 'domonnoise': sounds.c:531:28: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] verbl_msg = vampmsg[vampindex]; ~~~~~~~^~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o sp_lev.o sp_lev.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o spell.o spell.c spell.c: In function 'getspell': spell.c:560: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o steal.o steal.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o steed.o steed.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o teleport.o teleport.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o timeout.o timeout.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o topten.o topten.c topten.c: In function 'outentry': topten.c:670: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:353, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o track.o track.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o trap.o trap.c trap.c: In function 'untrap': trap.c:3435:48: warning: '%s' directive writing up to 255 bytes into a region of size 89 [-Wformat-overflow=] Sprintf(qbuf, "There %s and %s here. %s %s?", ^~ trap.c:3438:46: ttmp->ttyp == WEB ? "Remove" : "Disarm", the_trap); ~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, from ../include/hack.h:9, from trap.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o u_init.o u_init.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o uhitm.o uhitm.c uhitm.c: In function 'hmon_hitmon': uhitm.c:1029:38: warning: '%s' directive writing up to 255 bytes into a region of size between 244 and 251 [-Wformat-overflow=] Sprintf(silverobjbuf, "Your %s%s %s %%s!", ^~ uhitm.c:1032:5: saved_oname, vtense(saved_oname, "sear")); ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, from ../include/hack.h:9, from uhitm.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 273) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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:29: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:31: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:31: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:32: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:33: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:35: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:50: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:53: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:81: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:82: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:95: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:95: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:96: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:97: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:109: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:230: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:231: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:232: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:233: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:234: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:235: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:316: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:317: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:318: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:319: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:320: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:322: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:324: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:329: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:331: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:333: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:335: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:337: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:339: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:344: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:345: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:373: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:394: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:778: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:779:17: note: in expansion of macro 'EGD' gy = rooms[EGD(grd)->vroom].ly + rn2(2); ^~~ make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ./makedefs -z make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o vision.o vision.c vision.c: In function 'vision_recalc': vision.c:597:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:597:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:618:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:618:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:656:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c:656:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (row < 0) continue; if (row >= ROWNO) break; ^~ vision.c: In function 'right_side': vision.c:1096:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ vision.c:2205:13: note: 'row_max' was declared here char *row_max; /* right most [used by macro set_max()] */ ^~~~~~~ vision.c:1095:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ vision.c:2204:13: note: 'row_min' was declared here char *row_min; /* left most [used by macro set_min()] */ ^~~~~~~ vision.c:2203:20: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] register char *rowp; /* row optimization */ ^~~~ vision.c: In function 'left_side': vision.c:1096:49: warning: 'row_max' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_max(z) if (*row_max < (z)) *row_max = (z) ^ vision.c:2380:23: note: 'row_max' was declared here char *row_min, *row_max; ^~~~~~~ vision.c:1095:49: warning: 'row_min' may be used uninitialized in this function [-Wmaybe-uninitialized] #define set_min(z) if (*row_min > (z)) *row_min = (z) ^ vision.c:2380:13: note: 'row_min' was declared here char *row_min, *row_max; ^~~~~~~ vision.c:2379:20: warning: 'rowp' may be used uninitialized in this function [-Wmaybe-uninitialized] register char *rowp; ^~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o vis_tab.o vis_tab.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o weapon.o weapon.c weapon.c: In function 'enhance_weapon_skill': weapon.c:959: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:353, 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:956: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:353, 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:948: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:948:17: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%s\t%s\t%5d(%4d)", ^~~~~~~~~~~~~~~~~~~~~ weapon.c:948:17: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, 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 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:943: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:943:17: note: directive argument in the range [0, 65535] Sprintf(buf, " %s%-*s %-12s %5d(%4d)", ^~~~~~~~~~~~~~~~~~~~~~~~ weapon.c:943:17: note: directive argument in the range [-325120, 327680] In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, 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 277) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o were.o were.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o wield.o wield.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o windows.o windows.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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:25:7: note: in expansion of macro 'EPRI' EPRI(mon)->shralign > 0)) ^~~~ wizard.c:625:12: note: in expansion of macro 'is_lminion' } else if(is_lminion(mtmp)) { ^~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o worm.o worm.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o worn.o worn.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o write.o write.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o zap.o zap.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../sys/share/ioctl.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../sys/unix/unixmain.c ../sys/unix/unixmain.c: In function 'chdirx': ../sys/unix/unixmain.c:420:13: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixmain.c:421:13: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); /* Ron Wessels */ ^~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -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); ^~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../sys/unix/unixunix.c ../sys/unix/unixunix.c: In function 'child': ../sys/unix/unixunix.c:268:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:269:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ ../sys/unix/unixunix.c:271:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(getenv("HOME")); ^~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../sys/unix/unixres.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../win/tty/getline.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../win/tty/termcap.c cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../win/tty/topl.c ../win/tty/topl.c: In function 'tty_yn_function': ../win/tty/topl.c:354:27: warning: '%s' directive writing up to 127 bytes into a region of size 126 [-Wformat-overflow=] Sprintf(prompt, "%s [%s] ", query, respbuf); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, from ../include/hack.h:9, from ../win/tty/topl.c:5: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 132) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c ../win/tty/wintty.c ../win/tty/wintty.c: In function 'tty_player_selection': ../win/tty/wintty.c:423:39: warning: '%s' directive writing up to 127 bytes into a region of size 107 [-Wformat-overflow=] Sprintf(pbuf, "Pick a role for your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, from ../include/hack.h:9, from ../win/tty/wintty.c:11: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 149 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c:494:44: warning: '%s' directive writing up to 127 bytes into a region of size 106 [-Wformat-overflow=] Sprintf(pbuf, "Pick the race of your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, from ../include/hack.h:9, from ../win/tty/wintty.c:11: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 23 and 150 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c:566:46: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=] Sprintf(pbuf, "Pick the gender of your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, from ../include/hack.h:9, from ../win/tty/wintty.c:11: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 25 and 152 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/tty/wintty.c:637:49: warning: '%s' directive writing up to 127 bytes into a region of size 101 [-Wformat-overflow=] Sprintf(pbuf, "Pick the alignment of your %s", plbuf); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../include/global.h:8, from ../include/config.h:353, from ../include/hack.h:9, from ../win/tty/wintty.c:11: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 28 and 155 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../util/makedefs -v cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o version.o version.c Loading ... nethack.tty is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' make: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3' + cp dat/options dat/options.tty + make Guidebook data oracles options quest.dat rumors dungeon spec_levs check-dlb x11tiles pet_mark.xbm rip.xpm mapbg.xpm make: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3' ( cd doc ; make Guidebook ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/doc' tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook /bin/sh: tbl: command not found /bin/sh: nroff: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/doc' ( cd src ; make ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' nethack.tty is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' ( cd dat ; make data ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/makedefs -d make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd dat ; make oracles ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/makedefs -h make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd dat ; make options ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' make[1]: 'options' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd dat ; make quest.dat ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/makedefs -q make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd dat ; make rumors ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/makedefs -r make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd util ; make dgn_comp ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' yacc -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' cc -O -I../include -c -o dgn_yacc.o dgn_yacc.c lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -O -I../include dgn_lex.c cc -O -I../include -c -o dgn_main.o dgn_main.c cc -O -I../include -c -o panic.o panic.c cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ( cd dat ; make dungeon ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/makedefs -e ../util/dgn_comp dungeon.pdf make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd util ; make lev_comp ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' yacc -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -O -I../include -c -o lev_yacc.o lev_yacc.c lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -O -I../include lev_lex.c make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' make[2]: '../include/date.h' is up to date. make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' cc -O -I../include -c -o lev_main.o lev_main.c cc -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ( cd dat ; make spec_levs ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd dat ; make quest_levs ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' color, data file compression, data librarian, debug mode, Elbereth, make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3' ( cd util ; make dlb ) make[2]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' make[3]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' make[3]: '../include/date.h' is up to date. make[3]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' cc -O -I../include -c dlb_main.c cc -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o make[2]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ) make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3' ( cd util ; make tile2x11 ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' cp ../win/share/tile.h ../include/tile.h cc -O -I../include -c ../win/X11/tile2x11.c cc -O -I../include -c ../win/share/tiletext.c cc -O -I../include -c -DTILETEXT ../win/share/tilemap.c mv tilemap.o tiletxt.o cc -o tile2x11 tile2x11.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' ( cd dat ; make x11tiles ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ ../win/share/other.txt ../win/share/monsters.txt: 394 tiles ../win/share/objects.txt: 435 tiles ../win/share/other.txt: 228 tiles Total tiles: 1057 make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd dat ; make pet_mark.xbm ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' cp ../win/X11/pet_mark.xbm pet_mark.xbm make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' ( cd dat ; make rip.xpm ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' cp ../win/X11/rip.xpm rip.xpm make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' (cd dat ; make mapbg.xpm ) make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' cp ../win/gnome/mapbg.xpm mapbg.xpm make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/dat' make: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3' + cd util + make 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE' recover make: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' make[1]: Entering directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' make[1]: '../include/date.h' is up to date. make[1]: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/src' cc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I../include -D_GNU_SOURCE -c -o recover.o recover.c recover.c: In function 'main': recover.c:124:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid(getgid()); ^~~~~~~~~~~~~~~~ recover.c:125:10: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid(getuid()); ^~~~~~~~~~~~~~~~ recover.c: In function 'restore_savefile': recover.c:352:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sfd, (genericptr_t) &levc, sizeof(levc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o recover recover.o make: Leaving directory '/usr/src/RPM/BUILD/nethack-3.4.3/util' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.5042 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/nethack-buildroot + : + /bin/rm -rf -- /usr/src/tmp/nethack-buildroot + cd nethack-3.4.3 + rm -rf /usr/src/tmp/nethack-buildroot + install -d /usr/src/tmp/nethack-buildroot/usr/lib/nethack/ + install -d /usr/src/tmp/nethack-buildroot/usr/games + install -d /usr/src/tmp/nethack-buildroot/usr/share/games/nethack + install -d /usr/src/tmp/nethack-buildroot//usr/share/man/man6/ + install -d /usr/src/tmp/nethack-buildroot/var/games/nethack/save + touch /usr/src/tmp/nethack-buildroot/var/games/nethack/perm /usr/src/tmp/nethack-buildroot/var/games/nethack/record /usr/src/tmp/nethack-buildroot/var/games/nethack/logfile + chmod -R 0775 /usr/src/tmp/nethack-buildroot/var/games/nethack + install -m 2755 src/nethack.tty /usr/src/tmp/nethack-buildroot/usr/lib/nethack/ + for STYLE in tty + install -m 755 SuSE/tty/nethack.sh /usr/src/tmp/nethack-buildroot/usr/games/nethack.tty + '[' -r SuSE/tty/nethack-tty.sh ']' + install -m 644 dat/options.tty /usr/src/tmp/nethack-buildroot/usr/lib/nethack/ + install -m 644 doc/nethack.6 doc/lev_comp.6 doc/dlb.6 doc/dgn_comp.6 doc/recover.6 /usr/src/tmp/nethack-buildroot//usr/share/man/man6/ + mkdir -p /usr/src/tmp/nethack-buildroot//usr/share/doc/nethack + install -m 644 doc/Guidebook.tex doc/Guidebook.txt /usr/src/tmp/nethack-buildroot//usr/share/doc/nethack + cd doc + tar cvfj /usr/src/tmp/nethack-buildroot//usr/share/doc/nethack/fixes.tar.bz2 fixes22.0 fixes30.0 fixes31.1 fixes31.2 fixes31.3 fixes32.0 fixes32.1 fixes32.2 fixes32.3 fixes33.0 fixes33.1 fixes34.0 fixes34.1 fixes34.2 fixes34.3 fixes22.0 fixes30.0 fixes31.1 fixes31.2 fixes31.3 fixes32.0 fixes32.1 fixes32.2 fixes32.3 fixes33.0 fixes33.1 fixes34.0 fixes34.1 fixes34.2 fixes34.3 + cd .. + chmod 644 /usr/src/tmp/nethack-buildroot//usr/share/doc/nethack/fixes.tar.bz2 + install -m 644 dat/license /usr/src/tmp/nethack-buildroot//usr/share/doc/nethack + install -m 644 SuSE/README.SuSE /usr/src/tmp/nethack-buildroot//usr/share/doc/nethack + for file in nhdat x11tiles pet_mark.xbm rip.xpm mapbg.xpm license + install -m 644 dat/nhdat /usr/src/tmp/nethack-buildroot/usr/share/games/nethack/ + for file in nhdat x11tiles pet_mark.xbm rip.xpm mapbg.xpm license + install -m 644 dat/x11tiles /usr/src/tmp/nethack-buildroot/usr/share/games/nethack/ + for file in nhdat x11tiles pet_mark.xbm rip.xpm mapbg.xpm license + install -m 644 dat/pet_mark.xbm /usr/src/tmp/nethack-buildroot/usr/share/games/nethack/ + for file in nhdat x11tiles pet_mark.xbm rip.xpm mapbg.xpm license + install -m 644 dat/rip.xpm /usr/src/tmp/nethack-buildroot/usr/share/games/nethack/ + for file in nhdat x11tiles pet_mark.xbm rip.xpm mapbg.xpm license + install -m 644 dat/mapbg.xpm /usr/src/tmp/nethack-buildroot/usr/share/games/nethack/ + for file in nhdat x11tiles pet_mark.xbm rip.xpm mapbg.xpm license + install -m 644 dat/license /usr/src/tmp/nethack-buildroot/usr/share/games/nethack/ + install -m 755 -d /usr/src/tmp/nethack-buildroot/etc/nethack + for STYLE in tty + install -m 755 SuSE/tty/nethackrc /usr/src/tmp/nethack-buildroot/etc/nethack/nethackrc.tty + install -m 755 SuSE/nethack /usr/src/tmp/nethack-buildroot/usr/games/ + install -m 755 SuSE/recover-helper /usr/src/tmp/nethack-buildroot/usr/lib/nethack/ + install -m 755 util/dgn_comp util/dlb util/lev_comp util/makedefs util/recover util/tile2x11 /usr/src/tmp/nethack-buildroot/usr/lib/nethack/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/nethack-buildroot (auto) mode of './usr/lib/nethack/nethack.tty' changed from 2755 (rwxr-sr-x) to 2711 (rwx--s--x) Verifying and fixing files in /usr/src/tmp/nethack-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/nethack-buildroot/ (default) Compressing files in /usr/src/tmp/nethack-buildroot (auto) Adjusting library links in /usr/src/tmp/nethack-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/nethack-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/nethack/tile2x11: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/nethack/recover: uses non-LFS functions: __fxstat creat open verify-elf: WARNING: ./usr/lib/nethack/makedefs: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/nethack/lev_comp: uses non-LFS functions: freopen open verify-elf: WARNING: ./usr/lib/nethack/dlb: uses non-LFS functions: fopen lseek open verify-elf: WARNING: ./usr/lib/nethack/dgn_comp: uses non-LFS functions: freopen verify-elf: WARNING: ./usr/lib/nethack/nethack.tty: uses non-LFS functions: __fxstat __xstat creat fopen freopen lseek open Hardlinking identical .pyc and .pyo files Processing files: nethack-3.4.3-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iF3c3J find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IYwFXN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2DvDfq Requires: /bin/sh, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libncurses.so.5 >= set:mlfCN1, libtinfo.so.5 >= set:lihUhAbqLMMh4CLhhAUU32, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(verify): /bin/sh Requires(post): /bin/sh Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.btiTvu Creating nethack-debuginfo package Processing files: nethack-debuginfo-3.4.3-alt1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CqZNcX find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UoDJlV find-requires: running scripts (debuginfo) Requires: nethack = 3.4.3-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libncurses.so.5), debug(libtinfo.so.5) Wrote: /usr/src/RPM/RPMS/i586/nethack-3.4.3-alt1.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/nethack-debuginfo-3.4.3-alt1.qa1.i586.rpm 119.46user 7.97system 2:22.54elapsed 89%CPU (0avgtext+0avgdata 51752maxresident)k 0inputs+0outputs (0major+1539255minor)pagefaults 0swaps 126.04user 12.90system 2:33.70elapsed 90%CPU (0avgtext+0avgdata 113596maxresident)k 0inputs+0outputs (0major+1837668minor)pagefaults 0swaps --- nethack-3.4.3-alt1.qa1.i586.rpm.repo 2013-04-17 14:23:05.000000000 +0000 +++ nethack-3.4.3-alt1.qa1.i586.rpm.hasher 2019-10-14 13:11:17.492270089 +0000 @@ -27,7 +27,7 @@ /usr/share/games/nethack/x11tiles 100644 -/usr/share/man/man6/dgn_comp.6.gz 100644 -/usr/share/man/man6/dlb.6.gz 100644 -/usr/share/man/man6/lev_comp.6.bz2 100644 -/usr/share/man/man6/nethack.6.gz 100644 -/usr/share/man/man6/recover.6.gz 100644 +/usr/share/man/man6/dgn_comp.6.xz 100644 +/usr/share/man/man6/dlb.6.xz 100644 +/usr/share/man/man6/lev_comp.6.xz 100644 +/usr/share/man/man6/nethack.6.xz 100644 +/usr/share/man/man6/recover.6.xz 100644 /var/games/nethack 40775 @@ -38,3 +38,2 @@ Requires: /bin/sh -Requires: /bin/sh Requires: /bin/sh