<86>Apr 14 02:08:08 userdel[78341]: delete user 'rooter' <86>Apr 14 02:08:08 userdel[78341]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 02:08:08 groupadd[78353]: group added to /etc/group: name=rooter, GID=543 <86>Apr 14 02:08:08 groupadd[78353]: group added to /etc/gshadow: name=rooter <86>Apr 14 02:08:08 groupadd[78353]: new group: name=rooter, GID=543 <86>Apr 14 02:08:08 useradd[78357]: new user: name=rooter, UID=543, GID=543, home=/root, shell=/bin/bash <86>Apr 14 02:08:08 userdel[78367]: delete user 'builder' <86>Apr 14 02:08:08 userdel[78367]: removed group 'builder' owned by 'builder' <86>Apr 14 02:08:08 userdel[78367]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 02:08:08 groupadd[78375]: group added to /etc/group: name=builder, GID=544 <86>Apr 14 02:08:08 groupadd[78375]: group added to /etc/gshadow: name=builder <86>Apr 14 02:08:08 groupadd[78375]: new group: name=builder, GID=544 <86>Apr 14 02:08:08 useradd[78380]: new user: name=builder, UID=544, GID=544, home=/usr/src, shell=/bin/bash <13>Apr 14 02:08:12 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 02:08:12 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 02:08:12 rpmi: xorg-xproto-devel-7.0.28-alt1 1448272470 installed <13>Apr 14 02:08:12 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Apr 14 02:08:12 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 02:08:12 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 02:08:12 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 02:08:13 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 02:08:13 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 02:08:13 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Apr 14 02:08:14 rpmi: libncurses-devel-5.9-alt8 1456756459 installed Installing tome-2.3.5-alt2.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.63110 + 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.15756 + 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 -Wall -g -O2' '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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(1, "\007", 1); ^ gcc -pipe -Wall -g -O2 -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:25: warning: variable 'hgt' set but not used [-Wunused-but-set-variable] int cols, rows, wid, hgt; ^ main-x11.c:2288:20: warning: variable 'wid' set but not used [-Wunused-but-set-variable] int cols, rows, wid, hgt; ^ gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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:0: q_one.c: In function 'quest_one_death_hook': q_one.c:229:16: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ In file included from plots.c:473:0: q_thrain.c: In function 'quest_thrain_death_hook': q_thrain.c:6:7: warning: variable 'r_idx' set but not used [-Wunused-but-set-variable] s32b r_idx, m_idx; ^ In file included from plots.c:473:0: q_thrain.c: In function 'quest_thrain_gen_hook': q_thrain.c:156:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ gcc -pipe -Wall -g -O2 -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:16: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(tmp, "Quantity (1-%ld): ", max); ^ util.c:3638:15: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(buf, "%ld", amt); ^ util.c: In function 'pause_line': util.c:3671:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ gcc -pipe -Wall -g -O2 -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:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] vinfo_type *p; ^ gcc -pipe -Wall -g -O2 -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:15: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable] object_kind *k_ptr; ^ dungeon.c: In function 'process_player': dungeon.c:4778:18: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ gcc -pipe -Wall -g -O2 -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:7: warning: variable 'explode' set but not used [-Wunused-but-set-variable] bool explode = FALSE; ^ melee1.c:133:7: warning: variable 'blinked' set but not used [-Wunused-but-set-variable] bool blinked; ^ gcc -pipe -Wall -g -O2 -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:6: warning: variable 'old_monster_ego_idx' set but not used [-Wunused-but-set-variable] int old_monster_ego_idx; ^ gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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:16: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ gcc -pipe -Wall -g -O2 -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:7: warning: variable 'flags8' set but not used [-Wunused-but-set-variable] u32b flags8; ^ gcc -pipe -Wall -g -O2 -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:9: warning: variable 'base' set but not used [-Wunused-but-set-variable] int i, base; ^ gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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:15: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(tmp, "%9ld", p_ptr->grace); ^ xtra1.c: In function 'prt_mh': xtra1.c:432:16: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ xtra1.c: In function 'health_redraw': xtra1.c:963:34: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] else if (!m_list[health_who].hp < 0) ^ xtra1.c: In function 'get_archery_skill': xtra1.c:2378:15: warning: variable 'o_ptr' set but not used [-Wunused-but-set-variable] object_type *o_ptr; ^ xtra1.c: In function 'calc_bonuses': xtra1.c:2708:6: warning: variable 'old_invis' set but not used [-Wunused-but-set-variable] int old_invis; ^ gcc -pipe -Wall -g -O2 -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:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, gained = 0; ^ xtra2.c: In function 'check_experience_obj': xtra2.c:3654:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ xtra2.c: In function 'monster_death': xtra2.c:3933:7: warning: variable 'cloned' set but not used [-Wunused-but-set-variable] bool cloned = FALSE; ^ xtra2.c: In function 'mon_take_hit': xtra2.c:4653:17: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable] object_kind *k_ptr; ^ gcc -pipe -Wall -g -O2 -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:16: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int' [-Wformat=] fprintf(fff, "%-49s%s%02ld.%03ld [%01ld.%03ld]", ^ skills.c:260:16: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int' [-Wformat=] skills.c:260:16: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'int' [-Wformat=] skills.c:260:16: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'int' [-Wformat=] gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] int tmp; ^ gcc -pipe -Wall -g -O2 -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:10: warning: variable 'yy' set but not used [-Wunused-but-set-variable] int xx, yy; ^ spells1.c:3919:6: warning: variable 'xx' set but not used [-Wunused-but-set-variable] int xx, yy; ^ spells1.c: In function 'potion_smash_effect': spells1.c:8882:7: warning: variable 'ident' set but not used [-Wunused-but-set-variable] bool ident = FALSE; ^ gcc -pipe -Wall -g -O2 -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:15: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable] object_kind *k_ptr; ^ spells2.c: In function 'swap_position': spells2.c:6671:17: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race * r_ptr; ^ gcc -pipe -Wall -g -O2 -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:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(strnum, "%lu", val); ^ status.c:516:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(strnum, "%lu", val); ^ status.c: In function 'status_companion': status.c:749:17: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'u32b {aka unsigned int}' [-Wformat=] fprintf(fff, " Lev/Exp : [[[[[G%d / %ld]\n", m_ptr->level, m_ptr->exp); ^ status.c:750:55: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] if (m_ptr->level < MONSTER_LEVEL_MAX) fprintf(fff, " Next lvl: [[[[[G%ld]\n", MONSTER_EXP((s32b)m_ptr->level + 1)); ^ status.c:753:17: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b {aka int}' [-Wformat=] fprintf(fff, " HP : [[[[[G%ld / %ld]\n", m_ptr->hp, m_ptr->maxhp); ^ status.c:753:17: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] gcc -pipe -Wall -g -O2 -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:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] fprintf(fff, " [%s %ld.%ld.%ld%s Character Sheet]\n\n", ^ files.c:3135:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] files.c:3135:15: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] files.c:3300:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b {aka int}' [-Wformat=] fprintf(fff, "\n You have defeated %lu enemies.", Total); ^ files.c:3320:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'u32b {aka unsigned int}' [-Wformat=] (death ? "\n Your adventure lasted %ld day%s." : "\n You have been adventuring for %ld day%s."), ^ files.c:3320:60: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'u32b {aka unsigned int}' [-Wformat=] (death ? "\n Your adventure lasted %ld day%s." : "\n You have been adventuring for %ld day%s."), ^ files.c: In function 'txt_to_html': files.c:4115:6: warning: variable 'size' set but not used [-Wunused-but-set-variable] int size = 0; ^ files.c: In function 'html_screenshot': files.c:4558:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] fprintf(htm, "\n", ^ files.c:4558:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] files.c:4558:15: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] files.c: In function 'show_highclass': files.c:5885:15: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int pcs, pr, ps, pc, clev, al; ^ files.c:5885:6: warning: variable 'pcs' set but not used [-Wunused-but-set-variable] int pcs, pr, ps, pc, clev, al; ^ files.c: In function 'race_score': files.c:6011:29: warning: variable 'al' set but not used [-Wunused-but-set-variable] int pr, ps, pc, clev, pcs, al, lastlev; ^ files.c:6011:24: warning: variable 'pcs' set but not used [-Wunused-but-set-variable] int pr, ps, pc, clev, pcs, al, lastlev; ^ files.c:6011:14: warning: variable 'pc' set but not used [-Wunused-but-set-variable] int pr, ps, pc, clev, pcs, al, lastlev; ^ files.c:6011:10: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int pr, ps, pc, clev, pcs, al, lastlev; ^ files.c: In function 'top_twenty': files.c:6188:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(the_score.what, "%lu.%lu.%lu", ^ files.c:6188:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 's32b {aka int}' [-Wformat=] files.c:6188:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 's32b {aka int}' [-Wformat=] files.c:6116:25: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] high_score the_score, *tmp; ^ files.c: In function 'predict_score': files.c:6286:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(the_score.what, "%lu.%lu.%lu", ^ files.c:6286:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 's32b {aka int}' [-Wformat=] files.c:6286:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 's32b {aka int}' [-Wformat=] gcc -pipe -Wall -g -O2 -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:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] sprintf(long_day, "%ld:%02ld %s, %s", (bst(HOUR, turn) % 12 == 0) ? 12 : (bst(HOUR, turn) % 12), ^ notes.c:97:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] notes.c:90:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char *tmp; ^ notes.c: In function 'add_note_type': notes.c:127:15: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] sprintf(buf, "%ld", bst(YEAR, turn) + START_YEAR); ^ notes.c:128:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 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); ^ notes.c:128:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] gcc -pipe -Wall -g -O2 -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:8: warning: variable 'val' set but not used [-Wunused-but-set-variable] s16b val; ^ loadsave.c: In function 'do_item': loadsave.c:2038:18: warning: variable 'e_ptr' set but not used [-Wunused-but-set-variable] ego_item_type *e_ptr; ^ loadsave.c: In function 'do_savefile_aux': loadsave.c:3167:17: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ loadsave.c: At top level: loadsave.c:1613:13: warning: 'do_ver_byte' defined but not used [-Wunused-function] static void do_ver_byte(byte *v, u32b version, byte defval, int flag) ^ loadsave.c:1635:13: warning: 'do_ver_u16b' defined but not used [-Wunused-function] static void do_ver_u16b(u16b *v, u32b version, u16b defval, int flag) ^ loadsave.c:1675:13: warning: 'do_ver_u32b' defined but not used [-Wunused-function] static void do_ver_u32b(u32b *v, u32b version, u32b defval, int flag) ^ loadsave.c:1695:13: warning: 'do_ver_s32b' defined but not used [-Wunused-function] static void do_ver_s32b(s32b *v, u32b version, s32b defval, int flag) ^ loadsave.c:1715:13: warning: 'do_ver_string' defined but not used [-Wunused-function] static void do_ver_string(char *str, int max, u32b version, char *defval, ^ loadsave.c:1645:13: warning: 'skip_ver_u16b' defined but not used [-Wunused-function] static void skip_ver_u16b(u32b version, int flag) ^ loadsave.c:1665:13: warning: 'skip_ver_s16b' defined but not used [-Wunused-function] static void skip_ver_s16b(u32b version, int flag) ^ loadsave.c:1685:13: warning: 'skip_ver_u32b' defined but not used [-Wunused-function] static void skip_ver_u32b(u32b version, int flag) ^ loadsave.c:1705:13: warning: 'skip_ver_s32b' defined but not used [-Wunused-function] static void skip_ver_s32b(u32b version, int flag) ^ loadsave.c:1728:13: warning: 'skip_ver_string' defined but not used [-Wunused-function] static void skip_ver_string(u32b version, int flag) ^ loadsave.c: In function 'do_item': loadsave.c:2050:13: warning: 'old_dd' may be used uninitialized in this function [-Wmaybe-uninitialized] o_ptr->dd = old_dd; ^ loadsave.c:2051:13: warning: 'old_ds' may be used uninitialized in this function [-Wmaybe-uninitialized] o_ptr->ds = old_ds; ^ gcc -pipe -Wall -g -O2 -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:13: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable] cave_type *c_ptr; ^ cmd1.c: In function 'incarnate_monster_attack': cmd1.c:1481:13: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable] cave_type *c_ptr; ^ cmd1.c: In function 'py_attack': cmd1.c:2523:7: warning: variable 'no_extra' set but not used [-Wunused-but-set-variable] bool no_extra = FALSE; ^ gcc -pipe -Wall -g -O2 -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:13: warning: variable 'c_ptr' set but not used [-Wunused-but-set-variable] cave_type *c_ptr; ^ cmd2.c: In function 'do_cmd_boomerang': cmd2.c:4004:7: warning: variable 'hit_wall' set but not used [-Wunused-but-set-variable] bool hit_wall = FALSE; ^ gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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:16: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ cmd4.c: In function 'do_cmd_knowledge_kill_count': cmd4.c:3966:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b {aka int}' [-Wformat=] fprintf(fff, "You have defeated %lu enemies.\n\n", Total); ^ cmd4.c:4020:15: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 's32b {aka int}' [-Wformat=] fprintf(fff, " Total: %lu creature%s killed.\n", Total, (Total == 1 ? "" : "s")); ^ cmd4.c: In function 'do_cmd_knowledge_quests': cmd4.c:4312:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] fprintf(fff, "Number: %d, Killed: %ld.\n", ^ gcc -pipe -Wall -g -O2 -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:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] bool flag; ^ gcc -pipe -Wall -g -O2 -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:12: warning: variable 'ident' set but not used [-Wunused-but-set-variable] int item, ident, chance; ^ cmd6.c: In function 'do_cmd_aim_wand': cmd6.c:3964:27: warning: variable 'sval' set but not used [-Wunused-but-set-variable] int item, ident, chance, sval; ^ cmd6.c:3964:12: warning: variable 'ident' set but not used [-Wunused-but-set-variable] int item, ident, chance, sval; ^ cmd6.c: In function 'zap_combine_rod_tip': cmd6.c:4161:15: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable] object_kind *k_ptr; ^ cmd6.c: In function 'do_cmd_zap_rod': cmd6.c:4252:15: warning: variable 'k_ptr' set but not used [-Wunused-but-set-variable] object_kind *k_ptr; ^ gcc -pipe -Wall -g -O2 -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:18: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'u32b {aka unsigned int}' [-Wformat=] sprintf(ttt, "%c) %s (exp %ld)", ^ cmd7.c: In function 'brand_ammo': cmd7.c:4989:6: warning: variable 'allowable' set but not used [-Wunused-but-set-variable] int allowable; ^ cmd7.c: In function 'do_cmd_set_piercing': cmd7.c:5446:6: warning: variable 'ext' set but not used [-Wunused-but-set-variable] int ext = 0; ^ cmd7.c: In function 'do_cmd_summoner_extract': cmd7.c:7099:15: warning: variable 'e' set but not used [-Wunused-but-set-variable] int item, r, e; ^ cmd7.c: In function 'do_cmd_symbiotic': cmd7.c:7549:16: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ cmd7.c: In function 'alchemist_recipe_book': cmd7.c:2954:15: warning: iteration 19u invokes undefined behavior [-Waggressive-loop-optimizations] if (essence[i] || i > MAX_BATERIE_SVAL) ^ cmd7.c:2953:3: note: containing loop for (num = 0, i = 0; i < MAX_BATERIE_SVAL + 7 ; i++) ^ gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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:22: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] (!dungeon_flags1 & DF1_FORCE_DOWN))) ^ generate.c: In function 'init_feat_info': generate.c:7340:28: warning: variable 'fill_lim3' set but not used [-Wunused-but-set-variable] int fill_lim1, fill_lim2, fill_lim3; ^ generate.c:7339:30: warning: variable 'floor_lim3' set but not used [-Wunused-but-set-variable] int floor_lim1, floor_lim2, floor_lim3; ^ generate.c: In function 'cave_gen': generate.c:7623:7: warning: variable 'town_level' set but not used [-Wunused-but-set-variable] s16b town_level = 0; ^ gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 -Wall -g -O2 -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 'do_cmd_bldg': bldg.c:2168:19: warning: variable 'st_ptr' set but not used [-Wunused-but-set-variable] store_info_type *st_ptr; ^ gcc -pipe -Wall -g -O2 -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:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] fprintf(movfile, "# Generated by %s %ld.%ld.%ld\n", ^ cmovie.c:368:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] cmovie.c:368:19: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(tmp_val, "%ld", o_ptr->pval); ^ wizard2.c:806:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(tmp_val, "%ld", o_ptr->pval3); ^ wizard2.c:848:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 's32b {aka int}' [-Wformat=] sprintf(tmp_val, "%ld", o_ptr->exp); ^ wizard2.c: In function 'wiz_quantity_item': wizard2.c:1171:15: warning: variable 'tmp_qnt' set but not used [-Wunused-but-set-variable] int tmp_int, tmp_qnt; ^ wizard2.c: In function 'do_cmd_wiz_cure_all': wizard2.c:1438:16: warning: variable 'r_ptr' set but not used [-Wunused-but-set-variable] monster_race *r_ptr; ^ gcc -pipe -Wall -g -O2 -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:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] s16b *tmp; ^ gcc -pipe -Wall -g -O2 -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 -Wall -g -O2 -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:15: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] sprintf(wgt, "%3ld.%ld", q_ptr->weight / 10, q_ptr->weight % 10); ^ wizard1.c:358:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] wizard1.c: In function 'spoil_obj_desc': wizard1.c:395:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] sprintf(buf, "Basic Items Spoilers for %s %ld.%ld.%ld%s", ^ wizard1.c:395:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] wizard1.c:395:15: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] wizard1.c: In function 'analyze_pval': wizard1.c:895:28: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] sprintf(p_ptr->pval_desc, "%s%ld", POSITIZE(o_ptr->pval), o_ptr->pval); ^ wizard1.c: In function 'analyze_misc': wizard1.c:1084:21: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 's32b {aka int}' [-Wformat=] sprintf(misc_desc, "Level %u, Rarity %u, %d.%d lbs, %ld Gold", ^ wizard1.c: In function 'print_header': wizard1.c:1121:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] sprintf(buf, "Artifact Spoilers for %s %ld.%ld.%ld%s", ^ wizard1.c:1121:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] wizard1.c:1121:15: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] wizard1.c: In function 'spoil_mon_desc': wizard1.c:1379:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s", ^ wizard1.c:1379:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] wizard1.c:1379:15: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] wizard1.c: In function 'spoil_mon_info': wizard1.c:1525:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] sprintf(buf, "Monster Spoilers for %s %ld.%ld.%ld%s", ^ wizard1.c:1525:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] wizard1.c:1525:15: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] wizard1.c: In function 'spoil_bateries': wizard1.c:2485:10: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] "|||||oy\n" ^ wizard1.c:2485:10: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] wizard1.c:2485:10: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] wizard1.c: In function 'spoil_spells': wizard1.c:2690:15: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 's32b {aka int}' [-Wformat=] sprintf(buf, "Spell Spoiler (Skill Level 50) for %s %ld.%ld.%ld%s", ^ wizard1.c:2690:15: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 's32b {aka int}' [-Wformat=] wizard1.c:2690:15: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 's32b {aka int}' [-Wformat=] gcc -pipe -Wall -g -O2 -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:29: warning: format '%ld' expects argument of type 'long int *', but argument 5 has type 's32b * {aka int *}' [-Wformat=] if (5 != sscanf(buf + 4, "%c:%c:%ld:%ld:%ld", ^ init1.c:3067:29: warning: format '%ld' expects argument of type 'long int *', but argument 6 has type 's32b * {aka int *}' [-Wformat=] init1.c:3067:29: warning: format '%ld' expects argument of type 'long int *', but argument 7 has type 's32b * {aka int *}' [-Wformat=] gcc -pipe -Wall -g -O2 -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 util.o: In function `path_temp': /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.64607 + 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 + 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 + /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) Compressing files in /usr/src/tmp/tome-buildroot (auto) Adjusting library links in /usr/src/tmp/tome-buildroot ./var/lib: 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) Hardlinking identical .pyc and .pyo files Processing files: tome-2.3.5-alt2.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.64607 + 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.6MwtHV find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IemySS find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qJrUMS 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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libncurses.so.5()(64bit) >= set:mhB3guFsYIG6EAO3XMM7P2AiPXuG2UltJJgYeRGFOvwmwjE98AT8mLSwo1Va5, 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.CVvvqV Creating tome-debuginfo package Processing files: tome-debuginfo-2.3.5-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4bCjS0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q8kT38 find-requires: running scripts (debuginfo) Requires: tome = 2.3.5-alt2.qa1, /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-alt2.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/tome-debuginfo-2.3.5-alt2.qa1.x86_64.rpm 47.00user 2.37system 0:58.90elapsed 83%CPU (0avgtext+0avgdata 88832maxresident)k 0inputs+0outputs (0major+1096108minor)pagefaults 0swaps 50.69user 4.52system 1:08.64elapsed 80%CPU (0avgtext+0avgdata 123804maxresident)k 0inputs+0outputs (0major+1323525minor)pagefaults 0swaps