[package - main-powerpc64-default][games/egl] Failed for egl-0.3.1_9 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 13:40:17 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/foul1/data/main-powerpc64-default/pb64d2f1e5acf_sc92790b3fb/logs/egl-0.3.1_9.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=main-powerpc64-default&build=pb64d2f1e5acf_sc92790b3fb
Log:

=>> Building games/egl
build started at Thu Feb 23 13:38:22 UTC 2023
port directory: /usr/ports/games/egl
package name: egl-0.3.1_9
building for: FreeBSD main-powerpc64-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 powerpc
maintained by: danfe@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 03




!!! 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
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-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64-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 egl-0.3.1_9:
     CLIENT=on: Build client
     DEDICATED=on: Build dedicated server
     GAME=on: Build main game (default mod)
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
===> 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 XDG_DATA_HOME=/wrkdirs/usr/ports/games/egl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/egl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/egl/work/.cache  HOME=/wrkdirs/usr/ports/games/egl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/egl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/egl/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/egl" Q2DIR="/usr/local/share/quake2" XDG_DATA_HOME=/wrkdirs/usr/ports/games/egl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/egl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/egl/work/.cache  HOME=/wrkdirs/usr/ports/games/egl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/egl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/egl/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/egl" CLIENT="" DEDICATED="" GAME="" Q2DIR="share/quake2" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/egl"  EXAMPLESDIR="share/examples/egl"  DATADIR="share/egl"  WWWDIR="www/egl"  ETCDIR="etc/egl"
--End PLIST_SUB--

--SUB_LIST--
Q2DIR="/usr/local/share/quake2" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/egl DOCSDIR=/usr/local/share/doc/egl EXAMPLESDIR=/usr/local/share/examples/egl  WWWDIR=/usr/local/www/egl ETCDIR=/usr/local/etc/egl
--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
#### /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: powerpc64-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: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-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: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
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)  33554432
stack size              (kbytes, -s)  524288
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    >============================
===>   egl-0.3.1_9 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-powerpc64-default-job-03] Installing pkg-1.19.1...
[main-powerpc64-default-job-03] Extracting pkg-1.19.1: .......... done
===>   egl-0.3.1_9 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of egl-0.3.1_9
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by egl-0.3.1_9 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by egl-0.3.1_9 for building
=> SHA256 Checksum OK for egl-v0.3.1-stable-src.zip.
=> SHA256 Checksum OK for egl.pkz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by egl-0.3.1_9 for building
===>  Extracting for egl-0.3.1_9
=> SHA256 Checksum OK for egl-v0.3.1-stable-src.zip.
=> SHA256 Checksum OK for egl.pkz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
In file included from renderer/rf_sky.c:25:
In file included from renderer/rf_local.h:24:
renderer/r_local.h:438:9: warning: 'GL_OFFSET_TEXTURE_2D_BIAS_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
        ^
/usr/local/include/GL/glext.h:11265:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      0x86E3
        ^
6 warnings generated.
cc -Isource -I./ -I../ -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fcommon -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/egl"' -DHOMEDIR -O2 -fno-strict-aliasing -ffast-math -DLINUX_VERSION='"0.0.6"' -o release/client/rf_sprite.o -c renderer/rf_sprite.c
4 warnings generated.
cc -Isource -I./ -I../ -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fcommon -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/egl"' -DHOMEDIR -O2 -fno-strict-aliasing -ffast-math -DLINUX_VERSION='"0.0.6"' -o release/client/rf_world.o -c renderer/rf_world.c
In file included from renderer/rf_world.c:25:
In file included from renderer/rf_local.h:24:
In file included from renderer/r_local.h:39:
In file included from renderer/r_public.h:25:
In file included from renderer/../common/common.h:28:
renderer/../common/../shared/shared.h:177:10: warning: '__fastcall' macro redefined [-Wmacro-redefined]
# define __fastcall
         ^
/usr/include/sys/cdefs.h:366:9: note: previous definition is here
In file included from renderer/rf_sprite.c:25:
In file included from renderer/rf_local.h:24:
In file included from renderer/r_local.h:39:
In file included from renderer/r_public.h:25:
In file included from renderer/../common/common.h:28:
renderer/../common/../shared/shared.h:177:10: warning: '__fastcall' macro redefined [-Wmacro-redefined]
#define __fastcall      __attribute__((__fastcall__))
        ^
# define __fastcall
         ^
/usr/include/sys/cdefs.h:366:9: note: previous definition is here
#define __fastcall      __attribute__((__fastcall__))
        ^
In file included from renderer/rf_world.c:25:
In file included from renderer/rf_local.h:24:
renderer/r_local.h:436:9: warning: 'GL_OFFSET_TEXTURE_2D_MATRIX_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
        ^
/usr/local/include/GL/glext.h:11263:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    0x86E1
        ^
In file included from renderer/rf_world.c:25:
In file included from renderer/rf_local.h:24:
renderer/r_local.h:437:9: warning: 'GL_OFFSET_TEXTURE_2D_SCALE_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
        ^
/usr/local/include/GL/glext.h:11264:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_SCALE_NV     0x86E2
        ^
In file included from renderer/rf_world.c:25:
In file included from renderer/rf_local.h:24:
renderer/r_local.h:438:9: warning: 'GL_OFFSET_TEXTURE_2D_BIAS_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
        ^
/usr/local/include/GL/glext.h:11265:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      0x86E3
        ^
In file included from renderer/rf_sprite.c:25:
In file included from renderer/rf_local.h:24:
renderer/r_local.h:436:9: warning: 'GL_OFFSET_TEXTURE_2D_MATRIX_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
        ^
/usr/local/include/GL/glext.h:11263:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    0x86E1
        ^
In file included from renderer/rf_sprite.c:25:
In file included from renderer/rf_local.h:24:
renderer/r_local.h:437:9: warning: 'GL_OFFSET_TEXTURE_2D_SCALE_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
        ^
/usr/local/include/GL/glext.h:11264:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_SCALE_NV     0x86E2
        ^
In file included from renderer/rf_sprite.c:25:
In file included from renderer/rf_local.h:24:
renderer/r_local.h:438:9: warning: 'GL_OFFSET_TEXTURE_2D_BIAS_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
        ^
/usr/local/include/GL/glext.h:11265:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      0x86E3
        ^
4 warnings generated.
cc -Isource -I./ -I../ -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fcommon -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/egl"' -DHOMEDIR -O2 -fno-strict-aliasing -ffast-math -DLINUX_VERSION='"0.0.6"' -o release/client/unix_console.o -c unix/unix_console.c
In file included from unix/unix_console.c:24:
In file included from unix/../common/common.h:28:
unix/../common/../shared/shared.h:177:10: warning: '__fastcall' macro redefined [-Wmacro-redefined]
# define __fastcall
         ^
/usr/include/sys/cdefs.h:366:9: note: previous definition is here
#define __fastcall      __attribute__((__fastcall__))
        ^
unix/unix_console.c:134:3: warning: array index 65 is past the end of the array (which contains 65 elements) [-Warray-bounds]
  buf[65] = 0;
  ^   ~~
unix/unix_console.c:130:3: note: array 'buf' declared here
  char buf[65];
  ^
2 warnings generated.
cc -Isource -I./ -I../ -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fcommon -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/egl"' -DHOMEDIR -O2 -fno-strict-aliasing -ffast-math -DLINUX_VERSION='"0.0.6"' -o release/client/unix_glimp.o -c unix/unix_glimp.c
4 warnings generated.
cc -Isource -I./ -I../ -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fcommon -I/usr/local/include -DDATADIR='"/usr/local/share/quake2"' -DLIBDIR='"/usr/local/lib/egl"' -DHOMEDIR -O2 -fno-strict-aliasing -ffast-math -DLINUX_VERSION='"0.0.6"' -o release/client/unix_main.o -c unix/unix_main.c
In file included from unix/unix_main.c:44:
In file included from unix/../common/common.h:28:
unix/../common/../shared/shared.h:177:10: warning: '__fastcall' macro redefined [-Wmacro-redefined]
# define __fastcall
         ^
/usr/include/sys/cdefs.h:366:9: note: previous definition is here
#define __fastcall      __attribute__((__fastcall__))
        ^
unix/unix_main.c:72:33: warning: call to undeclared function 'glob_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                if ((c == '[' || *t == c1) && glob_match(p - 1, t))
                                              ^
unix/unix_main.c:227:3: warning: call to undeclared function 'Conbuf_AppendText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  Conbuf_AppendText (message);
  ^
unix/unix_main.c:809:2: warning: call to undeclared function 'GLimp_Shutdown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        GLimp_Shutdown ();
        ^
unix/unix_main.c:839:2: warning: call to undeclared function 'Sys_InitConsole'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Sys_InitConsole ();
        ^
In file included from unix/unix_glimp.c:34:
In file included from unix/../renderer/r_local.h:39:
In file included from unix/../renderer/r_public.h:25:
In file included from unix/../renderer/../common/common.h:28:
unix/../renderer/../common/../shared/shared.h:177:10: warning: '__fastcall' macro redefined [-Wmacro-redefined]
# define __fastcall
         ^
/usr/include/sys/cdefs.h:366:9: note: previous definition is here
#define __fastcall      __attribute__((__fastcall__))
        ^
In file included from unix/unix_glimp.c:34:
unix/../renderer/r_local.h:436:9: warning: 'GL_OFFSET_TEXTURE_2D_MATRIX_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    GL_OFFSET_TEXTURE_MATRIX_NV
        ^
/usr/local/include/GL/glext.h:11263:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_MATRIX_NV    0x86E1
        ^
In file included from unix/unix_glimp.c:34:
unix/../renderer/r_local.h:437:9: warning: 'GL_OFFSET_TEXTURE_2D_SCALE_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_SCALE_NV     GL_OFFSET_TEXTURE_SCALE_NV
        ^
/usr/local/include/GL/glext.h:11264:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_SCALE_NV     0x86E2
        ^
In file included from unix/unix_glimp.c:34:
unix/../renderer/r_local.h:438:9: warning: 'GL_OFFSET_TEXTURE_2D_BIAS_NV' macro redefined [-Wmacro-redefined]
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      GL_OFFSET_TEXTURE_BIAS_NV
        ^
/usr/local/include/GL/glext.h:11265:9: note: previous definition is here
#define GL_OFFSET_TEXTURE_2D_BIAS_NV      0x86E3
        ^
unix/unix_glimp.c:77:2: warning: call to undeclared function 'X11_SwapBuffers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        X11_SwapBuffers ();
        ^
unix/unix_glimp.c:117:7: warning: call to undeclared function 'X11_GetAuxKeyRemapName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                k = X11_GetAuxKeyRemapName (i, &a);
                    ^
unix/unix_glimp.c:117:5: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
                k = X11_GetAuxKeyRemapName (i, &a);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix/unix_glimp.c:257:2: warning: call to undeclared function 'X11_DestroyGLContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        X11_DestroyGLContext ();
        ^
unix/unix_glimp.c:270:6: warning: call to undeclared function 'X11_CreateGLContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (X11_CreateGLContext ()) {
            ^
unix/unix_glimp.c:271:7: warning: call to undeclared function 'X11_GetGLAttribute'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                if (X11_GetGLAttribute (GLX_RGBA)) {
                    ^
unix/unix_glimp.c:284:3: warning: call to undeclared function 'X11_SetKMGrab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                X11_SetKMGrab (qFalse, qTrue);
                ^
unix/unix_glimp.c:312:7: warning: call to undeclared function 'X11_SetVideoMode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                if (X11_SetVideoMode (width, height, qTrue))
                    ^
unix/unix_glimp.c:321:6: warning: call to undeclared function 'X11_SetVideoMode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (X11_SetVideoMode (width, height, qFalse))
            ^
unix/unix_glimp.c:337:9: warning: call to undeclared function 'SCR_GetGammaRamp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        return SCR_GetGammaRamp (ramp);
               ^
unix/unix_glimp.c:348:2: warning: call to undeclared function 'SCR_SetGammaRamp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        SCR_SetGammaRamp (ramp);
        ^
14 warnings and 1 error generated.
gmake[2]: *** [makefile:310: release/client/unix_glimp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
5 warnings generated.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/egl/work/egl-0.3.1_9'
gmake[1]: *** [makefile:104: build_release] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/egl/work/egl-0.3.1_9'
===> 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/egl