* Package: games-emulation/gngb-20060309-r1:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux opengl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gngb-20060309.tar.gz to /var/tmp/portage/games-emulation/gngb-20060309-r1/work >>> Source unpacked in /var/tmp/portage/games-emulation/gngb-20060309-r1/work >>> Preparing source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... * Applying gngb-20060309-amd64.patch ... [ ok ] * Applying gngb-20060309-gcc34.patch ... [ ok ] * Applying gngb-20060309-gcc5.patch ... [ ok ] * Applying gngb-20060309-gcc7.patch ... [ ok ] * Applying gngb-20060309-inline.patch ... [ ok ] * Applying gngb-20060309-joystick.patch ... [ ok ] * Applying gngb-20060309-qwerty.patch ... [ ok ] * Applying gngb-20060309-gcc10.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' ... * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: gngb-20060309/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... * econf: updating gngb-20060309/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gngb-20060309/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gngb-20060309-r1 --htmldir=/usr/share/doc/gngb-20060309-r1/html --libdir=/usr/lib64 --enable-gl 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 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 whether byte ordering is bigendian... no checking for pthread_create in -lpthread... yes checking for sdl-config... yes checking for SDL_Init in -lSDL... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fcntl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for vprintf... yes checking for gettimeofday... yes checking for sleep... yes checking for mkdir... yes checking for socket... yes checking for strtol... yes checking for getopt_long... yes checking for bzlib.h... yes checking for BZ2_bzopen in -lbz2... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking for GL/gl.h... yes checking for glBegin in -lGL... yes Architeture: x86_64 System: Linux 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 config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' Making all in src make[2]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o cpu.o cpu.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o emu.o emu.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o frame_skip.o frame_skip.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o interrupt.o interrupt.c In file included from interrupt.c:25: cpu.h:83:17: warning: inline function ‘cpu_run’ declared but never defined 83 | __inline__ void cpu_run(void); | ^~~~~~~ cpu.h:82:18: warning: inline function ‘gbcpu_exec_one’ declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ In file included from interrupt.c:24: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ interrupt.c: In function ‘gblcdc_update3’: interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] 511 | } | ^ In file included from emu.c:44: video_std.h:54:17: warning: inline function ‘draw_obj_std’ declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from emu.c:38: cpu.h:83:17: warning: inline function ‘cpu_run’ declared but never defined 83 | __inline__ void cpu_run(void); | ^~~~~~~ cpu.h:82:18: warning: inline function ‘gbcpu_exec_one’ declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ In file included from emu.c:35: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ emu.c: In function ‘open_conf’: emu.c:282:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 282 | fgets(buf,510,f); | ^~~~~~~~~~~~~~~~ cpu.c: In function ‘gbcpu_exec_one’: cpu.c:881:14: warning: self-comparison always evaluates to false [-Wtautological-compare] 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); | ^ cpu.c:882:21: warning: self-comparison always evaluates to false [-Wtautological-compare] 882 | (((A&0x0f)>(A&0x0f))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); | ^ cpu.c: In function ‘cpu_run’: cpu.c:2913:24: error: implicit declaration of function ‘gbserial_read’; did you mean ‘gbserial_send’? [-Werror=implicit-function-declaration] 2913 | SB=gbserial_read(); | ^~~~~~~~~~~~~ | gbserial_send cpu.c:2920:21: error: implicit declaration of function ‘gbserial_write’; did you mean ‘gbserial_init’? [-Werror=implicit-function-declaration] 2920 | gbserial_write(SB); | ^~~~~~~~~~~~~~ | gbserial_init emu.c:299:13: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 299 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); | ^ emu.c:299:56: note: length computed here 299 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o main.o main.c In file included from main.c:37: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ In file included from main.c:35: cpu.h:83:17: warning: inline function ‘cpu_run’ declared but never defined 83 | __inline__ void cpu_run(void); | ^~~~~~~ cpu.h:82:18: warning: inline function ‘gbcpu_exec_one’ declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o memory.o memory.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o message.o message.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o rom.o rom.c In file included from message.c:28: video_std.h:54:17: warning: inline function ‘draw_obj_std’ declared but never defined 54 | __inline__ void draw_obj_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:53:17: warning: inline function ‘draw_spr_std’ declared but never defined 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~ video_std.h:52:17: warning: inline function ‘draw_win_std’ declared but never defined 52 | __inline__ void draw_win_std(Uint16 *buf); | ^~~~~~~~~~~~ video_std.h:51:17: warning: inline function ‘draw_back_std’ declared but never defined 51 | __inline__ void draw_back_std(Uint16 *buf); | ^~~~~~~~~~~~~ video_std.h:49:17: warning: inline function ‘draw_obj_col_std’ declared but never defined 49 | __inline__ void draw_obj_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:48:17: warning: inline function ‘draw_spr_col_std’ declared but never defined 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:47:17: warning: inline function ‘draw_win_col_std’ declared but never defined 47 | __inline__ void draw_win_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:46:17: warning: inline function ‘draw_back_col_std’ declared but never defined 46 | __inline__ void draw_back_col_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ video_std.h:44:17: warning: inline function ‘draw_obj_sgb_std’ declared but never defined 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:43:17: warning: inline function ‘draw_spr_sgb_std’ declared but never defined 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); | ^~~~~~~~~~~~~~~~ video_std.h:42:17: warning: inline function ‘draw_win_sgb_std’ declared but never defined 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~ video_std.h:41:17: warning: inline function ‘draw_back_sgb_std’ declared but never defined 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); | ^~~~~~~~~~~~~~~~~ In file included from video_std.h:22: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ memory.c:74:25: warning: data definition has no type or storage class 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; | ^~~~~~~~~ memory.c:74:25: error: type defaults to ‘int’ in declaration of ‘joy_x_max’ [-Werror=implicit-int] memory.c:74:41: warning: data definition has no type or storage class 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; | ^~~~~~~~~ memory.c:74:41: error: type defaults to ‘int’ in declaration of ‘joy_y_min’ [-Werror=implicit-int] memory.c:74:58: warning: data definition has no type or storage class 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; | ^~~~~~~~~ memory.c:74:58: error: type defaults to ‘int’ in declaration of ‘joy_y_max’ [-Werror=implicit-int] memory.c: In function ‘update_gb_pad’: memory.c:817:26: error: implicit declaration of function ‘movie_add_pad’ [-Werror=implicit-function-declaration] 817 | if (conf.save_movie) movie_add_pad(gb_pad); | ^~~~~~~~~~~~~ memory.c:819:12: error: implicit declaration of function ‘movie_get_next_pad’ [-Werror=implicit-function-declaration] 819 | gb_pad=movie_get_next_pad(); | ^~~~~~~~~~~~~~~~~~ memory.c: In function ‘mem_write_ff’: memory.c:984:11: error: implicit declaration of function ‘gbserial_write’; did you mean ‘gbserial_init’? [-Werror=implicit-function-declaration] 984 | gbserial_write(SB); | ^~~~~~~~~~~~~~ | gbserial_init In file included from memory.c:28: vram.h: At top level: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ In file included from memory.c:26: cpu.h:83:17: warning: inline function ‘cpu_run’ declared but never defined 83 | __inline__ void cpu_run(void); | ^~~~~~~ cpu.h:82:18: warning: inline function ‘gbcpu_exec_one’ declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ rom.c: In function ‘open_rom’: rom.c:124:11: error: implicit declaration of function ‘zip_file_open_next_rom’ [-Werror=implicit-function-declaration] 124 | if (zip_file_open_next_rom(stream->stream)<0) return -1; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from rom.c:43: vram.h: At top level: vram.h:108:18: warning: inline function ‘get_nb_spr’ declared but never defined 108 | __inline__ Uint8 get_nb_spr(void); | ^~~~~~~~~~ In file included from rom.c:41: cpu.h:83:17: warning: inline function ‘cpu_run’ declared but never defined 83 | __inline__ void cpu_run(void); | ^~~~~~~ cpu.h:82:18: warning: inline function ‘gbcpu_exec_one’ declared but never defined 82 | __inline__ Uint8 gbcpu_exec_one(void); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o serial.o serial.c serial.c: In function ‘gbserial_init’: serial.c:148:47: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] 148 | if ((n=accept(s,(struct sockaddr *)&saddr,&len))<0) { | ^~~~ | | | int * In file included from serial.c:26: /usr/include/sys/socket.h:307:42: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ serial.c: In function ‘gbserial_receive’: serial.c:226:10: warning: assignment to ‘Uint8’ {aka ‘unsigned char’} from ‘Uint8 *’ {aka ‘unsigned char *’} makes integer from pointer without a cast [-Wint-conversion] 226 | else SB=c; | ^ In file included from serial.c:45: serial.c: In function ‘gbserial_wait_data’: memory.h:59:18: warning: passing argument 2 of ‘write’ makes pointer from integer without a cast [-Wint-conversion] 59 | #define SB (himem[0x61]) | ~~~~~~^~~~~~~ | | | Uint8 {aka unsigned char} serial.c:266:21: note: in expansion of macro ‘SB’ 266 | write(dest_socket,SB,1); | ^~ In file included from serial.c:22: /usr/include/unistd.h:378:45: note: expected ‘const void *’ but argument is of type ‘Uint8’ {aka ‘unsigned char’} 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ~~~~~~~~~~~~^~~~~ serial.c: In function ‘gbserial_send’: serial.c:206:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 206 | write(dest_socket,&b,sizeof(Uint8)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serial.c: In function ‘gbserial_wait_data’: serial.c:266:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 266 | write(dest_socket,SB,1); | ^~~~~~~~~~~~~~~~~~~~~~~ serial.c: In function ‘gbserial_write’: serial.c:321:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 321 | write(dest_socket,&b,1); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:388: rom.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from serial.c:20: In function ‘read’, inlined from ‘gbserial_read’ at serial.c:312:8: /usr/include/bits/unistd.h:38:10: warning: call to ‘__read_chk_warn’ declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] 38 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:388: memory.o] Error 1 cc1: some warnings being treated as errors make[2]: *** [Makefile:388: cpu.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' make[1]: *** [Makefile:430: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' make: *** [Makefile:328: all] Error 2 * ERROR: games-emulation/gngb-20060309-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-emulation/gngb-20060309-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/gngb-20060309-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-emulation:gngb-20060309-r1:20221004-045718.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/gngb-20060309-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/gngb-20060309-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' * S: '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309'