>>> zangband: Building community/zangband 2.7.5.1-r2 (using abuild 3.13.0-r5) started Sat, 24 Aug 2024 02:29:04 +0000 >>> zangband: Checking sanity of /home/buildozer/aports/community/zangband/APKBUILD... >>> zangband: Analyzing dependencies... >>> zangband: Installing for build: build-base ncurses automake autoconf util-linux ncurses-dev (1/51) Installing ncurses (6.5_p20240601-r0) (2/51) Installing libbz2 (1.0.8-r6) (3/51) Installing perl (5.40.0-r1) (4/51) Installing automake (1.17-r0) (5/51) Installing m4 (1.4.19-r3) (6/51) Installing autoconf (2.72-r0) (7/51) Installing sqlite-libs (3.46.1-r0) (8/51) Installing util-linux (2.40.2-r0) (9/51) Installing dmesg (2.40.2-r0) (10/51) Installing setarch (2.40.2-r0) (11/51) Installing libeconf (0.6.3-r0) (12/51) Installing libblkid (2.40.2-r0) (13/51) Installing libuuid (2.40.2-r0) (14/51) Installing libfdisk (2.40.2-r0) (15/51) Installing libmount (2.40.2-r0) (16/51) Installing libsmartcols (2.40.2-r0) (17/51) Installing util-linux-misc (2.40.2-r0) (18/51) Installing skalibs (2.14.2.0-r0) (19/51) Installing utmps-libs (0.1.2.2-r1) (20/51) Installing linux-pam (1.6.1-r0) (21/51) Installing runuser (2.40.2-r0) (22/51) Installing mount (2.40.2-r0) (23/51) Installing losetup (2.40.2-r0) (24/51) Installing hexdump (2.40.2-r0) (25/51) Installing uuidgen (2.40.2-r0) (26/51) Installing blkid (2.40.2-r0) (27/51) Installing sfdisk (2.40.2-r0) (28/51) Installing mcookie (2.40.2-r0) (29/51) Installing agetty (2.40.2-r0) (30/51) Installing wipefs (2.40.2-r0) (31/51) Installing cfdisk (2.40.2-r0) (32/51) Installing umount (2.40.2-r0) (33/51) Installing flock (2.40.2-r0) (34/51) Installing lsblk (2.40.2-r0) (35/51) Installing libcap-ng (0.8.5-r0) (36/51) Installing setpriv (2.40.2-r0) (37/51) Installing logger (2.40.2-r0) (38/51) Installing partx (2.40.2-r0) (39/51) Installing fstrim (2.40.2-r0) (40/51) Installing findmnt (2.40.2-r0) (41/51) Installing libformw (6.5_p20240601-r0) (42/51) Installing libmenuw (6.5_p20240601-r0) (43/51) Installing libpanelw (6.5_p20240601-r0) (44/51) Installing libncurses++ (6.5_p20240601-r0) (45/51) Installing ncurses-dev (6.5_p20240601-r0) (46/51) Installing .makedepends-zangband (20240824.022928) (47/51) Installing util-linux-openrc (2.40.2-r0) (48/51) Installing agetty-openrc (0.54.2-r1) (49/51) Installing perl-error (0.17029-r2) (50/51) Installing perl-git (2.46.0-r0) (51/51) Installing git-perl (2.46.0-r0) Executing busybox-1.36.1-r31.trigger OK: 338 MiB in 155 packages >>> zangband: Cleaning up srcdir >>> zangband: Cleaning up pkgdir >>> zangband: Cleaning up tmpdir >>> zangband: Fetching https://distfiles.alpinelinux.org/distfiles/edge/zangband-2.7.5pre1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2768k 100 2768k 0 0 8369k 0 --:--:-- --:--:-- --:--:-- 8390k >>> zangband: Fetching https://distfiles.alpinelinux.org/distfiles/edge/zangband-2.7.5pre1.tar.gz >>> zangband: Checking sha512sums... zangband-2.7.5pre1.tar.gz: OK fix-bad-substitution.patch: OK fix-bad-configure.patch: OK fix-random-num-gen.patch: OK fix-explosive-rune-error.patch: OK fix-spear-of-hagen-error.patch: OK >>> zangband: Unpacking /var/cache/distfiles/zangband-2.7.5pre1.tar.gz... >>> zangband: fix-bad-substitution.patch patching file configure.in >>> zangband: fix-bad-configure.patch patching file configure >>> zangband: fix-random-num-gen.patch patch unexpectedly ends in middle of line patching file src/h-type.h patch unexpectedly ends in middle of line Hunk #1 succeeded at 103 with fuzz 2. >>> zangband: fix-explosive-rune-error.patch patching file lib/edit/t_info.txt >>> zangband: fix-spear-of-hagen-error.patch patching file lib/edit/a_info.txt autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:127: warning: underquoted definition of AC_SEARCH_HEADERS configure.in:127: run info Automake 'Extending aclocal' configure.in:127: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:7: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:7: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:7: the top level configure.in:162: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:162: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:162: the top level configure.in:209: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:209: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:209: the top level configure.in:218: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:218: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:218: the top level configure.in:225: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:225: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:225: the top level configure.in:230: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:230: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:230: the top level autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: './config.sub' is created autoreconf: './config.guess' is created autoreconf: Leaving directory '.' checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for X... no checking for library containing XCreateImage... no checking for main in -lXext... no checking for main in -lXm... no checking for main in -lXmu... no checking for main in -lXt... no checking for main in -lSM... no checking for main in -lXpm... no checking for main in -lGn... no checking for main in -lICE... no checking for library containing XawInitializeWidgetSet... no checking for library containing initscr... -lncurses checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/param.h... yes checking for library containing Tcl_Init... no checking for main in -lbsd... no checking for main in -lcposix... no checking for main in -linet... no checking for main in -lnsl_s... no checking for main in -lrpcsvc... no checking for main in -lsun... no checking for main in -lvideo... no checking for main in -lwinmm... no checking for main in -lz... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for locale.h... yes checking for memory.h... yes checking for netdb.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for termio.h... no checking for unistd.h... (cached) yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking for termios.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of long int... 8 checking for error_at_line... no checking build system type... loongarch64-unknown-linux-musl checking host system type... loongarch64-unknown-linux-musl checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for getpagesize... yes checking for working mmap... yes checking for floor... yes checking for ftruncate... yes checking for gethostname... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for modf... yes checking for select... yes checking for setlocale... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for Tk_SetClassProcs... no checking for TkpSync... no checking for mkstemp... yes checking for usleep... yes checking for getpwuid... yes checking for getpwnam... yes checking for shmget... yes checking whether gcc accepts -pedantic... yes checking whether gcc accepts -W... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -Wmissing-prototypes... yes checking whether gcc accepts -Wmissing-declarations... yes checking whether gcc accepts -Wno-long-long... yes checking whether gcc accepts -Wwrite-strings... yes checking whether gcc accepts -Wpointer-arith... yes checking whether gcc accepts -Wbad-function-cast... yes checking whether gcc accepts -Waggregate-return... yes checking whether gcc accepts -Wstrict-prototypes... yes checking whether gcc accepts -Wredundant-decls... yes checking whether gcc accepts -Wchar-subscripts... yes checking whether gcc accepts -Wimplicit... yes checking whether gcc accepts -Wparentheses... yes checking whether gcc accepts -Wsequence-point... yes checking whether gcc accepts -Wreturn-type... yes checking whether gcc accepts -Wswitch... yes checking whether gcc accepts -Wunused... yes checking whether gcc accepts -Wuninitialized... yes checking whether gcc accepts -Wundef... yes checking whether gcc accepts -Wnested-externs... yes checking whether gcc accepts -Wdeclaration-after-statement... yes checking whether gcc accepts -Wsign-compare... yes configure: creating ./config.status config.status: creating makefile config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting config.status: creating src/autoconf.h cat configure.in | sed -e "s/AC_INIT.*$/AC_INIT\(Zangband,\ `cat .version`,\ bugs@zangband.org\)/" > configure.new mv configure.new configure.in aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:127: warning: underquoted definition of AC_SEARCH_HEADERS configure.in:127: run info Automake 'Extending aclocal' configure.in:127: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoconf configure.in:7: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:7: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:7: the top level configure.in:162: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.in:162: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.in:162: the top level configure.in:209: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:209: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:209: the top level configure.in:218: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.in:218: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.in:218: the top level configure.in:225: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:225: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:225: the top level configure.in:230: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.in:230: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.in:230: the top level if [ -x ./config.status ] ; then ./config.status --recheck && ./config.status; else ./configure; fi running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/usr/lib --with-gtk=no CC=gcc CFLAGS=-Os -fstack-clash-protection -Wformat -Werror=format-security LDFLAGS=-Wl,--as-needed,-O1,--sort-common --no-create --no-recursion checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking how to run the C preprocessor... gcc -E checking for X... no checking for library containing XCreateImage... no checking for main in -lXext... no checking for main in -lXm... no checking for main in -lXmu... no checking for main in -lXt... no checking for main in -lSM... no checking for main in -lXpm... no checking for main in -lGn... no checking for main in -lICE... no checking for library containing XawInitializeWidgetSet... no checking for library containing initscr... -lncurses checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/param.h... yes checking for library containing Tcl_Init... no checking for main in -lbsd... no checking for main in -lcposix... no checking for main in -linet... no checking for main in -lnsl_s... no checking for main in -lrpcsvc... no checking for main in -lsun... no checking for main in -lvideo... no checking for main in -lwinmm... no checking for main in -lz... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for locale.h... yes checking for memory.h... yes checking for netdb.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for termio.h... no checking for unistd.h... (cached) yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking for termios.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of long int... 8 checking for error_at_line... no checking build system type... loongarch64-unknown-linux-musl checking host system type... loongarch64-unknown-linux-musl checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for getpagesize... yes checking for working mmap... yes checking for floor... yes checking for ftruncate... yes checking for gethostname... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for modf... yes checking for select... yes checking for setlocale... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for Tk_SetClassProcs... no checking for TkpSync... no checking for mkstemp... yes checking for usleep... yes checking for getpwuid... yes checking for getpwnam... yes checking for shmget... yes checking whether gcc accepts -pedantic... yes checking whether gcc accepts -W... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -Wmissing-prototypes... yes checking whether gcc accepts -Wmissing-declarations... yes checking whether gcc accepts -Wno-long-long... yes checking whether gcc accepts -Wwrite-strings... yes checking whether gcc accepts -Wpointer-arith... yes checking whether gcc accepts -Wbad-function-cast... yes checking whether gcc accepts -Waggregate-return... yes checking whether gcc accepts -Wstrict-prototypes... yes checking whether gcc accepts -Wredundant-decls... yes checking whether gcc accepts -Wchar-subscripts... yes checking whether gcc accepts -Wimplicit... yes checking whether gcc accepts -Wparentheses... yes checking whether gcc accepts -Wsequence-point... yes checking whether gcc accepts -Wreturn-type... yes checking whether gcc accepts -Wswitch... yes checking whether gcc accepts -Wunused... yes checking whether gcc accepts -Wuninitialized... yes checking whether gcc accepts -Wundef... yes checking whether gcc accepts -Wnested-externs... yes checking whether gcc accepts -Wdeclaration-after-statement... yes checking whether gcc accepts -Wsign-compare... yes configure: creating ./config.status config.status: creating makefile config.status: WARNING: 'makefile.in' seems to ignore the --datarootdir setting config.status: creating src/autoconf.h config.status: src/autoconf.h is unchanged CC src/lua/tolua.o CC src/lua/tolualua.o CC src/lua/liolib.o CC src/lua/lapi.o CC src/lua/ldebug.o CC src/lua/lmem.o CC src/lua/lstrlib.o CC src/lua/lvm.o CC src/lua/tolua_lb.o CC src/lua/lauxlib.o CC src/lua/ldo.o CC src/lua/lobject.o CC src/lua/ltable.o CC src/lua/lzio.o CC src/lua/tolua_rg.o CC src/lua/lbaselib.o CC src/lua/lfunc.o CC src/lua/lparser.o CC src/lua/ltests.o CC src/lua/tolua_bd.o CC src/lua/tolua_tm.o CC src/lua/lcode.o CC src/lua/lgc.o CC src/lua/lstate.o CC src/lua/ltm.o CC src/lua/tolua_eh.o CC src/lua/tolua_tt.o CC src/lua/ldblib.o CC src/lua/llex.o CC src/lua/lstring.o CC src/lua/lundump.o CC src/lua/tolua_gp.o src/lua/lparser.c: In function 'constructor_part': src/lua/lparser.c:555:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 555 | if (ls->lookahead.token != '=') /* expression? */ | ^ src/lua/lparser.c:559:5: note: here 559 | case '[': { /* constructor_part -> recfields */ | ^~~~ CC src/z-util.o CC src/z-virt.o CC src/z-form.o CC src/z-rand.o CC src/z-term.o CC src/zborg1.o CC src/zborg2.o CC src/zborg3.o CC src/zborg4.o CC src/zborg5.o CC src/zborg6.o CC src/zborg7.o CC src/zborg8.o CC src/zborg9.o CC src/zbmagic1.o CC src/zbmagic2.o src/zborg2.c: In function 'borg_vinfo_init': src/zborg2.c:333:29: warning: variable 'p' set but not used [-Wunused-but-set-variable] 333 | vinfo_type *p; | ^ CC src/zbmagic3.o src/zborg3.c: In function 'borg_read_scroll_fail': src/zborg3.c:1629:13: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 1629 | if (!map_loc(c_x, c_y)->flags & MAP_GLOW && | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg2.c: In function 'borg_update_kill': src/zborg2.c:1932:13: warning: variable 't' set but not used [-Wunused-but-set-variable] 1932 | int t, e; | ^ for i in variable.o tables.o util.o cave.o object1.o object2.o monster1.o monster2.o xtra1.o xtra2.o spells1.o spells2.o melee1.o melee2.o save.o files.o fields.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o store.o birth.o load.o ui.o wizard1.o wizard2.o grid.o streams.o rooms.o generate.o dungeon.o init1.o init2.o effects.o quest.o racial.o run.o script.o artifact.o mutation.o flavor.o spells3.o mspells1.o mspells2.o scores.o mind.o bldg.o obj_kind.o wild1.o wild2.o wild3.o avatar.o notes.o ; do \ for j in src/makefile.bcc src/makefile.ros src/makefile.std ; do \ if [ x"`grep $i $j | sed 1q`" == x ]; then \ echo "Error: makefile $j has $i missing"; \ k="stop"; \ fi; \ done; \ done; \ if [ "x$k" == "xstop" ]; then \ exit 1; \ fi; \ touch .makefiles; CC src/variable.o CC src/tables.o CC src/util.o src/zborg3.c: In function 'borg_power_check': src/zborg3.c:2987:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2987 | else | ^~~~ src/zborg3.c:2991:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2991 | if (bp_ptr->status.stun) | ^~ CC src/cave.o CC src/object1.o CC src/object2.o src/zborg6.c: In function 'borg_find_dungeon': src/zborg6.c:1718:54: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 1718 | borg_dungeons[b_i].min_depth < 5 + borg_dungeons[b_i].max_depth != 0 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/monster1.o src/zbmagic2.c: In function 'borg_launch_aux_hack': src/zbmagic2.c:1151:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 1151 | map_block *mb_ptr; | ^~~~~~ In file included from src/zborg8.c:10: src/zborg8.c: In function 'borg_object_similar': src/zborg3.h:40:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 40 | ((k_info[(T)->k_idx].easy_know && k_info[(T)->k_idx].aware) || \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg8.c:137:34: note: in expansion of macro 'borg_obj_known_p' 137 | !borg_obj_known_p(q_ptr)) return (FALSE); | ^~~~~~~~~~~~~~~~ src/zborg8.c:142:17: note: here 142 | case TV_BOLT: | ^~~~ CC src/monster2.o CC src/xtra1.o CC src/xtra2.o src/zborg7.c: In function 'borg_use_things': src/zborg7.c:174:52: warning: this statement may fall through [-Wimplicit-fallthrough=] 174 | if (!bp_ptr->depth) break; | ^ src/zborg7.c:179:41: note: here 179 | case SV_POTION_AUGMENTATION: | ^~~~ src/zborg7.c: In function 'borg_consume': src/zborg7.c:1549:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1549 | if (borg_eat_food(sval)) return (TRUE);; | ^ src/zborg7.c:1552:17: note: here 1552 | case TV_LITE: | ^~~~ src/zborg7.c: In function 'borg_test_stuff': src/util.c: In function 'message_add': src/zborg7.c:2037:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2037 | case TV_AMULET: v += 2000; | ~~^~~~~~~ src/util.c:2755:21: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] 2755 | if (buf && streq(buf, str) && (j < 1000)) | ^~~ src/zborg7.c:2038:41: note: here 2038 | case TV_ROD: v += 1000; | ^~~~ src/zborg7.c:2038:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2038 | case TV_ROD: v += 1000; | ~~^~~~~~~ src/cave.c: In function 'vinfo_init': src/zborg7.c:2039:41: note: here 2039 | case TV_WAND: | ^~~~ src/cave.c:1669:29: warning: variable 'p' set but not used [-Wunused-but-set-variable] 1669 | vinfo_type *p; | ^ src/zborg7.c:2040:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2040 | case TV_STAFF: v += 2000; | ~~^~~~~~~ src/zborg7.c:2041:41: note: here 2041 | case TV_POTION: | ^~~~ CC src/spells1.o src/zborg7.c:2042:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 2042 | case TV_SCROLL: v += 10; | ~~^~~~~ src/zborg6.c: In function 'borg_flow_dark_5': src/zborg7.c:2043:41: note: here 2043 | case TV_FOOD: v += 1; | ^~~~ src/util.c: In function 'msg_print_aux': src/zborg6.c:3646:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 3646 | map_block *mb_ptr; | ^~~~~~ src/util.c:3074:13: warning: the address of 'message__color' will always evaluate as 'true' [-Waddress] 3074 | if (message__color) | ^~~~~~~~~~~~~~ src/object2.c: In function 'object_value_real': src/object2.c:1250:39: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1250 | if (k_ptr->dd * k_ptr->ds) | ~~~~~~~~~~^~~~~~~~~~~ src/object2.c:1269:39: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 1269 | if (k_ptr->dd * k_ptr->ds) | ~~~~~~~~~~^~~~~~~~~~~ src/xtra1.c: In function 'health_redraw': src/xtra1.c:977:48: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] 977 | else if (!m_list[p_ptr->health_who].hp < 0) | ^ src/xtra1.c:977:48: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] src/xtra1.c:977:18: note: add parentheses around left hand side expression to silence this warning 977 | else if (!m_list[p_ptr->health_who].hp < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) CC src/spells2.o CC src/melee1.o CC src/melee2.o src/zbmagic2.c: In function 'borg_launch_damage_one': src/zbmagic2.c:428:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 428 | dam += 100; | ~~~~^~~~~~ src/zbmagic2.c:432:17: note: here 432 | case GF_ARROW_FLAME: | ^~~~ src/zbmagic2.c: In function 'borg_ball_item': src/zbmagic2.c:1363:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1363 | if (k_ptr->tval == TV_BOOTS) return (-200); | ^ CC src/save.o src/zborg4.c: In function 'borg_notice_artify_item': src/zbmagic2.c:1366:17: note: here 1366 | case GF_ELEC: | ^~~~ src/zborg4.c:1310:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 1310 | case SV_HEAVY_XBOW: value += 2; | ~~~~~~^~~~ src/zbmagic2.c:1369:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1369 | if (k_ptr->tval == TV_RING) return (-200); | ^ src/zborg4.c:1311:33: note: here 1311 | case SV_LIGHT_XBOW: value += 2; | ^~~~ src/zbmagic2.c:1372:17: note: here 1372 | case GF_FIRE: | ^~~~ src/zborg4.c:1311:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 1311 | case SV_LIGHT_XBOW: value += 2; | ~~~~~~^~~~ src/zbmagic2.c:1375:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1375 | if (k_ptr->tval == TV_BOOTS) return (-200); | ^ src/zborg4.c:1312:33: note: here 1312 | case SV_LONG_BOW: value += 2; | ^~~~ src/zbmagic2.c:1378:17: note: here 1378 | case GF_COLD: | ^~~~ src/zborg4.c:1312:59: warning: this statement may fall through [-Wimplicit-fallthrough=] 1312 | case SV_LONG_BOW: value += 2; | ~~~~~~^~~~ src/spells1.c: In function 'project_o': src/zbmagic2.c:1381:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1381 | if (k_ptr->tval == TV_POTION) return (-200); | ^ src/spells1.c:596:13: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 596 | int k_idx = 0; | ^~~~~ src/zborg4.c:1313:33: note: here 1313 | case SV_SHORT_BOW: | ^~~~ src/zbmagic2.c:1384:17: note: here 1384 | case GF_MANA: | ^~~~ src/zbmagic2.c: In function 'borg_throw_damage': CC src/files.o src/zbmagic2.c:2494:44: warning: this statement may fall through [-Wimplicit-fallthrough=] 2494 | if (borg_class == CLASS_WARRIOR) | ^ src/zbmagic2.c:2501:33: note: here 2501 | default: | ^~~~~~~ CC src/fields.o src/zborg4.c: In function 'borg_notice_potions': src/zborg4.c:1676:40: warning: this statement may fall through [-Wimplicit-fallthrough=] 1676 | amt_pot_curing += number; | ~~~~~~~~~~~~~~~^~~~~~~~~ src/zborg4.c:1680:17: note: here 1680 | case SV_POTION_CURE_CRITICAL: | ^~~~ src/zborg4.c: In function 'borg_notice_scrolls': src/zborg4.c:1901:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1901 | { | ^ src/zborg4.c:1925:17: note: here 1925 | case SV_SCROLL_ENCHANT_WEAPON_TO_DAM: | ^~~~ src/zborg4.c: In function 'borg_notice_rods': src/zborg4.c:2147:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 2147 | if (bp_ptr->lev > 25) break; | ^ src/zborg4.c:2151:17: note: here 2151 | case SV_ROD_FIRE_BALL: | ^~~~ src/monster2.c: In function 'test_monster_square': src/monster2.c:500:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 500 | if (!(FLAG(r_ptr, RF_WILD_OCEAN))) return (FALSE); | ^ src/monster2.c:505:17: note: here 505 | case FEAT_DEEP_WATER: | ^~~~ src/monster2.c:507:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 507 | if (!((FLAG(r_ptr, RF_AQUATIC)) || | ^ src/monster2.c:517:17: note: here 517 | case FEAT_SHAL_WATER: | ^~~~ src/xtra2.c: In function 'target_set': src/xtra2.c:2640:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 2640 | x = p_ptr->px; | ~~^~~~~~~~~~~ src/xtra2.c:2645:33: note: here 2645 | case 'o': | ^~~~ src/spells2.c: In function 'self_knowledge': src/spells2.c:42:14: warning: variable 'Dummy' set but not used [-Wunused-but-set-variable] 42 | char Dummy[80], Liferating[80]; | ^~~~~ src/melee2.c: In function 'get_moves': src/melee2.c:1411:39: warning: variable 'fr_ptr' set but not used [-Wunused-but-set-variable] 1411 | monster_race *fr_ptr; | ^~~~~~ CC src/cmd1.o src/zborg5.c: In function 'borg_danger_aux2': src/zborg5.c:1335:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 1335 | if (!borg_full_damage) | ^ src/zborg5.c:1339:25: note: here 1339 | case 128 + 0: | ^~~~ src/object2.c: In function 'object_similar': src/object2.c:1542:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1542 | if (!(FLAG(o_ptr, TR_THROW))) return (FALSE); | ^ src/object2.c:1547:17: note: here 1547 | case TV_LITE: | ^~~~ src/object2.c:1550:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 1550 | if (o_ptr->timeout != j_ptr->timeout) return (FALSE); | ^ src/object2.c:1555:17: note: here 1555 | case TV_RING: | ^~~~ src/object2.c:1562:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1562 | || !object_known_p(j_ptr)) return (FALSE); CC src/cmd2.o src/object2.c:1566:17: note: here 1566 | case TV_BOLT: | ^~~~ CC src/cmd3.o src/spells2.c: In function 'cave_temp_room_unlite': src/spells2.c:2805:37: warning: variable 'pc_ptr' set but not used [-Wunused-but-set-variable] 2805 | pcave_type *pc_ptr; | ^~~~~~ src/files.c: In function 'display_player_stat_info': src/files.c:1896:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 1896 | s16b k_idx; | ^~~~~ src/files.c: In function 'display_player_skill_info': src/files.c:2167:14: warning: variable 'k_idx' set but not used [-Wunused-but-set-variable] 2167 | s16b k_idx; | ^~~~~ src/spells2.c: In function 'activate_ty_curse': src/spells2.c:3589:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3589 | if (!(*count)) | ^ src/spells2.c:3598:25: note: here 3598 | case 30: case 31: | ^~~~ src/spells2.c:3600:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3600 | if (!(*count)) | ^ src/spells2.c:3610:25: note: here 3610 | case 32: case 33: | ^~~~ src/spells2.c:3612:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3612 | if (!(*count)) | ^ src/spells2.c:3622:25: note: here 3622 | case 34: | ^~~~ src/spells2.c:3630:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3630 | if (!one_in_(6)) break; | ^ src/spells2.c:3634:25: note: here 3634 | case 1: case 2: case 3: case 16: case 17: | ^~~~ src/spells2.c:3637:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3637 | if (!one_in_(6)) break; | ^ src/spells2.c:3641:25: note: here 3641 | case 4: case 5: case 6: | ^~~~ src/spells2.c:3644:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3644 | if (!one_in_(6)) break; | ^ src/files.c: In function 'show_file': src/spells2.c:3648:25: note: here 3648 | case 7: case 8: case 9: case 18: | ^~~~ src/files.c:3533:29: warning: the address of 'finder' will always evaluate as 'true' [-Waddress] 3533 | if (finder) | ^~~~~~ src/spells2.c:3653:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3653 | if (!one_in_(6)) break; | ^ src/spells2.c:3657:25: note: here 3657 | case 10: case 11: case 12: | ^~~~ CC src/cmd4.o src/spells2.c:3661:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3661 | if (!one_in_(6)) break; | ^ src/spells2.c:3665:25: note: here 3665 | case 13: case 14: case 15: case 19: case 20: | ^~~~ src/spells2.c:3687:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3687 | if (!one_in_(6)) break; | ^ src/spells2.c:3691:25: note: here 3691 | case 21: case 22: case 23: | ^~~~ src/spells2.c:3694:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3694 | if (!one_in_(6)) break; | ^ src/spells2.c:3698:25: note: here 3698 | case 24: | ^~~~ src/spells2.c:3702:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3702 | if (!one_in_(6)) break; | ^ src/spells2.c:3706:25: note: here 3706 | case 25: | ^~~~ src/spells2.c:3717:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 3717 | if (!one_in_(6)) break; | ^ src/spells2.c:3721:25: note: here 3721 | default: | ^~~~~~~ CC src/cmd5.o src/cmd4.c: In function 'do_cmd_options_win': src/cmd4.c:959:47: warning: this statement may fall through [-Wimplicit-fallthrough=] 959 | for (i = 0; i < WINDOW_CHOICE_MAX; i++) src/cmd4.c:967:25: note: here 967 | case 'y': | ^~~~ src/cmd5.c: In function 'get_spell': src/cmd5.c:35:27: warning: variable 's_ptr' set but not used [-Wunused-but-set-variable] 35 | const magic_type *s_ptr; | ^~~~~ CC src/cmd6.o src/melee2.c: In function 'get_moves.constprop': src/melee2.c:1499:20: warning: 'tx' may be used uninitialized [-Wmaybe-uninitialized] 1499 | if (!tx && !ty) return (FALSE); | ^ src/melee2.c:1344:13: note: 'tx' was declared here 1344 | int tx, ty; | ^~ src/melee2.c:1499:25: warning: 'ty' may be used uninitialized [-Wmaybe-uninitialized] 1499 | if (!tx && !ty) return (FALSE); | ~~~~^~~~~~ src/melee2.c:1344:17: note: 'ty' was declared here 1344 | int tx, ty; | ^~ CC src/store.o CC src/birth.o CC src/load.o src/store.c: In function 'display_entry': src/store.c:957:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 957 | if (object_aware_p(o_ptr)) | ^~ src/store.c:961:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 961 | if (st_ptr->type == BUILD_STORE_HOME) | ^~ CC src/ui.o src/store.c: In function 'store_purchase': src/store.c:1388:21: warning: variable 'best' set but not used [-Wunused-but-set-variable] 1388 | s32b price, best; | ^~~~ src/fields.c: In function 'print_building_options': src/fields.c:1811:35: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 1811 | put_fstr(40 - len / 2, 20 - num + i, CLR_YELLOW "%s", strings[i]); | ~~~~^~~ src/fields.c:1793:22: note: 'len' was declared here 1793 | int max = 0, len; | ^~~ src/birth.c: In function 'player_birth_aux_3': src/birth.c:1286:14: warning: variable 'stat_match' set but not used [-Wunused-but-set-variable] 1286 | s32b stat_match[A_MAX]; | ^~~~~~~~~~ CC src/wizard1.o CC src/wizard2.o CC src/grid.o src/zborg6.c: In function 'borg_flow_non_hurt': src/zborg6.c:2468:9: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 2468 | borg_flow_enqueue_grid(x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/streams.o src/zborg6.c:2419:13: note: 'x' was declared here 2419 | int x, y; | ^ src/zborg6.c:2468:9: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 2468 | borg_flow_enqueue_grid(x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/zborg6.c:2419:16: note: 'y' was declared here 2419 | int x, y; | ^ CC src/rooms.o CC src/generate.o src/generate.c: In function 'cave_gen': src/generate.c:575:14: warning: variable 'cavern' set but not used [-Wunused-but-set-variable] 575 | bool cavern = FALSE; | ^~~~~~ CC src/dungeon.o CC src/init1.o CC src/init2.o src/load.c: In function 'rd_item': src/load.c:681:25: warning: 'name1' may be used uninitialized [-Wmaybe-uninitialized] 681 | else if (name1) | ^ src/load.c:339:14: note: 'name1' was declared here 339 | byte name1, name2, xtra1, xtra2; | ^~~~~ src/load.c:651:20: warning: 'name2' may be used uninitialized [-Wmaybe-uninitialized] 651 | if (name2) | ^ src/load.c:339:21: note: 'name2' was declared here 339 | byte name1, name2, xtra1, xtra2; | ^~~~~ src/load.c:725:28: warning: 'xtra2' may be used uninitialized [-Wmaybe-uninitialized] 725 | if (xtra2) | ^ src/load.c:339:35: note: 'xtra2' was declared here 339 | byte name1, name2, xtra1, xtra2; | ^~~~~ src/dungeon.c: In function 'sense_item': src/dungeon.c:114:14: warning: variable 'okay' set but not used [-Wunused-but-set-variable] 114 | bool okay = FALSE; | ^~~~ CC src/effects.o src/ui.c: In function 'display_menu': src/ui.c:651:28: warning: 'choice' may be used uninitialized [-Wmaybe-uninitialized] 651 | if ((choice == '\r') || (choice == ' ')) | ^ src/ui.c:600:14: note: 'choice' was declared here 600 | char choice; | ^~~~~~ src/rooms.c: In function 'build_recursive_room': src/rooms.c:3225:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 3225 | power += 2; | ~~~~~~^~~~ src/rooms.c:3230:17: note: here 3230 | case 4: | ^~~~ src/init1.c: In function 'parse_e_info': src/init1.c:1916:20: warning: variable 'cur_t' set but not used [-Wunused-but-set-variable] 1916 | static int cur_t = 0; | ^~~~~ CC src/quest.o src/load.c: In function 'rd_store': src/load.c:1015:31: warning: 'greed' may be used uninitialized [-Wmaybe-uninitialized] 1015 | st_ptr->greed = greed; | ~~~~~~~~~~~~~~^~~~~~~ src/load.c:967:14: note: 'greed' was declared here 967 | byte greed; | ^~~~~ src/init2.c: In function 'init_other': CC src/racial.o src/init2.c:1136:45: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] 1136 | if (window_flag_desc[i]) | ~~~~~~~~~~~~~~~~^~~ src/init2.c:1133:31: note: within this loop 1133 | for (i = 0; i < 32; i++) | ~~^~~~ CC src/run.o src/quest.c: In function 'activate_quests': src/quest.c:685:45: warning: variable 'pl_ptr' set but not used [-Wunused-but-set-variable] 685 | place_type *pl_ptr; | ^~~~~~ src/quest.c:702:45: warning: variable 'pl_ptr' set but not used [-Wunused-but-set-variable] 702 | place_type *pl_ptr; | ^~~~~~ CC src/script.o CC src/artifact.o CC src/mutation.o src/quest.c:678:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 678 | q_ptr->flags |= QUEST_FLAG_ACTIVE; src/quest.c:681:25: note: here 681 | case QUEST_TYPE_MESSAGE: | ^~~~ src/quest.c:695:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 695 | q_ptr->flags |= QUEST_FLAG_ACTIVE; src/quest.c:698:25: note: here 698 | case QUEST_TYPE_FIND_PLACE: | ^~~~ src/quest.c: In function 'trigger_quest_complete': src/quest.c:1065:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 1065 | if (*((int *) data) == q_ptr->data.fit.a_idx) | ^ src/quest.c:1076:25: note: here 1076 | case QX_FIND_SHOP: | ^~~~ src/quest.c: In function 'quest_status_string': src/racial.c: In function 'racial_chance': src/racial.c:29:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 29 | else | ^~~~ src/racial.c:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 33 | if ((p_ptr->lev < min_level) || p_ptr->tim.confused) | ^~ src/quest.c:2007:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 2007 | if (q_ptr->type == QUEST_TYPE_FIND_PLACE) return ("(Found)\n\n"); | ^ src/racial.c: In function 'racial_aux': src/racial.c:129:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 129 | else | ^~~~ src/racial.c:133:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 133 | if (p_ptr->csp < cost) use_hp = TRUE; | ^~ src/quest.c:2011:17: note: here 2011 | case QUEST_STATUS_FINISHED: return ("(Completed)\n"); | ^~~~ CC src/flavor.o CC src/spells3.o src/artifact.c: In function 'create_artifact': src/artifact.c:2226:21: warning: variable 'act' set but not used [-Wunused-but-set-variable] 2226 | int act; | ^~~ src/artifact.c:2368:21: warning: variable 'act' set but not used [-Wunused-but-set-variable] 2368 | int act = 0; | ^~~ CC src/mspells1.o CC src/mspells2.o CC src/scores.o CC src/mind.o src/scores.c: In function 'show_highclass': CC src/bldg.o src/scores.c:823:17: warning: variable 'pc' set but not used [-Wunused-but-set-variable] 823 | int pr, pc, clev /*, al */ ; | ^~ src/scores.c: In function 'race_score': src/scores.c:881:17: warning: variable 'pc' set but not used [-Wunused-but-set-variable] 881 | int pr, pc, clev, lastlev; | ^~ CC src/obj_kind.o CC src/wild1.o CC src/wild2.o CC src/wild3.o CC src/avatar.o src/wild1.c: In function 'create_rivers': src/wild1.c:2207:37: warning: variable 'dh' set but not used [-Wunused-but-set-variable] 2207 | int i, cur_posn, high_posn, dh, river_start; | ^~ CC src/notes.o CC src/maid-x11.o CC src/main-cap.o CC src/main-gcu.o src/wild2.c: In function 'draw_city': src/wild2.c:1151:14: warning: variable 'magic' set but not used [-Wunused-but-set-variable] 1151 | byte magic; | ^~~~~ src/wild2.c: In function 'open_clearing': src/wild2.c:1400:26: warning: variable 'disty' set but not used [-Wunused-but-set-variable] 1400 | int dist, distx, disty; | ^~~~~ src/wild2.c:1400:19: warning: variable 'distx' set but not used [-Wunused-but-set-variable] 1400 | int dist, distx, disty; | ^~~~~ src/wild2.c: In function 'draw_dun_cave': src/wild2.c:1599:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1599 | j = 0; | ~~^~~ src/wild2.c:1602:17: note: here 1602 | case 1: | ^~~~ src/wild2.c:1605:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1605 | j = 0; | ~~^~~ src/wild2.c:1608:17: note: here 1608 | case 2: | ^~~~ src/wild2.c:1611:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1611 | j = -1; | ~~^~~~ src/wild2.c:1614:17: note: here 1614 | case 3: | ^~~~ In file included from src/wild.h:15, from src/wild2.c:16: src/wild2.c: In function 'draw_dun_temple': src/grid.h:34:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | (cave_p(X, Y)->feat=(F)) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1696:25: note: in expansion of macro 'set_feat_bold' 1696 | set_feat_bold(x0 - x + 1, y0 - y + 1, FEAT_MORE); | ^~~~~~~~~~~~~ src/wild2.c:1699:17: note: here 1699 | case 1: | ^~~~ src/grid.h:34:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | (cave_p(X, Y)->feat=(F)) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1701:25: note: in expansion of macro 'set_feat_bold' 1701 | set_feat_bold(x0 - x + 1, y0 + y - 1, FEAT_MORE); | ^~~~~~~~~~~~~ src/wild2.c:1704:17: note: here 1704 | case 2: | ^~~~ src/grid.h:34:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | (cave_p(X, Y)->feat=(F)) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/wild2.c:1706:25: note: in expansion of macro 'set_feat_bold' 1706 | set_feat_bold(x0 + x - 1, y0 - y + 1, FEAT_MORE); | ^~~~~~~~~~~~~ src/wild2.c:1709:17: note: here 1709 | case 3: | ^~~~ CC src/main-x11.o CC src/main-xaw.o CC src/main-xpj.o CC src/main-lsl.o CC src/main-vcs.o CC src/main-gtk.o CC src/main-win.o CC src/main.o CC src/maid-grf.o CC src/main-dos.o CC src/main-ibm.o CC src/main-emx.o CC src/main-ami.o CC src/main-tnb.o LINK src/lua/tolua In file included from src/h-basic.h:16, from src/angband.h:31, from src/main.c:11: src/h-system.h:230:33: warning: cast between incompatible function types from 'errr (*)(void)' {aka 'int (*)(void)'} to 'errr (*)(int, char **, unsigned char *)' {aka 'int (*)(int, char **, unsigned char *)'} [-Wcast-function-type] 230 | { #P, help_##P, (errr (*)(int, char **, unsigned char *)) init_##P } | ^ src/main.c:49:9: note: in expansion of macro 'INIT_MODULE' 49 | INIT_MODULE(gcu), | ^~~~~~~~~~~ src/h-system.h:230:33: warning: cast between incompatible function types from 'errr (*)(int, char **)' {aka 'int (*)(int, char **)'} to 'errr (*)(int, char **, unsigned char *)' {aka 'int (*)(int, char **, unsigned char *)'} [-Wcast-function-type] 230 | { #P, help_##P, (errr (*)(int, char **, unsigned char *)) init_##P } | ^ src/main.c:85:9: note: in expansion of macro 'INIT_MODULE' 85 | INIT_MODULE(vcs) | ^~~~~~~~~~~ TOLUA src/l-monst.c TOLUA src/l-object.c TOLUA src/l-player.c TOLUA src/l-random.c TOLUA src/l-ui.c TOLUA src/l-misc.c TOLUA src/l-spell.c TOLUA src/l-field.c src/maid-grf.c: In function 'update_overhead_map': src/maid-grf.c:2356:20: warning: variable 'mb_ptr' set but not used [-Wunused-but-set-variable] 2356 | map_block *mb_ptr; | ^~~~~~ CC src/l-random.o CC src/l-misc.o CC src/l-ui.o CC src/l-monst.o CC src/l-field.o CC src/l-object.o CC src/l-player.o CC src/l-spell.o LINK zangband >>> zangband: Entering fakeroot... >>> zangband*: Running postcheck for zangband >>> zangband*: Preparing package zangband... >>> zangband*: Stripping binaries >>> zangband*: Scanning shared objects >>> zangband*: Tracing dependencies... ncurses so:libc.musl-loongarch64.so.1 so:libncursesw.so.6 >>> zangband*: Package size: 6.3 MB >>> zangband*: Compressing data... >>> zangband*: Create checksum... >>> zangband*: Create zangband-2.7.5.1-r2.apk >>> zangband: Build complete at Sat, 24 Aug 2024 02:29:50 +0000 elapsed time 0h 0m 46s >>> zangband: Cleaning up srcdir >>> zangband: Cleaning up pkgdir >>> zangband: Uninstalling dependencies... (1/51) Purging .makedepends-zangband (20240824.022928) (2/51) Purging ncurses (6.5_p20240601-r0) (3/51) Purging automake (1.17-r0) (4/51) Purging autoconf (2.72-r0) (5/51) Purging m4 (1.4.19-r3) (6/51) Purging ncurses-dev (6.5_p20240601-r0) (7/51) Purging libncurses++ (6.5_p20240601-r0) (8/51) Purging libpanelw (6.5_p20240601-r0) (9/51) Purging agetty-openrc (0.54.2-r1) (10/51) Purging agetty (2.40.2-r0) (11/51) Purging blkid (2.40.2-r0) (12/51) Purging cfdisk (2.40.2-r0) (13/51) Purging dmesg (2.40.2-r0) (14/51) Purging findmnt (2.40.2-r0) (15/51) Purging flock (2.40.2-r0) (16/51) Purging fstrim (2.40.2-r0) (17/51) Purging git-perl (2.46.0-r0) (18/51) Purging perl-git (2.46.0-r0) (19/51) Purging perl-error (0.17029-r2) (20/51) Purging perl (5.40.0-r1) (21/51) Purging hexdump (2.40.2-r0) (22/51) Purging libbz2 (1.0.8-r6) (23/51) Purging libformw (6.5_p20240601-r0) (24/51) Purging libmenuw (6.5_p20240601-r0) (25/51) Purging logger (2.40.2-r0) (26/51) Purging losetup (2.40.2-r0) (27/51) Purging lsblk (2.40.2-r0) (28/51) Purging mcookie (2.40.2-r0) (29/51) Purging mount (2.40.2-r0) (30/51) Purging partx (2.40.2-r0) (31/51) Purging runuser (2.40.2-r0) (32/51) Purging setpriv (2.40.2-r0) (33/51) Purging sfdisk (2.40.2-r0) (34/51) Purging umount (2.40.2-r0) (35/51) Purging util-linux-misc (2.40.2-r0) (36/51) Purging setarch (2.40.2-r0) (37/51) Purging util-linux-openrc (2.40.2-r0) (38/51) Purging uuidgen (2.40.2-r0) (39/51) Purging wipefs (2.40.2-r0) (40/51) Purging libfdisk (2.40.2-r0) (41/51) Purging libmount (2.40.2-r0) (42/51) Purging libblkid (2.40.2-r0) (43/51) Purging libcap-ng (0.8.5-r0) (44/51) Purging libeconf (0.6.3-r0) (45/51) Purging libsmartcols (2.40.2-r0) (46/51) Purging libuuid (2.40.2-r0) (47/51) Purging linux-pam (1.6.1-r0) (48/51) Purging utmps-libs (0.1.2.2-r1) (49/51) Purging skalibs (2.14.2.0-r0) (50/51) Purging util-linux (2.40.2-r0) (51/51) Purging sqlite-libs (3.46.1-r0) Executing busybox-1.36.1-r31.trigger OK: 283 MiB in 104 packages >>> zangband: Updating the community/loongarch64 repository index... >>> zangband: Signing the index...