+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ufoai-2.2.1nb34/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ufoai-2.2.1nb34/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ufoai-2.2.1nb34 * [UFO] src/client/cl_actor.c src/client/cl_actor.c: In function 'SetWeaponButton': src/client/cl_actor.c:422:13: warning: comparison between 'cl_reaction_firemode_type_t' and 'enum <anonymous>' [-Wenum-compare] 422 | || (state == BT_STATE_HIGHLIGHT)) { | ^~ src/client/cl_actor.c:426:19: warning: comparison between 'cl_reaction_firemode_type_t' and 'enum <anonymous>' [-Wenum-compare] 426 | } else if (state == BT_STATE_DESELECT) { | ^~ src/client/cl_actor.c:428:19: warning: comparison between 'cl_reaction_firemode_type_t' and 'enum <anonymous>' [-Wenum-compare] 428 | } else if (state == BT_STATE_DISABLE) { | ^~ src/client/cl_actor.c: In function 'CL_ActorStartShoot': src/client/cl_actor.c:2812:13: warning: variable 'fd' set but not used [-Wunused-but-set-variable] 2812 | fireDef_t *fd; | ^~ * [UFO] src/client/cl_aliencont.c src/client/cl_aliencont.c: In function 'AC_AddOne_f': src/client/cl_aliencont.c:857:16: warning: variable 'containment' set but not used [-Wunused-but-set-variable] 857 | aliensCont_t *containment = NULL; | ^~~~~~~~~~~ src/client/cl_aliencont.c:855:6: warning: variable 'length' set but not used [-Wunused-but-set-variable] 855 | int length; | ^~~~~~ * [UFO] src/client/cl_aircraft.c src/client/cl_aircraft.c: In function 'AIR_AircraftSelect': src/client/cl_aircraft.c:602:6: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 602 | int idx; | ^~~ src/client/cl_aircraft.c:599:14: warning: variable 'node' set but not used [-Wunused-but-set-variable] 599 | menuNode_t *node = NULL; | ^~~~ src/client/cl_aircraft.c: In function 'AIR_AircraftsNotifyUfoRemoved': src/client/cl_aircraft.c:1572:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1572 | for (base = gd.bases + gd.numBases - 1; base >= gd.bases; base--) | ^~~ src/client/cl_aircraft.c:1580:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1580 | for (i = 0; i < base->maxLasers; i++) { | ^~~ At top level: src/client/cl_aircraft.c:40:18: warning: 'DISTANCE' defined but not used [-Wunused-const-variable=] 40 | static const int DISTANCE = 15; | ^~~~~~~~ * [UFO] src/client/cl_airfight.c * [UFO] src/client/cl_basemanagement.c * [UFO] src/client/cl_basesummary.c * [UFO] src/client/cl_campaign.c src/client/cl_campaign.c: In function 'CL_UpdateCharacterStats': src/client/cl_campaign.c:3090:14: warning: variable 'aircraft' set but not used [-Wunused-but-set-variable] 3090 | aircraft_t *aircraft; | ^~~~~~~~ src/client/cl_campaign.c: In function 'CP_CampaignsClick_f': src/client/cl_campaign.c:4546:10: warning: implicit declaration of function 'round' [-Wimplicit-function-declaration] 4546 | (int)(round(campaigns[num].minhappiness * 100.0f)), campaigns[num].negativeCreditsUntilLost, | ^~~~~ * [UFO] src/client/cl_cinematic.c * [UFO] src/client/cl_console.c * [UFO] src/client/cl_event.c * [UFO] src/client/cl_employee.c * [UFO] src/client/cl_fx.c * [UFO] src/client/cl_hospital.c * [UFO] src/client/cl_http.c * [UFO] src/client/cl_inventory.c * [UFO] src/client/cl_input.c src/client/cl_input.c: In function 'CL_CameraMoveRemote': src/client/cl_input.c:947:18: warning: variable 'rotaccel' set but not used [-Wunused-but-set-variable] 947 | float rotspeed, rotaccel; | ^~~~~~~~ src/client/cl_input.c:945:29: warning: variable 'g_up' set but not used [-Wunused-but-set-variable] 945 | vec3_t g_forward, g_right, g_up; | ^~~~ src/client/cl_input.c: In function 'IN_Frame': src/client/cl_input.c:1494:11: warning: variable 'down' set but not used [-Wunused-but-set-variable] 1494 | qboolean down; | ^~~~ * [UFO] src/client/cl_irc.c src/client/cl_irc.c: In function 'Irc_Proto_Quit': src/client/cl_irc.c:192:22: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] 192 | const int msg_len = snprintf(msg, sizeof(msg) - 1, "QUIT %s\r\n", quitmsg); | ^~~~~~~~ src/client/cl_irc.c:38:1: note: 'snprintf' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? 37 | # include <fcntl.h> +++ |+#include <stdio.h> 38 | #endif At top level: src/client/cl_irc.c:64:19: warning: 'IRC_QUIT_MSG' defined but not used [-Wunused-const-variable=] 64 | static const char IRC_QUIT_MSG[] = "ufoai.sf.net"; | ^~~~~~~~~~~~ * [UFO] src/client/cl_keys.c * [UFO] src/client/cl_language.c * [UFO] src/client/cl_le.c * [UFO] src/client/cl_main.c src/client/cl_main.c: In function 'CL_TeamNum_f': src/client/cl_main.c:1319:6: warning: variable 'max' set but not used [-Wunused-but-set-variable] 1319 | int max = 4; | ^~~ src/client/cl_main.c: In function 'CL_PrecacheModels': src/client/cl_main.c:1567:8: warning: variable 'loading' set but not used [-Wunused-but-set-variable] 1567 | float loading; | ^~~~~~~ * [UFO] src/client/cl_menu.c src/client/cl_menu.c: In function 'MN_Translate_f': src/client/cl_menu.c:3589:11: warning: variable 'next' set but not used [-Wunused-but-set-variable] 3589 | qboolean next; | ^~~~ src/client/cl_menu.c: At top level: src/client/cl_menu.c:4076:104: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 4076 | static qboolean MN_ParseAction (menuNode_t * menuNode, menuAction_t * action, const char **text, const const char **token) | ^~~~~ * [UFO] src/client/cl_market.c * [UFO] src/client/cl_map.c * [UFO] src/client/cl_mapfightequip.c src/client/cl_mapfightequip.c: In function 'AII_InitialiseSlot': src/client/cl_mapfightequip.c:1673:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1673 | memset(slot, 0, sizeof(slot)); /* all values to 0 */ | ^ * [UFO] src/client/cl_popup.c * [UFO] src/client/cl_produce.c src/client/cl_produce.c: In function 'PR_ProductionStop_f': src/client/cl_produce.c:1244:11: warning: variable 'disassembling' set but not used [-Wunused-but-set-variable] 1244 | qboolean disassembling = qfalse; | ^~~~~~~~~~~~~ * [UFO] src/client/cl_parse.c * [UFO] src/client/cl_particle.c src/client/cl_particle.c: In function 'CL_ParticleRun2': src/client/cl_particle.c:1064:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1064 | } else | ^~~~ src/client/cl_particle.c:1066:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1066 | if (p->thinkFade) | ^~ * [UFO] src/client/cl_radar.c * [UFO] src/client/cl_research.c * [UFO] src/client/cl_save.c * [UFO] src/client/cl_shader.c * [UFO] src/client/cl_screen.c src/client/cl_screen.c: In function 'SCR_DrawDebugGraph': src/client/cl_screen.c:100:13: warning: variable 'now' set but not used [-Wunused-but-set-variable] 100 | struct tm *now; | ^~~ src/client/cl_screen.c:99:13: warning: variable 'fps' set but not used [-Wunused-but-set-variable] 99 | static int fps; | ^~~ At top level: src/client/cl_screen.c:425:21: warning: 'cursorBG' defined but not used [-Wunused-const-variable=] 425 | static const vec4_t cursorBG = { 0.0f, 0.0f, 0.0f, 0.7f }; | ^~~~~~~~ * [UFO] src/client/cl_sound.c * [UFO] src/client/cl_sequence.c * [UFO] src/client/cl_team.c src/client/cl_team.c: In function 'CL_ParseResults': src/client/cl_team.c:2060:6: warning: variable 'num_spawned' set but not used [-Wunused-but-set-variable] 2060 | int num_spawned[MAX_TEAMS]; | ^~~~~~~~~~~ src/client/cl_team.c: In function 'CL_ParseUGVs': src/client/cl_team.c:2414:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2414 | for (v = ugvValues; v->string; v++) | ^~~ src/client/cl_team.c:2423:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2423 | if (!v->string) | ^~ src/client/cl_team.c: In function 'CL_TeamListDebug_f': src/client/cl_team.c:1472:15: warning: 'chr' may be used uninitialized in this function [-Wmaybe-uninitialized] 1472 | employee = E_GetEmployeeFromChrUCN(chr->ucn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * [UFO] src/client/cl_tip.c * [UFO] src/client/cl_transfer.c src/client/cl_transfer.c: In function 'TR_TransferAlienAfterMissionStart': src/client/cl_transfer.c:692:39: warning: implicit declaration of function 'round' [-Wimplicit-function-declaration] 692 | transfer->event.sec = ccs.date.sec + round(time); | ^~~~~ * [UFO] src/client/cl_ufo.c * [UFO] src/client/cl_ufopedia.c src/client/cl_ufopedia.c: In function 'UP_ItemDescription': src/client/cl_ufopedia.c:426:33: warning: comparison between 'aircraftItemType_t' and 'enum <anonymous>' [-Wenum-compare] 426 | } else if (od->craftitem.type != AIR_STATS_MAX) { | ^~ * [UFO] src/client/cl_vid.c * [UFO] src/client/cl_view.c * [UFO] src/common/cmd.c * [UFO] src/common/http.c * [UFO] src/common/ioapi.c * [UFO] src/common/unzip.c * [UFO] src/common/cmodel.c * [UFO] src/common/common.c * [UFO] src/common/cvar.c * [UFO] src/common/files.c * [UFO] src/common/md4.c * [UFO] src/common/md5.c src/common/md5.c: In function 'MD5Final': src/common/md5.c:259:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 259 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ * [UFO] src/common/mem.c src/common/mem.c: In function '_Mem_TouchPool': src/common/mem.c:489:11: warning: variable 'startTime' set but not used [-Wunused-but-set-variable] 489 | uint32_t startTime; | ^~~~~~~~~ * [UFO] src/common/msg.c * [UFO] src/common/net.c * [UFO] src/common/netpack.c * [UFO] src/common/dbuffer.c * [UFO] src/common/scripts.c * [UFO] src/server/sv_ccmds.c * [UFO] src/server/sv_game.c * [UFO] src/server/sv_init.c * [UFO] src/server/sv_main.c * [UFO] src/server/sv_send.c * [UFO] src/server/sv_user.c * [UFO] src/server/sv_world.c src/server/sv_world.c: In function 'SV_AreaEdicts_r': src/server/sv_world.c:214:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] 214 | int count; | ^~~~~ * [UFO] src/game/q_shared.c src/game/q_shared.c: In function 'Q_putenv': src/game/q_shared.c:986:9: warning: implicit declaration of function 'putenv'; did you mean 'Q_putenv'? [-Wimplicit-function-declaration] 986 | return putenv((char *) str); | ^~~~~~ | Q_putenv src/game/q_shared.c: In function 'Q_stricmp': src/game/q_shared.c:1024:9: warning: implicit declaration of function 'strcasecmp'; did you mean 'Q_strcasecmp'? [-Wimplicit-function-declaration] 1024 | return strcasecmp(s1, s2); | ^~~~~~~~~~ | Q_strcasecmp src/game/q_shared.c: In function 'Q_vsnprintf': src/game/q_shared.c:1156:8: warning: implicit declaration of function 'vsnprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 1156 | len = vsnprintf(str, size, format, ap); | ^~~~~~~~~ | vsprintf src/game/q_shared.c: In function 'Q_strncpyzDebug': src/game/q_shared.c:1066:5: warning: 'nonnull' argument 'dest' compared to NULL [-Wnonnull-compare] 1066 | if (!dest) | ^ src/game/q_shared.c:1068:5: warning: 'nonnull' argument 'src' compared to NULL [-Wnonnull-compare] 1068 | if (!src) | ^ * [UFO] src/game/inv_shared.c src/game/inv_shared.c: In function 'INVSH_DestroyInventory': src/game/inv_shared.c:743:5: warning: 'nonnull' argument 'i' compared to NULL [-Wnonnull-compare] 743 | if (!i) | ^ * [UFO] src/renderer/r_anim.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_anim.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_anim.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_shader.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_shader.c:27: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_shader.c:27: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_draw.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_draw.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_draw.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_font.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_font.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_font.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | src/renderer/r_font.c: In function 'R_FontAnalyze': src/renderer/r_font.c:86:21: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 86 | memset(f, 0, sizeof(f)); | ^ * [UFO] src/renderer/r_image.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_image.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_image.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | src/renderer/r_image.c: In function 'R_LoadTGA': src/renderer/r_image.c:392:14: warning: variable 'samples' set but not used [-Wunused-but-set-variable] 392 | int length, samples, readPixelCount, pixelCount; | ^~~~~~~ At top level: src/renderer/r_image.c:645:13: warning: 'jpg_skip_input_data' defined but not used [-Wunused-function] 645 | static void jpg_skip_input_data (j_decompress_ptr cinfo, long num_bytes) | ^~~~~~~~~~~~~~~~~~~ src/renderer/r_image.c:639:16: warning: 'jpg_fill_input_buffer' defined but not used [-Wunused-function] 639 | static boolean jpg_fill_input_buffer (j_decompress_ptr cinfo) | ^~~~~~~~~~~~~~~~~~~~~ src/renderer/r_image.c:635:13: warning: 'jpg_null' defined but not used [-Wunused-function] 635 | static void jpg_null (j_decompress_ptr cinfo) | ^~~~~~~~ * [UFO] src/renderer/r_light.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_light.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_light.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | src/renderer/r_light.c:40:44: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 40 | static void R_RenderDlight (const dlight_t const* light) | ^~~~~ src/renderer/r_light.c: In function 'R_BuildLightMap': src/renderer/r_light.c:236:16: warning: variable 'style' set but not used [-Wunused-but-set-variable] 236 | lightstyle_t *style; | ^~~~~ src/renderer/r_light.c: In function 'R_LightPoint': src/renderer/r_light.c:484:8: warning: variable 'light' set but not used [-Wunused-but-set-variable] 484 | float light; | ^~~~~ * [UFO] src/renderer/r_mesh.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_mesh.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_mesh.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_mesh_md2.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_mesh_md2.c:28: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_mesh_md2.c:28: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | src/renderer/r_mesh_md2.c: In function 'R_DrawAliasFrameLerp': src/renderer/r_mesh_md2.c:58:24: warning: variable 'verts' set but not used [-Wunused-but-set-variable] 58 | dtrivertx_t *v, *ov, *verts; | ^~~~~ * [UFO] src/renderer/r_mesh_md3.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_mesh_md3.c:28: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_mesh_md3.c:28: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | src/renderer/r_mesh_md3.c: In function 'R_DrawAliasMD3FrameLerp': src/renderer/r_mesh_md3.c:41:8: warning: variable 'alpha' set but not used [-Wunused-but-set-variable] 41 | float alpha; | ^~~~~ src/renderer/r_mesh_md3.c:39:9: warning: variable 'tempNormalsArray' set but not used [-Wunused-but-set-variable] 39 | vec3_t tempNormalsArray[4096]; | ^~~~~~~~~~~~~~~~ * [UFO] src/renderer/r_model.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_model_alias.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_alias.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_alias.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_model_brush.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_brush.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_brush.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_model_md2.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_md2.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_md2.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_model_md3.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_md3.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_md3.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_model_obj.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_obj.c:47: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_obj.c:47: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_model_sp2.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_sp2.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_model_sp2.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_main.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_main.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_main.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_misc.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_misc.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_misc.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_surf.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_surf.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_surf.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | src/renderer/r_surf.c: In function 'R_DrawAlphaSurfaces': src/renderer/r_surf.c:402:8: warning: variable 'intens' set but not used [-Wunused-but-set-variable] 402 | float intens; | ^~~~~~ src/renderer/r_surf.c: In function 'R_BuildPolygonFromSurface': src/renderer/r_surf.c:957:6: warning: variable 'vertpage' set but not used [-Wunused-but-set-variable] 957 | int vertpage; | ^~~~~~~~ * [UFO] src/renderer/r_state.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_state.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_state.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_warp.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_warp.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_warp.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_particle.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_particle.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_particle.c:25: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_shadows.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_shadows.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_shadows.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | src/renderer/r_shadows.c: In function 'R_DrawAliasShadow': src/renderer/r_shadows.c:127:15: warning: variable 'verts' set but not used [-Wunused-but-set-variable] 127 | dtrivertx_t *verts; | ^~~~~ src/renderer/r_shadows.c: In function 'BuildShadowVolume': src/renderer/r_shadows.c:213:15: warning: variable 'verts' set but not used [-Wunused-but-set-variable] 213 | dtrivertx_t *verts; | ^~~~~ src/renderer/r_shadows.c: In function 'R_DrawAliasShadowVolume': src/renderer/r_shadows.c:373:20: warning: variable 'verts' set but not used [-Wunused-but-set-variable] 373 | dtrivertx_t *ov, *verts; | ^~~~~ src/renderer/r_shadows.c:373:15: warning: variable 'ov' set but not used [-Wunused-but-set-variable] 373 | dtrivertx_t *ov, *verts; | ^~ src/renderer/r_shadows.c:368:15: warning: variable 't' set but not used [-Wunused-but-set-variable] 368 | dtriangle_t *t, *tris; | ^ src/renderer/r_shadows.c:366:7: warning: variable 'order' set but not used [-Wunused-but-set-variable] 366 | int *order, i, o, dist; | ^~~~~ src/renderer/r_shadows.c: In function 'R_DrawShadow': src/renderer/r_shadows.c:498:17: warning: variable 'backv' set but not used [-Wunused-but-set-variable] 498 | vec3_t frontv, backv; | ^~~~~ src/renderer/r_shadows.c:498:9: warning: variable 'frontv' set but not used [-Wunused-but-set-variable] 498 | vec3_t frontv, backv; | ^~~~~~ src/renderer/r_shadows.c:495:7: warning: variable 'order' set but not used [-Wunused-but-set-variable] 495 | int *order; | ^~~~~ src/renderer/r_shadows.c:494:24: warning: variable 'verts' set but not used [-Wunused-but-set-variable] 494 | dtrivertx_t *v, *ov, *verts; | ^~~~~ src/renderer/r_shadows.c:494:19: warning: variable 'ov' set but not used [-Wunused-but-set-variable] 494 | dtrivertx_t *v, *ov, *verts; | ^~ src/renderer/r_shadows.c: In function 'R_DrawShadowVolume': src/renderer/r_shadows.c:574:7: warning: variable 'order' set but not used [-Wunused-but-set-variable] 574 | int *order; | ^~~~~ src/renderer/r_shadows.c:572:17: warning: variable 'backv' set but not used [-Wunused-but-set-variable] 572 | vec3_t frontv, backv; | ^~~~~ src/renderer/r_shadows.c:572:9: warning: variable 'frontv' set but not used [-Wunused-but-set-variable] 572 | vec3_t frontv, backv; | ^~~~~~ src/renderer/r_shadows.c:569:24: warning: variable 'verts' set but not used [-Wunused-but-set-variable] 569 | dtrivertx_t *v, *ov, *verts; | ^~~~~ src/renderer/r_shadows.c:569:19: warning: variable 'ov' set but not used [-Wunused-but-set-variable] 569 | dtrivertx_t *v, *ov, *verts; | ^~ * [UFO] src/renderer/qgl.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/qgl.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/qgl.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/renderer/r_sdl.c In file included from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_sdl.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined 116 | #define GL_GLEXT_VERSION 29 | In file included from /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/gl.h:2048, from /home/pbulk/build/games/ufoai/work/.buildlink/include/SDL/SDL_opengl.h:46, from src/renderer/qgl.h:29, from src/renderer/r_local.h:39, from src/renderer/r_sdl.c:26: /home/pbulk/build/games/ufoai/work/.buildlink/include/GL/glext.h:54: note: this is the location of the previous definition 54 | #define GL_GLEXT_VERSION 20190911 | * [UFO] src/shared/byte.c * [UFO] src/shared/infostring.c * [UFO] src/shared/shared.c * [UFO] src/ports/solaris/solaris_main.c * [UFO] src/ports/unix/unix_console.c * [UFO] src/ports/unix/unix_main.c src/ports/unix/unix_main.c: In function 'Sys_Sleep': src/ports/unix/unix_main.c:103:2: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration] 103 | usleep(milliseconds * 1000); | ^~~~~~ | sleep * [UFO] src/ports/unix/unix_glob.c * [UFO] ... linking (-lm -lz -lcurl -ljpeg -lpng -lSDL_ttf -lSDL_mixer -lsocket -lnsl -L/opt/pkg/lib -R/opt/pkg/lib -lSDL -lpthread -lposix4) Undefined first referenced symbol in file libintl_bind_textdomain_codeset debug-solaris-x86_64/client/client/cl_main.o (symbol belongs to implicit dependency /home/pbulk/build/games/ufoai/work/.buildlink/lib/libintl.so.8) libintl_gettext debug-solaris-x86_64/client/client/cl_actor.o (symbol belongs to implicit dependency /home/pbulk/build/games/ufoai/work/.buildlink/lib/libintl.so.8) libintl_textdomain debug-solaris-x86_64/client/client/cl_main.o (symbol belongs to implicit dependency /home/pbulk/build/games/ufoai/work/.buildlink/lib/libintl.so.8) libintl_bindtextdomain debug-solaris-x86_64/client/client/cl_main.o (symbol belongs to implicit dependency /home/pbulk/build/games/ufoai/work/.buildlink/lib/libintl.so.8) libintl_ngettext debug-solaris-x86_64/client/client/cl_basemanagement.o (symbol belongs to implicit dependency /home/pbulk/build/games/ufoai/work/.buildlink/lib/libintl.so.8) ld: fatal: symbol referencing errors. No output written to ufo collect2: error: ld returned 1 exit status gmake: *** [build/client.mk:151: ufo] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/ufoai *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/ufoai