Thanks. It looks like the file is supposed to be created during compiling, though. It seems like some script named tolua is supposed to do that but fails to do it (as can be seen at the end of the output I gave).
Code: Select all
patching file tomenet-4.7.2/src/makefile
ldconfig: Can't open cache file /nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/etc/ld.so.cache
: No such file or directory
cd server/lua; rm -f *.o
cd server; rm -f *.o w_play.c w_util.c w_spells.c *.pkg
cd client; rm -f *.o w_play.c w_util.c w_spells.c *.pkg
cd common; rm -f *.o w_z_pack.c
cd console; rm -f *.o
rm -f account/accedit.o preproc/preproc.o
ldconfig: Can't open cache file /nix/store/9df65igwjmf2wbw0gbrrgair6piqjgmi-glibc-2.31/etc/ld.so.cache
: No such file or directory
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/z-util.o -c common/z-util.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/z-virt.o -c common/z-virt.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/z-form.o -c common/z-form.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/z-rand.o -c common/z-rand.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/net-unix.o -c common/net-unix.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/sockbuf.o -c common/sockbuf.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/net-ibm.o -c common/net-ibm.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/common.o -c common/common.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/z-term.o -c client/z-term.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-util.o -c client/c-util.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-cmd.o -c client/c-cmd.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-inven.o -c client/c-inven.c
client/c-inven.c: In function 'c_get_item':
client/c-inven.c:804:24: warning: ') ' directive writing 2 bytes into a region of size between 0 and 159 [-Wformat-overflow=]
804 | sprintf(tmp_val, "(%s) %s", out_val, pmt);
| ^~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
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:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 163) into a destination of size 160
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-files.o -c client/c-files.c
client/c-files.c: In function 'file_character':
client/c-files.c:1474:26: warning: '%s' directive writing up to 1023 bytes into a region of size 1021 [-Wformat-overflow=]
1474 | sprintf(linebuf, "%c%s %s\n", index_to_label(i), paren, buf);
| ^~ ~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
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:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-tables.o -c client/c-tables.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-store.o -c client/c-store.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-init.o -c client/c-init.c
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/string.h:495,
from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/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:1268:8:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/c-init.c: In function 'monster_stats_aux':
client/c-init.c:1254:36: note: length computed here
1254 | if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here)
| ^~~~~~~~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/string.h:495,
from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/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:2495:8:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/c-init.c: In function 'artifact_stats_aux':
client/c-init.c:2481:36: note: length computed here
2481 | if (strlen(paste_lines[pl]) + strlen(p1) < MSG_LEN - 1 - strlen(cname) - 8 - 4 - 7) {//7 = world server tax (pure paranoia here)
| ^~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/variable.o -c client/variable.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/main-ibm.o -c client/main-ibm.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/main-cap.o -c client/main-cap.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/main-gcu.o -c client/main-gcu.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/main-x11.o -c client/main-x11.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/main-xaw.o -c client/main-xaw.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/nclient.o -c client/nclient.c
client/nclient.c: In function 'Receive_file':
client/nclient.c:213:51: warning: '%s' directive writing up to 79 bytes into a region of size 55 [-Wformat-overflow=]
213 | sprintf(outbuf, "\377oReceiving updated file %s [%d]", fname, fnum);
| ^~ ~~~~~
client/nclient.c:213:22: note: directive argument in the range [0, 65535]
213 | sprintf(outbuf, "\377oReceiving updated file %s [%d]", fname, fnum);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from client/../common/h-system.h:20,
from client/../common/h-basic.h:16,
from client/angband.h:27,
from client/nclient.c:24:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 30 and 113 bytes into a destination of size 80
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/nclient.c:206:53: warning: '%s' directive writing up to 79 bytes into a region of size 53 [-Wformat-overflow=]
206 | sprintf(outbuf, "\377yIgnoring update for file %s [%d]", fname, fnum);
| ^~ ~~~~~
client/nclient.c:206:22: note: directive argument in the range [0, 65535]
206 | sprintf(outbuf, "\377yIgnoring update for file %s [%d]", fname, fnum);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from client/../common/h-system.h:20,
from client/../common/h-basic.h:16,
from client/angband.h:27,
from client/nclient.c:24:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 32 and 115 bytes into a destination of size 80
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/string.h:495,
from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/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' at client/nclient.c:3135:2:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'Receive_store_wide' at client/nclient.c:3179:2:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'Receive_inven' at client/nclient.c:1718:2:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'Receive_inven_wide' at client/nclient.c:1804:2:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'Receive_store_action' at client/nclient.c:3105:2:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'Receive_equip' at client/nclient.c:1881:3:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 159 bytes from a string of length 159 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'Receive_store_info' at client/nclient.c:3274:2:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
inlined from 'Receive_store_info' at client/nclient.c:3275:2:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 40 bytes from a string of length 79 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/nclient.c: In function 'Receive_login':
client/nclient.c:621:23: warning: '%s' directive writing up to 79 bytes into a region of size between 1 and 80 [-Wformat-overflow=]
621 | 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:621:16: note: directive argument in the range [-32768, 32767]
621 | 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 /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from client/../common/h-system.h:20,
from client/../common/h-basic.h:16,
from client/angband.h:27,
from client/nclient.c:24:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 174) into a destination of size 83
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/nclient.c:631:22: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
631 | sprintf(tmp, "%s%s", colour_sequence, "IDDC");
| ^
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from client/../common/h-system.h:20,
from client/../common/h-basic.h:16,
from client/angband.h:27,
from client/nclient.c:24:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 84 bytes into a destination of size 83
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/nclient.c:636:20: warning: '%s' directive writing up to 79 bytes into a region of size between 4 and 83 [-Wformat-overflow=]
636 | sprintf(tmp, "%s%s", colour_sequence, loc);
| ^~ ~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from client/../common/h-system.h:20,
from client/../common/h-basic.h:16,
from client/angband.h:27,
from client/nclient.c:24:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 1 and 159 bytes into a destination of size 83
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-birth.o -c client/c-birth.c
client/c-birth.c: In function 'get_char_info':
client/c-birth.c:1130:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
1130 | sprintf(buf3, "(%2d)", dna_stat_order[i]);
| ^
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
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:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 9 bytes into a destination of size 8
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-xtra1.o -c client/c-xtra1.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-xtra2.o -c client/c-xtra2.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-spell.o -c client/c-spell.c
client/c-spell.c: In function 'get_item_hook_find_spell':
client/c-spell.c:867:57: warning: '%s' directive writing up to 79 bytes into a region of size between 54 and 65 [-Wformat-overflow=]
867 | sprintf(buf2, "return find_spell_from_item(%d, %d, \"%s\")", i, spos, buf);
| ^~ ~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
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:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 128 bytes into a destination of size 100
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/c-spell.c:867:57: warning: '%s' directive writing up to 79 bytes into a region of size between 54 and 65 [-Wformat-overflow=]
867 | sprintf(buf2, "return find_spell_from_item(%d, %d, \"%s\")", i, spos, buf);
| ^~ ~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
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:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 128 bytes into a destination of size 100
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/client.o -c client/client.c
client/client.c: In function 'write_mangrc_aux_line':
client/client.c:509:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=]
509 | sprintf(buf, "%s_Font\t\t%s\n", sec_name, font_name);
| ^~ ~~~~~~~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from client/../common/h-system.h:20,
from client/../common/h-basic.h:16,
from client/angband.h:27,
from client/client.c:11:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 1032) into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client/client.c:506:27: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=]
506 | sprintf(buf, "%s_Font\t%s\n", sec_name, font_name);
| ^~ ~~~~~~~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from client/../common/h-system.h:20,
from client/../common/h-basic.h:16,
from client/angband.h:27,
from client/client.c:11:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/skills.o -c client/skills.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/files.o -c common/files.c
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/string.h:495,
from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/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:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/SFMT.o -c common/SFMT.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/snd-sdl.o -c client/snd-sdl.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/tables.o -c common/tables.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o common/md5.o -c common/md5.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/c-script.o -c client/c-script.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/lua_bind.o -c client/lua_bind.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o preproc/preproc.o -c preproc/preproc.c
preproc/preproc.c: In function 'main':
preproc/preproc.c:262:29: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
262 | sprintf(line_mod, "%s%s\n", seq, line);
| ^
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from preproc/preproc.c:37:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 328 bytes into a destination of size 327
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
preproc/preproc.c:172:53: warning: '%s' directive writing up to 162 bytes into a region of size 133 [-Wformat-overflow=]
172 | sprintf(tmp_file, "/* ---------------- #include '%s' ---------------- */\n", included_file_ptr);
| ^~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from preproc/preproc.c:37:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 53 and 215 bytes into a destination of size 163
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
preproc/preproc.c:184:56: warning: '%s' directive writing up to 162 bytes into a region of size 130 [-Wformat-overflow=]
184 | sprintf(tmp_file, "/* ------------ end of #include '%s'. ------------ */\n", included_file);
| ^~ ~~~~~~~~~~~~~
In file included from /nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/stdio.h:867,
from preproc/preproc.c:37:
/nix/store/4wy9j24psf9ny4di3anjs7yk2fvfb0gq-glibc-2.31-dev/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 53 and 215 bytes into a destination of size 163
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o preproc/preproc preproc/preproc.o
cd client; ../preproc/preproc player.pre player.pkg cpp -C -P ; cd ..
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lapi.o -c server/lua/lapi.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lcode.o -c server/lua/lcode.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/ldebug.o -c server/lua/ldebug.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/ldo.o -c server/lua/ldo.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lfunc.o -c server/lua/lfunc.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lgc.o -c server/lua/lgc.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/llex.o -c server/lua/llex.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lmem.o -c server/lua/lmem.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lobject.o -c server/lua/lobject.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lparser.o -c server/lua/lparser.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lstate.o -c server/lua/lstate.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lstring.o -c server/lua/lstring.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/ltable.o -c server/lua/ltable.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/ltests.o -c server/lua/ltests.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/ltm.o -c server/lua/ltm.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lundump.o -c server/lua/lundump.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lvm.o -c server/lua/lvm.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lzio.o -c server/lua/lzio.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lauxlib.o -c server/lua/lauxlib.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lbaselib.o -c server/lua/lbaselib.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/ldblib.o -c server/lua/ldblib.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/liolib.o -c server/lua/liolib.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lstrlib.o -c server/lua/lstrlib.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/tolua_lb.o -c server/lua/tolua_lb.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/tolua_rg.o -c server/lua/tolua_rg.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/tolua_tt.o -c server/lua/tolua_tt.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/tolua_tm.o -c server/lua/tolua_tm.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/tolua_gp.o -c server/lua/tolua_gp.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/tolua_eh.o -c server/lua/tolua_eh.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/tolua_bd.o -c server/lua/tolua_bd.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o server/lua/lmathlib.o -c server/lua/lmathlib.c
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -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 -L/usr/X11R6/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm `sdl-config --libs` -lSDL_mixer
/nix/store/p792j5f44l3f0xi7ai5jllwnxqwnka88-binutils-2.31.1/bin/ld: server/lua/liolib.o: in function `io_tmpname':
/build/tomenet-4.7.2/src/server/lua/liolib.c:519: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
cd client; ../server/tolua -n player -o w_play.c player.pkg; cd ..
** tolua: parse error.
Code being processed:
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
gcc -O2 -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I/usr/X11R6/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -std=c99 -DSOUND_SDL `sdl-config --cflags` -D_DEFAULT_SOURCE -DACC32 -fPIC -Wno-format-truncation -Iserver -Iserver/lua -o client/w_play.o -c client/w_play.c
gcc: error: client/w_play.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make: *** [makefile:460: client/w_play.o] Error 1
builder for '/nix/store/l0y7rmrd0nvr5jy3xidd4zdp1n511mbi-tomenet-4.7.2.drv' failed with exit code 2
cannot build derivation '/nix/store/8xz96q52mya7d658cgk1p2n60rpr5dqc-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/c5hm9vv82vdjgqdvh4xfi7ks6d5xnllf-nixos-system-beta-20.09.1500.edb26126d98.drv': 1 dependencies couldn't be built
error: build of '/nix/store/c5hm9vv82vdjgqdvh4xfi7ks6d5xnllf-nixos-system-beta-20.09.1500.edb26126d98.drv' failed
I'll keep searching for the solution. If I find it then I'll share it. Thanks in advance for any ideas or help.