* Package: games-emulation/gnuboy-1.0.3-r4:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux sdl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gnuboy-1.0.3.tar.gz to /var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work >>> Source unpacked in /var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work >>> Preparing source in /var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work/gnuboy-1.0.3 ... * Applying gnuboy-1.0.3-exec-stack.patch ... [ ok ] * Applying gnuboy-1.0.3-linux-headers.patch ... [ ok ] * Applying gnuboy-1.0.3-include.patch ... [ ok ] * Applying gnuboy-1.0.3-fix-implicit-decl-sprintf.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work/gnuboy-1.0.3' ... * Running 'aclocal --system-acdir=/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: gnuboy-1.0.3/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work/gnuboy-1.0.3 ... * econf: updating gnuboy-1.0.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gnuboy-1.0.3/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 --docdir=/usr/share/doc/gnuboy-1.0.3-r4 --htmldir=/usr/share/doc/gnuboy-1.0.3-r4/html --libdir=/usr/lib64 --without-x --with-sdl --disable-asm --disable-arch --disable-optimize 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 how to run the C preprocessor... clang -E checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c 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 whether byte ordering is bigendian... no checking for usleep... yes checking for sys/soundcard.h... yes checking for linux/joystick.h... yes checking for linux/fb.h... yes checking for vga_init in -lvga... no checking for sdl-config... yes checking for SDL_Init in -lSDL... yes checking for SDL/SDL.h... yes checking for X... disabled disabling warnings for non-gcc compiler configure: creating ./config.status config.status: creating Makefile config.status: creating sys/nix/config.h >>> Source configured. '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/temp/clang14.log' -> '/var/tmp/clang/games-emulation/gnuboy-1.0.3-r4/clang14.log' '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/temp/clang15.log' -> '/var/tmp/clang/games-emulation/gnuboy-1.0.3-r4/clang15.log' >>> Compiling source in /var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work/gnuboy-1.0.3 ... make -j4 clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I/usr/local/include -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -DIS_LINUX -c lcd.c -o lcd.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I/usr/local/include -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -DIS_LINUX -c refresh.c -o refresh.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I/usr/local/include -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -DIS_LINUX -c lcdc.c -o lcdc.o clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -I/usr/local/include -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -DIS_LINUX -c palette.c -o palette.o lcdc.c:40:2: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] hw_interrupt(flag, IF_STAT); ^ lcdc.c:47:3: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] hw_interrupt(IF_STAT, IF_STAT); ^ lcdc.c:64:17: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (stat != 1) hw_interrupt(0, IF_VBLANK); ^ lcdc.c:79:3: error: call to undeclared function 'lcd_begin'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] lcd_begin(); ^ lcdc.c:104:6: error: call to undeclared function 'hw_hdma'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] hw_hdma(); ^ lcdc.c:120:5: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] hw_interrupt(IF_VBLANK, IF_VBLANK); ^ lcdc.c:125:5: error: call to undeclared function 'lcd_begin'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] lcd_begin(); ^ lcdc.c:143:4: error: call to undeclared function 'lcd_refreshline'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] lcd_refreshline(); ^ lcdc.c:150:5: error: call to undeclared function 'hw_hdma'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] hw_hdma(); ^ lcdc.c:160:6: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] hw_interrupt(IF_VBLANK, IF_VBLANK); ^ 10 errors generated. make: *** [Rules:18: lcdc.o] Error 1 make: *** Waiting for unfinished jobs.... lcd.c:565:15: error: call to undeclared function 'pal_set332'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (rgb332) pal_set332(); ^ palette.c:105:3: error: call to undeclared function 'vid_setpal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] vid_setpal(n, r, g, b); ^ lcd.c:566:8: error: call to undeclared function 'pal_expire'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] else pal_expire(); ^ palette.c:143:3: error: call to undeclared function 'vid_setpal'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] vid_setpal(i++, (r<<5)|(r<<2)|(r>>1), ^ 2 errors generated. lcd.c:636:4: error: call to undeclared function 'refresh_1'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_1(dest, BUF, PAL1, 160); ^ lcd.c:639:4: error: call to undeclared function 'refresh_2'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_2(dest, BUF, PAL2, 160); ^ lcd.c:642:4: error: call to undeclared function 'refresh_3'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_3(dest, BUF, PAL4, 160); ^ lcd.c:645:4: error: call to undeclared function 'refresh_4'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_4(dest, BUF, PAL4, 160); ^ lcd.c:653:4: error: call to undeclared function 'refresh_2'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_2(dest, BUF, PAL2, 160); ^ lcd.c:656:4: error: call to undeclared function 'refresh_4'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_4(dest, BUF, PAL4, 160); ^ lcd.c:659:4: error: call to undeclared function 'refresh_3_2x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_3_2x(dest, BUF, PAL4, 160); ^ lcd.c:662:4: error: call to undeclared function 'refresh_4_2x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_4_2x(dest, BUF, PAL4, 160); ^ lcd.c:670:4: error: call to undeclared function 'refresh_3'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_3(dest, BUF, PAL4, 160); ^ lcd.c:673:4: error: call to undeclared function 'refresh_2_3x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_2_3x(dest, BUF, PAL2, 160); ^ lcd.c:676:4: error: call to undeclared function 'refresh_3_3x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_3_3x(dest, BUF, PAL4, 160); ^ lcd.c:679:4: error: call to undeclared function 'refresh_4_3x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_4_3x(dest, BUF, PAL4, 160); ^ lcd.c:687:4: error: call to undeclared function 'refresh_4'; ISO C99 make: *** [Rules:18: palette.o] Error 1 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_4(dest, BUF, PAL4, 160); ^ lcd.c:690:4: error: call to undeclared function 'refresh_4_2x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_4_2x(dest, BUF, PAL4, 160); ^ lcd.c:693:4: error: call to undeclared function 'refresh_3_4x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_3_4x(dest, BUF, PAL4, 160); ^ lcd.c:696:4: error: call to undeclared function 'refresh_4_4x'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] refresh_4_4x(dest, BUF, PAL4, 160); ^ lcd.c:758:3: error: call to undeclared function 'pal_release'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] pal_release(PAL1[i]); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [Rules:18: lcd.o] Error 1 * ERROR: games-emulation/gnuboy-1.0.3-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-emulation/gnuboy-1.0.3-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/gnuboy-1.0.3-r4::gentoo'`. * The complete build log is located at '/var/log/portage/games-emulation:gnuboy-1.0.3-r4:20221002-235822.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work/gnuboy-1.0.3' * S: '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work/gnuboy-1.0.3'