* Package: games-roguelike/tomenet-4.7.3 * Repository: gentoo * Maintainer: games@gentoo.org * USE: X abi_x86_64 amd64 client elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tomenet-4.7.3.tar.bz2 to /var/tmp/portage/games-roguelike/tomenet-4.7.3/work >>> Source unpacked in /var/tmp/portage/games-roguelike/tomenet-4.7.3/work >>> Preparing source in /var/tmp/portage/games-roguelike/tomenet-4.7.3/work/tomenet-4.7.3/src ... * Applying tomenet-4.7.3-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-roguelike/tomenet-4.7.3/work/tomenet-4.7.3/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-roguelike/tomenet-4.7.3/work/tomenet-4.7.3/src ... make -j3 USE_X=1 CC=x86_64-pc-linux-gnu-gcc 'CPP=x86_64-pc-linux-gnu-gcc -E' GENTOO_CPPFLAGS= -f makefile tomenet x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/z-util.o -c common/z-util.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/z-virt.o -c common/z-virt.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/z-form.o -c common/z-form.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/h-system.h:20, from common/h-basic.h:16, from common/z-virt.h:14, from common/z-virt.c:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/h-system.h:20, from common/h-basic.h:16, from common/z-util.h:6, from common/z-util.c:5: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/h-system.h:20, from common/h-basic.h:16, from common/z-form.h:6, from common/z-form.c:5: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/z-rand.o -c common/z-rand.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/net-unix.o -c common/net-unix.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/h-system.h:20, from common/h-basic.h:16, from common/z-rand.h:6, from common/z-rand.c:5: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/../common/h-system.h:20, from common/../common/h-basic.h:16, from common/angband.h:22, from common/net-unix.c:31: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/sockbuf.o -c common/sockbuf.c In file included from /usr/include/unistd.h:25, from common/sockbuf.c:36: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/net-ibm.o -c common/net-ibm.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/../common/h-system.h:20, from common/../common/h-basic.h:16, from common/angband.h:22, from common/net-ibm.c:13: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/common.o -c common/common.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/../common/h-system.h:20, from common/../common/h-basic.h:16, from common/angband.h:22, from common/common.c:4: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/z-term.o -c client/z-term.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/z-term.h:6, from client/z-term.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-util.o -c client/c-util.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-util.c:5: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-cmd.o -c client/c-cmd.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, 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: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ client/c-util.c: In function ‘do_cmd_options_install_audio_packs’: client/c-util.c:7968:26: warning: implicit declaration of function ‘close_audio_sdl’ [-Wimplicit-function-declaration] 7968 | if (!quiet_mode) close_audio_sdl(); | ^~~~~~~~~~~~~~~ client/c-cmd.c: In function ‘cmd_check_misc’: client/c-cmd.c:3562:22: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3562 | #define FILEMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3749:35: note: in expansion of macro ‘FILEMAN’ 3749 | case 'T': FILEMAN("."); break; | ^~~~~~~ client/c-cmd.c:3562:22: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3562 | #define FILEMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3750:35: note: in expansion of macro ‘FILEMAN’ 3750 | case 'U': FILEMAN(ANGBAND_DIR_USER); break; | ^~~~~~~ client/c-cmd.c:3562:22: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3562 | #define FILEMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3757:33: note: in expansion of macro ‘FILEMAN’ 3757 | FILEMAN(path); | ^~~~~~~ client/c-cmd.c:3562:22: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3562 | #define FILEMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3765:33: note: in expansion of macro ‘FILEMAN’ 3765 | FILEMAN(path); | ^~~~~~~ client/c-cmd.c:3562:22: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3562 | #define FILEMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3768:33: note: in expansion of macro ‘FILEMAN’ 3768 | FILEMAN(ANGBAND_DIR_XTRA); | ^~~~~~~ client/c-cmd.c:3563:21: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3563 | #define URLMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3771:33: note: in expansion of macro ‘URLMAN’ 3771 | URLMAN("http://github.com/TomenetGame/"); | ^~~~~~ client/c-cmd.c:3563:21: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3563 | #define URLMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3774:33: note: in expansion of macro ‘URLMAN’ 3774 | URLMAN("https://www.tomenet.eu/"); | ^~~~~~ client/c-cmd.c:3563:21: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3563 | #define URLMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3779:41: note: in expansion of macro ‘URLMAN’ 3779 | URLMAN("https://www.tomenet.eu/pstores.php?mode=el"); | ^~~~~~ client/c-cmd.c:3563:21: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3563 | #define URLMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3781:41: note: in expansion of macro ‘URLMAN’ 3781 | URLMAN("https://www.tomenet.eu/pstores.php"); | ^~~~~~ client/c-cmd.c:3563:21: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3563 | #define URLMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3785:33: note: in expansion of macro ‘URLMAN’ 3785 | URLMAN("https://muuttuja.org/tomenet/monsters/index.php"); | ^~~~~~ client/c-cmd.c:3563:21: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3563 | #define URLMAN(p) system(format("xdg-open \"%s\" &", p)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-cmd.c:3788:33: note: in expansion of macro ‘URLMAN’ 3788 | URLMAN("http://angband.oook.cz/ladder-browse.php?v=TomeNET"); | ^~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-inven.o -c client/c-inven.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, 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: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from client/../common/h-system.h:68, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-cmd.c:2: In function ‘strncat’, inlined from ‘cmd_message’ at client/c-cmd.c:3882:7: /usr/include/bits/string_fortified.h:135:10: warning: ‘__builtin_strncat’ output may be truncated copying between 0 and 239 bytes from a string of length 255 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘cmd_message’ at client/c-cmd.c:3927:7: /usr/include/bits/string_fortified.h:135:10: warning: ‘__builtin_strncat’ output may be truncated copying between 0 and 239 bytes from a string of length 255 [-Wstringop-truncation] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-inven.c: In function ‘c_get_item’: client/c-inven.c:812:38: warning: ‘) ’ directive writing 2 bytes into a region of size between 0 and 159 [-Wformat-overflow=] 812 | sprintf(tmp_val, "(%s) %s", out_val, pmt); | ^~ In file included from /usr/include/stdio.h:866, 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: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 163) into a destination of size 160 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from client/../common/h-system.h:68, 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:2137: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:2170: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 -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-files.o -c client/c-files.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, 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: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ client/c-files.c: In function ‘file_character’: client/c-files.c:1495:40: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=] 1495 | sprintf(linebuf, "%c%s %s\n", index_to_label(i), paren, buf); | ^~ ~~~ In file included from /usr/include/stdio.h:866, 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: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 1028 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from client/../common/h-system.h:68, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-files.c:7: In function ‘strncpy’, inlined from ‘xhtml_screenshot’ at client/c-files.c:1700:4: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-files.c: In function ‘xhtml_screenshot’: client/c-files.c:1629:13: note: length computed here 1629 | x = strlen(name) - 4; | ^~~~~~~~~~~~ client/c-files.c:1705:51: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] 1705 | snprintf(file_name, 256, "%s_%04d-%02d-%02d_%02d-%02d-%02d.xhtml", buf, | ^~ ~~~ client/c-files.c:1705:50: note: directive argument in the range [-2147481748, 2147483647] 1705 | snprintf(file_name, 256, "%s_%04d-%02d-%02d_%02d-%02d-%02d.xhtml", buf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-files.c:1705:50: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:866, 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: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 27 and 1102 bytes into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-files.c:1697:51: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] 1697 | snprintf(file_name, 256, "%s%04d.xhtml", buf, max + 1); | ^~ ~~~ client/c-files.c:1697:50: note: directive argument in the range [1, 2147483647] 1697 | snprintf(file_name, 256, "%s%04d.xhtml", buf, max + 1); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, 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: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 11 and 1040 bytes into a destination of size 256 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-tables.o -c client/c-tables.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-tables.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-store.o -c client/c-store.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, 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: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ client/c-store.c: In function ‘store_paste_where’: client/c-store.c:335:41: warning: ‘) ÿ’ directive output may be truncated writing 3 bytes into a region of size between 1 and 11 [-Wformat-truncation=] 335 | snprintf(where, 17, "\377s(%d,%d) \377%c%c\377s:", | ^~~~~~ In file included from /usr/include/stdio.h:866, 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: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 15 and 25 bytes into a destination of size 17 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-init.o -c client/c-init.c client/c-store.c: In function ‘store_chat’: client/c-store.c:407:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 238 and 254 [-Wformat-truncation=] 407 | snprintf(buf, MSG_LEN - 1, "%s %s", where, out_val); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:866, 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: /usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 2 and 273 bytes into a destination of size 255 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-init.c:10: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/variable.o -c client/variable.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/variable.c:1: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ client/c-init.c: In function ‘re_init_sound’: client/c-init.c:3439:28: warning: implicit declaration of function ‘re_init_sound_sdl’; did you mean ‘re_init_sound’? [-Wimplicit-function-declaration] 3439 | if ((err = re_init_sound_sdl()) == 0) { | ^~~~~~~~~~~~~~~~~ | re_init_sound x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/main-ibm.o -c client/main-ibm.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/main-cap.o -c client/main-cap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/main-ibm.c:44: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/main-cap.c:5: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/main-gcu.o -c client/main-gcu.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/main-gcu.c:46: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/main-x11.o -c client/main-x11.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/main-x11.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/main-xaw.o -c client/main-xaw.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/main-xaw.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from client/../common/h-system.h:68, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-init.c:10: In function ‘strncat’, inlined from ‘monster_stats_aux’ at client/c-init.c:1362:8: /usr/include/bits/string_fortified.h:135:10: warning: ‘__builtin_strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-init.c: In function ‘monster_stats_aux’: client/c-init.c:1348:71: note: length computed here 1348 | if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here) | ^~~~~~~~~~ client/main-x11.c: In function ‘change_font’: client/main-x11.c:2747:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2747 | term_force_font(0, "8x13"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2747:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2752:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2752 | term_force_font(1, "8x13"); //msg | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2752:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2753:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2753 | term_force_font(2, "8x13"); //inv | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2753:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2754:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 4 [-Wstringop-overflow=] 2754 | term_force_font(3, "5x8"); //char | ^~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2754:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/nclient.o -c client/nclient.c client/main-x11.c:2755:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2755 | term_force_font(4, "6x10"); //chat | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2755:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2756:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2756 | term_force_font(5, "6x10"); //eq (5x8) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2756:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2757:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 4 [-Wstringop-overflow=] 2757 | term_force_font(6, "5x8"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2757:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2758:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 4 [-Wstringop-overflow=] 2758 | term_force_font(7, "5x8"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2758:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2763:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2763 | term_force_font(0, "9x15");//was 10x14x | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2763:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2768:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2768 | term_force_font(1, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2768:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2769:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2769 | term_force_font(2, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2769:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2770:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2770 | term_force_font(3, "6x10"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2770:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2771:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2771 | term_force_font(4, "8x13"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2771:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2772:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2772 | term_force_font(5, "6x10"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2772:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2773:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2773 | term_force_font(6, "6x10"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2773:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2774:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2774 | term_force_font(7, "6x10"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2774:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2778:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 24 [-Wstringop-overflow=] 2778 | term_force_font(0, "lucidasanstypewriter-12"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2778:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2780:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2780 | term_force_font(1, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2780:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2781:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2781 | term_force_font(2, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2781:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2782:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2782 | term_force_font(3, "8x13"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2782:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2783:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2783 | term_force_font(4, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2783:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2784:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2784 | term_force_font(5, "8x13"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2784:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2785:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2785 | term_force_font(6, "8x13"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2785:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2786:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2786 | term_force_font(7, "8x13"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2786:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2790:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 24 [-Wstringop-overflow=] 2790 | term_force_font(0, "lucidasanstypewriter-18"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2790:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2792:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 24 [-Wstringop-overflow=] 2792 | term_force_font(1, "lucidasanstypewriter-12"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2792:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2793:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 24 [-Wstringop-overflow=] 2793 | term_force_font(2, "lucidasanstypewriter-12"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2793:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2794:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2794 | term_force_font(3, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2794:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2795:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 24 [-Wstringop-overflow=] 2795 | term_force_font(4, "lucidasanstypewriter-12"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2795:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2796:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2796 | term_force_font(5, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2796:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2797:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2797 | term_force_font(6, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2797:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ client/main-x11.c:2798:17: warning: ‘term_force_font’ accessing 256 bytes in a region of size 5 [-Wstringop-overflow=] 2798 | term_force_font(7, "9x15"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ client/main-x11.c:2798:17: note: referencing argument 2 of type ‘char *’ client/main-x11.c:2802:13: note: in a call to function ‘term_force_font’ 2802 | static void term_force_font(int term_idx, char fnt_name[256]) { | ^~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/nclient.c:24: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-birth.o -c client/c-birth.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-birth.c:16: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from client/../common/h-system.h:68, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-init.c:10: In function ‘strncat’, inlined from ‘artifact_stats_aux’ at client/c-init.c:2666:8: /usr/include/bits/string_fortified.h:135:10: warning: ‘__builtin_strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 135 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ client/c-init.c: In function ‘artifact_stats_aux’: client/c-init.c:2652:71: note: length computed here 2652 | if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here) | ^~~~~~~~~~ client/c-birth.c: In function ‘choose_stat_order’: client/c-birth.c:1187:61: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1187 | sprintf(buf3, "(%2d)", dna_stat_order[i]); | ^ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-birth.c:16: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 9 bytes into a destination of size 8 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/nclient.c: In function ‘Receive_file’: client/nclient.c:221:86: warning: ‘%s’ directive writing up to 79 bytes into a region of size 55 [-Wformat-overflow=] 221 | sprintf(outbuf, "\377oReceiving updated file %s [%d]", fname, fnum); | ^~ ~~~~~ client/nclient.c:221:57: note: directive argument in the range [0, 65535] 221 | sprintf(outbuf, "\377oReceiving updated file %s [%d]", fname, fnum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/nclient.c:24: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 30 and 113 bytes into a destination of size 80 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/nclient.c:214:88: warning: ‘%s’ directive writing up to 79 bytes into a region of size 53 [-Wformat-overflow=] 214 | sprintf(outbuf, "\377yIgnoring update for file %s [%d]", fname, fnum); | ^~ ~~~~~ client/nclient.c:214:57: note: directive argument in the range [0, 65535] 214 | sprintf(outbuf, "\377yIgnoring update for file %s [%d]", fname, fnum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/nclient.c:24: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 32 and 115 bytes into a destination of size 80 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from client/../common/h-system.h:68, from client/../common/h-basic.h:16, from client/angband.h:27, from client/nclient.c:24: In function ‘strncpy’, inlined from ‘Receive_store_wide’ at client/nclient.c:3432:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘Receive_store’ at client/nclient.c:3386:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘Receive_store’ at client/nclient.c:3391:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘Receive_inven’ at client/nclient.c:1890:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘Receive_inven_wide’ at client/nclient.c:1976:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘Receive_store_action’ at client/nclient.c:3353:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘Receive_equip’ at client/nclient.c:2053:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-xtra1.o -c client/c-xtra1.c In function ‘strncpy’, inlined from ‘Receive_store_info’ at client/nclient.c:3528:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘Receive_store_info’ at client/nclient.c:3529:2: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-xtra1.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-xtra2.o -c client/c-xtra2.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-xtra2.c:4: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ client/nclient.c: In function ‘Receive_login’: client/nclient.c:729:37: warning: ‘%s’ directive writing up to 79 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 729 | sprintf(tmp, "%c) %s%s (%d), %s %s", 'a' + i, colour_sequence, c_name, level, race_info[c_race].title, class_info[c_class].title); | ^~ ~~~~~~ client/nclient.c:729:30: note: directive argument in the range [-32768, 32767] 729 | sprintf(tmp, "%c) %s%s (%d), %s %s", 'a' + i, colour_sequence, c_name, level, race_info[c_race].title, class_info[c_class].title); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/nclient.c:24: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 174) into a destination of size 83 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/nclient.c:739:43: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 739 | sprintf(tmp, "%s%s", colour_sequence, "IDDC"); | ^ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/nclient.c:24: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 5 and 84 bytes into a destination of size 83 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-spell.o -c client/c-spell.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-spell.c:5: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/client.o -c client/client.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/client.c:11: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/skills.o -c client/skills.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/skills.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ client/c-spell.c: In function ‘print_mimic_spells’: client/c-spell.c:100:50: warning: ‘ ÿy’ directive writing 3 bytes into a region of size between 0 and 59 [-Wformat-overflow=] 100 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~ client/c-spell.c:100:30: note: using the range [-2147483648, 2147483647] for directive argument 100 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-spell.c:5: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 39 and 114 bytes into a destination of size 90 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-spell.c:134:50: warning: ‘ ÿy’ directive writing 3 bytes into a region of size between 0 and 59 [-Wformat-overflow=] 134 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~ client/c-spell.c:134:30: note: using the range [-2147483648, 2147483647] for directive argument 134 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-spell.c:5: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 39 and 114 bytes into a destination of size 90 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-spell.c:169:50: warning: ‘ ÿy’ directive writing 3 bytes into a region of size between 0 and 59 [-Wformat-overflow=] 169 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~ client/c-spell.c:169:30: note: using the range [-2147483648, 2147483647] for directive argument 169 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-spell.c:5: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 39 and 114 bytes into a destination of size 90 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-spell.c:204:50: warning: ‘ ÿy’ directive writing 3 bytes into a region of size between 0 and 59 [-Wformat-overflow=] 204 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~ client/c-spell.c:204:30: note: using the range [-2147483648, 2147483647] for directive argument 204 | sprintf(buf, " %c) %-22s \377B%2d \377y%2d%% ", I2A(j - 2 + k * 16), name, mana, fail); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-spell.c:5: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 39 and 114 bytes into a destination of size 90 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ client/c-spell.c: In function ‘get_item_hook_find_spell’: client/c-spell.c:983:78: warning: ‘%s’ directive writing up to 79 bytes into a region of size between 55 and 65 [-Wformat-overflow=] 983 | sprintf(buf2, "return find_spell_from_item(%d, %d, \"%s\")", i, spos, buf); | ^~ ~~~ In file included from /usr/include/stdio.h:866, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-spell.c:5: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 38 and 127 bytes into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/files.o -c common/files.c In file included from /usr/include/arpa/inet.h:21, from common/files.c:12: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/SFMT.o -c common/SFMT.c In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from common/../common/h-system.h:68, from common/../common/h-basic.h:16, from common/angband.h:22, from common/files.c:15: In function ‘strncpy’, inlined from ‘local_file_init’ at common/files.c:436:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from common/SFMT.c:13: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/snd-sdl.o -c client/snd-sdl.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/snd-sdl.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/tables.o -c common/tables.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from common/../common/h-system.h:20, from common/../common/h-basic.h:16, from common/angband.h:22, from common/tables.c:7: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o common/md5.o -c common/md5.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/c-script.o -c client/c-script.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/c-script.c:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from common/md5.c:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/lua_bind.o -c client/lua_bind.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from client/../common/h-system.h:20, from client/../common/h-basic.h:16, from client/angband.h:27, from client/lua_bind.c:14: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o preproc/preproc.o -c preproc/preproc.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lapi.o -c server/lua/lapi.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from preproc/preproc.c:37: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from server/lua/lapi.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lcode.o -c server/lua/lcode.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/lcode.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/ldebug.o -c server/lua/ldebug.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/ldebug.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/ldo.o -c server/lua/ldo.c In file included from /usr/include/setjmp.h:25, from server/lua/ldo.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lfunc.o -c server/lua/lfunc.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/lfunc.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lgc.o -c server/lua/lgc.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/llex.o -c server/lua/llex.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include-fixed/limits.h:34, from server/lua/llimits.h:11, from server/lua/lobject.h:11, from server/lua/ldo.h:11, from server/lua/lgc.c:9: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/ctype.h:25, from server/lua/llex.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lmem.o -c server/lua/lmem.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/lmem.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lobject.o -c server/lua/lobject.c In file included from /usr/include/ctype.h:25, from server/lua/lobject.c:7: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lparser.o -c server/lua/lparser.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/lparser.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lstate.o -c server/lua/lstate.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/lstate.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lstring.o -c server/lua/lstring.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from server/lua/lstring.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/ltable.o -c server/lua/ltable.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include-fixed/limits.h:203, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include-fixed/limits.h:34, from server/lua/llimits.h:11, from server/lua/lmem.h:13, from server/lua/ltable.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/ltests.o -c server/lua/ltests.c In file included from /usr/include/ctype.h:25, from server/lua/ltests.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/ltm.o -c server/lua/ltm.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/ltm.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lundump.o -c server/lua/lundump.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/lundump.c:7: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lvm.o -c server/lua/lvm.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lzio.o -c server/lua/lzio.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/lvm.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/lzio.c:9: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lauxlib.o -c server/lua/lauxlib.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lbaselib.o -c server/lua/lbaselib.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/lauxlib.c:9: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/ctype.h:25, from server/lua/lbaselib.c:9: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/ldblib.o -c server/lua/ldblib.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/liolib.o -c server/lua/liolib.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/ldblib.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/ctype.h:25, from server/lua/liolib.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lstrlib.o -c server/lua/lstrlib.c In file included from /usr/include/ctype.h:25, from server/lua/lstrlib.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/tolua_lb.o -c server/lua/tolua_lb.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolua_lb.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/tolua_rg.o -c server/lua/tolua_rg.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from server/lua/tolua_rg.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/tolua_tt.o -c server/lua/tolua_tt.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolua_tt.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/tolua_tm.o -c server/lua/tolua_tm.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolua_tm.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/tolua_gp.o -c server/lua/tolua_gp.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolua_gp.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/tolua_eh.o -c server/lua/tolua_eh.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolua_eh.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/tolua_bd.o -c server/lua/tolua_bd.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o server/lua/lmathlib.o -c server/lua/lmathlib.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -Wl,-z,now -o preproc/preproc preproc/preproc.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolua_bd.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/lmathlib.c:8: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ cd client; ../preproc/preproc player.pre player.pkg x86_64-pc-linux-gnu-gcc -E -C -P -nostdinc ; cd .. cd client; ../preproc/preproc util.pre util.pkg x86_64-pc-linux-gnu-gcc -E -C -P -nostdinc ; cd .. x86_64-pc-linux-gnu-gcc: warning: player.pre__: linker input file unused because linking not done cd client; ../preproc/preproc spells.pre spells.pkg x86_64-pc-linux-gnu-gcc -E -C -P -nostdinc ; cd .. x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -Wl,-z,now -o server/tolua server/lua/lapi.o server/lua/lcode.o server/lua/ldebug.o server/lua/ldo.o server/lua/lfunc.o server/lua/lgc.o server/lua/llex.o server/lua/lmem.o server/lua/lobject.o server/lua/lparser.o server/lua/lstate.o server/lua/lstring.o server/lua/ltable.o server/lua/ltests.o server/lua/ltm.o server/lua/lundump.o server/lua/lvm.o server/lua/lzio.o server/lua/lauxlib.o server/lua/lbaselib.o server/lua/ldblib.o server/lua/liolib.o server/lua/lstrlib.o server/lua/tolua_lb.o server/lua/tolua_rg.o server/lua/tolua_tt.o server/lua/tolua_tm.o server/lua/tolua_gp.o server/lua/tolua_eh.o server/lua/tolua_bd.o server/lua/lmathlib.o server/lua/tolua.c server/lua/tolualua.c -lX11 -lncurses -ltinfo -lcrypt -lm -ltinfo x86_64-pc-linux-gnu-gcc: warning: util.pre__: linker input file unused because linking not done x86_64-pc-linux-gnu-gcc: warning: spells.pre__: linker input file unused because linking not done In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolua.c:15: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from server/lua/tolualua.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: server/lua/liolib.o: in function `io_tmpname': liolib.c:(.text+0x7): warning: the use of `tmpnam' is dangerous, better use `mkstemp' cd client; ../server/tolua -n player -o w_play.c player.pkg; cd .. cd client; ../server/tolua -n util -o w_util.c util.pkg; cd .. cd client; ../server/tolua -n spells -o w_spells.c spells.pkg; cd .. x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/w_util.o -c client/w_util.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/w_play.o -c client/w_play.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -o client/w_spells.o -c client/w_spells.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from client/w_util.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from client/w_spells.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from server/lua/tolua.h:22, from client/w_play.c:6: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -DUSE_X11 -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -fstack-protector -D_FORTIFY_SOURCE=2 -pie -fPIE -Iserver -Iserver/lua -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -Wl,-z,now -o tomenet common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/sockbuf.o common/net-ibm.o common/common.o client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o client/c-files.o client/c-tables.o client/c-store.o client/c-init.o client/variable.o client/main-ibm.o client/main-cap.o client/main-gcu.o client/main-x11.o client/main-xaw.o client/nclient.o client/c-birth.o client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o client/skills.o common/files.o common/SFMT.o client/snd-sdl.o common/tables.o common/md5.o client/c-script.o client/lua_bind.o client/w_play.o client/w_util.o client/w_spells.o server/lua/lapi.o server/lua/lcode.o server/lua/ldebug.o server/lua/ldo.o server/lua/lfunc.o server/lua/lgc.o server/lua/llex.o server/lua/lmem.o server/lua/lobject.o server/lua/lparser.o server/lua/lstate.o server/lua/lstring.o server/lua/ltable.o server/lua/ltests.o server/lua/ltm.o server/lua/lundump.o server/lua/lvm.o server/lua/lzio.o server/lua/lauxlib.o server/lua/lbaselib.o server/lua/ldblib.o server/lua/liolib.o server/lua/lstrlib.o server/lua/tolua_lb.o server/lua/tolua_rg.o server/lua/tolua_tt.o server/lua/tolua_tm.o server/lua/tolua_gp.o server/lua/tolua_eh.o server/lua/tolua_bd.o server/lua/lmathlib.o -lX11 -lncurses -ltinfo -lcrypt -lm -ltinfo /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: server/lua/liolib.o: in function `io_tmpname': liolib.c:(.text+0x7): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/c-util.o: in function `do_cmd_options': c-util.c:(.text+0x10f73): undefined reference to `close_audio_sdl' collect2: error: ld returned 1 exit status make: *** [makefile:479: tomenet] Error 1 * ERROR: games-roguelike/tomenet-4.7.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-roguelike/tomenet-4.7.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-roguelike/tomenet-4.7.3::gentoo'`. * The complete build log is located at '/var/log/portage/games-roguelike:tomenet-4.7.3:20210711-150057.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-roguelike/tomenet-4.7.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-roguelike/tomenet-4.7.3/temp/environment'. * Working directory: '/var/tmp/portage/games-roguelike/tomenet-4.7.3/work/tomenet-4.7.3/src' * S: '/var/tmp/portage/games-roguelike/tomenet-4.7.3/work/tomenet-4.7.3/src'