+ 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 make[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 ../qw_common/common.c: In function 'COM_CopyFile': ../qw_common/common.c:1377:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1377 | fread (buf, 1, count, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.c: In function 'COM_LoadFile': ../qw_common/common.c:1507:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1507 | fread (buf, 1, len, h); | ^~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.c: In function 'COM_LoadPackFile': ../qw_common/common.c:1568:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | fread (&header, 1, sizeof(header), packhandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../qw_common/common.c:1586:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1586 | 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/cvar.o -c ../qw_common/cvar.c ../qw_common/common.c: In function 'COM_WriteFile': ../qw_common/common.c:1312:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1312 | sprintf (name, "%s/%s", com_gamedir, filename); | ^ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../qw_common/common.c: In function 'COM_FOpenFile': ../qw_common/common.c:1433:49: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1433 | sprintf (netpath, "%s/%s",search->filename, filename); | ^ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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/cmd.o -c ../qw_common/cmd.c ../qw_common/common.c: In function 'COM_Gamedir': ../qw_common/common.c:1712:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1712 | sprintf (com_gamedir, "%s/%s", com_basedir, dir); | ^ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../qw_common/common.c:1727:38: warning: '/pak' directive writing 4 bytes into a region of size between 1 and 128 [-Wformat-overflow=] 1727 | sprintf (pakfile, "%s/pak%i.pak", com_gamedir, i); | ^~~~ ../qw_common/common.c:1727:35: note: directive argument in the range [0, 2147483647] 1727 | sprintf (pakfile, "%s/pak%i.pak", com_gamedir, i); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from ../qw_common/common.c:27: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 146 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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:25: warning: variable 'y' set but not used [-Wunused-but-set-variable] 430 | int y; | ^ In file included from /usr/include/string.h:519, from ../common/common_quakedef.h:27, from ../qw_common/quakedef.h:22, from ../common/zone.c:22: In function 'strncpy', inlined from 'Hunk_AllocName' at ../common/zone.c:429:2: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Hunk_HighAllocName' at ../common/zone.c:520:2: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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:21: warning: the address of 't' will always evaluate as 'true' [-Waddress] 427 | if (!t || !t[0]) | ^ sbar.c: In function 'Sbar_TeamOverlay': sbar.c:901:47: warning: variable 'l' set but not used [-Wunused-but-set-variable] 901 | int i, k, l; | ^ In file included from /usr/include/string.h:519, from ../common/common_quakedef.h:27, from ../qw_common/quakedef.h:22, from sbar.c:22: In function 'strncpy', inlined from 'Sbar_TeamOverlay.part.0' at sbar.c:961:3: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 16 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Sbar_MiniDeathmatchOverlay' at sbar.c:1277:3: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 16 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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:519, 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:287:3: /usr/include/bits/string_fortified.h:79:10: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strcpy', inlined from 'Key_Console' at ../common/keys.c:307:4: /usr/include/bits/string_fortified.h:79:10: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function 'M_Keys_Draw': menu.c:734:28: warning: variable 'l' set but not used [-Wunused-but-set-variable] 734 | int i, l; | ^ menu.c: In function 'M_SinglePlayer_Key': menu.c:1038:6: warning: type of 'key' defaults to 'int' [-Wimplicit-int] 1038 | 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] 1066 | 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:18: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 427 | buf.data = buf_data; | ^ cl_demo.c: In function 'CL_GetDemoMessage': cl_demo.c:152:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | fread(&demotime, sizeof(demotime), 1, cls.demofile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:192:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | fread (&c, sizeof(c), 1, cls.demofile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:223:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 223 | fread (&net_message.cursize, 4, 1, cls.demofile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:237:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 237 | fread (&i, 4, 1, cls.demofile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c:239:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 239 | fread (&i, 4, 1, cls.demofile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cl_demo.c: In function 'CL_Record_f': cl_demo.c:405:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 405 | sprintf (name, "%s/%s", com_gamedir, Cmd_Argv(1)); | ^ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_demo.c:21: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cl_demo.c: In function 'CL_ReRecord_f': cl_demo.c:691:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 691 | sprintf (name, "%s/%s", com_gamedir, Cmd_Argv(1)); | ^ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_demo.c:21: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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_input.o -c cl_input.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_main.o -c cl_main.c cl_main.c: In function 'CL_Disconnect': cl_main.c:450:30: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 450 | strcpy (final+1, "drop"); | ~~~~~^~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from cl_main.c:22: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ cl_main.c: In function 'CL_Init': cl_main.c:1081:14: warning: unused variable 'st' [-Wunused-variable] 1081 | 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:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1036 | sprintf (cls.downloadname, "%s/%s", com_gamedir, Cmd_Argv(1)); | ^ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_main.c:24: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 129) into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cl_parse.c: In function 'CL_ParseDownload': cl_parse.c:367:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 367 | sprintf (name, "%s/%s", com_gamedir, cls.downloadtempname); | ^~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ cl_parse.c:369:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 369 | sprintf (name, "qw/%s", cls.downloadtempname); | ^~~~ | | | byte * {aka unsigned char *} In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ cl_parse.c:371:33: warning: pointer targets in passing argument 1 of 'COM_CreatePath' differ in signedness [-Wpointer-sign] 371 | COM_CreatePath (name); | ^~~~ | | | byte * {aka unsigned char *} 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:28: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} 207 | void COM_CreatePath (char *path); | ~~~~~~^~~~ cl_parse.c:373:39: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 373 | cls.download = fopen (name, "wb"); | ^~~~ | | | byte * {aka unsigned char *} In file included from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'} 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ cl_parse.c:420:52: warning: '%s' directive writing up to 127 bytes into a region of size 125 [-Wformat-overflow=] 420 | sprintf (oldn, "qw/%s", cls.downloadtempname); | ^~ ~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 131 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cl_parse.c:421:52: warning: '%s' directive writing up to 127 bytes into a region of size 125 [-Wformat-overflow=] 421 | sprintf (newn, "qw/%s", cls.downloadname); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 131 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cl_parse.c:417:52: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 417 | sprintf (oldn, "%s/%s", com_gamedir, cls.downloadtempname); | ^~ ~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cl_parse.c:418:52: warning: '%s' directive writing up to 127 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 418 | sprintf (newn, "%s/%s", com_gamedir, cls.downloadname); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 256 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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_tent.o -c cl_tent.c cl_parse.c: In function 'CL_ParseServerData': cl_parse.c:562:33: warning: '%s' directive writing 10 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 562 | sprintf(fn, "%s/%s", com_gamedir, "config.cfg"); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from ../common/common_quakedef.h:29, from ../qw_common/quakedef.h:22, from cl_parse.c:22: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 139 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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:16: warning: variable 'snd' set but not used [-Wunused-but-set-variable] 413 | 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] 147 | #define Q_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) | ^~~~ | | | byte * {aka unsigned char *} ../common/snd_mem.c:215:22: note: in expansion of macro 'Q_strncmp' 215 | 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:143:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 143 | 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:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 266 | if (!(data_p && !Q_strncmp(data_p+8, "WAVE", 4))) ../qw_common/common.h:147:39: note: in definition of macro 'Q_strncmp' 147 | #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:143:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ../common/snd_mem.c:307:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 307 | if (!strncmp (data_p + 28, "mark", 4)) | ~~~~~~~^~~~ | | | byte * {aka unsigned char *} 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:143:33: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} 143 | 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:13: warning: pointer targets in assignment from 'signed char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 360 | 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:26: warning: variable 'info' set but not used [-Wunused-but-set-variable] 661 | 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 ../common/mdfour.c: In function 'mdfour_tail': ../common/mdfour.c:141:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 141 | memset(buf, 0, 128); | ^~~~~~ ../common/mdfour.c:28:1: note: include '<string.h>' or provide a declaration of 'memset' 27 | #include "mdfour.h" +++ |+#include <string.h> 28 | #endif // _MDFOUR_H ../common/mdfour.c:141:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 141 | memset(buf, 0, 128); | ^~~~~~ ../common/mdfour.c:141:9: note: include '<string.h>' or provide a declaration of 'memset' ../common/mdfour.c:142:16: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 142 | if (n) memcpy(buf, in, n); | ^~~~~~ ../common/mdfour.c:142:16: note: include '<string.h>' or provide a declaration of 'memcpy' ../common/mdfour.c:142:16: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] ../common/mdfour.c:142:16: note: include '<string.h>' or provide a declaration of 'memcpy' ../qw_common/net_udp.c:78:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 78 | #endif __sun__ | ^~~~~~~ ../qw_common/net_udp.c:80:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 80 | #endif AF_INET6 | ^~~~~~~~ ../qw_common/net_udp.c: In function 'NetadrToSockadr': ../qw_common/net_udp.c:112:10: error: 'sockaddress_t' {aka 'struct sockaddr_in6'} has no member named 'sin6_len' 112 | s->sin6_len = sizeof(struct sockaddr_in6); | ^~ ../qw_common/net_udp.c: In function 'NET_BaseAdrToString': ../qw_common/net_udp.c:179:19: error: 'struct sockaddr_storage' has no member named 'ss_len' 179 | ss.ss_len = sizeof(struct sockaddr_in); | ^ ../qw_common/net_udp.c:184:19: error: 'struct sockaddr_storage' has no member named 'ss_len' 184 | ss.ss_len = sizeof(struct sockaddr_in6); | ^ ../qw_common/net_udp.c:189:51: error: 'struct sockaddr_storage' has no member named 'ss_len' 189 | if (getnameinfo((struct sockaddr *)&ss, ss.ss_len, s, sizeof(s), | ^ ../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] 196 | #endif IPV4_ONLY_STACK | ^~~~~~~~~~~~~~~ ../qw_common/net_udp.c: In function 'NET_GetPacket': ../qw_common/net_udp.c:346:114: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 346 | ret = recvfrom (net_socket, net_message_buffer, sizeof(net_message_buffer), 0, (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, 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:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ../qw_common/net_udp.c: In function 'UDP_OpenSocket': ../qw_common/net_udp.c:420:19: warning: unused variable 'false' [-Wunused-variable] 420 | const int false = 0; | ^~~~~ ../qw_common/net_udp.c: In function 'NET_GetLocalAddress': ../qw_common/net_udp.c:481:67: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 481 | if (getsockname (net_socket, (struct sockaddr *)&address, &namelen) == -1) | ^~~~~~~~ | | | int * 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:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ make[1]: *** [Makefile:414: ../targets/qw_client/gl/net_udp.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/pbulk/build/games/quake6/work/quakeforge/qw_client' make: *** [Makefile:8: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/quake6 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/quake6