* Package: games-roguelike/tomenet-4.9.1:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: X abi_x86_64 amd64 client elibc_glibc kernel_linux server * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tomenet-4.9.1.tar.bz2 to /var/tmp/portage/games-roguelike/tomenet-4.9.1/work >>> Source unpacked in /var/tmp/portage/games-roguelike/tomenet-4.9.1/work >>> Preparing source in /var/tmp/portage/games-roguelike/tomenet-4.9.1/work/tomenet-4.9.1/src ... * Applying tomenet-4.9.1-makefile.patch ... [ ok ] * Applying tomenet-4.9.1-disable-experimental.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-roguelike/tomenet-4.9.1/work/tomenet-4.9.1/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-roguelike/tomenet-4.9.1/work/tomenet-4.9.1/src ... make -j4 USE_X=1 CC=x86_64-pc-linux-gnu-gcc 'CPP=x86_64-pc-linux-gnu-gcc -E' GENTOO_CPPFLAGS= -f makefile tomenet accedit tomenet.server x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/z-util.o -c common/z-util.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/z-virt.o -c common/z-virt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/z-form.o -c common/z-form.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/z-rand.o -c common/z-rand.c /bin/sh: line 1: sdl2-config: command not found /bin/sh: line 1: sdl2-config: command not found /bin/sh: line 1: sdl2-config: command not found /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/net-unix.o -c common/net-unix.c /bin/sh: line 1: sdl2-config: command not found x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/sockbuf.o -c common/sockbuf.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/net-ibm.o -c common/net-ibm.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o common/common.o -c common/common.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/z-term.o -c client/z-term.c /bin/sh: line 1: sdl2-config: command not found /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/c-util.o -c client/c-util.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/c-cmd.o -c client/c-cmd.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/c-inven.o -c client/c-inven.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition client/c-util.c: In function ‘do_cmd_options’: client/c-util.c:10186:25: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10186 | system("wget --connect-timeout=3 https://www.tomenet.eu/TomeNET-Guide.txt"); //something changed in the web server's cfg; curl still works fine, but now wget needs the timeout setting; wget.exe for Windows still works! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-util.c:10191:33: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10191 | fgets(out_val, 2, fp); | ^~~~~~~~~~~~~~~~~~~~~ client/c-inven.c: In function ‘c_get_item’: client/c-inven.c:1155:38: warning: ‘) ’ directive writing 2 bytes into a region of size between 0 and 159 [-Wformat-overflow=] 1155 | sprintf(tmp_val, "(%s) %s", out_val, pmt); | ^~ In file included from /usr/include/stdio.h:980, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-inven.c:2: In function ‘sprintf’, inlined from ‘c_get_item’ at client/c-inven.c:1155:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 163) into a destination of size 160 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/c-files.o -c client/c-files.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/c-tables.o -c client/c-tables.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/c-store.o -c client/c-store.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition client/c-files.c: In function ‘file_character’: client/c-files.c:1634:40: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] 1634 | sprintf(linebuf, "%c%s %s\n", index_to_label(i), paren, buf); | ^~ ~~~ In file included from /usr/include/stdio.h:980, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-files.c:7: In function ‘sprintf’, inlined from ‘file_character’ at client/c-files.c:1634:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 5 and 1028 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-cmd.c: In function ‘png_screenshot’: client/c-cmd.c:6240:104: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 973 [-Wformat-overflow=] 6240 | mand, "firefox --headless --window-size 640,%s --screenshot %s file://%s", | ^~ 6241 | 6242 | me, | ~~ In file included from /usr/include/stdio.h:980, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-cmd.c:2: In function ‘sprintf’, inlined from ‘png_screenshot’ at client/c-cmd.c:6240:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 60 or more bytes (assuming 1083) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-cmd.c: In function ‘png_screenshot’: client/c-store.c: In function ‘store_paste_where’: client/c-store.c:348:41: warning: ‘) ÿ’ directive output may be truncated writing 3 bytes into a region of size between 1 and 11 [-Wformat-truncation=] 348 | snprintf(where, 17, "\377s(%d,%d) \377%c%c\377s:", | ^~~~~~ In file included from /usr/include/stdio.h:980, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-store.c:6: In function ‘snprintf’, inlined from ‘store_paste_where’ at client/c-store.c:348:2: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 15 and 25 bytes into a destination of size 17 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-cmd.c:6218:145: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 924 [-Wformat-overflow=] 6218 | background-color=00000000 --window-size=640x%s --screenshot=%s file://%s", | ^~ 6219 | 6220 | | In function ‘sprintf’, inlined from ‘png_screenshot’ at client/c-cmd.c:6218:4: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 109 or more bytes (assuming 1132) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-cmd.c: In function ‘png_screenshot’: client/c-cmd.c:6194:139: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 922 [-Wformat-overflow=] 6194 | background-color=00000000 --window-size=640x%s --screenshot=%s file://%s", | ^~ 6195 | 6196 | | In function ‘sprintf’, inlined from ‘png_screenshot’ at client/c-cmd.c:6194:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 111 or more bytes (assuming 1134) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-files.c: In function ‘xhtml_screenshot’: client/c-files.c:1852:25: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1852 | strncpy(buf, name, x); | ^ client/c-files.c:1781:13: note: length computed here 1781 | x = strlen(name) - 4; | ^~~~~~~~~~~~ client/c-files.c:1857:51: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] 1857 | snprintf(file_name, 256, "%s_%04d-%02d-%02d_%02d-%02d-%02d.xhtml", buf, | ^~ ~~~ client/c-files.c:1857:50: note: directive argument in the range [-2147481748, 2147483647] 1857 | snprintf(file_name, 256, "%s_%04d-%02d-%02d_%02d-%02d-%02d.xhtml", buf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-files.c:1857:50: note: directive argument in the range [-2147483647, 2147483647] In function ‘snprintf’, inlined from ‘xhtml_screenshot’ at client/c-files.c:1857:4: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 27 and 1102 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-files.c: In function ‘xhtml_screenshot’: client/c-files.c:1849:51: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] 1849 | snprintf(file_name, 256, "%s%04d.xhtml", buf, max + 1); | ^~ ~~~ client/c-files.c:1849:50: note: directive argument in the range [-2147483647, 2147483647] 1849 | snprintf(file_name, 256, "%s%04d.xhtml", buf, max + 1); | ^~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘xhtml_screenshot’ at client/c-files.c:1849:4: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 11 and 1041 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-store.c: In function ‘store_chat’: client/c-store.c:501:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 238 and 254 [-Wformat-truncation=] 501 | snprintf(buf, MSG_LEN - 1, "%s %s", where, out_val); | ^~ ~~~~~~~ In function ‘snprintf’, inlined from ‘store_chat’ at client/c-store.c:501:2: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 2 and 273 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/c-init.o -c client/c-init.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In function ‘extract_url’, inlined from ‘copy_to_clipboard’ at client/c-util.c:1949:2: client/c-util.c:1744:29: warning: ‘c2’ may be used uninitialized [-Wmaybe-uninitialized] 1744 | if (prefix(c, "https://")) c2 = c + 8; | ^~~~~~~~~~~~~~~~~~~~~ client/c-util.c: In function ‘copy_to_clipboard’: client/c-util.c:1717:19: note: ‘c2’ was declared here 1717 | char *c, *c2, *be = NULL; | ^~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/variable.o -c client/variable.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/main-ibm.o -c client/main-ibm.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition client/c-util.c: In function ‘askfor_aux’: client/c-util.c:2668:41: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2668 | strncpy(&buf[l], tmpbuf, tmpl); //exclude terminating 0 | ^ client/c-util.c:2648:32: note: length computed here 2648 | tmpl = strlen(tmpbuf); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from /usr/include/memory.h:29, from client/../common/h-system.h:70, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-util.c:5: In function ‘strcpy’, inlined from ‘askfor_aux’ at client/c-util.c:2801:64: /usr/include/bits/string_fortified.h:79:10: warning: ‘__builtin_strcpy’ accessing 1 byte at offsets [0, 512000] and [0, 512000] overlaps 1 byte at offset [0, 511999] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strcpy’, inlined from ‘askfor_aux’ at client/c-util.c:2834:59: /usr/include/bits/string_fortified.h:79:10: warning: ‘__builtin_strcpy’ accessing 1 byte at offsets [0, 512000] and [0, 512000] overlaps 1 byte at offset [0, 511999] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/main-cap.o -c client/main-cap.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -g -O2 -DSOUND_SDL `sdl2-config --cflags` -DUSE_X11 -I/usr/X11R6/include -o client/main-gcu.o -c client/main-gcu.c /bin/sh: line 1: sdl2-config: command not found : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition client/c-cmd.c: In function ‘cmd_message’: client/c-cmd.c:6808:49: warning: ‘__builtin_strncat’ output may be truncated copying between 0 and 239 bytes from a string of length 255 [-Wstringop-truncation] 6808 | strncat(buf, tmp, sizeof(buf) - strlen(buf) - 1); | ^ client/c-cmd.c:6853:49: warning: ‘__builtin_strncat’ output may be truncated copying between 0 and 239 bytes from a string of length 255 [-Wstringop-truncation] 6853 | strncat(buf, tmp, sizeof(buf) - strlen(buf) - 1); | ^ client/main-gcu.c: In function ‘Term_xtra_gcu_alive’: client/main-gcu.c:473:29: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 473 | mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0); | ^~ client/main-gcu.c:473:44: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 473 | mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0); | ^~ client/main-gcu.c: In function ‘Term_nuke_gcu’: client/main-gcu.c:554:21: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 554 | mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0); | ^~ client/main-gcu.c:554:36: error: invalid use of incomplete typedef ‘WINDOW’ {aka ‘struct _win_st’} 554 | mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0); | ^~ make: *** [makefile:530: client/main-gcu.o] Error 1 make: *** Waiting for unfinished jobs.... client/c-util.c: In function ‘options_immediate’: client/c-util.c:8246:38: warning: ‘.prf’ directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 8246 | else sprintf(tmp, "%s.prf", cname); | ^~~~ In file included from /usr/include/stdio.h:980, from client/../common/h-system.h:20: In function ‘sprintf’, inlined from ‘options_immediate’ at client/c-util.c:8246:8, inlined from ‘options_immediate’ at client/c-util.c:8206:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 5 and 84 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-util.c: In function ‘options_immediate’: client/c-util.c:8245:77: warning: ‘%s’ directive writing up to 79 bytes into a region of size between 0 and 79 [-Wformat-overflow=] 8245 | if (strcmp(c_p_ptr->body_name, "Player")) sprintf(tmp, "%s%c%s.prf", cname, PRF_BODY_SEPARATOR, c_p_ptr->body_name); | ^~ In function ‘sprintf’, inlined from ‘options_immediate’ at client/c-util.c:8245:45, inlined from ‘options_immediate’ at client/c-util.c:8206:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 164 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-init.c: In function ‘monster_stats_aux’: client/c-init.c:1391:57: warning: ‘__builtin_strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 1391 | strncat(paste_lines[pl], p1, strlen(p1) - strlen(p3)); | ^ client/c-init.c:1377:71: note: length computed here 1377 | if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here) | ^~~~~~~~~~ In function ‘strcpy’, inlined from ‘auto_inscriptions’ at client/c-util.c:7931:4: /usr/include/bits/string_fortified.h:79:10: warning: ‘__builtin_strcpy’ accessing 1 byte at offsets [0, 27500] and [0, 27500] overlaps 1 byte at offset [0, 27499] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strcpy’, inlined from ‘auto_inscriptions’ at client/c-util.c:7935:4: /usr/include/bits/string_fortified.h:79:10: warning: ‘__builtin_strcpy’ accessing 1 byte at offsets [0, 9500] and [0, 9500] overlaps 1 byte at offset [0, 9499] [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-util.c: In function ‘do_cmd_options_fonts’: client/c-util.c:9091:60: warning: ‘%-18s’ directive writing between 18 and 12799 bytes into a region of size 256 [-Wformat-overflow=] 9091 | sprintf(tmp_name, "%-18s", font_name[j]); | ^~~~~ In function ‘sprintf’, inlined from ‘do_cmd_options_fonts’ at client/c-util.c:9091:6: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 12800 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-init.c: In function ‘artifact_stats_aux’: client/c-init.c:2711:57: warning: ‘__builtin_strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 2711 | strncat(paste_lines[pl], p1, strlen(p1) - strlen(p3)); | ^ client/c-init.c:2697:71: note: length computed here 2697 | if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here) | ^~~~~~~~~~ client/c-util.c: In function ‘interact_macros’: client/c-util.c:4836:87: warning: ‘.prf’ directive writing 4 bytes into a region of size between 1 and 159 [-Wformat-overflow=] 4836 | (strcmp(c_p_ptr->body_name, "Player")) sprintf(tmp, "%s%c%s.prf", cname, PRF_BODY_SEPARATOR, c_p_ptr->body_name); | ^~~~ In function ‘sprintf’, inlined from ‘interact_macros’ at client/c-util.c:4836:46: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 164 bytes into a destination of size 160 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-cmd.c: In function ‘process_command’: client/c-cmd.c:7915:33: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 7915 | strncpy(buf + 8, fshex, 8); | ^ client/c-cmd.c:7921:33: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 8 [-Wstringop-truncation] 7921 | strncpy(buf + 16, fshex, 8); | ^ * ERROR: games-roguelike/tomenet-4.9.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-roguelike/tomenet-4.9.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-roguelike/tomenet-4.9.1::gentoo'`. * The complete build log is located at '/var/log/portage/games-roguelike:tomenet-4.9.1:20240727-083724.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-roguelike/tomenet-4.9.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-roguelike/tomenet-4.9.1/temp/environment'. * Working directory: '/var/tmp/portage/games-roguelike/tomenet-4.9.1/work/tomenet-4.9.1/src' * S: '/var/tmp/portage/games-roguelike/tomenet-4.9.1/work/tomenet-4.9.1/src'