* Package: games-arcade/grande-KXL-0.6-r2: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 grande-KXL-0.6.tar.gz to /var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work >>> Unpacking grande-KXL.png to /var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work unpack grande-KXL.png: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work >>> Preparing source in /var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6 ... * Applying grande-KXL-0.6-cflags.patch ... [ ok ] * Applying grande-KXL-0.6-paths.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6' ... * Running 'aclocal --system-acdir=/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/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: grande-KXL-0.6/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6 ... * econf: updating grande-KXL-0.6/config.sub with /usr/share/gnuconfig/config.sub * econf: updating grande-KXL-0.6/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/grande-KXL-0.6-r2 --htmldir=/usr/share/doc/grande-KXL-0.6-r2/html --libdir=/usr/lib64 --with-highscore-path=/var/games 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... clang 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 clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking whether make sets $(MAKE)... (cached) yes checking for main in -lKXL... yes checking how to run the C preprocessor... clang -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 Makefile config.status: creating src/Makefile config.status: creating src/stg/Makefile config.status: creating src/wav/Makefile config.status: creating src/bmp/Makefile config.status: creating grande.spec config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/temp/clang14.log' -> '/var/tmp/clang/games-arcade/grande-KXL-0.6-r2/clang14.log' '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/temp/clang15.log' -> '/var/tmp/clang/games-arcade/grande-KXL-0.6-r2/clang15.log' >>> Compiling source in /var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6 ... make -j4 Making all in src make[1]: Entering directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src' Making all in bmp make[2]: Entering directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src/bmp' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src/bmp' Making all in wav make[2]: Entering directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src/wav' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src/wav' Making all in stg make[2]: Entering directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src/stg' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src/stg' make[2]: Entering directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src' clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"grande-KXL\" -DVERSION=\"0.6\" -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 -I. -DINST_PATH=\"/usr/share/grande\" -DSCORE_PATH=\"/var/games\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o boss.o boss.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"grande-KXL\" -DVERSION=\"0.6\" -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 -I. -DINST_PATH=\"/usr/share/grande\" -DSCORE_PATH=\"/var/games\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o misc.o misc.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"grande-KXL\" -DVERSION=\"0.6\" -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 -I. -DINST_PATH=\"/usr/share/grande\" -DSCORE_PATH=\"/var/games\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o game.o game.c clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"grande-KXL\" -DVERSION=\"0.6\" -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 -I. -DINST_PATH=\"/usr/share/grande\" -DSCORE_PATH=\"/var/games\" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o main.o main.c boss.c:262:1: warning: non-void function does not return a value [-Wreturn-type] } ^ misc.c:104:20: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Uint8 *str[3] = {"Clear", "GameOver", "See you next"}; ^~~~~~~ misc.c:104:29: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Uint8 *str[3] = {"Clear", "GameOver", "See you next"}; ^~~~~~~~~~ misc.c:104:41: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Uint8 *str[3] = {"Clear", "GameOver", "See you next"}; ^~~~~~~~~~~~~~ misc.c:107:5: error: call to undeclared function 'ScoreRanking'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ScoreRanking(); ^ misc.c:113:12: warning: passing 'char[52]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KXL_Font("-bitstream-charter-bold-*-normal-*-60-*-*-*-*-*-*-*", 0x00, ... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/KXL.h:278:29: note: passing argument to parameter 'str' here void KXL_Font(Uint8 *str, Uint8 r, Uint8 g, Uint8 b); ^ misc.c:120:13: warning: passing 'char[53]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KXL_Font( "-adobe-courier-bold-r-normal--14-*-*-*-*-*-iso8859-1", 0xff... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/KXL.h:278:29: note: passing argument to parameter 'str' here void KXL_Font(Uint8 *str, Uint8 r, Uint8 g, Uint8 b); ^ 5 warnings and 1 error generated. main.c:27:26: warning: passing 'char[30]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmp = KXL_LoadBitmap(INST_PATH "/bmp/kxl.bmp", 0); ^~~~~~~~~~~~~~~~~~~~~~~~ :22:19: note: expanded from here #define INST_PATH "/usr/share/grande" ^ /usr/include/KXL.h:288:35: note: passing argument to parameter 'filename' here KXL_Image *KXL_LoadBitmap(Uint8 *filename, Uint8 blend); ^ main.c:225:20: warning: passing 'char[14]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] PACKAGE VERSION, ^~~~~~~~~~~~~~~ :7:17: note: expanded from here #define PACKAGE "grande-KXL" ^ /usr/include/KXL.h:267:57: note: passing argument to parameter 'title' here void KXL_CreateWindow(Uint16 w, Uint16 h, Uint8 *title, Uint32 event); ^ main.c:232:29: warning: passing 'char[9]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gJoyok = KXL_OpenJoystick(JS_DEV); ^~~~~~ main.c:11:20: note: expanded from macro 'JS_DEV' #define JS_DEV "/dev/js0" ^~~~~~~~~~ /usr/include/KXL.h:341:30: note: passing argument to parameter 'devname' here Bool KXL_OpenJoystick(Uint8 *devname); ^ main.c:276:23: warning: passing 'char *' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KXL_DisplayName(argv[i + 1]); ^~~~~~~~~~~ /usr/include/KXL.h:266:36: note: passing argument to parameter 'name' here void KXL_DisplayName(Uint8 *name); ^ make[2]: *** [Makefile:426: misc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... main.c:291:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "pow", ^~~~~ main.c:292:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "bomb", ^~~~~~ main.c:293:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "shot", ^~~~~~ main.c:294:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "go", ^~~~ main.c:295:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "mbomb", ^~~~~~~ main.c:296:5: warning: initializing 'Uint8 *' (aka 'unsigned char *') with an expression of type 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] "" ^~ main.c:302:9: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] srand(time(NULL)); ^ main.c:308:17: warning: passing 'char[22]' to parameter of type 'Uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KXL_InitSound(INST_PATH "/wav", sname); ^~~~~~~~~~~~~~~~ :22:19: note: expanded from here #define INST_PATH "/usr/share/grande" ^ /usr/include/KXL.h:312:34: note: passing argument to parameter 'path' here void KXL_InitSound(Uint8 *path, Uint8 **fname); ^ 11 warnings and 1 error generated. make[2]: *** [Makefile:426: main.o] Error 1 game.c:261:17: warning: enumeration value 'RcHitBoss' not handled in switch [-Wswitch] switch (rc) { ^~ game.c:324:11: warning: passing 'Uint8[30]' (aka 'unsigned char[30]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buff, "Life %d", Root->Life); ^~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ game.c:330:11: warning: passing 'Uint8[30]' (aka 'unsigned char[30]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buff, "Score %06d", Root->Score); ^~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ game.c:337:13: warning: passing 'Uint8[30]' (aka 'unsigned char[30]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buff, "Sub %d-Max", Root->SubNo); ^~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ game.c:339:13: warning: passing 'Uint8[30]' (aka 'unsigned char[30]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buff, "Sub %d-%d", Root->SubNo, Root->SubLevel + 1); ^~~~ /usr/include/stdio.h:358:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ 1 warning generated. 5 warnings generated. make[2]: Leaving directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src' make[1]: *** [Makefile:442: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6/src' make: *** [Makefile:350: all-recursive] Error 1 * ERROR: games-arcade/grande-KXL-0.6-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/grande-KXL-0.6-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/grande-KXL-0.6-r2::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:grande-KXL-0.6-r2:20221004-020604.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6' * S: '/var/tmp/portage/games-arcade/grande-KXL-0.6-r2/work/grande-KXL-0.6'