>>> xsoldier: Building testing/xsoldier 1.8-r1 (using abuild 3.13.0-r3) started Fri, 12 Jul 2024 01:48:33 +0000 >>> xsoldier: Checking sanity of /home/buildozer/aports/testing/xsoldier/APKBUILD... >>> xsoldier: Analyzing dependencies... >>> xsoldier: Installing for build: build-base libx11-dev libxpm-dev (1/34) Installing libxau (1.0.11-r4) (2/34) Installing xorgproto (2024.1-r0) (3/34) Installing libxau-dev (1.0.11-r4) (4/34) Installing libbz2 (1.0.8-r6) (5/34) Installing libffi (3.4.6-r0) (6/34) Installing gdbm (1.24-r0) (7/34) Installing xz-libs (5.6.2-r0) (8/34) Installing mpdecimal (4.0.0-r0) (9/34) Installing libpanelw (6.5_p20240601-r0) (10/34) Installing readline (8.2.10-r0) (11/34) Installing sqlite-libs (3.46.0-r0) (12/34) Installing python3 (3.12.3-r1) (13/34) Installing python3-pycache-pyc0 (3.12.3-r1) (14/34) Installing pyc (3.12.3-r1) (15/34) Installing xcb-proto-pyc (1.16.0-r1) (16/34) Installing python3-pyc (3.12.3-r1) (17/34) Installing xcb-proto (1.16.0-r1) (18/34) Installing libmd (1.1.0-r0) (19/34) Installing libbsd (0.12.2-r0) (20/34) Installing libxdmcp (1.1.5-r1) (21/34) Installing libxcb (1.16.1-r0) (22/34) Installing libxdmcp-dev (1.1.5-r1) (23/34) Installing libxcb-dev (1.16.1-r0) (24/34) Installing xtrans (1.5.0-r0) (25/34) Installing libx11 (1.8.9-r1) (26/34) Installing libx11-dev (1.8.9-r1) (27/34) Installing libxext (1.3.6-r2) (28/34) Installing libice (1.1.1-r6) (29/34) Installing libuuid (2.40.1-r1) (30/34) Installing libsm (1.2.4-r4) (31/34) Installing libxt (1.3.0-r5) (32/34) Installing libxpm (3.5.17-r0) (33/34) Installing libxpm-dev (3.5.17-r0) (34/34) Installing .makedepends-xsoldier (20240712.014856) Executing busybox-1.36.1-r31.trigger OK: 265 MiB in 133 packages >>> xsoldier: Cleaning up srcdir >>> xsoldier: Cleaning up pkgdir >>> xsoldier: Cleaning up tmpdir >>> xsoldier: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xsoldier-1.8.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> xsoldier: Fetching http://www.interq.or.jp/libra/oohara/xsoldier/xsoldier-1.8.tar.gz Connecting to www.interq.or.jp (150.95.255.219:80) saving to '/var/cache/distfiles/xsoldier-1.8.tar.gz.part' xsoldier-1.8.tar.gz. 100% |********************************| 174k 0:00:00 ETA '/var/cache/distfiles/xsoldier-1.8.tar.gz.part' saved >>> xsoldier: Fetching https://distfiles.alpinelinux.org/distfiles/edge/xsoldier-1.8.tar.gz >>> xsoldier: Checking sha512sums... xsoldier-1.8.tar.gz: OK xsoldier.desktop: OK xsoldier.xpm: OK >>> xsoldier: Unpacking /var/cache/distfiles/xsoldier-1.8.tar.gz... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for gawk... (cached) awk checking for loongarch64-alpine-linux-musl-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for atexit... yes checking for memset... yes checking for strrchr... yes checking for rand... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory '/home/buildozer/aports/testing/xsoldier/src/xsoldier-1.8' gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT boss.o -MD -MP -MF .deps/boss.Tpo -c -o boss.o boss.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT ending.o -MD -MP -MF .deps/ending.Tpo -c -o ending.o ending.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT enemy.o -MD -MP -MF .deps/enemy.Tpo -c -o enemy.o enemy.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT enemyshot.o -MD -MP -MF .deps/enemyshot.Tpo -c -o enemyshot.o enemyshot.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT graphic.o -MD -MP -MF .deps/graphic.Tpo -c -o graphic.o graphic.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT image.o -MD -MP -MF .deps/image.Tpo -c -o image.o image.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT joystick.o -MD -MP -MF .deps/joystick.Tpo -c -o joystick.o joystick.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT manage.o -MD -MP -MF .deps/manage.Tpo -c -o manage.o manage.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT opening.o -MD -MP -MF .deps/opening.Tpo -c -o opening.o opening.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT score.o -MD -MP -MF .deps/score.Tpo -c -o score.o score.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT sin.o -MD -MP -MF .deps/sin.Tpo -c -o sin.o sin.c gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share\" -DLOCALSTATEDIR=\"/var/games/xsoldier\" -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -pedantic -Wno-long-long -Os -fstack-clash-protection -Wformat -Werror=format-security -MT star.o -MD -MP -MF .deps/star.Tpo -c -o star.o star.c mv -f .deps/joystick.Tpo .deps/joystick.Po enemy.c: In function 'EnemyAct1': enemy.c:76:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 76 | for (i =1; i< manage->Loop; i++) | ^~~ enemy.c:78:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 78 | my->shotTime = my->startTime; | ^~ enemyshot.c: In function 'RingToAngle': enemyshot.c:139:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 139 | if (speed <= 0) | ^~ enemyshot.c:142:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 142 | manage->New.Data.hitAtt = MEnemy; | ^~~~~~ enemyshot.c: In function 'LaserShot': enemyshot.c:264:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 264 | if (speed <= 0) | ^~ enemyshot.c:267:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 267 | manage->New.Data.hitAtt = MEShot; | ^~~~~~ enemyshot.c: In function 'BoundShot': enemyshot.c:296:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 296 | if ((ix == 0) && (iy == 0)) | ^~ enemyshot.c:299:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 299 | manage->New.Data.hitAtt = MEnemy; | ^~~~~~ mv -f .deps/sin.Tpo .deps/sin.Po game.c: In function 'mainLoop': game.c:171:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 171 | if (manage->flag_maxlevel == True) | ^~ game.c:174:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 174 | ClearManage(manage); | ^~~~~~~~~~~ In file included from main.c:36: /usr/include/wait.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ main.c: In function 'arginit': manage.c: In function 'NewPlayerData': main.c:177:48: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 177 | fprintf(stderr, "truncated to %d chars\n", | ~^ | | | int | %ld 178 | sizeof(display) - 1); | ~~~~~~~~~~~~~~~~~~~ | | | long unsigned int manage.c:397:30: error: format not a string literal and no format arguments [-Werror=format-security] 397 | sprintf(New->Rec[0].name,name); | ^~~~ mv -f .deps/common.Tpo .deps/common.Po mv -f .deps/callback.Tpo .deps/callback.Po mv -f .deps/ending.Tpo .deps/ending.Po mv -f .deps/star.Tpo .deps/star.Po mv -f .deps/opening.Tpo .deps/opening.Po mv -f .deps/image.Tpo .deps/image.Po mv -f .deps/input.Tpo .deps/input.Po mv -f .deps/main.Tpo .deps/main.Po mv -f .deps/score.Tpo .deps/score.Po mv -f .deps/enemyshot.Tpo .deps/enemyshot.Po mv -f .deps/graphic.Tpo .deps/graphic.Po cc1: some warnings being treated as errors make[1]: *** [Makefile:391: manage.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/player.Tpo .deps/player.Po mv -f .deps/game.Tpo .deps/game.Po mv -f .deps/enemy.Tpo .deps/enemy.Po mv -f .deps/boss.Tpo .deps/boss.Po make[1]: Leaving directory '/home/buildozer/aports/testing/xsoldier/src/xsoldier-1.8' make: *** [Makefile:269: all] Error 2 >>> ERROR: xsoldier: build failed >>> xsoldier: Uninstalling dependencies... (1/34) Purging .makedepends-xsoldier (20240712.014856) (2/34) Purging libxpm-dev (3.5.17-r0) (3/34) Purging libxpm (3.5.17-r0) (4/34) Purging libx11-dev (1.8.9-r1) (5/34) Purging xtrans (1.5.0-r0) (6/34) Purging libxcb-dev (1.16.1-r0) (7/34) Purging xcb-proto-pyc (1.16.0-r1) (8/34) Purging xcb-proto (1.16.0-r1) (9/34) Purging libxdmcp-dev (1.1.5-r1) (10/34) Purging libxext (1.3.6-r2) (11/34) Purging libxt (1.3.0-r5) (12/34) Purging python3-pyc (3.12.3-r1) (13/34) Purging python3-pycache-pyc0 (3.12.3-r1) (14/34) Purging pyc (3.12.3-r1) (15/34) Purging python3 (3.12.3-r1) (16/34) Purging gdbm (1.24-r0) (17/34) Purging libx11 (1.8.9-r1) (18/34) Purging libxcb (1.16.1-r0) (19/34) Purging libxdmcp (1.1.5-r1) (20/34) Purging libbsd (0.12.2-r0) (21/34) Purging libbz2 (1.0.8-r6) (22/34) Purging libffi (3.4.6-r0) (23/34) Purging libsm (1.2.4-r4) (24/34) Purging libice (1.1.1-r6) (25/34) Purging libmd (1.1.0-r0) (26/34) Purging libpanelw (6.5_p20240601-r0) (27/34) Purging libuuid (2.40.1-r1) (28/34) Purging libxau-dev (1.0.11-r4) (29/34) Purging libxau (1.0.11-r4) (30/34) Purging mpdecimal (4.0.0-r0) (31/34) Purging readline (8.2.10-r0) (32/34) Purging sqlite-libs (3.46.0-r0) (33/34) Purging xorgproto (2024.1-r0) (34/34) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r31.trigger OK: 213 MiB in 99 packages