86>Jun 29 01:21:41 userdel[3123999]: delete user 'rooter'
<86>Jun 29 01:21:41 userdel[3123999]: removed group 'rooter' owned by 'rooter'
<86>Jun 29 01:21:41 userdel[3123999]: removed shadow group 'rooter' owned by 'rooter'
<86>Jun 29 01:21:41 groupadd[3124022]: group added to /etc/group: name=rooter, GID=1235
<86>Jun 29 01:21:41 groupadd[3124022]: group added to /etc/gshadow: name=rooter
<86>Jun 29 01:21:41 groupadd[3124022]: new group: name=rooter, GID=1235
<86>Jun 29 01:21:41 useradd[3124038]: new user: name=rooter, UID=1235, GID=1235, home=/root, shell=/bin/bash, from=none
<86>Jun 29 01:21:41 userdel[3124069]: delete user 'builder'
<86>Jun 29 01:21:41 userdel[3124069]: removed group 'builder' owned by 'builder'
<86>Jun 29 01:21:41 userdel[3124069]: removed shadow group 'builder' owned by 'builder'
<86>Jun 29 01:21:41 groupadd[3124095]: group added to /etc/group: name=builder, GID=1236
<86>Jun 29 01:21:41 groupadd[3124095]: group added to /etc/gshadow: name=builder
<86>Jun 29 01:21:41 groupadd[3124095]: new group: name=builder, GID=1236
<86>Jun 29 01:21:41 useradd[3124104]: new user: name=builder, UID=1236, GID=1236, home=/usr/src, shell=/bin/bash, from=none
/usr/src/in/srpm/tome-2.3.5-alt3.src.rpm: bad symbols in the license tag: /
<13>Jun 29 01:21:44 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jun 29 01:21:44 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
<13>Jun 29 01:21:44 rpmi: libX11-locales-3:1.8.6-alt1 sisyphus+323114.100.1.1 1686850054 installed
<13>Jun 29 01:21:44 rpmi: xorg-proto-devel-2022.1-alt1 sisyphus+299488.100.1.1 1651731532 installed
<13>Jun 29 01:21:44 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233857 installed
<13>Jun 29 01:21:44 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed
<13>Jun 29 01:21:44 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655472 installed
<13>Jun 29 01:21:45 rpmi: libxcb-devel-1.15-alt1 sisyphus+299436.300.1.1 1651655472 installed
<13>Jun 29 01:21:45 rpmi: libX11-3:1.8.6-alt1 sisyphus+323114.100.1.1 1686850054 installed
<13>Jun 29 01:21:45 rpmi: libX11-devel-3:1.8.6-alt1 sisyphus+323114.100.1.1 1686850054 installed
<13>Jun 29 01:21:45 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/tome-2.3.5-alt3.nosrc.rpm (w1.gzdio)
Installing tome-2.3.5-alt3.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.65897
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf tome-2.3.5
+ echo 'Source #0 (tome-2.3.5.tar):'
Source #0 (tome-2.3.5.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/tome-2.3.5.tar
+ cd tome-2.3.5
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (tome-2.2.6-alt-make.patch):'
Patch #0 (tome-2.2.6-alt-make.patch):
+ /usr/bin/patch -p1
patching file src/makefile.std
Hunk #1 succeeded at 470 (offset 13 lines).
+ echo 'Patch #1 (tome-2.3.5-alt-exit.patch):'
Patch #1 (tome-2.3.5-alt-exit.patch):
+ /usr/bin/patch -p1
patching file src/loadsave.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.65897
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd tome-2.3.5
+ cd src
+ make -f makefile.std 'COPTS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' 'DEFINES=-DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK' 'LIBS=-lX11 -lncurses' LIBDIR=/var/lib/tome/
make: Entering directory '/usr/src/RPM/BUILD/tome-2.3.5/src'
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lapi.o lua/lapi.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lcode.o lua/lcode.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/ldebug.o lua/ldebug.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/ldo.o lua/ldo.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lfunc.o lua/lfunc.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lgc.o lua/lgc.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/llex.o lua/llex.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lmem.o lua/lmem.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lobject.o lua/lobject.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lparser.o lua/lparser.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lstate.o lua/lstate.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lstring.o lua/lstring.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/ltable.o lua/ltable.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/ltests.o lua/ltests.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/ltm.o lua/ltm.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lundump.o lua/lundump.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lvm.o lua/lvm.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lzio.o lua/lzio.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lauxlib.o lua/lauxlib.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lbaselib.o lua/lbaselib.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/ldblib.o lua/ldblib.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/liolib.o lua/liolib.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/lstrlib.o lua/lstrlib.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/tolua_lb.o lua/tolua_lb.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/tolua_rg.o lua/tolua_rg.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/tolua_tt.o lua/tolua_tt.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/tolua_tm.o lua/tolua_tm.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/tolua_gp.o lua/tolua_gp.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/tolua_eh.o lua/tolua_eh.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua/tolua_bd.o lua/tolua_bd.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -o tolua lua/lapi.o lua/lcode.o lua/ldebug.o lua/ldo.o lua/lfunc.o lua/lgc.o lua/llex.o lua/lmem.o lua/lobject.o lua/lparser.o lua/lstate.o lua/lstring.o lua/ltable.o lua/ltests.o lua/ltm.o lua/lundump.o lua/lvm.o lua/lzio.o lua/lauxlib.o lua/lbaselib.o lua/ldblib.o lua/liolib.o lua/lstrlib.o lua/tolua_lb.o lua/tolua_rg.o lua/tolua_tt.o lua/tolua_tm.o lua/tolua_gp.o lua/tolua_eh.o lua/tolua_bd.o lua/tolua.c lua/tolualua.c -lX11 -lncurses
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o script.o script.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o lua_bind.o lua_bind.c
./tolua -n util -o w_util.c util.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_util.o w_util.c
./tolua -n player -o w_player.c player.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_player.o w_player.c
./tolua -n z_pack -o w_z_pack.c z_pack.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_z_pack.o w_z_pack.c
./tolua -n object -o w_obj.c object.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_obj.o w_obj.c
./tolua -n monster -o w_mnster.c monster.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_mnster.o w_mnster.c
./tolua -n spells -o w_spells.c spells.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_spells.o w_spells.c
./tolua -n quest -o w_quest.c quest.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_quest.o w_quest.c
./tolua -n player_c -o w_play_c.c player_c.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_play_c.o w_play_c.c
./tolua -n dungeon -o w_dun.c dungeon.pkg
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o w_dun.o w_dun.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o main-gcu.o main-gcu.c
main-gcu.c: In function 'Term_xtra_gcu':
main-gcu.c:755:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
755 | (void)write(1, "\007", 1);
| ^~~~~~~~~~~~~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o main-x11.o main-x11.c
main-x11.c: In function 'CheckEvent':
main-x11.c:2288:46: warning: variable 'hgt' set but not used [-Wunused-but-set-variable]
2288 | int cols, rows, wid, hgt;
| ^~~
main-x11.c:2288:41: warning: variable 'wid' set but not used [-Wunused-but-set-variable]
2288 | int cols, rows, wid, hgt;
| ^~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o main-xaw.o main-xaw.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o main-sdl.o main-sdl.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o main-dmy.o main-dmy.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o z-rand.o z-rand.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o z-util.o z-util.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o z-form.o z-form.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o z-virt.o z-virt.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o z-term.o z-term.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o z-sock.o z-sock.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o variable.o variable.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o tables.o tables.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o plots.o plots.c
In file included from plots.c:441:
q_one.c: In function 'quest_one_death_hook':
q_one.c:229:23: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
229 | monster_race *r_ptr;
| ^~~~~
In file included from plots.c:473:
q_thrain.c: In function 'quest_thrain_death_hook':
q_thrain.c:6:14: warning: variable 'r_idx' set but not used [-Wunused-but-set-variable]
6 | s32b r_idx, m_idx;
| ^~~~~
q_thrain.c: In function 'quest_thrain_gen_hook':
q_thrain.c:156:37: warning: variable 'i' set but not used [-Wunused-but-set-variable]
156 | int i;
| ^
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o util.o util.c
util.c: In function 'get_quantity':
util.c:3627:45: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
3627 | sprintf(tmp, "Quantity (1-%ld): ", max);
| ~~^ ~~~
| | |
| | s32b {aka int}
| long int
| %d
util.c:3638:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
3638 | sprintf(buf, "%ld", amt);
| ~~^ ~~~
| | |
| | s32b {aka int}
| long int
| %d
util.c: In function 'pause_line':
util.c:3671:13: warning: variable 'i' set but not used [-Wunused-but-set-variable]
3671 | int i;
| ^
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cave.o cave.c
cave.c: In function 'vinfo_init':
cave.c:3546:29: warning: variable 'p' set but not used [-Wunused-but-set-variable]
3546 | vinfo_type *p;
| ^
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o dungeon.o dungeon.c
dungeon.c: In function 'process_world':
dungeon.c:1283:22: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable]
1283 | object_kind *k_ptr;
| ^~~~~
dungeon.c: In function 'process_player':
dungeon.c:4778:39: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
4778 | monster_race *r_ptr;
| ^~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o melee1.o melee1.c
melee1.c: In function 'carried_make_attack_normal':
melee1.c:135:14: warning: variable 'explode' set but not used [-Wunused-but-set-variable]
135 | bool explode = FALSE;
| ^~~~~~~
melee1.c:133:14: warning: variable 'blinked' set but not used [-Wunused-but-set-variable]
133 | bool blinked;
| ^~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o melee2.o melee2.c
melee2.c: In function 'process_monsters':
melee2.c:7631:13: warning: variable 'old_monster_ego_idx' set but not used [-Wunused-but-set-variable]
7631 | int old_monster_ego_idx;
| ^~~~~~~~~~~~~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o modules.o modules.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o object1.o object1.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o object2.o object2.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o randart.o randart.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o squeltch.o squeltch.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o traps.o traps.c
traps.c: In function 'do_player_trap_call_out':
traps.c:22:23: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
22 | monster_race *r_ptr;
| ^~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o monster1.o monster1.c
monster1.c: In function 'roff_aux':
monster1.c:127:14: warning: variable 'flags8' set but not used [-Wunused-but-set-variable]
127 | u32b flags8;
| ^~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o monster2.o monster2.c
monster2.c: In function 'place_monster_one':
monster2.c:2135:16: warning: variable 'base' set but not used [-Wunused-but-set-variable]
2135 | int i, base;
| ^~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o monster3.o monster3.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o ghost.o ghost.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o xtra1.o xtra1.c
xtra1.c: In function 'prt_piety':
xtra1.c:149:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
149 | sprintf(tmp, "%9ld", p_ptr->grace);
| ~~~^ ~~~~~~~~~~~~
| | |
| long int s32b {aka int}
| %9d
xtra1.c: In function 'prt_mh':
xtra1.c:432:23: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
432 | monster_race *r_ptr;
| ^~~~~
xtra1.c: In function 'prt_depth':
xtra1.c:522:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'wf_name + (sizetype)(wf_info + (sizetype)((long unsigned int)(*(wild_map + (sizetype)((long unsigned int)p_ptr->wilderness_y * 8)) + (sizetype)((long unsigned int)p_ptr->wilderness_x * 12))->feat * 52))->name' must not be NULL [-Waddress]
522 | if (wf_info[wild_map[p_ptr->wilderness_y][p_ptr->wilderness_x].feat].name + wf_name)
| ^~~~~~~
xtra1.c: In function 'health_redraw':
xtra1.c:963:41: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare]
963 | else if (!m_list[health_who].hp < 0)
| ^
xtra1.c:963:41: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
xtra1.c:963:18: note: add parentheses around left hand side expression to silence this warning
963 | else if (!m_list[health_who].hp < 0)
| ^~~~~~~~~~~~~~~~~~~~~~
| ( )
xtra1.c: In function 'get_archery_skill':
xtra1.c:2378:22: warning: variable 'o_ptr' set but not used [-Wunused-but-set-variable]
2378 | object_type *o_ptr;
| ^~~~~
xtra1.c: In function 'calc_bonuses':
xtra1.c:2708:13: warning: variable 'old_invis' set but not used [-Wunused-but-set-variable]
2708 | int old_invis;
| ^~~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o xtra2.o xtra2.c
xtra2.c: In function 'check_experience':
xtra2.c:3514:13: warning: variable 'i' set but not used [-Wunused-but-set-variable]
3514 | int i, gained = 0;
| ^
xtra2.c: In function 'check_experience_obj':
xtra2.c:3654:13: warning: variable 'i' set but not used [-Wunused-but-set-variable]
3654 | int i;
| ^
xtra2.c: In function 'monster_death':
xtra2.c:3933:14: warning: variable 'cloned' set but not used [-Wunused-but-set-variable]
3933 | bool cloned = FALSE;
| ^~~~~~
xtra2.c: In function 'mon_take_hit':
xtra2.c:4653:38: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable]
4653 | object_kind *k_ptr;
| ^~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o skills.o skills.c
skills.c: In function 'dump_skills':
skills.c:260:42: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=]
260 | fprintf(fff, "%-49s%s%02ld.%03ld [%01ld.%03ld]",
| ~~~~^
| |
| long int
| %02d
skills.c:260:48: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int' [-Wformat=]
260 | fprintf(fff, "%-49s%s%02ld.%03ld [%01ld.%03ld]",
| ~~~~^
| |
| long int
| %03d
skills.c:260:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int' [-Wformat=]
260 | fprintf(fff, "%-49s%s%02ld.%03ld [%01ld.%03ld]",
| ~~~~^
| |
| long int
| %01d
......
264 | s_info[i].mod / 1000, s_info[i].mod % 1000);
| ~~~~~~~~~~~~~~~~~~~~
| |
| int
skills.c:260:61: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'int' [-Wformat=]
260 | fprintf(fff, "%-49s%s%02ld.%03ld [%01ld.%03ld]",
| ~~~~^
| |
| long int
| %03d
......
264 | s_info[i].mod / 1000, s_info[i].mod % 1000);
| ~~~~~~~~~~~~~~~~~~~~
| |
| int
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o powers.o powers.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o gods.o gods.c
gods.c: In function 'show_god_info':
gods.c:84:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
84 | int tmp;
| ^~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o spells1.o spells1.c
spells1.c: In function 'project_o':
spells1.c:3919:17: warning: variable 'yy' set but not used [-Wunused-but-set-variable]
3919 | int xx, yy;
| ^~
spells1.c:3919:13: warning: variable 'xx' set but not used [-Wunused-but-set-variable]
3919 | int xx, yy;
| ^~
spells1.c: In function 'potion_smash_effect':
spells1.c:8882:14: warning: variable 'ident' set but not used [-Wunused-but-set-variable]
8882 | bool ident = FALSE;
| ^~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o spells2.o spells2.c
spells2.c: In function 'recharge':
spells2.c:4561:22: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable]
4561 | object_kind *k_ptr;
| ^~~~~
spells2.c: In function 'swap_position':
spells2.c:6671:24: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
6671 | monster_race * r_ptr;
| ^~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o status.o status.c
status.c: In function 'status_numeric':
status.c:505:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
505 | sprintf(strnum, "%lu", val);
| ~~^ ~~~
| | |
| | s32b {aka int}
| long unsigned int
| %u
status.c:516:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
516 | sprintf(strnum, "%lu", val);
| ~~^ ~~~
| | |
| | s32b {aka int}
| long unsigned int
| %u
status.c: In function 'status_companion':
status.c:749:64: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u32b' {aka 'unsigned int'} [-Wformat=]
749 | fprintf(fff, " Lev/Exp : [[[[[G%d / %ld]\n", m_ptr->level, m_ptr->exp);
| ~~^ ~~~~~~~~~~
| | |
| long int u32b {aka unsigned int}
| %d
status.c:750:97: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
750 | if (m_ptr->level < MONSTER_LEVEL_MAX) fprintf(fff, " Next lvl: [[[[[G%ld]\n", MONSTER_EXP((s32b)m_ptr->level + 1));
| ~~^
| |
| long int
| %d
status.c:753:59: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
753 | fprintf(fff, " HP : [[[[[G%ld / %ld]\n", m_ptr->hp, m_ptr->maxhp);
| ~~^ ~~~~~~~~~
| | |
| long int s32b {aka int}
| %d
status.c:753:65: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
753 | fprintf(fff, " HP : [[[[[G%ld / %ld]\n", m_ptr->hp, m_ptr->maxhp);
| ~~^ ~~~~~~~~~~~~
| | |
| long int s32b {aka int}
| %d
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o files.o files.c
files.c: In function 'file_character':
files.c:3135:31: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
3135 | fprintf(fff, " [%s %ld.%ld.%ld%s Character Sheet]\n\n",
| ~~^
| |
| long int
| %d
3136 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:3135:35: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
3135 | fprintf(fff, " [%s %ld.%ld.%ld%s Character Sheet]\n\n",
| ~~^
| |
| long int
| %d
3136 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:3135:39: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
3135 | fprintf(fff, " [%s %ld.%ld.%ld%s Character Sheet]\n\n",
| ~~^
| |
| long int
| %d
3136 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:3300:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
3300 | fprintf(fff, "\n You have defeated %lu enemies.", Total);
| ~~^ ~~~~~
| | |
| | s32b {aka int}
| long unsigned int
| %u
files.c:3320:62: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'u32b' {aka 'unsigned int'} [-Wformat=]
3320 | (death ? "\n Your adventure lasted %ld day%s." : "\n You have been adventuring for %ld day%s."),
| ~~^
| |
| long int
| %d
3321 | days, (days == 1) ? "" : "s");
| ~~~~
| |
| u32b {aka unsigned int}
files.c:3320:110: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'u32b' {aka 'unsigned int'} [-Wformat=]
3320 | (death ? "\n Your adventure lasted %ld day%s." : "\n You have been adventuring for %ld day%s."),
| ~~^
| |
| long int
| %d
3321 | days, (days == 1) ? "" : "s");
| ~~~~
| |
| u32b {aka unsigned int}
files.c: In function 'txt_to_html':
files.c:4115:13: warning: variable 'size' set but not used [-Wunused-but-set-variable]
4115 | int size = 0;
| ^~~~
files.c: In function 'html_screenshot':
files.c:4558:63: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
4558 | fprintf(htm, "\n",
| ~~^
| |
| long int
| %d
4559 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:4558:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
4558 | fprintf(htm, "\n",
| ~~^
| |
| long int
| %d
4559 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:4558:71: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
4558 | fprintf(htm, "\n",
| ~~^
| |
| long int
| %d
4559 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c: In function 'show_highclass':
files.c:5885:22: warning: variable 'ps' set but not used [-Wunused-but-set-variable]
5885 | int pcs, pr, ps, pc, clev, al;
| ^~
files.c:5885:13: warning: variable 'pcs' set but not used [-Wunused-but-set-variable]
5885 | int pcs, pr, ps, pc, clev, al;
| ^~~
files.c: In function 'race_score':
files.c:6011:36: warning: variable 'al' set but not used [-Wunused-but-set-variable]
6011 | int pr, ps, pc, clev, pcs, al, lastlev;
| ^~
files.c:6011:31: warning: variable 'pcs' set but not used [-Wunused-but-set-variable]
6011 | int pr, ps, pc, clev, pcs, al, lastlev;
| ^~~
files.c:6011:21: warning: variable 'pc' set but not used [-Wunused-but-set-variable]
6011 | int pr, ps, pc, clev, pcs, al, lastlev;
| ^~
files.c:6011:17: warning: variable 'ps' set but not used [-Wunused-but-set-variable]
6011 | int pr, ps, pc, clev, pcs, al, lastlev;
| ^~
files.c: In function 'top_twenty':
files.c:6188:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
6188 | sprintf(the_score.what, "%lu.%lu.%lu",
| ~~^
| |
| long unsigned int
| %u
6189 | VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:6188:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
6188 | sprintf(the_score.what, "%lu.%lu.%lu",
| ~~^
| |
| long unsigned int
| %u
6189 | VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:6188:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
6188 | sprintf(the_score.what, "%lu.%lu.%lu",
| ~~^
| |
| long unsigned int
| %u
6189 | VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:6116:32: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
6116 | high_score the_score, *tmp;
| ^~~
files.c: In function 'predict_score':
files.c:6286:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
6286 | sprintf(the_score.what, "%lu.%lu.%lu",
| ~~^
| |
| long unsigned int
| %u
6287 | VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:6286:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
6286 | sprintf(the_score.what, "%lu.%lu.%lu",
| ~~^
| |
| long unsigned int
| %u
6287 | VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
files.c:6286:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
6286 | sprintf(the_score.what, "%lu.%lu.%lu",
| ~~^
| |
| long unsigned int
| %u
6287 | VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o notes.o notes.c
notes.c: In function 'add_note':
notes.c:97:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
97 | sprintf(long_day, "%ld:%02ld %s, %s", (bst(HOUR, turn) % 12 == 0) ? 12 : (bst(HOUR, turn) % 12),
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long int int
| %d
notes.c:97:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
97 | sprintf(long_day, "%ld:%02ld %s, %s", (bst(HOUR, turn) % 12 == 0) ? 12 : (bst(HOUR, turn) % 12),
| ~~~~^
| |
| long int
| %02d
98 | bst(MINUTE, turn), (bst(HOUR, turn) < 12) ? "AM" : "PM", get_month_name(bst(DAY, turn), FALSE,
| ~~~~~~~~~~~~~~~~~
| |
| s32b {aka int}
notes.c:90:15: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
90 | char *tmp;
| ^~~
notes.c: In function 'add_note_type':
notes.c:127:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
127 | sprintf(buf, "%ld", bst(YEAR, turn) + START_YEAR);
| ~~^
| |
| long int
| %d
notes.c:128:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
128 | sprintf(long_day, "%ld:%02ld %s the %s of III %s", (bst(HOUR, turn) % 12 == 0) ? 12 : (bst(HOUR, turn) % 12), bst(MINUTE, turn), (bst(HOUR, turn) < 12) ? "AM" : "PM", get_month_name(bst(DAY, turn), FALSE, FALSE), buf);
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| long int int
| %d
notes.c:128:36: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
128 | sprintf(long_day, "%ld:%02ld %s the %s of III %s", (bst(HOUR, turn) % 12 == 0) ? 12 : (bst(HOUR, turn) % 12), bst(MINUTE, turn), (bst(HOUR, turn) < 12) ? "AM" : "PM", get_month_name(bst(DAY, turn), FALSE, FALSE), buf);
| ~~~~^ ~~~~~~~~~~~~~~~~~
| | |
| long int s32b {aka int}
| %02d
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o loadsave.o loadsave.c
loadsave.c: In function 'do_s16b':
loadsave.c:1516:22: warning: variable 'val' set but not used [-Wunused-but-set-variable]
1516 | s16b val;
| ^~~
loadsave.c: In function 'do_item':
loadsave.c:2038:32: warning: variable 'e_ptr' set but not used [-Wunused-but-set-variable]
2038 | ego_item_type *e_ptr;
| ^~~~~
loadsave.c: In function 'do_savefile_aux':
loadsave.c:3167:31: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
3167 | monster_race *r_ptr;
| ^~~~~
loadsave.c: At top level:
loadsave.c:1728:13: warning: 'skip_ver_string' defined but not used [-Wunused-function]
1728 | static void skip_ver_string(u32b version, int flag)
| ^~~~~~~~~~~~~~~
loadsave.c:1715:13: warning: 'do_ver_string' defined but not used [-Wunused-function]
1715 | static void do_ver_string(char *str, int max, u32b version, char *defval,
| ^~~~~~~~~~~~~
loadsave.c:1705:13: warning: 'skip_ver_s32b' defined but not used [-Wunused-function]
1705 | static void skip_ver_s32b(u32b version, int flag)
| ^~~~~~~~~~~~~
loadsave.c:1695:13: warning: 'do_ver_s32b' defined but not used [-Wunused-function]
1695 | static void do_ver_s32b(s32b *v, u32b version, s32b defval, int flag)
| ^~~~~~~~~~~
loadsave.c:1685:13: warning: 'skip_ver_u32b' defined but not used [-Wunused-function]
1685 | static void skip_ver_u32b(u32b version, int flag)
| ^~~~~~~~~~~~~
loadsave.c:1675:13: warning: 'do_ver_u32b' defined but not used [-Wunused-function]
1675 | static void do_ver_u32b(u32b *v, u32b version, u32b defval, int flag)
| ^~~~~~~~~~~
loadsave.c:1665:13: warning: 'skip_ver_s16b' defined but not used [-Wunused-function]
1665 | static void skip_ver_s16b(u32b version, int flag)
| ^~~~~~~~~~~~~
loadsave.c:1645:13: warning: 'skip_ver_u16b' defined but not used [-Wunused-function]
1645 | static void skip_ver_u16b(u32b version, int flag)
| ^~~~~~~~~~~~~
loadsave.c:1635:13: warning: 'do_ver_u16b' defined but not used [-Wunused-function]
1635 | static void do_ver_u16b(u16b *v, u32b version, u16b defval, int flag)
| ^~~~~~~~~~~
loadsave.c:1613:13: warning: 'do_ver_byte' defined but not used [-Wunused-function]
1613 | static void do_ver_byte(byte *v, u32b version, byte defval, int flag)
| ^~~~~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmd1.o cmd1.c
cmd1.c: In function 'carried_monster_attack':
cmd1.c:833:20: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable]
833 | cave_type *c_ptr;
| ^~~~~
cmd1.c: In function 'incarnate_monster_attack':
cmd1.c:1525:61: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context]
1525 | for (ap_cnt = 0; ap_cnt < (p_ptr->num_blow > 4) ? 4 : p_ptr->num_blow;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
cmd1.c:1481:20: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable]
1481 | cave_type *c_ptr;
| ^~~~~
cmd1.c: In function 'py_attack':
cmd1.c:2523:14: warning: variable 'no_extra' set but not used [-Wunused-but-set-variable]
2523 | bool no_extra = FALSE;
| ^~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmd2.o cmd2.c
cmd2.c: In function 'do_cmd_bash_fountain':
cmd2.c:34:20: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable]
34 | cave_type *c_ptr;
| ^~~~~
cmd2.c: In function 'do_cmd_boomerang':
cmd2.c:4004:14: warning: variable 'hit_wall' set but not used [-Wunused-but-set-variable]
4004 | bool hit_wall = FALSE;
| ^~~~~~~~
cmd2.c: In function 'do_cmd_sacrifice':
cmd2.c:4758:62: warning: the comparison will always evaluate as 'true' for the address of 'desc' will never be NULL [-Waddress]
4758 | if (deity_info[agod].desc[i] != NULL)
| ^~
In file included from angband.h:46,
from cmd2.c:13:
types.h:2020:14: note: 'desc' declared here
2020 | char desc[10][80];
| ^~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmd3.o cmd3.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmd4.o cmd4.c
cmd4.c: In function 'do_cmd_knowledge_pets':
cmd4.c:3832:23: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
3832 | monster_race *r_ptr;
| ^~~~~
cmd4.c: In function 'do_cmd_knowledge_kill_count':
cmd4.c:3966:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
3966 | fprintf(fff, "You have defeated %lu enemies.\n\n", Total);
| ~~^ ~~~~~
| | |
| | s32b {aka int}
| long unsigned int
| %u
cmd4.c:4020:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
4020 | fprintf(fff, " Total: %lu creature%s killed.\n", Total, (Total == 1 ? "" : "s"));
| ~~^ ~~~~~
| | |
| long unsigned int s32b {aka int}
| %u
cmd4.c: In function 'do_cmd_knowledge_quests':
cmd4.c:4312:69: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
4312 | fprintf(fff, "Number: %d, Killed: %ld.\n",
| ~~^
| |
| long int
| %d
4313 | random_quests[dun_level].type, quest[QUEST_RANDOM].data[0]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| s32b {aka int}
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmd5.o cmd5.c
cmd5.c: In function 'fetch':
cmd5.c:468:14: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
468 | bool flag;
| ^~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmd6.o cmd6.c
cmd6.c: In function 'do_cmd_use_staff':
cmd6.c:3760:19: warning: variable 'ident' set but not used [-Wunused-but-set-variable]
3760 | int item, ident, chance;
| ^~~~~
cmd6.c: In function 'do_cmd_aim_wand':
cmd6.c:3964:34: warning: variable 'sval' set but not used [-Wunused-but-set-variable]
3964 | int item, ident, chance, sval;
| ^~~~
cmd6.c:3964:19: warning: variable 'ident' set but not used [-Wunused-but-set-variable]
3964 | int item, ident, chance, sval;
| ^~~~~
cmd6.c: In function 'zap_combine_rod_tip':
cmd6.c:4161:22: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable]
4161 | object_kind *k_ptr;
| ^~~~~
cmd6.c: In function 'do_cmd_zap_rod':
cmd6.c:4252:22: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable]
4252 | object_kind *k_ptr;
| ^~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmd7.o cmd7.c
cmd7.c: In function 'show_flags':
cmd7.c:1279:61: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'u32b' {aka 'unsigned int'} [-Wformat=]
1279 | sprintf(ttt, "%c) %s (exp %ld)",
| ~~^
| |
| long int
| %d
......
1282 | a_select_flags[i].xp);
| ~~~~~~~~~~~~~~~~~~~~
| |
| u32b {aka unsigned int}
cmd7.c: In function 'brand_ammo':
cmd7.c:4989:13: warning: variable 'allowable' set but not used [-Wunused-but-set-variable]
4989 | int allowable;
| ^~~~~~~~~
cmd7.c: In function 'do_cmd_set_piercing':
cmd7.c:5446:13: warning: variable 'ext' set but not used [-Wunused-but-set-variable]
5446 | int ext = 0;
| ^~~
cmd7.c: In function 'do_cmd_summoner_extract':
cmd7.c:7099:22: warning: variable 'e' set but not used [-Wunused-but-set-variable]
7099 | int item, r, e;
| ^
cmd7.c: In function 'do_cmd_symbiotic':
cmd7.c:7549:23: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
7549 | monster_race *r_ptr;
| ^~~~~
cmd7.c: In function 'alchemist_recipe_book':
cmd7.c:2954:36: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
2954 | if (essence[i] || i > MAX_BATERIE_SVAL)
| ~~~~~~~^~~
cmd7.c:2953:40: note: within this loop
2953 | for (num = 0, i = 0; i < MAX_BATERIE_SVAL + 7 ; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o help.o help.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o generate.o generate.c
generate.c: In function 'alloc_stairs':
generate.c:1081:43: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
1081 | (!dungeon_flags1 & DF1_FORCE_DOWN)))
| ^~~~~~~~~~~~~~~
generate.c: In function 'init_feat_info':
generate.c:7340:35: warning: variable 'fill_lim3' set but not used [-Wunused-but-set-variable]
7340 | int fill_lim1, fill_lim2, fill_lim3;
| ^~~~~~~~~
generate.c:7339:37: warning: variable 'floor_lim3' set but not used [-Wunused-but-set-variable]
7339 | int floor_lim1, floor_lim2, floor_lim3;
| ^~~~~~~~~~
generate.c: In function 'cave_gen':
generate.c:7623:14: warning: variable 'town_level' set but not used [-Wunused-but-set-variable]
7623 | s16b town_level = 0;
| ^~~~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o gen_maze.o gen_maze.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o gen_evol.o gen_evol.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o wild.o wild.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o levels.o levels.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o store.o store.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o bldg.o bldg.c
bldg.c: In function 'select_quest_monster':
bldg.c:1466:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1466 | if (r_ptr->flags1 & RF1_FRIEND) amt *= 3; amt /= 2;
| ^~
bldg.c:1466:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1466 | if (r_ptr->flags1 & RF1_FRIEND) amt *= 3; amt /= 2;
| ^~~
bldg.c: In function 'do_cmd_bldg':
bldg.c:2168:26: warning: variable 'st_ptr' set but not used [-Wunused-but-set-variable]
2168 | store_info_type *st_ptr;
| ^~~~~~
bldg.c: In function 'compare_weapon_aux1':
bldg.c:942:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 9 [-Wstringop-overflow=]
942 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 2, "Animals:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
943 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:942:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:947:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 6 [-Wstringop-overflow=]
947 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 2, "Evil:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
948 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:947:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:952:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 8 [-Wstringop-overflow=]
952 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Undead:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
953 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:952:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:957:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 8 [-Wstringop-overflow=]
957 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Demons:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
958 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:957:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:962:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 6 [-Wstringop-overflow=]
962 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Orcs:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
963 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:962:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:967:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 8 [-Wstringop-overflow=]
967 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Trolls:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
968 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:967:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:972:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 8 [-Wstringop-overflow=]
972 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Giants:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
973 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:972:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:977:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 9 [-Wstringop-overflow=]
977 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Dragons:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
978 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:977:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:982:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 9 [-Wstringop-overflow=]
982 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 5, "Dragons:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
983 | f1, f2, f3, TERM_YELLOW);
| ~~~~~~~~~~~~~~~~~~~~~~~~
bldg.c:982:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:987:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 6 [-Wstringop-overflow=]
987 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Acid:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
988 | f1, f2, f3, TERM_RED);
| ~~~~~~~~~~~~~~~~~~~~~
bldg.c:987:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:992:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 6 [-Wstringop-overflow=]
992 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Elec:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
993 | f1, f2, f3, TERM_RED);
| ~~~~~~~~~~~~~~~~~~~~~
bldg.c:992:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:997:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 6 [-Wstringop-overflow=]
997 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Fire:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
998 | f1, f2, f3, TERM_RED);
| ~~~~~~~~~~~~~~~~~~~~~
bldg.c:997:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:1002:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 6 [-Wstringop-overflow=]
1002 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Cold:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1003 | f1, f2, f3, TERM_RED);
| ~~~~~~~~~~~~~~~~~~~~~
bldg.c:1002:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
bldg.c:1007:17: warning: 'compare_weapon_aux2' accessing 80 bytes in a region of size 8 [-Wstringop-overflow=]
1007 | compare_weapon_aux2(o_ptr, p_ptr->num_blow, r++, col, 3, "Poison:",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1008 | f1, f2, f3, TERM_RED);
| ~~~~~~~~~~~~~~~~~~~~~
bldg.c:1007:17: note: referencing argument 6 of type 'char[80]'
bldg.c:917:13: note: in a call to function 'compare_weapon_aux2'
917 | static void compare_weapon_aux2(object_type *o_ptr, int numblows, int r, int c, int mult, char attr[80], u32b f1, u32b f2, u32b f3, byte color)
| ^~~~~~~~~~~~~~~~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o cmovie.o cmovie.c
cmovie.c: In function 'do_record_cmovie':
cmovie.c:368:47: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
368 | fprintf(movfile, "# Generated by %s %ld.%ld.%ld\n",
| ~~^
| |
| long int
| %d
369 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
cmovie.c:368:51: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
368 | fprintf(movfile, "# Generated by %s %ld.%ld.%ld\n",
| ~~^
| |
| long int
| %d
369 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
cmovie.c:368:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
368 | fprintf(movfile, "# Generated by %s %ld.%ld.%ld\n",
| ~~^
| |
| long int
| %d
369 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o irc.o irc.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o wizard2.o wizard2.c
wizard2.c: In function 'wiz_tweak_item':
wizard2.c:794:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
794 | sprintf(tmp_val, "%ld", o_ptr->pval);
| ~~^ ~~~~~~~~~~~
| | |
| long int s32b {aka int}
| %d
wizard2.c:806:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
806 | sprintf(tmp_val, "%ld", o_ptr->pval3);
| ~~^ ~~~~~~~~~~~~
| | |
| long int s32b {aka int}
| %d
wizard2.c:848:29: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b' {aka 'int'} [-Wformat=]
848 | sprintf(tmp_val, "%ld", o_ptr->exp);
| ~~^ ~~~~~~~~~~
| | |
| long int s32b {aka int}
| %d
wizard2.c: In function 'wiz_quantity_item':
wizard2.c:1171:22: warning: variable 'tmp_qnt' set but not used [-Wunused-but-set-variable]
1171 | int tmp_int, tmp_qnt;
| ^~~~~~~
wizard2.c: In function 'do_cmd_wiz_cure_all':
wizard2.c:1438:23: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable]
1438 | monster_race *r_ptr;
| ^~~~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o init2.o init2.c
init2.c: In function 'init_alloc':
init2.c:6284:15: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
6284 | s16b *tmp;
| ^~~
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o birth.o birth.c
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o wizard1.o wizard1.c
wizard1.c: In function 'kind_info':
wizard1.c:358:26: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
358 | sprintf(wgt, "%3ld.%ld", q_ptr->weight / 10, q_ptr->weight % 10);
| ~~~^ ~~~~~~~~~~~~~~~~~~
| | |
| long int int
| %3d
wizard1.c:358:30: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=]
358 | sprintf(wgt, "%3ld.%ld", q_ptr->weight / 10, q_ptr->weight % 10);
| ~~^ ~~~~~~~~~~~~~~~~~~
| | |
| long int int
| %d
wizard1.c: In function 'spoil_obj_desc':
wizard1.c:395:53: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
395 | sprintf(buf, "Basic Items Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
396 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:395:57: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
395 | sprintf(buf, "Basic Items Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
396 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:395:61: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
395 | sprintf(buf, "Basic Items Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
396 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c: In function 'analyze_pval':
wizard1.c:895:40: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
895 | sprintf(p_ptr->pval_desc, "%s%ld", POSITIZE(o_ptr->pval), o_ptr->pval);
| ~~^ ~~~~~~~~~~~
| | |
| long int s32b {aka int}
| %d
wizard1.c: In function 'analyze_misc':
wizard1.c:1084:63: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 's32b' {aka 'int'} [-Wformat=]
1084 | sprintf(misc_desc, "Level %u, Rarity %u, %d.%d lbs, %ld Gold",
| ~~^
| |
| long int
| %d
1085 | a_ptr->level, a_ptr->rarity,
1086 | a_ptr->weight / 10, a_ptr->weight % 10, a_ptr->cost);
| ~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c: In function 'print_header':
wizard1.c:1121:50: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
1121 | sprintf(buf, "Artifact Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1122 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:1121:54: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
1121 | sprintf(buf, "Artifact Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1122 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:1121:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
1121 | sprintf(buf, "Artifact Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1122 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c: In function 'spoil_mon_desc':
wizard1.c:1379:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
1379 | sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1380 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:1379:53: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
1379 | sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1380 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:1379:57: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
1379 | sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1380 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c: In function 'spoil_mon_info':
wizard1.c:1525:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
1525 | sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1526 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:1525:53: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
1525 | sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1526 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:1525:57: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
1525 | sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
1526 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c: In function 'spoil_bateries':
wizard1.c:2485:17: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
2485 | "|||||oy\n"
| ^~~~~~~~~~~
......
2490 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:2488:49: note: format string is defined here
2488 | "#####REssence Spoiler for %s %ld.%ld.%ld%s\n"
| ~~^
| |
| long int
| %d
wizard1.c:2485:17: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
2485 | "|||||oy\n"
| ^~~~~~~~~~~
......
2490 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:2488:53: note: format string is defined here
2488 | "#####REssence Spoiler for %s %ld.%ld.%ld%s\n"
| ~~^
| |
| long int
| %d
wizard1.c:2485:17: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
2485 | "|||||oy\n"
| ^~~~~~~~~~~
......
2490 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:2488:57: note: format string is defined here
2488 | "#####REssence Spoiler for %s %ld.%ld.%ld%s\n"
| ~~^
| |
| long int
| %d
wizard1.c: In function 'spoil_spells':
wizard1.c:2690:63: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b' {aka 'int'} [-Wformat=]
2690 | sprintf(buf, "Spell Spoiler (Skill Level 50) for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
2691 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:2690:67: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b' {aka 'int'} [-Wformat=]
2690 | sprintf(buf, "Spell Spoiler (Skill Level 50) for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
2691 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
wizard1.c:2690:71: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b' {aka 'int'} [-Wformat=]
2690 | sprintf(buf, "Spell Spoiler (Skill Level 50) for %s %ld.%ld.%ld%s",
| ~~^
| |
| long int
| %d
2691 | game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS);
| ~~~~~~~~~~~~~
| |
| s32b {aka int}
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o init1.o init1.c
init1.c: In function 'init_player_info_txt':
init1.c:3067:59: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 's32b *' {aka 'int *'} [-Wformat=]
3067 | if (5 != sscanf(buf + 4, "%c:%c:%ld:%ld:%ld",
| ~~^
| |
| long int *
| %d
3068 | &h, &m, &s[0], &s[1], &s[2])) return (1);
| ~~~~~
| |
| s32b * {aka int *}
init1.c:3067:63: warning: format '%ld' expects argument of type 'long int *', but argument 6 has type 's32b *' {aka 'int *'} [-Wformat=]
3067 | if (5 != sscanf(buf + 4, "%c:%c:%ld:%ld:%ld",
| ~~^
| |
| long int *
| %d
3068 | &h, &m, &s[0], &s[1], &s[2])) return (1);
| ~~~~~
| |
| s32b * {aka int *}
init1.c:3067:67: warning: format '%ld' expects argument of type 'long int *', but argument 7 has type 's32b *' {aka 'int *'} [-Wformat=]
3067 | if (5 != sscanf(buf + 4, "%c:%c:%ld:%ld:%ld",
| ~~^
| |
| long int *
| %d
3068 | &h, &m, &s[0], &s[1], &s[2])) return (1);
| ~~~~~
| |
| s32b * {aka int *}
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_GCU -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DDEFAULT_PATH=\"/var/lib/tome/\" -c -o main.o main.c
gcc -o tome script.o lua_bind.o w_util.o w_player.o w_z_pack.o w_obj.o w_mnster.o w_spells.o w_quest.o w_play_c.o w_dun.o lua/lapi.o lua/lcode.o lua/ldebug.o lua/ldo.o lua/lfunc.o lua/lgc.o lua/llex.o lua/lmem.o lua/lobject.o lua/lparser.o lua/lstate.o lua/lstring.o lua/ltable.o lua/ltests.o lua/ltm.o lua/lundump.o lua/lvm.o lua/lzio.o lua/lauxlib.o lua/lbaselib.o lua/ldblib.o lua/liolib.o lua/lstrlib.o lua/tolua_lb.o lua/tolua_rg.o lua/tolua_tt.o lua/tolua_tm.o lua/tolua_gp.o lua/tolua_eh.o lua/tolua_bd.o main-gcu.o main-x11.o main-xaw.o main-sdl.o main-dmy.o z-rand.o z-util.o z-form.o z-virt.o z-term.o z-sock.o variable.o tables.o plots.o util.o cave.o dungeon.o melee1.o melee2.o modules.o object1.o object2.o randart.o squeltch.o traps.o monster1.o monster2.o monster3.o ghost.o xtra1.o xtra2.o skills.o powers.o gods.o spells1.o spells2.o status.o files.o notes.o loadsave.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o cmd7.o help.o generate.o gen_maze.o gen_evol.o wild.o levels.o store.o bldg.o cmovie.o irc.o wizard2.o init2.o birth.o wizard1.o init1.o main.o -lX11 -lncurses
In function 'alchemist_recipe_book',
inlined from 'do_cmd_alchemist' at cmd7.c:4386:3:
cmd7.c:2954:36: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
2954 | if (essence[i] || i > MAX_BATERIE_SVAL)
| ^
cmd7.c:2953:40: note: within this loop
2953 | for (num = 0, i = 0; i < MAX_BATERIE_SVAL + 7 ; i++)
| ^
ld: /usr/src/tmp/ccZKCmCl.ltrans1.ltrans.o: in function `toluaI_util_make_temp_file00.lto_priv.0':
/usr/src/RPM/BUILD/tome-2.3.5/src/util.c:306: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
*** Note: In order to use the install rule, which now actually
*** handles the installation of the library dir, you need to edit
*** this makefile, going to the top and making sure LIBDIR suits
*** your desired install dir properly. The LIBRARY_DIR you used
*** to set in config.h is now ignored and obsolete with respect
*** to this makefile. Note that if you edit this makefile, you may
*** need to recompile so all the files that reference those defines
*** notice the changes.
make: Leaving directory '/usr/src/RPM/BUILD/tome-2.3.5/src'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.11551
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/tome-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/tome-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd tome-2.3.5
+ cd src
+ make -f makefile.std install DESTDIR=/usr/src/tmp/tome-buildroot BINDIR=/usr/bin LIBDIR=/var/lib/tome/
make: Entering directory '/usr/src/RPM/BUILD/tome-2.3.5/src'
*** Note: In order to use the install rule, which now actually
*** handles the installation of the library dir, you need to edit
*** this makefile, going to the top and making sure LIBDIR suits
*** your desired install dir properly. The LIBRARY_DIR you used
*** to set in config.h is now ignored and obsolete with respect
*** to this makefile. Note that if you edit this makefile, you may
*** need to recompile so all the files that reference those defines
*** notice the changes.
[ -d /usr/src/tmp/tome-buildroot/var/lib/tome/ ] || mkdir -p /usr/src/tmp/tome-buildroot/var/lib/tome/
[ -d /usr/src/tmp/tome-buildroot/usr/bin ] || mkdir -p /usr/src/tmp/tome-buildroot/usr/bin
cp -r ../lib/* /usr/src/tmp/tome-buildroot/var/lib/tome/
cp -f tome /usr/src/tmp/tome-buildroot/usr/bin/tome
make: Leaving directory '/usr/src/RPM/BUILD/tome-2.3.5/src'
+ find /usr/src/tmp/tome-buildroot -name delete.me -exec rm -f '{}' ';'
+ touch /usr/src/tmp/tome-buildroot/var/lib/tome//apex/scores.raw
+ rm -f /usr/src/tmp/tome-buildroot/var/lib/tome/xtra/font/VeraMono.ttf
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/tome-buildroot (auto)
removed './var/lib/tome/scpt/.cvsignore'
removed './var/lib/tome/plot/.gitignore'
removed './var/lib/tome/patch/.cvsignore'
removed './var/lib/tome/mods/.cvsignore'
removed './var/lib/tome/data/.cvsignore'
removed './var/lib/tome/apex/.cvsignore'
Verifying and fixing files in /usr/src/tmp/tome-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/tome-buildroot/ (default)
Compressing files in /usr/src/tmp/tome-buildroot (auto)
Adjusting library links in /usr/src/tmp/tome-buildroot
./var/lib: (from :0)
Verifying ELF objects in /usr/src/tmp/tome-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Processing files: tome-2.3.5-alt3
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.4937
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd tome-2.3.5
+ DOCDIR=/usr/src/tmp/tome-buildroot/usr/share/doc/tome-2.3.5
+ export DOCDIR
+ rm -rf /usr/src/tmp/tome-buildroot/usr/share/doc/tome-2.3.5
+ /bin/mkdir -p /usr/src/tmp/tome-buildroot/usr/share/doc/tome-2.3.5
+ cp -prL changes.txt /usr/src/tmp/tome-buildroot/usr/share/doc/tome-2.3.5
+ chmod -R go-w /usr/src/tmp/tome-buildroot/usr/share/doc/tome-2.3.5
+ chmod -R a+rX /usr/src/tmp/tome-buildroot/usr/share/doc/tome-2.3.5
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ztHfiU
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hTkd3A
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tDkyMN
find-scriptlet-requires: FINDPACKAGE-COMMANDS: rm
Requires: /lib64/ld-linux-x86-64.so.2, libX11.so.6()(64bit) >= set:oiqbq4ctaUWaZe5RgtHRcmQ2Bn2k1sWcBZn9vxksL9QD3bafe4dFEktu6duJqFP594Ic7c2IkQR65kzu62aDv6HBU9z7847bRod33uZ8UAnsPevah21, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libncurses.so.5()(64bit) >= set:mhB3guFsYIG6EAO3XMM7P2AiPXuG2UltJJgYeRKS0z7ZjgbM9Q44Or4HnrgIwsB2, libtinfo.so.5()(64bit) >= set:liZKbUTimJ79hjFq9r4rL5, rtld(GNU_HASH)
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(SetVersions)
Requires(preun): /bin/sh, coreutils
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PxqDSF
Creating tome-debuginfo package
Processing files: tome-debuginfo-2.3.5-alt3
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vexWRH
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RA2pK2
find-requires: running scripts (debuginfo)
Requires: tome = 2.3.5-alt3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libX11.so.6), debug64(libc.so.6), debug64(libncurses.so.5), debug64(libtinfo.so.5)
Wrote: /usr/src/RPM/RPMS/x86_64/tome-2.3.5-alt3.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/tome-debuginfo-2.3.5-alt3.x86_64.rpm (w2T8.xzdio)
92.77user 6.52system 0:52.31elapsed 189%CPU (0avgtext+0avgdata 90652maxresident)k
0inputs+0outputs (0major+1744741minor)pagefaults 0swaps
/.out/tome-2.3.5-alt3.x86_64.rpm: bad symbols in the license tag: /
/.out/tome-debuginfo-2.3.5-alt3.x86_64.rpm: bad symbols in the license tag: /
2.62user 1.70system 1:02.35elapsed 6%CPU (0avgtext+0avgdata 111200maxresident)k
0inputs+0outputs (0major+191596minor)pagefaults 0swaps
--- tome-2.3.5-alt3.x86_64.rpm.repo 2018-06-26 12:40:57.000000000 +0000
+++ tome-2.3.5-alt3.x86_64.rpm.hasher 2023-06-29 01:22:41.722585132 +0000
@@ -468,5 +468,7 @@
Requires: libc.so.6(GLIBC_2.3.4)(64bit)
+Requires: libc.so.6(GLIBC_2.33)(64bit)
+Requires: libc.so.6(GLIBC_2.34)(64bit)
Requires: libc.so.6(GLIBC_2.4)(64bit)
Requires: libc.so.6(GLIBC_2.7)(64bit)
-Requires: libncurses.so.5()(64bit) >= set:mhB3guFsYIG6EAO3XMM7P2AiPXuG2UltJJgYeRGFOvwmwjE98AT8mLSwo1Va5
+Requires: libncurses.so.5()(64bit) >= set:mhB3guFsYIG6EAO3XMM7P2AiPXuG2UltJJgYeRKS0z7ZjgbM9Q44Or4HnrgIwsB2
Requires: libtinfo.so.5()(64bit) >= set:liZKbUTimJ79hjFq9r4rL5
@@ -476,3 +478,3 @@
Provides: tome = 2.3.5-alt3
-File: /usr/bin/tome 102711 games:games 2cf7de10fd202767d8b4eed95ae9c941
+File: /usr/bin/tome 102711 games:games ed7c87d721fa9e9e4a46a1e1c87ccb6a
File: /usr/share/doc/tome-2.3.5 40755 root:root
@@ -934,2 +936,2 @@
File: /var/lib/tome/xtra/sound/readme.txt 100755 games:games 423a7931be4463baf639dfb784f11f62
-RPMIdentity: a24a0c6eeb73ad209f7c6e137020e91c1dd18ff3e9c438054852d21db62ebd829fb7467b25adaf4da3645a329e3eec20dbf284cb41274a8d467829f93854ce47
+RPMIdentity: a97d35bb025a06d4fcd803b6036f0ab667e3d03c4ffa58ed7381ba9fe65991b2d578a51cfa6df4db7268950b236728de1a985765d57600d876230d55da330054
--- tome-debuginfo-2.3.5-alt3.x86_64.rpm.repo 2018-06-26 12:40:57.000000000 +0000
+++ tome-debuginfo-2.3.5-alt3.x86_64.rpm.hasher 2023-06-29 01:22:41.911587218 +0000
@@ -1,4 +1,4 @@
-/usr/lib/debug/.build-id/d2 40755 root:root
-/usr/lib/debug/.build-id/d2/0d44a5486b17b35123a132594a1d70b45ecfaa 120777 root:root ../../../../bin/tome
-/usr/lib/debug/.build-id/d2/0d44a5486b17b35123a132594a1d70b45ecfaa.debug 120777 root:root ../../usr/bin/tome.debug
+/usr/lib/debug/.build-id/b3 40755 root:root
+/usr/lib/debug/.build-id/b3/97d8b31c3ae441dadf6fe73861aecee1fb159a 120777 root:root ../../../../bin/tome
+/usr/lib/debug/.build-id/b3/97d8b31c3ae441dadf6fe73861aecee1fb159a.debug 120777 root:root ../../usr/bin/tome.debug
/usr/lib/debug/usr/bin/tome.debug 100644 root:root
@@ -68,2 +68,3 @@
/usr/src/debug/tome-2.3.5/src/lua/ltable.h 100644 root:root
+/usr/src/debug/tome-2.3.5/src/lua/ltests.c 100644 root:root
/usr/src/debug/tome-2.3.5/src/lua/ltm.c 100644 root:root
@@ -93,4 +94,7 @@
/usr/src/debug/tome-2.3.5/src/maid-x11.c 100644 root:root
+/usr/src/debug/tome-2.3.5/src/main-dmy.c 100644 root:root
/usr/src/debug/tome-2.3.5/src/main-gcu.c 100644 root:root
+/usr/src/debug/tome-2.3.5/src/main-sdl.c 100644 root:root
/usr/src/debug/tome-2.3.5/src/main-x11.c 100644 root:root
+/usr/src/debug/tome-2.3.5/src/main-xaw.c 100644 root:root
/usr/src/debug/tome-2.3.5/src/main.c 100644 root:root
@@ -178,6 +182,6 @@
Provides: tome-debuginfo = 2.3.5-alt3
-File: /usr/lib/debug/.build-id/d2 40755 root:root
-File: /usr/lib/debug/.build-id/d2/0d44a5486b17b35123a132594a1d70b45ecfaa 120777 root:root ../../../../bin/tome
-File: /usr/lib/debug/.build-id/d2/0d44a5486b17b35123a132594a1d70b45ecfaa.debug 120777 root:root ../../usr/bin/tome.debug
-File: /usr/lib/debug/usr/bin/tome.debug 100644 root:root c44c8c3797b6cc4d2cbc5f6f417d5e8d
+File: /usr/lib/debug/.build-id/b3 40755 root:root
+File: /usr/lib/debug/.build-id/b3/97d8b31c3ae441dadf6fe73861aecee1fb159a 120777 root:root ../../../../bin/tome
+File: /usr/lib/debug/.build-id/b3/97d8b31c3ae441dadf6fe73861aecee1fb159a.debug 120777 root:root ../../usr/bin/tome.debug
+File: /usr/lib/debug/usr/bin/tome.debug 100644 root:root 25f7a3ae8fa64a61df213256ba053e5f
File: /usr/src/debug/tome-2.3.5 40755 root:root
@@ -246,2 +250,3 @@
File: /usr/src/debug/tome-2.3.5/src/lua/ltable.h 100644 root:root f634aa45c5b7c6a9b2eb3f4fb778814b
+File: /usr/src/debug/tome-2.3.5/src/lua/ltests.c 100644 root:root 975303f8ae07bd87ef4e9cbbf519f55a
File: /usr/src/debug/tome-2.3.5/src/lua/ltm.c 100644 root:root 6c157aad8815a3654ed902bb542a043c
@@ -271,4 +276,7 @@
File: /usr/src/debug/tome-2.3.5/src/maid-x11.c 100644 root:root e9f58999bc2f7c442dd39768d66f579c
+File: /usr/src/debug/tome-2.3.5/src/main-dmy.c 100644 root:root d963a9408b633913d52008bd47cca333
File: /usr/src/debug/tome-2.3.5/src/main-gcu.c 100644 root:root 8b86bd0010a146777babb8979d19e14b
+File: /usr/src/debug/tome-2.3.5/src/main-sdl.c 100644 root:root 70f674bbabf467f1d3c8616afe99ddf5
File: /usr/src/debug/tome-2.3.5/src/main-x11.c 100644 root:root 0dd58386d7b3460e5268ee60a2c46614
+File: /usr/src/debug/tome-2.3.5/src/main-xaw.c 100644 root:root 74f0990a75b44c835e99cf293e1fd663
File: /usr/src/debug/tome-2.3.5/src/main.c 100644 root:root bd6e6e09d676670077346ce96f57cf5d
@@ -322,11 +330,11 @@
File: /usr/src/debug/tome-2.3.5/src/variable.c 100644 root:root 281f34d9274df835309bdcebf6309ef0
-File: /usr/src/debug/tome-2.3.5/src/w_dun.c 100644 root:root d3799a305d0915edd5ff5d7ea081cb6c
-File: /usr/src/debug/tome-2.3.5/src/w_mnster.c 100644 root:root ca366f3f545156e74983e9b3603317cb
-File: /usr/src/debug/tome-2.3.5/src/w_obj.c 100644 root:root 57a7f8acbe25d489865e04c16c3e2a2a
-File: /usr/src/debug/tome-2.3.5/src/w_play_c.c 100644 root:root b228e314398f4e21c838340f1d15c8c0
-File: /usr/src/debug/tome-2.3.5/src/w_player.c 100644 root:root 0c249e7f755f556901e1d46d6352f3c9
-File: /usr/src/debug/tome-2.3.5/src/w_quest.c 100644 root:root 4d901f094531957010def8debd554e65
-File: /usr/src/debug/tome-2.3.5/src/w_spells.c 100644 root:root e4723e220cadebf9e6d9a53a1364eeb0
-File: /usr/src/debug/tome-2.3.5/src/w_util.c 100644 root:root 454b71b670aa4c81050a1da7b82208a6
-File: /usr/src/debug/tome-2.3.5/src/w_z_pack.c 100644 root:root b7aa6854a7710f017409ab30c423278a
+File: /usr/src/debug/tome-2.3.5/src/w_dun.c 100644 root:root 46b152c3cec9982229c1cbf2e5acaaf2
+File: /usr/src/debug/tome-2.3.5/src/w_mnster.c 100644 root:root 70ca88564f94f20bea6d6cca565eff1e
+File: /usr/src/debug/tome-2.3.5/src/w_obj.c 100644 root:root 7d1e0370ee372debc09339ccc5736a05
+File: /usr/src/debug/tome-2.3.5/src/w_play_c.c 100644 root:root 0de37a92eb1ff1f0f160e0438a30ba2c
+File: /usr/src/debug/tome-2.3.5/src/w_player.c 100644 root:root a50f18c3f1bafc5a76320bcd81684c8c
+File: /usr/src/debug/tome-2.3.5/src/w_quest.c 100644 root:root 54b17a9f9ebdd3620cf4a52edc5418e2
+File: /usr/src/debug/tome-2.3.5/src/w_spells.c 100644 root:root 0e80dfd704700d466767a4f03bc63dfa
+File: /usr/src/debug/tome-2.3.5/src/w_util.c 100644 root:root 6349989caa4c4a97067f7079f4a91f40
+File: /usr/src/debug/tome-2.3.5/src/w_z_pack.c 100644 root:root 38c64bc807b9251e43e06cd2fe056ab0
File: /usr/src/debug/tome-2.3.5/src/wild.c 100644 root:root 7ff61d1dfc6cf72299b0a200000a56a7
@@ -348,2 +356,2 @@
File: /usr/src/debug/tome-2.3.5/src/z-virt.h 100644 root:root f397c45ddcec05e5bbec088c91a8a130
-RPMIdentity: a7b9735b3f11369aa17538be1a506967083b5a708e5ab07a3fe296e88bb5c785b237496a2b60ea652e4e4b83bdfb3507dc5f509921ebf4964feb23522cb84964
+RPMIdentity: f7c61a9b0c31eb218ea6836ffb2b511b2173eedcc1041b69974f49e3f0fc8a01b4cc347c0faa4e6d2da24a3c8ba56ee1a27b2e3c2a4a4c86c968a7363fbc3fa5