* Package: games-action/spacearyarya-kxl-1.0.2-r3:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking SpaceAryarya-KXL-1.0.2.tar.gz to /var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work >>> Unpacking spacearyarya-kxl.png to /var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work unpack spacearyarya-kxl.png: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work >>> Preparing source in /var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2 ... * Applying spacearyarya-kxl-1.0.2-cflags.patch ... [ ok ] * Applying spacearyarya-kxl-1.0.2-clang.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2' ... * Running 'aclocal --system-acdir=/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: SpaceAryarya-KXL-1.0.2/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2 ... * econf: updating SpaceAryarya-KXL-1.0.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating SpaceAryarya-KXL-1.0.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/spacearyarya-kxl-1.0.2-r3 --htmldir=/usr/share/doc/spacearyarya-kxl-1.0.2-r3/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking whether make sets $(MAKE)... (cached) yes checking for main in -lKXL... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E 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... yes checking for KXL CFLAGS... checking for KXL LDFLAGS... -lKXL checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for KXL_CreateWindow in -lKXL... yes 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 grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for unistd.h... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating data/Makefile config.status: creating wav/Makefile config.status: creating bmp/Makefile config.status: creating src/Makefile config.status: creating spacearyarya.spec config.status: creating Makefile config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2 ... make -j4 Making all in data make[1]: Entering directory '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2/data' Making all in src make[1]: Entering directory '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2/src' x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SpaceAryarya-KXL\" -DVERSION=\"1.0.2\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/SpaceAryarya/data\" -DBMP_PATH=\"/usr/share/SpaceAryarya/bmp\" -DWAV_PATH=\"/usr/share/SpaceAryarya/wav\" -DTITLE=\"SpaceAryarya-KXL\ 1.0.2\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o game.o game.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SpaceAryarya-KXL\" -DVERSION=\"1.0.2\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/SpaceAryarya/data\" -DBMP_PATH=\"/usr/share/SpaceAryarya/bmp\" -DWAV_PATH=\"/usr/share/SpaceAryarya/wav\" -DTITLE=\"SpaceAryarya-KXL\ 1.0.2\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o load.o load.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SpaceAryarya-KXL\" -DVERSION=\"1.0.2\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/SpaceAryarya/data\" -DBMP_PATH=\"/usr/share/SpaceAryarya/bmp\" -DWAV_PATH=\"/usr/share/SpaceAryarya/wav\" -DTITLE=\"SpaceAryarya-KXL\ 1.0.2\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o main.o main.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SpaceAryarya-KXL\" -DVERSION=\"1.0.2\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/SpaceAryarya/data\" -DBMP_PATH=\"/usr/share/SpaceAryarya/bmp\" -DWAV_PATH=\"/usr/share/SpaceAryarya/wav\" -DTITLE=\"SpaceAryarya-KXL\ 1.0.2\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o misc.o misc.c load.c: In function ‘LoadStage’: load.c:148:19: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘Uint16 *’ {aka ‘short unsigned int *’} [-Wformat=] 148 | sscanf(buff,"%d%d%d%d", | ~^ | | | int * | %hd 149 | &(StageDatas[Root->StageMax]->Time), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint16 * {aka short unsigned int *} load.c:148:21: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 148 | sscanf(buff,"%d%d%d%d", | ~^ | | | int * | %hhd 149 | &(StageDatas[Root->StageMax]->Time), 150 | &(StageDatas[Root->StageMax]->CreateNo), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} load.c:148:23: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 148 | sscanf(buff,"%d%d%d%d", | ~^ | | | int * | %hhd ...... 151 | &(StageDatas[Root->StageMax]->Max), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} load.c:148:25: warning: format ‘%d’ expects argument of type ‘int *’, but argument 6 has type ‘Uint16 *’ {aka ‘short unsigned int *’} [-Wformat=] 148 | sscanf(buff,"%d%d%d%d", | ~^ | | | int * | %hd ...... 152 | &(StageDatas[Root->StageMax]->Step)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint16 * {aka short unsigned int *} main.c: In function ‘options’: main.c:137:10: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration] 137 | if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) { | ^~~~~~ main.c:7:1: note: include ‘’ or provide a declaration of ‘strcmp’ 6 | #include "extern.h" +++ |+#include 7 | main.c: In function ‘main’: main.c:172:9: error: implicit declaration of function ‘time’ [-Werror=implicit-function-declaration] 172 | srand(time(NULL)); | ^~~~ main.c:7:1: note: ‘time’ is defined in header ‘’; did you forget to ‘#include ’? 6 | #include "extern.h" +++ |+#include 7 | x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SpaceAryarya-KXL\" -DVERSION=\"1.0.2\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/SpaceAryarya/data\" -DBMP_PATH=\"/usr/share/SpaceAryarya/bmp\" -DWAV_PATH=\"/usr/share/SpaceAryarya/wav\" -DTITLE=\"SpaceAryarya-KXL\ 1.0.2\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o my.o my.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"SpaceAryarya-KXL\" -DVERSION=\"1.0.2\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDATA_PATH=\"/usr/share/SpaceAryarya/data\" -DBMP_PATH=\"/usr/share/SpaceAryarya/bmp\" -DWAV_PATH=\"/usr/share/SpaceAryarya/wav\" -DTITLE=\"SpaceAryarya-KXL\ 1.0.2\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o opening.o opening.c cc1: some warnings being treated as errors make[1]: *** [Makefile:380: main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2/src' make: *** [Makefile:348: all-recursive] Error 1 * ERROR: games-action/spacearyarya-kxl-1.0.2-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-action/spacearyarya-kxl-1.0.2-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-action/spacearyarya-kxl-1.0.2-r3::gentoo'`. * The complete build log is located at '/var/log/portage/games-action:spacearyarya-kxl-1.0.2-r3:20221005-110746.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/temp/environment'. * Working directory: '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2' * S: '/var/tmp/portage/games-action/spacearyarya-kxl-1.0.2-r3/work/SpaceAryarya-KXL-1.0.2'