[package - main-i386-default][games/quake2max] Failed for quake2max-0.45_14 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 11 Feb 2023 09:37:21 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     danfe@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p58633340e9ed_s5636590214/logs/quake2max-0.45_14.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p58633340e9ed_s5636590214
Log:

=>> Building games/quake2max
build started at Sat Feb 11 09:37:15 UTC 2023
port directory: /usr/ports/games/quake2max
package name: quake2max-0.45_14
building for: FreeBSD main-i386-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 i386
maintained by: danfe@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 11




!!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for quake2max-0.45_14:
     CLIENT=on: Build original client
     DEDICATED=on: Build dedicated server
     GAME=off: Build main game (default mod)
     GLX=on: Build OpenGL renderer
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     SDLCLIENT=on: Build SDL client
     SDLGL=on: Build SDL OpenGL renderer
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
danfe@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2max/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2max/work/.cache  HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2max/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2max/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
LIBDIR="/usr/local/lib/quake2max" BUILD_QUAKE2MAX=YES BUILD_DEDICATED=YES BUILD_GLX=YES WITH_OPTIMIZED_CFLAGS=YES BUILD_QUAKE2MAX-SDL=YES BUILD_SDLGL=YES Q2DIR="/usr/local/share/quake2" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/quake2max/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/quake2max/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/quake2max/work/.cache  HOME=/wrkdirs/usr/ports/games/quake2max/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/quake2max/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/quake2max/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-
 O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
LIBDIR="lib/quake2max" CLIENT="" DEDICATED="" GAME="@comment " GLX="" SDLCLIENT="" SDLGL="" Q2DIR="share/quake2" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/quake2max"  EXAMPLESDIR="share/examples/quake2max"  DATADIR="share/quake2max"  WWWDIR="www/quake2max"  ETCDIR="etc/quake2max"
--End PLIST_SUB--

--SUB_LIST--
Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/quake2max DOCSDIR=/usr/local/share/doc/quake2max EXAMPLESDIR=/usr/local/share/examples/quake2max  WWWDIR=/usr/local/www/quake2max ETCDIR=/usr/local/etc/quake2max
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400079
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   quake2max-0.45_14 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-i386-default-job-11] Installing pkg-1.19.1...
[main-i386-default-job-11] Extracting pkg-1.19.1: .......... done
===>   quake2max-0.45_14 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of quake2max-0.45_14
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by quake2max-0.45_14 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by quake2max-0.45_14 for building
=> SHA256 Checksum OK for Quake2maX_0.45-src_unix.tar.bz2.
=> SHA256 Checksum OK for quake2max.044.rar.
===========================================================================
=======================<phase: extract-depends>============================
===>   quake2max-0.45_14 depends on executable: unrar - not found
===>   Installing existing package /packages/All/unrar-6.20,6.pkg
[main-i386-default-job-11] Installing unrar-6.20,6...
[main-i386-default-job-11] Extracting unrar-6.20,6: .... done
<snip>
                ^
ref_gl/gl_mesh.c:341:12: warning: unused variable 'tym' [-Wunused-variable]
        float   txm,tym;
                    ^
ref_gl/gl_mesh.c:652:9: warning: variable 'l' set but not used [-Wunused-but-set-variable]
        float   l;
                ^
ref_gl/gl_mesh.c:668:12: warning: unused variable 'tym' [-Wunused-variable]
        float   txm,tym;
                    ^
ref_gl/gl_mesh.c:668:8: warning: unused variable 'txm' [-Wunused-variable]
        float   txm,tym;
                ^
ref_gl/gl_mesh.c:670:22: warning: variable 'laststage' set but not used [-Wunused-but-set-variable]
        rs_stage_t *stage, *laststage = NULL;
                            ^
ref_gl/gl_mesh.c:669:9: warning: unused variable 'normal' [-Wunused-variable]
        float *normal;
               ^
ref_gl/gl_mesh.c:1094:12: warning: unused variable 'k' [-Wunused-variable]
        int i, j, k;
                  ^
ref_gl/gl_mesh.c:1098:8: warning: unused variable 'norm' [-Wunused-variable]
        float   norm[3], dist, dot1;
                ^
ref_gl/gl_mesh.c:1098:17: warning: unused variable 'dist' [-Wunused-variable]
        float   norm[3], dist, dot1;
                         ^
ref_gl/gl_mesh.c:1098:23: warning: unused variable 'dot1' [-Wunused-variable]
        float   norm[3], dist, dot1;
                               ^
ref_gl/gl_mesh.c:1099:8: warning: unused variable 'tnorm' [-Wunused-variable]
        float   tnorm[3], tdist, dot2, blah[3];
                ^
ref_gl/gl_mesh.c:1099:18: warning: unused variable 'tdist' [-Wunused-variable]
        float   tnorm[3], tdist, dot2, blah[3];
                          ^
ref_gl/gl_mesh.c:1099:25: warning: unused variable 'dot2' [-Wunused-variable]
        float   tnorm[3], tdist, dot2, blah[3];
                                 ^
ref_gl/gl_mesh.c:1099:31: warning: unused variable 'blah' [-Wunused-variable]
        float   tnorm[3], tdist, dot2, blah[3];
                                       ^
ref_gl/gl_mesh.c:1100:9: warning: unused variable 'normvec' [-Wunused-variable]
        vec3_t  normvec;
                ^
ref_gl/gl_mesh.c:1102:25: warning: unused variable 'oldframe' [-Wunused-variable]
        daliasframe_t   *frame, *oldframe;
                                 ^
ref_gl/gl_mesh.c:1103:16: warning: unused variable 'ov' [-Wunused-variable]
        dtrivertx_t             *ov, *verts;
                                 ^
ref_gl/gl_mesh.c:1103:21: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
        dtrivertx_t             *ov, *verts;
                                      ^
ref_gl/gl_mesh.c:1226:8: warning: variable 'order' set but not used [-Wunused-but-set-variable]
        int             *order;
                         ^
ref_gl/gl_mesh.c:1227:9: warning: unused variable 'point' [-Wunused-variable]
        vec3_t  point, proj, light, norm, temp;
                ^
ref_gl/gl_mesh.c:1227:16: warning: unused variable 'proj' [-Wunused-variable]
        vec3_t  point, proj, light, norm, temp;
                       ^
ref_gl/gl_mesh.c:1227:29: warning: unused variable 'norm' [-Wunused-variable]
        vec3_t  point, proj, light, norm, temp;
                                    ^
ref_gl/gl_mesh.c:1228:8: warning: variable 'height' set but not used [-Wunused-but-set-variable]
        float   height, lheight;
                ^
ref_gl/gl_mesh.c:1229:7: warning: unused variable 'count' [-Wunused-variable]
        int             count;
                        ^
ref_gl/gl_mesh.c:1230:7: warning: unused variable 'va' [-Wunused-variable]
        int             va = 0, i, o; 
                        ^
ref_gl/gl_mesh.c:1231:8: warning: unused variable 'mode' [-Wunused-variable]
        float mode, projected_distance = 25;
              ^
ref_gl/gl_mesh.c:1232:15: warning: variable 't' set but not used [-Wunused-but-set-variable]
        dtriangle_t *t, *tris;
                     ^
ref_gl/gl_mesh.c:1233:25: warning: variable 'oldframe' set but not used [-Wunused-but-set-variable]
        daliasframe_t   *frame, *oldframe;
                                 ^
ref_gl/gl_mesh.c:1234:16: warning: unused variable 'ov' [-Wunused-variable]
        dtrivertx_t             *ov, *verts;
                                 ^
ref_gl/gl_mesh.c:1234:21: warning: variable 'verts' set but not used [-Wunused-but-set-variable]
        dtrivertx_t             *ov, *verts;
                                      ^
ref_gl/gl_mesh.c:1846:4: warning: call to undeclared function 'R_LightPointDynamics'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        R_LightPointDynamics (currententity->origin, shadelight, model_dlights, 
                        ^
ref_gl/gl_mesh.c:2075:11: warning: unused variable 'end' [-Wunused-variable]
                        vec3_t end;
                               ^
ref_gl/gl_mesh.c:1994:9: warning: unused variable 'an' [-Wunused-variable]
        float           an;
                        ^
ref_gl/gl_mesh.c:1997:8: warning: variable 'order' set but not used [-Wunused-but-set-variable]
        int             *order;
                         ^
ref_gl/gl_mesh.c:1998:7: warning: unused variable 'count' [-Wunused-variable]
        int             count;
                        ^
ref_gl/gl_mesh.c:2000:8: warning: unused variable 'alpha' [-Wunused-variable]
        float   alpha;
                ^
ref_gl/gl_mesh.c:1662:13: warning: unused function 'R_FindBBox' [-Wunused-function]
static void R_FindBBox( vec3_t bbox[8], entity_t *e )
            ^
7 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -fcommon  -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/quake2max"' -D_SDL_GL -D_SDL_BIN -ffast-math -fomit-frame-pointer -falign-functions=2 -fno-strict-aliasing -DUNIX_VERSION='"0.45"' -fPIC -I/usr/local/include -I/usr/X11R6/include -o release/ref_gl/gl_model.o -c ref_gl/gl_model.c
ref_gl/gl_model.c:91:18: warning: unused variable 'color' [-Wunused-variable]
        vec3_t          origin, color;
                                ^
ref_gl/gl_model.c:88:9: warning: variable 'entString' set but not used [-Wunused-but-set-variable]
        char            *entString;
                         ^
ref_gl/gl_model.c:180:27: warning: unused variable 'color' [-Wunused-variable]
        vec3_t origin = {0,0,0}, color = {0,0,0};
                                 ^
ref_gl/gl_model.c:230:33: warning: incompatible pointer types assigning to 'struct rscript_t *' from 'rscript_t *' (aka 'struct rscript_s *') [-Wincompatible-pointer-types]
        out->script = rs = out->script = RS_FindScript(va("textures/%s",name) );
                                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ref_gl/gl_model.c:230:19: warning: incompatible pointer types assigning to 'rscript_t *' (aka 'struct rscript_s *') from 'struct rscript_t *' [-Wincompatible-pointer-types]
        out->script = rs = out->script = RS_FindScript(va("textures/%s",name) );
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ref_gl/gl_model.c:230:14: warning: incompatible pointer types assigning to 'struct rscript_t *' from 'rscript_t *' (aka 'struct rscript_s *') [-Wincompatible-pointer-types]
        out->script = rs = out->script = RS_FindScript(va("textures/%s",name) );
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ref_gl/gl_model.c:462:21: warning: incompatible pointer types assigning to 'struct rscript_t *' from 'rscript_t *' (aka 'struct rscript_s *') [-Wincompatible-pointer-types]
                                        mod->script[i] = RS_FindScript(rs);
                                                       ^ ~~~~~~~~~~~~~~~~~
ref_gl/gl_model.c:833:11: warning: unused variable 'lit' [-Wunused-variable]
        qboolean        lit;
                        ^
ref_gl/gl_model.c:830:11: warning: unused variable 'j' [-Wunused-variable]
        int                     i, j, count, surfnum;
                                   ^
ref_gl/gl_model.c:1153:15: warning: call to undeclared function 'PlaneTypeForNormal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                out->type = PlaneTypeForNormal(out->normal);
                            ^
ref_gl/gl_model.c:1377:18: warning: incompatible pointer types assigning to 'struct rscript_t *' from 'rscript_t *' (aka 'struct rscript_s *') [-Wincompatible-pointer-types]
                mod->script[i] = RS_FindScript(rs);
                               ^ ~~~~~~~~~~~~~~~~~
ref_gl/gl_model.c:1479:11: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'int *'; take the address with & [-Wint-conversion]
                        return i;
                               ^
                               &
ref_gl/gl_model.c:1481:11: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'int *'; take the address with & [-Wint-conversion]
                        return i;
                               ^
                               &
ref_gl/gl_model.c:1483:11: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'int *'; take the address with & [-Wint-conversion]
                        return i;
                               ^
                               &
ref_gl/gl_model.c:1486:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'int *' [-Wint-conversion]
        return -1;
               ^~
ref_gl/gl_model.c:1499:23: error: incompatible pointer to integer conversion assigning to 'int' from 'int *'; dereference with * [-Wint-conversion]
                mod->edge_tri[i][0] = Mod_GetTris(tris->index_xyz[0], tris->index_xyz[1], tris, hdr);
                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      *
ref_gl/gl_model.c:1500:23: error: incompatible pointer to integer conversion assigning to 'int' from 'int *'; dereference with * [-Wint-conversion]
                mod->edge_tri[i][1] = Mod_GetTris(tris->index_xyz[1], tris->index_xyz[2], tris, hdr);
                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      *
ref_gl/gl_model.c:1501:23: error: incompatible pointer to integer conversion assigning to 'int' from 'int *'; dereference with * [-Wint-conversion]
                mod->edge_tri[i][2] = Mod_GetTris(tris->index_xyz[2], tris->index_xyz[0], tris, hdr);
                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      *
ref_gl/gl_model.c:1815:7: warning: unused variable 'sidebit' [-Wunused-variable]
                int sidebit;
                    ^
ref_gl/gl_model.c:1806:12: warning: unused variable 'bp' [-Wunused-variable]
        glpoly_t *bp, *p;
                  ^
ref_gl/gl_model.c:1806:17: warning: unused variable 'p' [-Wunused-variable]
        glpoly_t *bp, *p;
                       ^
ref_gl/gl_model.c:1803:10: warning: unused variable 'd' [-Wunused-variable]
        float                   d;
                                ^
15 warnings and 7 errors generated.
gmake[2]: *** [Makefile:792: release/ref_gl/gl_model.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
43 warnings generated.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix'
gmake[1]: *** [Makefile:184: release] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/quake2max/work/Quake2maX_0.45-src_unix'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/quake2max