* Package: games-emulation/gnuboy-1.0.3-r4:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: X abi_x86_64 amd64 elibc_glibc kernel_linux * 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. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> 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.guess with /usr/share/gnuconfig/config.guess * econf: updating gnuboy-1.0.3/config.sub with /usr/share/gnuconfig/config.sub ./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 --with-x --without-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.11/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 X... libraries , headers checking for XShmCreateImage in -lXext... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking for X11/extensions/XShm.h... no 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/clang16-errors.log' -> '/var/tmp/clang/games-emulation/gnuboy-1.0.3-r4/clang16-errors.log' '/var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/temp/clang16-safe.log' -> '/var/tmp/clang/games-emulation/gnuboy-1.0.3-r4/clang16-safe.log' >>> Compiling source in /var/tmp/portage/games-emulation/gnuboy-1.0.3-r4/work/gnuboy-1.0.3 ... make -j4 clang -O2 -pipe -march=native -fno-diagnostics-color -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 -O2 -pipe -march=native -fno-diagnostics-color -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 -O2 -pipe -march=native -fno-diagnostics-color -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 -O2 -pipe -march=native -fno-diagnostics-color -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 palette.clcdc.c::40105::23:: error: error: callcall toto undeclaredundeclared functionfunction 'vid_setpal';'hw_interrupt'; ISOISO C99C99 andand laterlater dodo notnot supportsupport implicitimplicit functionfunction declarationsdeclarations [-Wimplicit-function-declaration][-Wimplicit-function-declaration] 10540 | | hvwi_d_setpal(n, r, g, b); | ^ palette.c:143:3: error: call to undeclared function 'vid_setpal'; ISO C99 and i nlatert edor rnotu psupportt (implicitf lfunctiona gdeclarations, I[-Wimplicit-function-declaration]F _STAT )143; | | v ^i d_setpal(i++, (r<<5)|(r<<2)|(r>>1), | ^ lcdc.c:47:3: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | hw_interrupt(IF_STAT, IF_STAT); | ^ 2 errors generated. lcdc.c:64:17: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | 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 [-Wimplicit-function-declaration] 79 | lcd_begin(); | ^ lcdc.c:104:6: error: call to undeclared function 'hw_hdma'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | hw_hdma(); | ^ lcdc.c:120:5: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | 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 [-Wimplicit-function-declaration] 125 | lcd_begin(); | ^ lcdc.c:143:4: error: call to undeclared function 'lcd_refreshline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | lcd_refreshline(); | ^ lcdc.c:150:5: error: call to undeclared function 'hw_hdma'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | hw_hdma(); | ^ lcdc.c:160:6: error: call to undeclared function 'hw_interrupt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | hw_interrupt(IF_VBLANK, IF_VBLANK); | ^ 10 errors generated. make: *** [Rules:18: palette.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Rules:18: lcdc.o] Error 1 lcd.c:565:15: error: call to undeclared function 'pal_set332'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | if (rgb332) pal_set332(); | ^ lcd.c:566:8: error: call to undeclared function 'pal_expire'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 566 | else pal_expire(); | ^ lcd.c:636:4: error: call to undeclared function 'refresh_1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 636 | 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 [-Wimplicit-function-declaration] 639 | 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 [-Wimplicit-function-declaration] 642 | 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 [-Wimplicit-function-declaration] 645 | 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 [-Wimplicit-function-declaration] 653 | 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 [-Wimplicit-function-declaration] 656 | 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 [-Wimplicit-function-declaration] 659 | 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 [-Wimplicit-function-declaration] 662 | 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 [-Wimplicit-function-declaration] 670 | 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 [-Wimplicit-function-declaration] 673 | 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 [-Wimplicit-function-declaration] 676 | 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 [-Wimplicit-function-declaration] 679 | refresh_4_3x(dest, BUF, PAL4, 160); | ^ lcd.c:687:4: error: call to undeclared function 'refresh_4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | 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 [-Wimplicit-function-declaration] 690 | 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 [-Wimplicit-function-declaration] 693 | 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 [-Wimplicit-function-declaration] 696 | 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 [-Wimplicit-function-declaration] 758 | 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:20231227-225202.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'