* Package: games-arcade/xgalaga-2.1.1.0-r2:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xgalaga-2.1.1.0.tar.gz to /var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work >>> Source unpacked in /var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work >>> Preparing source in /var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0 ... * Applying xgalaga-2.1.1.0-respect-AR.patch ... [ ok ] * Applying xgalaga-2.1.1.0-function-and-ints.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0' ... * Running 'aclocal --system-acdir=/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/temp/aclocal' ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running 'autoconf --force' ... [ ok ] * Running 'autoheader --force' ... [ !! ] * Running elibtoolize in: xgalaga-2.1.1.0/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0 ... * econf: updating xgalaga-2.1.1.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating xgalaga-2.1.1.0/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 --docdir=/usr/share/doc/xgalaga-2.1.1.0-r2 --htmldir=/usr/share/doc/xgalaga-2.1.1.0-r2/html --libdir=/usr/lib64 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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 how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar 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 configure: host os is detected as linux-gnu configure: sound type choosen as native checking for main in -lX11... yes checking for main in -lXmu... yes checking for main in -lXt... yes checking for main in -lXext... yes checking for main in -lXExExt... no checking for main in -lXpm... 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 sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fcntl.h... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for random... yes checking for lrand48... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating libsprite/Makefile config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0 ... make -O -j4 for i in libsprite; do cd $i ; make ; done x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/\" -DSOUNDSERVER=\"/usr/bin/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c data.c -o data.o x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/\" -DSOUNDSERVER=\"/usr/bin/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c images.c -o images.o images.c: In function ‘getImage’: images.c:6893:1: warning: old-style function definition [-Wold-style-definition] 6893 | getImage(offset) | ^~~~~~~~ images.c: In function ‘cmpfilenames’: images.c:6907:5: warning: old-style function definition [-Wold-style-definition] 6907 | int cmpfilenames(left,right) | ^~~~~~~~~~~~ images.c: In function ‘loadImageByFilename’: images.c:6914:1: warning: old-style function definition [-Wold-style-definition] 6914 | loadImageByFilename(filename) | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/\" -DSOUNDSERVER=\"/usr/bin/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c paths.c -o paths.o make[1]: Entering directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' x86_64-pc-linux-gnu-gcc -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o border.o border.c border.c: In function ‘W_ChangeBorder’: border.c:4:1: warning: old-style function definition [-Wold-style-definition] 4 | W_ChangeBorder(window, color) | ^~~~~~~~~~~~~~ border.c: In function ‘redrawBorder’: border.c:30:1: warning: old-style function definition [-Wold-style-definition] 30 | redrawBorder(win) | ^~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' make[1]: Entering directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' x86_64-pc-linux-gnu-gcc -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o misc.o misc.c misc.c: In function ‘W_WindowWidth’: misc.c:16:1: warning: old-style function definition [-Wold-style-definition] 16 | W_WindowWidth(window) | ^~~~~~~~~~~~~ misc.c: In function ‘W_WindowHeight’: misc.c:23:1: warning: old-style function definition [-Wold-style-definition] 23 | W_WindowHeight(window) | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' make[1]: Entering directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' x86_64-pc-linux-gnu-gcc -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o cursor.o cursor.c cursor.c: In function ‘make_cursor’: cursor.c:5:1: warning: old-style function definition [-Wold-style-definition] 5 | make_cursor(bits, mask, width, height, xhot, yhot) | ^~~~~~~~~~~ cursor.c: In function ‘W_DefineTCrossCursor’: cursor.c:33:1: warning: old-style function definition [-Wold-style-definition] 33 | W_DefineTCrossCursor(window) | ^~~~~~~~~~~~~~~~~~~~ cursor.c: In function ‘W_DefineTextCursor’: cursor.c:40:1: warning: old-style function definition [-Wold-style-definition] 40 | W_DefineTextCursor(window) | ^~~~~~~~~~~~~~~~~~ cursor.c: In function ‘W_RevertCursor’: cursor.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | W_RevertCursor(window) | ^~~~~~~~~~~~~~ cursor.c: In function ‘W_DefineCursor’: cursor.c:75:1: warning: old-style function definition [-Wold-style-definition] 75 | W_DefineCursor(window, width, height, bits, mask, xhot, yhot) | ^~~~~~~~~~~~~~ cursor.c: In function ‘W_BlankCursor’: cursor.c:85:6: warning: old-style function definition [-Wold-style-definition] 85 | void W_BlankCursor(window) | ^~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' make[1]: Entering directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' x86_64-pc-linux-gnu-gcc -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o sector.o sector.c sector.c: In function ‘W_DrawSectorHighlight’: sector.c:4:1: warning: old-style function definition [-Wold-style-definition] 4 | W_DrawSectorHighlight(window, x, y, width, h, color) | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' make[1]: Entering directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' x86_64-pc-linux-gnu-gcc -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o buffer.o buffer.c buffer.c: In function ‘W_ClearBuffer’: buffer.c:6:1: warning: old-style function definition [-Wold-style-definition] 6 | W_ClearBuffer(window) | ^~~~~~~~~~~~~ buffer.c: In function ‘W_IsBuffered’: buffer.c:17:1: warning: old-style function definition [-Wold-style-definition] 17 | W_IsBuffered(window) | ^~~~~~~~~~~~ buffer.c: In function ‘W_Buffer’: buffer.c:26:1: warning: old-style function definition [-Wold-style-definition] 26 | W_Buffer(window, on) | ^~~~~~~~ buffer.c: In function ‘W_DisplayBuffer’: buffer.c:50:1: warning: old-style function definition [-Wold-style-definition] 50 | W_DisplayBuffer(window) | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' make[1]: Entering directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' x86_64-pc-linux-gnu-gcc -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o data.o data.c data.c:83:9: error: conflicting types for ‘strdup’; have ‘char *(void)’ 83 | char *strdup(); | ^~~~~~ In file included from data.c:8: /usr/include/string.h:187:14: note: previous declaration of ‘strdup’ with type ‘char *(const char *)’ 187 | extern char *strdup (const char *__s) | ^~~~~~ make[1]: *** [: data.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' x86_64-pc-linux-gnu-gcc -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -c -o init.o init.c init.c: In function ‘find_font’: init.c:10:1: warning: old-style function definition [-Wold-style-definition] 10 | find_font(oldf, fnts) | ^~~~~~~~~ init.c: In function ‘GetAltMask’: init.c:347:13: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 347 | k = XKeycodeToKeysym(W_Display, | ^ In file included from defs.h:30, from allincludes.h:4, from init.c:1: /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ init.c: In function ‘W_Initialize’: init.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | W_Initialize(str) | ^~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0/libsprite' make: *** [Makefile:78: subdirs] Error 2 make: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/\" -DSOUNDSERVER=\"/usr/bin/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c title.c -o title.o title.c: In function ‘read_credits’: title.c:154:25: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 154 | chLBuf[j] = 0x00; | ~~~~~~~~~~^~~~~~ title.c:116:19: note: at offset 71 into destination object ‘chLBuf.142’ of size 71 116 | char *chFBuf, chLBuf[LINESIZE+1]; | ^~~~~~ x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/\" -DSOUNDSERVER=\"/usr/bin/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c pathfile.c -o pathfile.o x86_64-pc-linux-gnu-gcc -I. -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/\" -DSOUNDSERVER=\"/usr/bin/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c main.c -o main.o main.c: In function ‘do_player’: main.c:826:13: warning: old-style function definition [-Wold-style-definition] 826 | static void do_player(mx, my, but) | ^~~~~~~~~ main.c: In function ‘main’: main.c:1273:1: warning: old-style function definition [-Wold-style-definition] 1273 | main(argc, argv) | ^~~~ * ERROR: games-arcade/xgalaga-2.1.1.0-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/xgalaga-2.1.1.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/xgalaga-2.1.1.0-r2::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:xgalaga-2.1.1.0-r2:20241118-065117.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0' * S: '/var/tmp/portage/games-arcade/xgalaga-2.1.1.0-r2/work/xgalaga-2.1.1.0'