=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for assaultcube-1.2.0.2nb16 c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -I. -Ibot `sdl-config --cflags` `pkg-config --cflags libenet` -I../include -o cube.h.gch.tmp cube.h c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o crypto-standalone.o crypto.cpp c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o stream-standalone.o stream.cpp In file included from cube.h:8, from stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* makerelpath(const char*, const char*, const char*, const char*)' at stream.cpp:18:26: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* path(const char*, bool)' at stream.cpp:86:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool createdir(const char*)' at stream.cpp:126:26: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ stream.cpp: In function 'bool createdir(const char*)': stream.cpp:122:24: note: length computed here 122 | size_t len = strlen(path); | ~~~~~~^~~~~~ In file included from cube.h:8, from stream.cpp:1: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void sethomedir(const char*)' at stream.cpp:175:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void addpackagedir(const char*)' at stream.cpp:213:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool listdir(const char*, const char*, vector&)' at stream.cpp:265:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool preparedir(const char*)' at stream.cpp:333:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool preparedir(const char*)' at stream.cpp:338:19: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o command-standalone.o command.cpp mv cube.h.gch.tmp cube.h.gch c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o master-standalone.o master.cpp In file included from cube.h:8, from command.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'char* newstring(const char*)' at tools.h:811:68, inlined from 'char* exchangestr(char*, const char*)' at command.cpp:7:73, inlined from 'char* executeret(const char*)' at command.cpp:660:57: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound depends on the length of the source argument [-Wstringop-overflow=] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ tools.h: In function 'char* executeret(const char*)': tools.h:812:67: note: length computed here 812 | inline char *newstring(const char *s) { return newstring(s, strlen(s)); } | ~~~~~~~~~^~~~~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool execfile(const char*)' at command.cpp:966:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ crypto.cpp: In function 'void* genchallenge(void*, const void*, int, vector&)': crypto.cpp:802:11: warning: 'void* memcpy(void*, const void*, size_t)' forming offset [24, 25] is out of the bounds [0, 24] of object 'hash' with type 'tiger::hashval' [-Warray-bounds] 802 | memcpy(challenge.digits, hash.bytes, sizeof(challenge.digits)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto.cpp:799:20: note: 'hash' declared here 799 | tiger::hashval hash; | ^~~~ c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o log-standalone.o log.cpp c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o protocol-standalone.o protocol.cpp c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o serverms-standalone.o serverms.cpp c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o server-standalone.o server.cpp In file included from cube.h:8, from serverms.cpp:3: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void servermsinit(const char*, const char*, int, bool)' at serverms.cpp:333:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o tools-standalone.o tools.cpp c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -DSTANDALONE -I. -Ibot -c -o wizard-standalone.o wizard.cpp In file included from cube.h:8, from tools.cpp:3: In function 'char* copystring(char*, const char*, size_t)', inlined from 'const char* hiddenpwd(const char*, int)' at tools.cpp:371:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ c++ -O2 -mieee -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -Wall -fsigned-char -I. -Ibot `sdl-config --cflags` `pkg-config --cflags libenet` -I../include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/include/krb5 -c -o crypto.o crypto.cpp crypto.cpp:1: fatal error: had to relocate PCH 1 | #include "cube.h" | compilation terminated. gmake: *** [: crypto.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from cube.h:8, from server.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void servermapbuffer::load()' at serverfiles.h:68:27: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool servermapbuffer::sendmap(const char*, int, int, int, uchar*)' at serverfiles.h:89:23: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:191:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'virtual void killmessagesfile::read()' at serverfiles.h:954:39: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' forming offset [320, 419] is out of the bounds [0, 320] of object 'killmessages' with type 'char [2][10][16]' [-Warray-bounds] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In file included from server.cpp:8: server.h: In member function 'virtual void killmessagesfile::read()': server.h:500:6: note: 'killmessages' declared here 500 | char killmessages[2][NUMGUNS][MAXKILLMSGLEN] = {{ "", "busted", "picked off", "peppered", "sprayed", "punctured", "shredded", "busted", "", "busted" }, { "slashed", "", "", "splattered", "", "headshot", "", "", "gibbed", "" }}; | ^~~~~~~~~~~~ In file included from cube.h:8, from server.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'virtual void killmessagesfile::read()' at serverfiles.h:954:39: tools.h:108:104: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~~~^~~ In file included from server.cpp:8: server.h: In member function 'virtual void killmessagesfile::read()': server.h:500:6: note: at offset 0 to object 'killmessages' with size 320 declared here 500 | char killmessages[2][NUMGUNS][MAXKILLMSGLEN] = {{ "", "busted", "picked off", "peppered", "sprayed", "punctured", "shredded", "busted", "", "busted" }, { "slashed", "", "", "splattered", "", "headshot", "", "", "gibbed", "" }}; | ^~~~~~~~~~~~ In file included from cube.h:8, from server.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'virtual void servermaprot::read()' at serverfiles.h:329:27: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'virtual void serverpasswords::read()' at serverfiles.h:756:27: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In file included from server.cpp:10: serverfiles.h: In member function 'void serverforbiddenlist::addentry(char*)': serverfiles.h:672:20: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 15 bytes from a string of length 259 [-Wstringop-truncation] 672 | strncpy(entries[num][0],c1,FORBIDDENSIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverfiles.h:673:33: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 15 bytes from a string of length 259 [-Wstringop-truncation] 673 | if ( n > 1 ) strncpy(entries[num][1],c2,FORBIDDENSIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cube.h:8, from server.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'bool spamdetect(client*, char*)' at server.cpp:1298:20, inlined from 'bool spamdetect(client*, char*)' at server.cpp:1283:6: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void enddemorecord()' at server.cpp:598:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void resetserver(const char*, int, int)' at server.cpp:1886:15: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'virtual void mapaction::perform()' at serveractions.h:52:23, inlined from 'virtual void mapaction::perform()' at serveractions.h:41:10: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'virtual void mapaction::perform()' at serveractions.h:46:23: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void process(ENetPacket*, int, int)' at server.cpp:2660:23: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 16 bytes from a string of length 4999 [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void process(ENetPacket*, int, int)' at server.cpp:2662:23: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 260 bytes from a string of length 4999 [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void process(ENetPacket*, int, int)' at server.cpp:3005:27: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 16 bytes from a string of length 4999 [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 16 bytes from a string of length 4999 [-Wstringop-truncation] server.cpp: In function 'void process(ENetPacket*, int, int)': server.cpp:3518:32: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 4999 bytes from a string of length 4999 [-Wstringop-truncation] 3518 | strncpy(vi->text,text,MAXTRANS-1); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ server.cpp:3452:36: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 4999 bytes from a string of length 4999 [-Wstringop-truncation] 3452 | strncpy(vi->text,text,MAXTRANS-1); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ server.cpp:3480:32: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 128 bytes from a string of length 4999 [-Wstringop-truncation] 3480 | strncpy(vi->text,text,128); | ~~~~~~~^~~~~~~~~~~~~~~~~~~ server.cpp:3469:32: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 128 bytes from a string of length 4999 [-Wstringop-truncation] 3469 | strncpy(vi->text,text,128); | ~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from cube.h:8, from server.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverslice(uint)' at server.cpp:3938:27: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 260 bytes from a string of length 1023 [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:191:15, inlined from 'void initserver(bool, int, char**)' at server.cpp:4202:20: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverpasswords::init(const char*, const char*)' at serverfiles.h:730:23, inlined from 'void initserver(bool, int, char**)' at server.cpp:4204:23: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:191:15, inlined from 'void serverpasswords::init(const char*, const char*)' at serverfiles.h:736:31, inlined from 'void initserver(bool, int, char**)' at server.cpp:4204:23: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:191:15, inlined from 'void initserver(bool, int, char**)' at server.cpp:4205:25: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:191:15, inlined from 'void initserver(bool, int, char**)' at server.cpp:4206:27: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:191:15, inlined from 'void initserver(bool, int, char**)' at server.cpp:4207:27: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ In file included from server.cpp:10: In member function 'void serverforbiddenlist::addentry(char*)', inlined from 'virtual void serverforbiddenlist::read()' at serverfiles.h:690:21, inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:193:9, inlined from 'void initserver(bool, int, char**)' at server.cpp:4207:27: serverfiles.h:672:20: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 15 bytes from a string of length 259 [-Wstringop-truncation] 672 | strncpy(entries[num][0],c1,FORBIDDENSIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverfiles.h:673:33: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 15 bytes from a string of length 259 [-Wstringop-truncation] 673 | if ( n > 1 ) strncpy(entries[num][1],c2,FORBIDDENSIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cube.h:8, from server.cpp:4: In function 'char* copystring(char*, const char*, size_t)', inlined from 'void serverconfigfile::init(const char*)' at serverfiles.h:191:15, inlined from 'void killmessagesfile::init(const char*)' at serverfiles.h:894:57, inlined from 'void initserver(bool, int, char**)' at server.cpp:4208:22: tools.h:108:82: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 260 equals destination size [-Wstringop-truncation] 108 | inline char *copystring(char *d, const char *s, size_t len = MAXSTRLEN) { strncpy(d, s, len); d[len-1] = 0; return d; } | ~~~~~~~^~~~~~~~~~~ *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/games/assaultcube *** Error code 1 Stop. make: stopped in /usr/pkgsrc/games/assaultcube