+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/quake6-0.0nb4/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/quake6-0.0nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for quake6-0.0nb4 gmake[1]: Entering directory '/home/pbulk/build/games/quake6/work/quakeforge/qw_client' Creating directory ../targets/qw_client/gl cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/common.o -c ../qw_common/common.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/crc.o -c ../common/crc.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cvar.o -c ../qw_common/cvar.c ../qw_common/common.c: In function 'COM_CopyFile': ../qw_common/common.c:1377:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (buf, 1, count, in); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.c: In function 'COM_LoadFile': ../qw_common/common.c:1507:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (buf, 1, len, h); ^~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.c: In function 'COM_LoadPackFile': ../qw_common/common.c:1568:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&header, 1, sizeof(header), packhandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.c:1586:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&info, 1, header.dirlen, packhandle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cmd.o -c ../qw_common/cmd.c ../qw_common/common.c: In function 'COM_WriteFile': ../qw_common/common.c:1312:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (name, "%s/%s", com_gamedir, filename); ^ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ ../qw_common/common.c: In function 'COM_FOpenFile': ../qw_common/common.c:1433:28: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (netpath, "%s/%s",search->filename, filename); ^ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ ../qw_common/common.c: In function 'COM_Gamedir': ../qw_common/common.c:1712:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (com_gamedir, "%s/%s", com_basedir, dir); ^ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ ../qw_common/common.c:1727:24: warning: '/pak' directive writing 4 bytes into a region of size between 1 and 128 [-Wformat-overflow=] sprintf (pakfile, "%s/pak%i.pak", com_gamedir, i); ^~~~ ../qw_common/common.c:1727:21: note: directive argument in the range [0, 2147483647] sprintf (pakfile, "%s/pak%i.pak", com_gamedir, i); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 146 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/mathlib.o -c ../common/mathlib.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/register_check.o -c ../common/register_check.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/wad.o -c ../common/wad.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/zone.o -c ../common/zone.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/console.o -c ../qw_common/console.c ../qw_common/console.c: In function 'Con_DrawInput': ../qw_common/console.c:430:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] int y; ^ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/sbar.o -c sbar.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/view.o -c view.c sbar.c: In function 'Sbar_SortTeams': sbar.c:427:7: warning: the address of 't' will always evaluate as 'true' [-Waddress] if (!t || !t[0]) ^ sbar.c: In function 'Sbar_TeamOverlay': sbar.c:901:15: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i, k, l; ^ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/keys.o -c ../common/keys.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/menu.o -c menu.c In file included from /usr/include/string.h:495, from ../common/common_quakedef.h:27, from ../qw_common/quakedef.h:22, from ../common/keys.c:20: In function 'strcpy', inlined from 'Key_Console' at ../common/keys.c:307:4: /usr/include/bits/string_fortified.h:94:10: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 8192] may overlap 1 byte at offset 0 [-Wrestrict] return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcpy', inlined from 'Key_Console' at ../common/keys.c:287:3: /usr/include/bits/string_fortified.h:94:10: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function 'M_Keys_Draw': menu.c:734:10: warning: variable 'l' set but not used [-Wunused-but-set-variable] int i, l; ^ menu.c: In function 'M_SinglePlayer_Key': menu.c:1038:6: warning: type of 'key' defaults to 'int' [-Wimplicit-int] void M_SinglePlayer_Key (key) { ^~~~~~~~~~~~~~~~~~ menu.c: In function 'M_MultiPlayer_Key': menu.c:1066:6: warning: type of 'key' defaults to 'int' [-Wimplicit-int] void M_MultiPlayer_Key (key) { ^~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_demo.o -c cl_demo.c cl_demo.c: In function 'CL_Record_f': cl_demo.c:427:11: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] buf.data = buf_data; ^ cl_demo.c: In function 'CL_GetDemoMessage': cl_demo.c:152:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&demotime, sizeof(demotime), 1, cls.demofile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:192:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&c, sizeof(c), 1, cls.demofile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:223:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&net_message.cursize, 4, 1, cls.demofile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:237:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&i, 4, 1, cls.demofile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:239:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&i, 4, 1, cls.demofile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_input.o -c cl_input.c cl_demo.c: In function 'CL_Record_f': cl_demo.c:405:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (name, "%s/%s", com_gamedir, Cmd_Argv(1)); ^ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_demo.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cl_demo.c: In function 'CL_ReRecord_f': cl_demo.c:691:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (name, "%s/%s", com_gamedir, Cmd_Argv(1)); ^ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_demo.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_main.o -c cl_main.c cl_main.c: In function 'CL_Disconnect': cl_main.c:450:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (final+1, "drop"); ~~~~~^~ In file included from /usr/include/features.h:438, from /usr/include/ctype.h:25, from cl_main.c:22: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ cl_main.c: In function 'CL_Init': cl_main.c:1081:7: warning: unused variable 'st' [-Wunused-variable] char st[80]; ^~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_parse.o -c cl_parse.c cl_main.c: In function 'CL_Download_f': cl_main.c:1036:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (cls.downloadname, "%s/%s", com_gamedir, Cmd_Argv(1)); ^ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_main.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cl_parse.c: In function 'CL_ParseDownload': cl_parse.c:367:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (name, "%s/%s", com_gamedir, cls.downloadtempname); ^~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from ../common/common_quakedef.h:26, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ cl_parse.c:369:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (name, "qw/%s", cls.downloadtempname); ^~~~ In file included from /usr/include/features.h:438, from /usr/include/bits/libc-header-start.h:33, from /usr/include/math.h:27, from ../common/common_quakedef.h:26, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ cl_parse.c:371:19: warning: pointer targets in passing argument 1 of 'COM_CreatePath' differ in signedness [-Wpointer-sign] COM_CreatePath (name); ^~~~ In file included from ../common/common_quakedef.h:42, from ../qw_common/quakedef.h:22, from cl_parse.c:22: ../qw_common/common.h:207:6: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} void COM_CreatePath (char *path); ^~~~~~~~~~~~~~ cl_parse.c:373:25: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] cls.download = fopen (name, "wb"); ^~~~ In file included from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/stdio.h:246:14: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_tent.o -c cl_tent.c cl_parse.c:420:24: warning: '%s' directive writing up to 127 bytes into a region of size 125 [-Wformat-overflow=] sprintf (oldn, "qw/%s", cls.downloadtempname); ^~ ~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 131 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cl_parse.c:421:24: warning: '%s' directive writing up to 127 bytes into a region of size 125 [-Wformat-overflow=] sprintf (newn, "qw/%s", cls.downloadname); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 131 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cl_parse.c:417:24: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (oldn, "%s/%s", com_gamedir, cls.downloadtempname); ^~ ~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cl_parse.c:418:24: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf (newn, "%s/%s", com_gamedir, cls.downloadname); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cl_parse.c: In function 'CL_ParseServerData': cl_parse.c:562:19: warning: '%s' directive writing 10 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(fn, "%s/%s", com_gamedir, "config.cfg"); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 139 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/snd_dma.o -c ../common/snd_dma.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/snd_oss.o -c ../common/snd_oss.c ../common/snd_dma.c: In function 'SND_Spatialize': ../common/snd_dma.c:413:9: warning: variable 'snd' set but not used [-Wunused-but-set-variable] sfx_t *snd; ^~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/snd_mem.o -c ../common/snd_mem.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/snd_mix.o -c ../common/snd_mix.c In file included from ../common/common_quakedef.h:42, from ../qw_common/quakedef.h:22, from ../common/snd_mem.c:22: ../common/snd_mem.c: In function 'FindNextChunk': ../qw_common/common.h:147:38: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) ^~~~ ../common/snd_mem.c:215:8: note: in expansion of macro 'Q_strncmp' if (!Q_strncmp(data_p, name, 4)) ^~~~~~~~~ In file included from ../common/common_quakedef.h:27, from ../qw_common/quakedef.h:22, from ../common/snd_mem.c:22: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from ../common/common_quakedef.h:42, from ../qw_common/quakedef.h:22, from ../common/snd_mem.c:22: ../common/snd_mem.c: In function 'GetWavinfo': ../common/snd_mem.c:266:35: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!(data_p && !Q_strncmp(data_p+8, "WAVE", 4))) ../qw_common/common.h:147:39: note: in definition of macro 'Q_strncmp' #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) ^~ In file included from ../common/common_quakedef.h:27, from ../qw_common/quakedef.h:22, from ../common/snd_mem.c:22: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ../common/snd_mem.c:307:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (data_p + 28, "mark", 4)) ~~~~~~~^~~~ In file included from ../common/common_quakedef.h:27, from ../qw_common/quakedef.h:22, from ../common/snd_mem.c:22: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ ../common/snd_mix.c: In function 'SND_PaintChannelFrom8': ../common/snd_mix.c:360:6: warning: pointer targets in assignment from 'signed char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] sfx = (signed char *)sc->data + ch->pos; ^ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DELF -x assembler-with-cpp -o ../targets/qw_client/gl/snd_mixa.o -c ../common/snd_mixa.s cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cd_wrapper.o -c ../common/cd_wrapper.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/r_part.o -c r_part.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_cam.o -c cl_cam.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_ents.o -c cl_ents.c cl_ents.c: In function 'CL_ParsePlayerinfo': cl_ents.c:661:17: warning: variable 'info' set but not used [-Wunused-but-set-variable] player_info_t *info; ^~~~ cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/cl_pred.o -c cl_pred.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/net_udp.o -c ../qw_common/net_udp.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/net_com.o -c ../common/net_com.c cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Did386=0 -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -Wall -DQUAKEWORLD -g -DHAVE_CONFIG_H -I. -I../qw_common -I../common -DGLQUAKE -I/usr/local/include -I/usr/pkg/include -o ../targets/qw_client/gl/mdfour.o -c ../common/mdfour.c ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __sun__ ^~~~~~~ ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif AF_INET6 ^~~~~~~~ ../qw_common/net_udp.c: In function 'NetadrToSockadr': ../qw_common/net_udp.c:112:5: error: 'sockaddress_t' {aka 'struct sockaddr_in6'} has no member named 'sin6_len'; did you mean 'sin6_port'? s->sin6_len = sizeof(struct sockaddr_in6); ^~~~~~~~ sin6_port ../qw_common/net_udp.c: In function 'NET_BaseAdrToString': ../qw_common/net_udp.c:179:6: error: 'struct sockaddr_storage' has no member named 'ss_len'; did you mean '__ss_align'? ss.ss_len = sizeof(struct sockaddr_in); ^~~~~~ __ss_align ../qw_common/net_udp.c:184:6: error: 'struct sockaddr_storage' has no member named 'ss_len'; did you mean '__ss_align'? ss.ss_len = sizeof(struct sockaddr_in6); ^~~~~~ __ss_align ../qw_common/net_udp.c:189:45: error: 'struct sockaddr_storage' has no member named 'ss_len'; did you mean '__ss_align'? if (getnameinfo((struct sockaddr *)&ss, ss.ss_len, s, sizeof(s), ^~~~~~ __ss_align ../qw_common/net_udp.c: At top level: ../qw_common/net_udp.c:196:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif IPV4_ONLY_STACK ^~~~~~~~~~~~~~~ ../qw_common/net_udp.c: In function 'NET_GetPacket': ../qw_common/net_udp.c:346:107: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); ^~~~~~~~ In file included from /usr/include/sys/socket.h:269, from ../qw_common/net.h:23, from ../common/common_quakedef.h:52, from ../qw_common/quakedef.h:22, from ../qw_common/net_udp.c:42: /usr/include/bits/socket2.h:61:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ ../qw_common/net_udp.c: In function 'UDP_OpenSocket': ../qw_common/net_udp.c:420:12: warning: unused variable 'false' [-Wunused-variable] const int false = 0; ^~~~~ ../qw_common/net_udp.c: In function 'NET_GetLocalAddress': ../qw_common/net_udp.c:481:60: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) ^~~~~~~~ In file included from ../qw_common/net.h:23, from ../common/common_quakedef.h:52, from ../qw_common/quakedef.h:22, from ../qw_common/net_udp.c:42: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ gmake[1]: *** [Makefile:414: ../targets/qw_client/gl/net_udp.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... ../common/mdfour.c: In function 'mdfour_tail': ../common/mdfour.c:141:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(buf, 0, 128); ^~~~~~ ../common/mdfour.c:141:2: warning: incompatible implicit declaration of built-in function 'memset' ../common/mdfour.c:141:2: note: include '' or provide a declaration of 'memset' ../common/mdfour.c:28:1: +#include #endif // _MDFOUR_H ../common/mdfour.c:141:2: memset(buf, 0, 128); ^~~~~~ ../common/mdfour.c:142:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] if (n) memcpy(buf, in, n); ^~~~~~ ../common/mdfour.c:142:9: warning: incompatible implicit declaration of built-in function 'memcpy' ../common/mdfour.c:142:9: note: include '' or provide a declaration of 'memcpy' gmake[1]: Leaving directory '/home/pbulk/build/games/quake6/work/quakeforge/qw_client' gmake: *** [Makefile:8: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/quake6 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/quake6