+ 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/openarena-0.8.8nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openarena-0.8.8nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for openarena-0.8.8nb1 Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable Package 'sdl', required by 'virtual:world', not found /usr/bin/which: no sdl-config in (/home/pbulk/build/games/openarena/work/.cwrapper/bin:/home/pbulk/build/games/openarena/work/.buildlink/bin:/home/pbulk/build/games/openarena/work/.gcc/bin:/home/pbulk/build/games/openarena/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin) Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable Package 'sdl', required by 'virtual:world', not found make[1]: Entering directory '/home/pbulk/build/games/openarena/work/oa-0.8.8' Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable Package 'sdl', required by 'virtual:world', not found /usr/bin/which: no sdl-config in (/home/pbulk/build/games/openarena/work/.cwrapper/bin:/home/pbulk/build/games/openarena/work/.buildlink/bin:/home/pbulk/build/games/openarena/work/.gcc/bin:/home/pbulk/build/games/openarena/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin) Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable Package 'sdl', required by 'virtual:world', not found Building ioquake3 in build/release-linux-x86_64: PLATFORM: linux ARCH: x86_64 VERSION: 1.36 COMPILE_PLATFORM: linux COMPILE_ARCH: x86_64 CC: cc CFLAGS: -pipe -O2 -DARCH_STRING=x86_64 -MMD -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -DUSE_OPENAL -DUSE_CURL -DUSE_CURL_DLOPEN -Icode/SDL12/include -DUSE_MUMBLE -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -Icode/libspeex/include -DUSE_LOCAL_HEADERS -DSTANDALONE -DPRODUCT_VERSION="1.36" -DNDEBUG -O3 -fomit-frame-pointer -ffast-math -funroll-loops -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fstrength-reduce LDFLAGS: -Wl,-zrelro -Wl,-R/usr/pkg/lib LIBS: -ldl -lm CLIENT_LIBS: -lGL -lopenal -lrt Output: build/release-linux-x86_64/baseq3/cgamex86_64.so build/release-linux-x86_64/baseq3/qagamex86_64.so build/release-linux-x86_64/baseq3/uix86_64.so build/release-linux-x86_64/missionpack/cgamex86_64.so build/release-linux-x86_64/missionpack/qagamex86_64.so build/release-linux-x86_64/missionpack/uix86_64.so build/release-linux-x86_64/baseq3/vm/cgame.qvm build/release-linux-x86_64/baseq3/vm/qagame.qvm build/release-linux-x86_64/baseq3/vm/ui.qvm build/release-linux-x86_64/missionpack/vm/qagame.qvm build/release-linux-x86_64/missionpack/vm/cgame.qvm build/release-linux-x86_64/missionpack/vm/ui.qvm make[2]: Entering directory '/home/pbulk/build/games/openarena/work/oa-0.8.8' Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable Package 'sdl', required by 'virtual:world', not found /usr/bin/which: no sdl-config in (/home/pbulk/build/games/openarena/work/.cwrapper/bin:/home/pbulk/build/games/openarena/work/.buildlink/bin:/home/pbulk/build/games/openarena/work/.gcc/bin:/home/pbulk/build/games/openarena/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin) CGAME_CC code/cgame/cg_main.c GAME_CC code/game/bg_misc.c GAME_CC code/game/bg_lib.c GAME_CC code/game/bg_pmove.c code/game/bg_pmove.c: In function 'PM_Weapon': code/game/bg_pmove.c:1717:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1717 | else | ^~~~ code/game/bg_pmove.c:1722:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1722 | pm->ps->weaponTime += addTime; | ^~ GAME_CC code/game/bg_slidemove.c code/game/bg_slidemove.c: In function 'PM_StepSlideMove': code/game/bg_slidemove.c:235:33: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] 235 | vec3_t down_o, down_v; | ^~~~~~ code/game/bg_slidemove.c:235:25: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] 235 | vec3_t down_o, down_v; | ^~~~~~ CGAME_CC code/cgame/cg_challenges.c CGAME_CC code/cgame/cg_consolecmds.c CGAME_CC code/cgame/cg_draw.c code/cgame/cg_draw.c: In function 'CG_DrawEliminationTimer': code/cgame/cg_draw.c:1076:15: warning: variable 'scale' set but not used [-Wunused-but-set-variable] 1076 | float scale; | ^~~~~ code/cgame/cg_draw.c: In function 'CG_DrawCenterDDString': code/cgame/cg_draw.c:2389:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2389 | if(cgs.gametype != GT_DOUBLE_D) | ^~ code/cgame/cg_draw.c:2392:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2392 | statusA = cgs.redflag; | ^~~~~~~ code/cgame/cg_draw.c: In function 'CG_DrawWarmup': code/cgame/cg_draw.c:3099:15: warning: variable 'scale' set but not used [-Wunused-but-set-variable] 3099 | float scale; | ^~~~~ CGAME_CC code/cgame/cg_drawtools.c CGAME_CC code/cgame/cg_effects.c CGAME_CC code/cgame/cg_ents.c CGAME_CC code/cgame/cg_event.c code/cgame/cg_ents.c: In function 'CG_AdjustPositionForMover': code/cgame/cg_ents.c:663:36: warning: variable 'deltaAngles' set but not used [-Wunused-but-set-variable] 663 | vec3_t oldAngles, angles, deltaAngles; | ^~~~~~~~~~~ code/cgame/cg_event.c: In function 'CG_EntityEvent': code/cgame/cg_event.c:711:42: warning: variable 'smoke' set but not used [-Wunused-but-set-variable] 711 | localEntity_t *smoke; | ^~~~~ CGAME_CC code/cgame/cg_info.c CGAME_CC code/cgame/cg_localents.c CGAME_CC code/cgame/cg_marks.c code/cgame/cg_marks.c: In function 'CG_AddParticles': code/cgame/cg_marks.c:1096:41: warning: variable 'type' set but not used [-Wunused-but-set-variable] 1096 | int type; | ^~~~ code/cgame/cg_marks.c:1094:41: warning: variable 'color' set but not used [-Wunused-but-set-variable] 1094 | int color; | ^~~~~ CGAME_CC code/cgame/cg_players.c code/cgame/cg_players.c: In function 'CG_DustTrail': code/cgame/cg_players.c:1568:26: warning: variable 'dust' set but not used [-Wunused-but-set-variable] 1568 | localEntity_t *dust; | ^~~~ CGAME_CC code/cgame/cg_playerstate.c code/cgame/cg_playerstate.c: In function 'CG_CheckLocalSounds': code/cgame/cg_playerstate.c:299:52: warning: variable 'armor' set but not used [-Wunused-but-set-variable] 299 | int highScore, health, armor, reward; | ^~~~~ code/cgame/cg_playerstate.c:299:44: warning: variable 'health' set but not used [-Wunused-but-set-variable] 299 | int highScore, health, armor, reward; | ^~~~~~ CGAME_CC code/cgame/cg_predict.c CGAME_CC code/cgame/cg_scoreboard.c CGAME_CC code/cgame/cg_servercmds.c CGAME_CC code/cgame/cg_snapshot.c code/cgame/cg_servercmds.c:47:18: warning: 'numValidOrders' defined but not used [-Wunused-const-variable=] 47 | static const int numValidOrders = sizeof(validOrders) / sizeof(orderTask_t); | ^~~~~~~~~~~~~~ CGAME_CC code/cgame/cg_unlagged.c CGAME_CC code/cgame/cg_view.c CGAME_CC code/cgame/cg_weapons.c code/cgame/cg_weapons.c: In function 'CG_RailTrail': code/cgame/cg_weapons.c:218:39: warning: variable 'next_move' set but not used [-Wunused-but-set-variable] 218 | vec3_t axis[36], move, move2, next_move, vec, temp; | ^~~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_LeiSmokeTrail': code/cgame/cg_weapons.c:411:25: warning: variable 'theradio' set but not used [-Wunused-but-set-variable] 411 | int theradio; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_LeiPlasmaTrail': code/cgame/cg_weapons.c:470:25: warning: variable 'lastContents' set but not used [-Wunused-but-set-variable] 470 | int lastContents; | ^~~~~~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_OldPlasmaTrail': code/cgame/cg_weapons.c:600:41: warning: variable 't' set but not used [-Wunused-but-set-variable] 600 | int t, startTime, step; | ^ code/cgame/cg_weapons.c: In function 'CG_LightningBolt': code/cgame/cg_weapons.c:1167:24: warning: variable 'viewangles' set but not used [-Wunused-but-set-variable] 1167 | vec3_t viewangles; | ^~~~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar0': code/cgame/cg_weapons.c:1759:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1759 | if(i==10) | ^~ code/cgame/cg_weapons.c:1761:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1761 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar1': code/cgame/cg_weapons.c:1825:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1825 | if(i==10) | ^~ code/cgame/cg_weapons.c:1827:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1827 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar3': code/cgame/cg_weapons.c:2012:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2012 | if(i==10) | ^~ code/cgame/cg_weapons.c:2014:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2014 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar4': code/cgame/cg_weapons.c:2118:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2118 | if(i==10) | ^~ code/cgame/cg_weapons.c:2120:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2120 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar5': code/cgame/cg_weapons.c:2212:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2212 | if(i==10) | ^~ code/cgame/cg_weapons.c:2214:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2214 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar6': code/cgame/cg_weapons.c:2299:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2299 | if(i==10) | ^~ code/cgame/cg_weapons.c:2301:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2301 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar7': code/cgame/cg_weapons.c:2404:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2404 | if(i==10) | ^~ code/cgame/cg_weapons.c:2406:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2406 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_ShotgunPellet': code/cgame/cg_weapons.c:3184:26: warning: variable 'smoke' set but not used [-Wunused-but-set-variable] 3184 | localEntity_t *smoke; | ^~~~~ code/cgame/cg_weapons.c: In function 'CG_Bullet': code/cgame/cg_weapons.c:3522:26: warning: variable 'smoke' set but not used [-Wunused-but-set-variable] 3522 | localEntity_t *smoke; | ^~~~~ SHLIB_CC code/qcommon/q_math.c SHLIB_CC code/qcommon/q_shared.c code/cgame/cg_weapons.c: In function 'CG_AddPlayerWeapon': code/cgame/cg_weapons.c:1478:9: warning: 'MatrixMultiply' accessing 36 bytes in a region of size 12 [-Wstringop-overflow=] 1478 | MatrixMultiply(lerped.axis, ((refEntity_t *)parent)->axis, gun.axis); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/cgame/cg_weapons.c:1478:9: note: referencing argument 2 of type 'float (*)[3]' In file included from code/cgame/cg_local.h:23, from code/cgame/cg_weapons.c:24: code/cgame/../qcommon/q_shared.h:617:6: note: in a call to function 'MatrixMultiply' 617 | void MatrixMultiply(float in1[3][3], float in2[3][3], float out[3][3]); | ^~~~~~~~~~~~~~ CGAME_CC code/cgame/cg_syscalls.c GAME_CC code/game/g_main.c code/game/g_main.c: In function 'G_RunFrame': code/game/g_main.c:2728:12: warning: variable 'end' set but not used [-Wunused-but-set-variable] 2728 | int start, end; | ^~~ code/game/g_main.c:2728:5: warning: variable 'start' set but not used [-Wunused-but-set-variable] 2728 | int start, end; | ^~~~~ code/game/g_main.c:2727:33: warning: variable 'msec' set but not used [-Wunused-but-set-variable] 2727 | int msec; | ^~~~ GAME_CC code/game/ai_chat.c code/game/ai_chat.c: In function 'BotChatTime': code/game/ai_chat.c:952:13: warning: variable 'cpm' set but not used [-Wunused-but-set-variable] 952 | int cpm; | ^~~ GAME_CC code/game/ai_cmd.c GAME_CC code/game/ai_dmnet.c GAME_CC code/game/ai_dmq3.c code/game/ai_dmq3.c: In function 'BotAIBlocked': code/game/ai_dmq3.c:4537:42: warning: variable 'maxs' set but not used [-Wunused-but-set-variable] 4537 | vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; | ^~~~ code/game/ai_dmq3.c:4537:36: warning: variable 'mins' set but not used [-Wunused-but-set-variable] 4537 | vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; | ^~~~ code/game/ai_dmq3.c:4537:31: warning: variable 'end' set but not used [-Wunused-but-set-variable] 4537 | vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; | ^~~ GAME_CC code/game/ai_main.c GAME_CC code/game/ai_team.c code/game/ai_team.c: In function 'BotCTFOrders_FlagNotAtBase': code/game/ai_team.c:504:18: warning: variable 'weAreAttacking' set but not used [-Wunused-but-set-variable] 504 | qboolean weAreAttacking; | ^~~~~~~~~~~~~~ GAME_CC code/game/ai_vcmd.c code/game/ai_vcmd.c: In function 'BotVoiceChatCommand': code/game/ai_vcmd.c:497:38: warning: variable 'color' set but not used [-Wunused-but-set-variable] 497 | int i, voiceOnly, clientNum, color; | ^~~~~ code/game/ai_vcmd.c:497:16: warning: variable 'voiceOnly' set but not used [-Wunused-but-set-variable] 497 | int i, voiceOnly, clientNum, color; | ^~~~~~~~~ GAME_CC code/game/g_active.c code/game/g_active.c: In function 'ClientEvents': code/game/g_active.c:553:17: warning: variable 'dir' set but not used [-Wunused-but-set-variable] 553 | vec3_t dir; | ^~~ code/game/g_active.c: In function 'ClientEndFrame': code/game/g_active.c:1252:34: warning: variable 'pers' set but not used [-Wunused-but-set-variable] 1252 | clientPersistant_t *pers; | ^~~~ GAME_CC code/game/g_arenas.c GAME_CC code/game/g_admin.c GAME_CC code/game/g_bot.c code/game/g_admin.c: In function 'G_admin_namelog_update': code/game/g_admin.c:1035:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1035 | memset( namelog, 0, sizeof( namelog ) ); | ^ code/game/g_admin.c: In function 'G_admin_listplayers': code/game/g_admin.c:2314:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2314 | for( j = 0; j < 8; j++ ) | ^~~ code/game/g_admin.c:2316:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2316 | guid_stub[ j ] = '\0'; | ^~~~~~~~~ GAME_CC code/game/g_client.c code/game/g_client.c: In function 'ClientRespawn': code/game/g_client.c:559:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 559 | if((g_gametype.integer==GT_ELIMINATION || g_gametype.integer==GT_CTF_ELIMINATION || g_gametype.integer==GT_LMS) | ^~ code/game/g_client.c:562:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 562 | ClientSpawn(ent); | ^~~~~~~~~~~ code/game/g_client.c: In function 'ClientConnect': code/game/g_client.c:1477:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1477 | if( !strcmp( client->pers.ip, "localhost" ) ) | ^~ code/game/g_client.c:1479:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1479 | client->pers.adminLevel = G_admin_level( ent ); | ^~~~~~ GAME_CC code/game/g_cmds.c GAME_CC code/game/g_cmds_ext.c code/game/g_cmds.c: In function 'ClientCommand': code/game/g_cmds.c:2249:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2249 | if( !G_admin_cmd_check( ent, qfalse ) ) | ^~ code/game/g_cmds.c:2252:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2252 | return; | ^~~~~~ GAME_CC code/game/g_combat.c GAME_CC code/game/g_items.c GAME_CC code/game/bg_alloc.c GAME_CC code/game/g_fileops.c GAME_CC code/game/g_killspree.c code/game/g_killspree.c: In function 'G_checkForMultiKill': code/game/g_killspree.c:471:17: warning: variable 'clientNum' set but not used [-Wunused-but-set-variable] 471 | int clientNum; | ^~~~~~~~~ GAME_CC code/game/g_misc.c GAME_CC code/game/g_missile.c GAME_CC code/game/g_mover.c GAME_CC code/game/g_playerstore.c GAME_CC code/game/g_session.c GAME_CC code/game/g_spawn.c GAME_CC code/game/g_svcmds.c GAME_CC code/game/g_svcmds_ext.c GAME_CC code/game/g_target.c GAME_CC code/game/g_team.c GAME_CC code/game/g_trigger.c GAME_CC code/game/g_unlagged.c code/game/g_unlagged.c: In function 'G_StoreHistory': code/game/g_unlagged.c:57:31: warning: variable 'frametime' set but not used [-Wunused-but-set-variable] 57 | int head, frametime; | ^~~~~~~~~ code/game/g_unlagged.c: In function 'G_PredictPlayerStepSlideMove': code/game/g_unlagged.c:560:42: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] 560 | vec3_t start_o, start_v, down_o, down_v; | ^~~~~~ code/game/g_unlagged.c:560:34: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] 560 | vec3_t start_o, start_v, down_o, down_v; | ^~~~~~ GAME_CC code/game/g_utils.c GAME_CC code/game/g_vote.c In file included from /usr/include/string.h:519, from code/game/../qcommon/q_shared.h:121, from code/game/g_local.h:25, from code/game/g_vote.c:23: In function 'strncpy', inlined from 'allowedVote' at code/game/g_vote.c:47:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ code/game/g_vote.c: In function 'allowedVote': code/game/g_vote.c:39:14: note: length computed here 39 | length = strlen(commandStr); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from code/game/../qcommon/q_shared.h:121, from code/game/g_local.h:25, from code/game/g_vote.c:23: In function 'strncpy', inlined from 'allowedGametype' at code/game/g_vote.c:190:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ code/game/g_vote.c: In function 'allowedGametype': code/game/g_vote.c:183:14: note: length computed here 183 | length = strlen(gametypeStr); | ^~~~~~~~~~~~~~~~~~~ GAME_CC code/game/g_weapon.c GAME_CC code/game/g_syscalls.c code/game/g_weapon.c: In function 'ShotgunPattern': code/game/g_weapon.c:390:33: warning: variable 'oldScore' set but not used [-Wunused-but-set-variable] 390 | int oldScore; | ^~~~~~~~ UI_CC code/q3_ui/ui_main.c UI_CC code/q3_ui/ui_addbots.c UI_CC code/q3_ui/ui_atoms.c UI_CC code/q3_ui/ui_cdkey.c UI_CC code/q3_ui/ui_challenges.c UI_CC code/q3_ui/ui_cinematics.c UI_CC code/q3_ui/ui_confirm.c UI_CC code/q3_ui/ui_connect.c UI_CC code/q3_ui/ui_controls2.c UI_CC code/q3_ui/ui_credits.c UI_CC code/q3_ui/ui_demo2.c code/q3_ui/ui_demo2.c: In function 'UI_DemosMenu_Key': code/q3_ui/ui_demo2.c:119:26: warning: variable 'item' set but not used [-Wunused-but-set-variable] 119 | menucommon_s *item; | ^~~~ UI_CC code/q3_ui/ui_display.c UI_CC code/q3_ui/ui_firstconnect.c UI_CC code/q3_ui/ui_gameinfo.c UI_CC code/q3_ui/ui_ingame.c UI_CC code/q3_ui/ui_loadconfig.c UI_CC code/q3_ui/ui_menu.c code/q3_ui/ui_menu.c: In function 'Main_MenuEvent': code/q3_ui/ui_menu.c:109:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 109 | else | ^~~~ code/q3_ui/ui_menu.c:111:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 111 | break; | ^~~~~ UI_CC code/q3_ui/ui_mfield.c code/q3_ui/ui_mfield.c: In function 'MenuField_Draw': code/q3_ui/ui_mfield.c:337:25: warning: variable 'h' set but not used [-Wunused-but-set-variable] 337 | int h; | ^ UI_CC code/q3_ui/ui_mods.c UI_CC code/q3_ui/ui_network.c code/q3_ui/ui_mods.c: In function 'UI_ModsMenu_Key': code/q3_ui/ui_mods.c:188:26: warning: variable 'item' set but not used [-Wunused-but-set-variable] 188 | menucommon_s *item; | ^~~~ UI_CC code/q3_ui/ui_options.c UI_CC code/q3_ui/ui_password.c UI_CC code/q3_ui/ui_playermodel.c UI_CC code/q3_ui/ui_players.c UI_CC code/q3_ui/ui_playersettings.c code/q3_ui/ui_playersettings.c: In function 'PlayerSettings_DrawEffects2': code/q3_ui/ui_playersettings.c:238:33: warning: variable 'focus' set but not used [-Wunused-but-set-variable] 238 | qboolean focus; | ^~~~~ UI_CC code/q3_ui/ui_preferences.c UI_CC code/q3_ui/ui_qmenu.c UI_CC code/q3_ui/ui_removebots.c UI_CC code/q3_ui/ui_saveconfig.c UI_CC code/q3_ui/ui_serverinfo.c UI_CC code/q3_ui/ui_servers2.c UI_CC code/q3_ui/ui_setup.c code/q3_ui/ui_servers2.c: In function 'ArenaServers_LoadFavorites': code/q3_ui/ui_servers2.c:937:33: warning: variable 'emptyinfo' set but not used [-Wunused-but-set-variable] 937 | char emptyinfo[MAX_INFO_STRING]; | ^~~~~~~~~ UI_CC code/q3_ui/ui_sound.c UI_CC code/q3_ui/ui_sparena.c UI_CC code/q3_ui/ui_specifyserver.c UI_CC code/q3_ui/ui_splevel.c UI_CC code/q3_ui/ui_sppostgame.c UI_CC code/q3_ui/ui_spskill.c UI_CC code/q3_ui/ui_startserver.c UI_CC code/q3_ui/ui_team.c UI_CC code/q3_ui/ui_teamorders.c UI_CC code/q3_ui/ui_video.c UI_CC code/q3_ui/ui_votemenu.c UI_CC code/q3_ui/ui_votemenu_fraglimit.c UI_CC code/q3_ui/ui_votemenu_timelimit.c UI_CC code/q3_ui/ui_votemenu_gametype.c UI_CC code/q3_ui/ui_votemenu_kick.c UI_CC code/q3_ui/ui_votemenu_map.c UI_CC code/q3_ui/ui_votemenu_custom.c UI_CC_MISSIONPACK code/ui/ui_syscalls.c CGAME_CC_MISSIONPACK code/cgame/cg_main.c GAME_CC_MISSIONPACK code/game/bg_misc.c GAME_CC_MISSIONPACK code/game/bg_lib.c GAME_CC_MISSIONPACK code/game/bg_pmove.c code/game/bg_pmove.c: In function 'PM_Weapon': code/game/bg_pmove.c:1717:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1717 | else | ^~~~ code/game/bg_pmove.c:1722:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1722 | pm->ps->weaponTime += addTime; | ^~ GAME_CC_MISSIONPACK code/game/bg_slidemove.c code/game/bg_slidemove.c: In function 'PM_StepSlideMove': code/game/bg_slidemove.c:235:33: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] 235 | vec3_t down_o, down_v; | ^~~~~~ code/game/bg_slidemove.c:235:25: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] 235 | vec3_t down_o, down_v; | ^~~~~~ CGAME_CC_MISSIONPACK code/cgame/cg_challenges.c CGAME_CC_MISSIONPACK code/cgame/cg_consolecmds.c CGAME_CC_MISSIONPACK code/cgame/cg_newdraw.c code/cgame/cg_newdraw.c: In function 'CG_DrawPlayerArmorIcon': code/cgame/cg_newdraw.c:164:26: warning: variable 'ps' set but not used [-Wunused-but-set-variable] 164 | playerState_t *ps; | ^~ code/cgame/cg_newdraw.c:163:26: warning: variable 'cent' set but not used [-Wunused-but-set-variable] 163 | centity_t *cent; | ^~~~ code/cgame/cg_newdraw.c: In function 'CG_DrawPlayerArmorValue': code/cgame/cg_newdraw.c:192:26: warning: variable 'cent' set but not used [-Wunused-but-set-variable] 192 | centity_t *cent; | ^~~~ code/cgame/cg_newdraw.c: In function 'CG_DrawPlayerAmmoIcon': code/cgame/cg_newdraw.c:224:26: warning: variable 'ps' set but not used [-Wunused-but-set-variable] 224 | playerState_t *ps; | ^~ In function 'CG_CheckOrderPending', inlined from 'CG_CheckOrderPending' at code/cgame/cg_newdraw.c:58:6: code/cgame/cg_newdraw.c:103:49: warning: '%s' directive argument is null [-Wformat-overflow=] 103 | trap_SendConsoleCommand(va("cmd vsay_team %s\n", p2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CGAME_CC_MISSIONPACK code/cgame/cg_draw.c code/cgame/cg_draw.c: In function 'CG_DrawEliminationTimer': code/cgame/cg_draw.c:1077:13: warning: variable 'cw' set but not used [-Wunused-but-set-variable] 1077 | int cw; | ^~ code/cgame/cg_draw.c:1076:15: warning: variable 'scale' set but not used [-Wunused-but-set-variable] 1076 | float scale; | ^~~~~ code/cgame/cg_draw.c:1075:26: warning: variable 'st' set but not used [-Wunused-but-set-variable] 1075 | const char *st; | ^~ code/cgame/cg_draw.c: In function 'CG_DrawScoreboard': code/cgame/cg_draw.c:2842:15: warning: variable 'fade' set but not used [-Wunused-but-set-variable] 2842 | float fade, *fadeColor; | ^~~~ code/cgame/cg_draw.c: In function 'CG_DrawWarmup': code/cgame/cg_draw.c:3101:33: warning: variable 'cw' set but not used [-Wunused-but-set-variable] 3101 | int cw; | ^~ CGAME_CC_MISSIONPACK code/cgame/cg_drawtools.c CGAME_CC_MISSIONPACK code/cgame/cg_effects.c CGAME_CC_MISSIONPACK code/cgame/cg_ents.c code/cgame/cg_ents.c: In function 'CG_AdjustPositionForMover': code/cgame/cg_ents.c:663:36: warning: variable 'deltaAngles' set but not used [-Wunused-but-set-variable] 663 | vec3_t oldAngles, angles, deltaAngles; | ^~~~~~~~~~~ CGAME_CC_MISSIONPACK code/cgame/cg_event.c code/cgame/cg_event.c: In function 'CG_EntityEvent': code/cgame/cg_event.c:711:42: warning: variable 'smoke' set but not used [-Wunused-but-set-variable] 711 | localEntity_t *smoke; | ^~~~~ CGAME_CC_MISSIONPACK code/cgame/cg_info.c CGAME_CC_MISSIONPACK code/cgame/cg_localents.c CGAME_CC_MISSIONPACK code/cgame/cg_marks.c code/cgame/cg_marks.c: In function 'CG_AddParticles': code/cgame/cg_marks.c:1096:41: warning: variable 'type' set but not used [-Wunused-but-set-variable] 1096 | int type; | ^~~~ code/cgame/cg_marks.c:1094:41: warning: variable 'color' set but not used [-Wunused-but-set-variable] 1094 | int color; | ^~~~~ CGAME_CC_MISSIONPACK code/cgame/cg_players.c code/cgame/cg_players.c: In function 'CG_DustTrail': code/cgame/cg_players.c:1568:26: warning: variable 'dust' set but not used [-Wunused-but-set-variable] 1568 | localEntity_t *dust; | ^~~~ CGAME_CC_MISSIONPACK code/cgame/cg_playerstate.c CGAME_CC_MISSIONPACK code/cgame/cg_predict.c CGAME_CC_MISSIONPACK code/cgame/cg_scoreboard.c CGAME_CC_MISSIONPACK code/cgame/cg_servercmds.c CGAME_CC_MISSIONPACK code/cgame/cg_snapshot.c CGAME_CC_MISSIONPACK code/cgame/cg_unlagged.c CGAME_CC_MISSIONPACK code/cgame/cg_view.c CGAME_CC_MISSIONPACK code/cgame/cg_weapons.c code/cgame/cg_weapons.c: In function 'CG_RailTrail': code/cgame/cg_weapons.c:218:39: warning: variable 'next_move' set but not used [-Wunused-but-set-variable] 218 | vec3_t axis[36], move, move2, next_move, vec, temp; | ^~~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_LeiSmokeTrail': code/cgame/cg_weapons.c:411:25: warning: variable 'theradio' set but not used [-Wunused-but-set-variable] 411 | int theradio; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_LeiPlasmaTrail': code/cgame/cg_weapons.c:470:25: warning: variable 'lastContents' set but not used [-Wunused-but-set-variable] 470 | int lastContents; | ^~~~~~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_OldPlasmaTrail': code/cgame/cg_weapons.c:600:41: warning: variable 't' set but not used [-Wunused-but-set-variable] 600 | int t, startTime, step; | ^ code/cgame/cg_weapons.c: In function 'CG_LightningBolt': code/cgame/cg_weapons.c:1167:24: warning: variable 'viewangles' set but not used [-Wunused-but-set-variable] 1167 | vec3_t viewangles; | ^~~~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar0': code/cgame/cg_weapons.c:1759:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1759 | if(i==10) | ^~ code/cgame/cg_weapons.c:1761:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1761 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar1': code/cgame/cg_weapons.c:1825:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1825 | if(i==10) | ^~ code/cgame/cg_weapons.c:1827:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1827 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar3': code/cgame/cg_weapons.c:2012:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2012 | if(i==10) | ^~ code/cgame/cg_weapons.c:2014:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2014 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar4': code/cgame/cg_weapons.c:2118:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2118 | if(i==10) | ^~ code/cgame/cg_weapons.c:2120:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2120 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar5': code/cgame/cg_weapons.c:2212:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2212 | if(i==10) | ^~ code/cgame/cg_weapons.c:2214:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2214 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar6': code/cgame/cg_weapons.c:2299:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2299 | if(i==10) | ^~ code/cgame/cg_weapons.c:2301:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2301 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_DrawWeaponBar7': code/cgame/cg_weapons.c:2404:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2404 | if(i==10) | ^~ code/cgame/cg_weapons.c:2406:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2406 | continue; | ^~~~~~~~ code/cgame/cg_weapons.c: In function 'CG_ShotgunPellet': code/cgame/cg_weapons.c:3184:26: warning: variable 'smoke' set but not used [-Wunused-but-set-variable] 3184 | localEntity_t *smoke; | ^~~~~ code/cgame/cg_weapons.c: In function 'CG_Bullet': code/cgame/cg_weapons.c:3522:26: warning: variable 'smoke' set but not used [-Wunused-but-set-variable] 3522 | localEntity_t *smoke; | ^~~~~ UI_CC_MISSIONPACK code/ui/ui_shared.c code/ui/ui_shared.c: In function 'Item_ListBox_OverLB': code/ui/ui_shared.c:1533:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 1533 | int count; | ^~~~~ code/ui/ui_shared.c:1531:23: warning: variable 'listPtr' set but not used [-Wunused-but-set-variable] 1531 | listBoxDef_t *listPtr; | ^~~~~~~ code/ui/ui_shared.c: In function 'Item_Slider_Paint': code/ui/ui_shared.c:3380:21: warning: variable 'value' set but not used [-Wunused-but-set-variable] 3380 | float x, y, value; | ^~~~~ code/ui/ui_shared.c: In function 'Item_OwnerDraw_Paint': code/ui/ui_shared.c:3803:14: warning: variable 'parent' set but not used [-Wunused-but-set-variable] 3803 | menuDef_t *parent; | ^~~~~~ code/cgame/cg_weapons.c: In function 'CG_AddPlayerWeapon': code/cgame/cg_weapons.c:1478:9: warning: 'MatrixMultiply' accessing 36 bytes in a region of size 12 [-Wstringop-overflow=] 1478 | MatrixMultiply(lerped.axis, ((refEntity_t *)parent)->axis, gun.axis); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/cgame/cg_weapons.c:1478:9: note: referencing argument 2 of type 'float (*)[3]' In file included from code/cgame/cg_local.h:23, from code/cgame/cg_weapons.c:24: code/cgame/../qcommon/q_shared.h:617:6: note: in a call to function 'MatrixMultiply' 617 | void MatrixMultiply(float in1[3][3], float in2[3][3], float out[3][3]); | ^~~~~~~~~~~~~~ SHLIB_CC_MISSIONPACK code/qcommon/q_math.c SHLIB_CC_MISSIONPACK code/qcommon/q_shared.c CGAME_CC_MISSIONPACK code/cgame/cg_syscalls.c GAME_CC_MISSIONPACK code/game/g_main.c code/game/g_main.c: In function 'G_RunFrame': code/game/g_main.c:2728:12: warning: variable 'end' set but not used [-Wunused-but-set-variable] 2728 | int start, end; | ^~~ code/game/g_main.c:2728:5: warning: variable 'start' set but not used [-Wunused-but-set-variable] 2728 | int start, end; | ^~~~~ code/game/g_main.c:2727:33: warning: variable 'msec' set but not used [-Wunused-but-set-variable] 2727 | int msec; | ^~~~ GAME_CC_MISSIONPACK code/game/ai_chat.c code/game/ai_chat.c: In function 'BotChatTime': code/game/ai_chat.c:952:13: warning: variable 'cpm' set but not used [-Wunused-but-set-variable] 952 | int cpm; | ^~~ GAME_CC_MISSIONPACK code/game/ai_cmd.c GAME_CC_MISSIONPACK code/game/ai_dmnet.c GAME_CC_MISSIONPACK code/game/ai_dmq3.c code/game/ai_dmq3.c: In function 'BotAIBlocked': code/game/ai_dmq3.c:4537:42: warning: variable 'maxs' set but not used [-Wunused-but-set-variable] 4537 | vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; | ^~~~ code/game/ai_dmq3.c:4537:36: warning: variable 'mins' set but not used [-Wunused-but-set-variable] 4537 | vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; | ^~~~ code/game/ai_dmq3.c:4537:31: warning: variable 'end' set but not used [-Wunused-but-set-variable] 4537 | vec3_t hordir, start, end, mins, maxs, sideward, angles, up = {0, 0, 1}; | ^~~ GAME_CC_MISSIONPACK code/game/ai_main.c GAME_CC_MISSIONPACK code/game/ai_team.c code/game/ai_team.c: In function 'BotCTFOrders_FlagNotAtBase': code/game/ai_team.c:504:18: warning: variable 'weAreAttacking' set but not used [-Wunused-but-set-variable] 504 | qboolean weAreAttacking; | ^~~~~~~~~~~~~~ GAME_CC_MISSIONPACK code/game/ai_vcmd.c code/game/ai_vcmd.c: In function 'BotVoiceChatCommand': code/game/ai_vcmd.c:497:38: warning: variable 'color' set but not used [-Wunused-but-set-variable] 497 | int i, voiceOnly, clientNum, color; | ^~~~~ code/game/ai_vcmd.c:497:16: warning: variable 'voiceOnly' set but not used [-Wunused-but-set-variable] 497 | int i, voiceOnly, clientNum, color; | ^~~~~~~~~ GAME_CC_MISSIONPACK code/game/g_active.c code/game/g_active.c: In function 'ClientEvents': code/game/g_active.c:553:17: warning: variable 'dir' set but not used [-Wunused-but-set-variable] 553 | vec3_t dir; | ^~~ code/game/g_active.c: In function 'ClientEndFrame': code/game/g_active.c:1252:34: warning: variable 'pers' set but not used [-Wunused-but-set-variable] 1252 | clientPersistant_t *pers; | ^~~~ GAME_CC_MISSIONPACK code/game/g_admin.c code/game/g_admin.c: In function 'G_admin_namelog_update': code/game/g_admin.c:1035:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1035 | memset( namelog, 0, sizeof( namelog ) ); | ^ code/game/g_admin.c: In function 'G_admin_listplayers': code/game/g_admin.c:2314:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2314 | for( j = 0; j < 8; j++ ) | ^~~ code/game/g_admin.c:2316:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2316 | guid_stub[ j ] = '\0'; | ^~~~~~~~~ GAME_CC_MISSIONPACK code/game/g_arenas.c GAME_CC_MISSIONPACK code/game/g_bot.c GAME_CC_MISSIONPACK code/game/g_client.c code/game/g_client.c: In function 'ClientRespawn': code/game/g_client.c:559:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 559 | if((g_gametype.integer==GT_ELIMINATION || g_gametype.integer==GT_CTF_ELIMINATION || g_gametype.integer==GT_LMS) | ^~ code/game/g_client.c:562:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 562 | ClientSpawn(ent); | ^~~~~~~~~~~ code/game/g_client.c: In function 'ClientConnect': code/game/g_client.c:1477:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1477 | if( !strcmp( client->pers.ip, "localhost" ) ) | ^~ code/game/g_client.c:1479:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1479 | client->pers.adminLevel = G_admin_level( ent ); | ^~~~~~ GAME_CC_MISSIONPACK code/game/g_cmds.c code/game/g_cmds.c: In function 'ClientCommand': code/game/g_cmds.c:2249:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2249 | if( !G_admin_cmd_check( ent, qfalse ) ) | ^~ code/game/g_cmds.c:2252:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2252 | return; | ^~~~~~ GAME_CC_MISSIONPACK code/game/g_cmds_ext.c GAME_CC_MISSIONPACK code/game/g_combat.c GAME_CC_MISSIONPACK code/game/g_items.c GAME_CC_MISSIONPACK code/game/bg_alloc.c GAME_CC_MISSIONPACK code/game/g_fileops.c GAME_CC_MISSIONPACK code/game/g_killspree.c GAME_CC_MISSIONPACK code/game/g_misc.c code/game/g_killspree.c: In function 'G_checkForMultiKill': code/game/g_killspree.c:471:17: warning: variable 'clientNum' set but not used [-Wunused-but-set-variable] 471 | int clientNum; | ^~~~~~~~~ GAME_CC_MISSIONPACK code/game/g_missile.c GAME_CC_MISSIONPACK code/game/g_mover.c GAME_CC_MISSIONPACK code/game/g_playerstore.c GAME_CC_MISSIONPACK code/game/g_session.c GAME_CC_MISSIONPACK code/game/g_spawn.c GAME_CC_MISSIONPACK code/game/g_svcmds.c GAME_CC_MISSIONPACK code/game/g_svcmds_ext.c GAME_CC_MISSIONPACK code/game/g_target.c GAME_CC_MISSIONPACK code/game/g_team.c GAME_CC_MISSIONPACK code/game/g_trigger.c GAME_CC_MISSIONPACK code/game/g_unlagged.c code/game/g_unlagged.c: In function 'G_StoreHistory': code/game/g_unlagged.c:57:31: warning: variable 'frametime' set but not used [-Wunused-but-set-variable] 57 | int head, frametime; | ^~~~~~~~~ code/game/g_unlagged.c: In function 'G_PredictPlayerStepSlideMove': code/game/g_unlagged.c:560:42: warning: variable 'down_v' set but not used [-Wunused-but-set-variable] 560 | vec3_t start_o, start_v, down_o, down_v; | ^~~~~~ code/game/g_unlagged.c:560:34: warning: variable 'down_o' set but not used [-Wunused-but-set-variable] 560 | vec3_t start_o, start_v, down_o, down_v; | ^~~~~~ GAME_CC_MISSIONPACK code/game/g_utils.c GAME_CC_MISSIONPACK code/game/g_vote.c In file included from /usr/include/string.h:519, from code/game/../qcommon/q_shared.h:121, from code/game/g_local.h:25, from code/game/g_vote.c:23: In function 'strncpy', inlined from 'allowedVote' at code/game/g_vote.c:47:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ code/game/g_vote.c: In function 'allowedVote': code/game/g_vote.c:39:14: note: length computed here 39 | length = strlen(commandStr); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from code/game/../qcommon/q_shared.h:121, from code/game/g_local.h:25, from code/game/g_vote.c:23: In function 'strncpy', inlined from 'allowedGametype' at code/game/g_vote.c:190:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ code/game/g_vote.c: In function 'allowedGametype': code/game/g_vote.c:183:14: note: length computed here 183 | length = strlen(gametypeStr); | ^~~~~~~~~~~~~~~~~~~ GAME_CC_MISSIONPACK code/game/g_weapon.c GAME_CC_MISSIONPACK code/game/g_syscalls.c code/game/g_weapon.c: In function 'ShotgunPattern': code/game/g_weapon.c:390:33: warning: variable 'oldScore' set but not used [-Wunused-but-set-variable] 390 | int oldScore; | ^~~~~~~~ UI_CC_MISSIONPACK code/ui/ui_main.c UI_CC_MISSIONPACK code/ui/ui_atoms.c code/ui/ui_main.c: In function '_UI_Init': code/ui/ui_main.c:5112:13: warning: variable 'start' set but not used [-Wunused-but-set-variable] 5112 | int start; | ^~~~~ code/ui/ui_atoms.c: In function 'Com_Error': code/ui/ui_atoms.c:41:1: warning: 'noreturn' function does return 41 | } | ^ At top level: code/ui/ui_main.c:126:18: warning: 'numSortKeys' defined but not used [-Wunused-const-variable=] 126 | static const int numSortKeys = sizeof(sortKeys) / sizeof(const char*); | ^~~~~~~~~~~ code/ui/ui_main.c:114:18: warning: 'numTeamArenaGameNames' defined but not used [-Wunused-const-variable=] 114 | static int const numTeamArenaGameNames = sizeof(teamArenaGameNames) / sizeof(const char*); | ^~~~~~~~~~~~~~~~~~~~~ UI_CC_MISSIONPACK code/ui/ui_gameinfo.c UI_CC_MISSIONPACK code/ui/ui_players.c UI_CC_MISSIONPACK code/game/bg_misc.c UI_CC_MISSIONPACK code/game/bg_lib.c TOOLS_CC code/tools/lcc/etc/lcc.c code/tools/lcc/etc/lcc.c: In function 'stringf': code/tools/lcc/etc/lcc.c:760:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 760 | int n; | ^ TOOLS_CC code/tools/lcc/etc/bytecode.c In file included from /usr/include/string.h:519, from code/tools/lcc/etc/bytecode.c:3: In function 'strncpy', inlined from 'UpdatePaths' at code/tools/lcc/etc/bytecode.c:38:2: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ TOOLS_CC code/tools/lcc/src/alloc.c TOOLS_CC code/tools/lcc/src/bind.c TOOLS_CC code/tools/lcc/src/bytecode.c code/tools/lcc/src/bytecode.c: In function 'LoadSourceFile': code/tools/lcc/src/bytecode.c:264:24: warning: variable 'size' set but not used [-Wunused-but-set-variable] 264 | size_t size; | ^~~~ TOOLS_CC code/tools/lcc/src/dag.c code/tools/lcc/src/dag.c: In function 'emitcode': code/tools/lcc/src/dag.c:521:32: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 521 | case Label: if (cp->u.forest) | ^~ code/tools/lcc/src/dag.c:522:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 522 | (*IR->emit)(cp->u.forest); break; | ^~~~~ TOOLS_CC code/tools/lcc/lburg/lburg.c TOOLS_CC code/tools/lcc/lburg/gram.c code/tools/lcc/lburg/gram.c:15:21: warning: 'yysccsid' defined but not used [-Wunused-const-variable=] 15 | YYCONST static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley +Cygnus.28) 01/20/91"; | ^~~~~~~~ TOOLS_CC code/tools/lcc/src/decl.c TOOLS_CC code/tools/lcc/src/enode.c TOOLS_CC code/tools/lcc/src/error.c TOOLS_CC code/tools/lcc/src/event.c TOOLS_CC code/tools/lcc/src/expr.c code/tools/lcc/src/expr.c: In function 'unary': code/tools/lcc/src/expr.c:161:51: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 161 | else | ^~~~ code/tools/lcc/src/expr.c:162:83: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 162 | typeerror(ADD, p, NULL); break; | ^~~~~ code/tools/lcc/src/expr.c:172:53: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 172 | } else | ^~~~ code/tools/lcc/src/expr.c:173:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 173 | typeerror(SUB, p, NULL); break; | ^~~~~ code/tools/lcc/src/expr.c:178:53: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 178 | } else | ^~~~ code/tools/lcc/src/expr.c:179:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 179 | typeerror(BCOM, p, NULL); break; | ^~~~~ code/tools/lcc/src/expr.c:183:51: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 183 | else | ^~~~ code/tools/lcc/src/expr.c:184:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 184 | typeerror(NOT, p, NULL); break; | ^~~~~ code/tools/lcc/src/expr.c: In function 'postfix': code/tools/lcc/src/expr.c:320:31: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 320 | } else | ^~~~ code/tools/lcc/src/expr.c:321:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 321 | error("field name expected\n"); break; | ^~~~~ code/tools/lcc/src/expr.c:333:31: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 333 | } else | ^~~~ code/tools/lcc/src/expr.c:334:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 334 | error("field name expected\n"); break; | ^~~~~ TOOLS_CC code/tools/lcc/src/gen.c TOOLS_CC code/tools/lcc/src/init.c TOOLS_CC code/tools/lcc/src/inits.c TOOLS_CC code/tools/lcc/src/input.c TOOLS_CC code/tools/lcc/src/lex.c TOOLS_CC code/tools/lcc/src/list.c TOOLS_CC code/tools/lcc/src/main.c TOOLS_CC code/tools/lcc/src/null.c TOOLS_CC code/tools/lcc/src/output.c TOOLS_CC code/tools/lcc/src/prof.c TOOLS_CC code/tools/lcc/src/profio.c TOOLS_CC code/tools/lcc/src/simp.c TOOLS_CC code/tools/lcc/src/stmt.c code/tools/lcc/src/stmt.c: In function 'statement': code/tools/lcc/src/stmt.c:186:26: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 186 | } else | ^~~~ code/tools/lcc/src/stmt.c:187:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 187 | error("missing label in goto\n"); expect(';'); | ^~~~~~ TOOLS_CC code/tools/lcc/src/string.c TOOLS_CC code/tools/lcc/src/sym.c TOOLS_CC code/tools/lcc/src/symbolic.c TOOLS_CC code/tools/lcc/src/trace.c TOOLS_CC code/tools/lcc/src/tree.c TOOLS_CC code/tools/lcc/src/types.c TOOLS_CC code/tools/lcc/cpp/cpp.c TOOLS_CC code/tools/lcc/cpp/lex.c TOOLS_CC code/tools/lcc/cpp/nlist.c TOOLS_CC code/tools/lcc/cpp/tokens.c code/tools/lcc/cpp/tokens.c: In function 'peektokens': code/tools/lcc/cpp/tokens.c:270:46: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 270 | fprintf(stderr, "(tp offset %d) ", tp-trp->bp); | ~^ ~~~~~~~~~~ | | | | int long int | %ld code/tools/lcc/cpp/tokens.c: In function 'puttokens': code/tools/lcc/cpp/tokens.c:308:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 308 | write(1, wbuf, wbp-wbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ code/tools/lcc/cpp/tokens.c:309:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 309 | write(1, (char *)p, len); | ^~~~~~~~~~~~~~~~~~~~~~~~ code/tools/lcc/cpp/tokens.c:316:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 316 | write(1, wbuf, OBS); | ^~~~~~~~~~~~~~~~~~~ code/tools/lcc/cpp/tokens.c: In function 'flushout': code/tools/lcc/cpp/tokens.c:331:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | write(1, wbuf, wbp-wbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~ TOOLS_CC code/tools/lcc/cpp/macro.c In file included from /usr/include/string.h:519, from code/tools/lcc/cpp/lex.c:3: In function 'strncpy', inlined from 'setsource' at code/tools/lcc/cpp/lex.c:558:3: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ code/tools/lcc/cpp/lex.c: In function 'setsource': code/tools/lcc/cpp/lex.c:555:23: note: length computed here 555 | len = strlen(str); | ^~~~~~~~~~~ TOOLS_CC code/tools/lcc/cpp/eval.c TOOLS_CC code/tools/lcc/cpp/include.c code/tools/lcc/cpp/include.c: In function 'doinclude': code/tools/lcc/cpp/include.c:95:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | write(1,objname,strlen(objname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/tools/lcc/cpp/include.c:96:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 96 | write(1,iname,strlen(iname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ code/tools/lcc/cpp/include.c:97:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | write(1,"\n",1); | ^~~~~~~~~~~~~~~ TOOLS_CC code/tools/lcc/cpp/hideset.c TOOLS_CC code/tools/lcc/cpp/getopt.c TOOLS_CC code/tools/lcc/cpp/unix.c TOOLS_CC code/tools/asm/q3asm.c TOOLS_CC code/tools/asm/cmdlib.c code/tools/asm/q3asm.c: In function 'TryAssembleENDPROC': code/tools/asm/q3asm.c:949:28: warning: variable 'v2' set but not used [-Wunused-but-set-variable] 949 | int v, v2; | ^~ code/tools/asm/q3asm.c:949:25: warning: variable 'v' set but not used [-Wunused-but-set-variable] 949 | int v, v2; | ^ code/tools/asm/cmdlib.c: In function 'Q_getwd': code/tools/asm/cmdlib.c:402:4: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 402 | getcwd (out, 256); | ^~~~~~~~~~~~~~~~~ code/tools/asm/q3asm.c: In function 'ParseExpression': code/tools/asm/q3asm.c:603:40: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 603 | sprintf( expanded, "%s_%i", sym, currentFileIndex ); | ^~ In file included from /usr/include/stdio.h:900, from code/tools/asm/cmdlib.h:39, from code/tools/asm/q3asm.c:24: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 1036 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ LD build/release-linux-x86_64/baseq3/cgamex86_64.so code/tools/asm/cmdlib.c: In function 'ExpandPathAndArchive': code/tools/asm/cmdlib.c:347:45: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 347 | sprintf (archivename, "%s/%s", archivedir, path); | ^ In file included from /usr/include/stdio.h:900, from code/tools/asm/cmdlib.h:39, from code/tools/asm/cmdlib.c:24: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ LD build/release-linux-x86_64/baseq3/qagamex86_64.so LD build/release-linux-x86_64/baseq3/uix86_64.so LD build/release-linux-x86_64/missionpack/cgamex86_64.so LD build/release-linux-x86_64/missionpack/qagamex86_64.so LD build/release-linux-x86_64/missionpack/uix86_64.so LD build/release-linux-x86_64/tools/lburg/lburg LD build/release-linux-x86_64/tools/q3cpp LD build/release-linux-x86_64/tools/q3asm LBURG code/tools/lcc/src/dagcheck.md TOOLS_CC_DAGCHECK build/release-linux-x86_64/tools/rcc/dagcheck.c LD build/release-linux-x86_64/tools/q3rcc LD build/release-linux-x86_64/tools/q3lcc CGAME_Q3LCC code/cgame/cg_main.c GAME_Q3LCC code/game/bg_misc.c build/release-linux-x86_64/tools/q3lcc: fatal error in build/release-linux-x86_64/tools/q3cpp make[2]: *** [Makefile:2040: build/release-linux-x86_64/baseq3/game/bg_misc.asm] Error 1 make[2]: *** Waiting for unfinished jobs.... build/release-linux-x86_64/tools/q3lcc: fatal error in build/release-linux-x86_64/tools/q3cpp make[2]: *** [Makefile:2021: build/release-linux-x86_64/baseq3/cgame/cg_main.asm] Error 1 make[2]: Leaving directory '/home/pbulk/build/games/openarena/work/oa-0.8.8' make[1]: *** [Makefile:988: targets] Error 2 make[1]: Leaving directory '/home/pbulk/build/games/openarena/work/oa-0.8.8' make: *** [Makefile:958: release] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/openarena *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/games/openarena