[package - main-i386-default][games/prboom-plus] Failed for prboom-plus-2.5.1.3_11 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 03:28:39 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:     thiagohero501@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p4785b313b958_se8efee297c/logs/prboom-plus-2.5.1.3_11.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p4785b313b958_se8efee297c
Log:

=>> Building games/prboom-plus
build started at Mon Jun 26 03:28:01 UTC 2023
port directory: /usr/ports/games/prboom-plus
package name: prboom-plus-2.5.1.3_11
building for: FreeBSD main-i386-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 i386
maintained by: thiagohero501@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 12




!!! Jail is newer than host. (Jail: 1400091, Host: 1400089) !!!
!!! 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=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
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 prboom-plus-2.5.1.3_11:
     DOCS=on: Build and/or install documentation
     OPENGL=on: 2D/3D rendering support via OpenGL
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
thiagohero501@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-waddir=/usr/local/share/doom --enable-gl --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

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

--MAKE_ENV--
DMDIR="/usr/local/share/doom" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/prboom-plus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/prboom-plus/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/prboom-plus/work/.cache  HOME=/wrkdirs/usr/ports/games/prboom-plus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/prboom-plus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/prboom-plus/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -f
no-strict-aliasing  -isystem /usr/local/include "  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--
DMDIR="share/doom" PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/prboom-plus"  EXAMPLESDIR="share/examples/prboom-plus"  DATADIR="share/doom"  WWWDIR="www/prboom-plus"  ETCDIR="etc/prboom-plus"
--End PLIST_SUB--

--SUB_LIST--
DMDIR="/usr/local/share/doom" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/doom DOCSDIR=/usr/local/share/doc/prboom-plus EXAMPLESDIR=/usr/local/share/examples/prboom-plus  WWWDIR=/usr/local/www/prboom-plus ETCDIR=/usr/local/etc/prboom-plus
--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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) 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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) 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=1400091
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    >============================
===>   prboom-plus-2.5.1.3_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-i386-default-job-12] Installing pkg-1.19.1_1...
[main-i386-default-job-12] Extracting pkg-1.19.1_1: .......... done
===>   prboom-plus-2.5.1.3_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of prboom-plus-2.5.1.3_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by prboom-plus-2.5.1.3_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by prboom-plus-2.5.1.3_11 for building
=> SHA256 Checksum OK for prboom-plus-2.5.1.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by prboom-plus-2.5.1.3_11 for building
===>  Extracting for prboom-plus-2.5.1.3_11
=> SHA256 Checksum OK for prboom-plus-2.5.1.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
        ^
gl_clipper.c:349:7: warning: taking the absolute value of unsigned type 'angle_t' (aka 'unsigned int') has no effect [-Wabsolute-value]
  if (D_abs(viewpitch) > 46 * ANG1)
      ^
./m_fixed.h:79:15: note: expanded from macro 'D_abs'
#define D_abs abs
              ^
gl_clipper.c:349:7: note: remove the call to 'abs' since unsigned values cannot be negative
  if (D_abs(viewpitch) > 46 * ANG1)
      ^~~~~
./m_fixed.h:79:15: note: expanded from macro 'D_abs'
#define D_abs abs
              ^
2 warnings generated.
mv -f .deps/gl_clipper.Tpo .deps/gl_clipper.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_gamma.o -MD -MP -MF .deps/gl_gamma.Tpo -c -o gl_gamma.o gl_gamma.c
In file included from gl_gamma.c:45:
In file included from ./v_video.h:298:
In file included from ./gl_struct.h:37:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
mv -f .deps/gl_gamma.Tpo .deps/gl_gamma.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_missingtexture.o -MD -MP -MF .deps/gl_missingtexture.Tpo -c -o gl_missingtexture.o gl_missingtexture.c
In file included from gl_missingtexture.c:38:
In file included from ./gl_opengl.h:45:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
mv -f .deps/gl_missingtexture.Tpo .deps/gl_missingtexture.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_light.o -MD -MP -MF .deps/gl_light.Tpo -c -o gl_light.o gl_light.c
In file included from gl_light.c:44:
In file included from ./v_video.h:298:
In file included from ./gl_struct.h:37:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
mv -f .deps/gl_light.Tpo .deps/gl_light.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_hqresize.o -MD -MP -MF .deps/gl_hqresize.Tpo -c -o gl_hqresize.o gl_hqresize.c
In file included from gl_hqresize.c:77:
In file included from ./v_video.h:298:
In file included from ./gl_struct.h:37:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
gl_hqresize.c:242:11: warning: enumeration values 'GLDT_UNREGISTERED' and 'GLDT_BROKEN' not handled in switch [-Wswitch]
  switch (gltexture->textype)
          ^~~~~~~~~~~~~~~~~~
gl_hqresize.c:265:11: warning: enumeration values 'hq_scale_none' and 'hq_scale_max' not handled in switch [-Wswitch]
  switch (scale_mode)
          ^~~~~~~~~~
3 warnings generated.
mv -f .deps/gl_hqresize.Tpo .deps/gl_hqresize.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_sky.o -MD -MP -MF .deps/gl_sky.Tpo -c -o gl_sky.o gl_sky.c
In file included from gl_sky.c:44:
In file included from ./gl_opengl.h:45:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
gl_sky.c:518:60: warning: implicit conversion from 'unsigned int' to 'float' changes value from 1073741822 to 1073741824 [-Wimplicit-const-int-float-conversion]
      fU1 = -((float)angle + SkyBox.x_offset) / (WRAPANGLE - 1);
                                              ~  ~~~~~~~~~~^~~
gl_sky.c:523:59: warning: implicit conversion from 'unsigned int' to 'float' changes value from 1073741822 to 1073741824 [-Wimplicit-const-int-float-conversion]
      fU2 = ((float)angle + SkyBox.x_offset) / (WRAPANGLE - 1);
                                             ~  ~~~~~~~~~~^~~
gl_sky.c:635:52: warning: implicit conversion from 'unsigned int' to 'float' changes value from 4294967295 to 4294967296 [-Wimplicit-const-int-float-conversion]
  angle_t topAngle= (angle_t)(c / (float)columns * ANGLE_MAX);
                                                 ~ ^~~~~~~~~
./tables.h:64:19: note: expanded from macro 'ANGLE_MAX'
#define ANGLE_MAX 0xffffffff
                  ^~~~~~~~~~
4 warnings generated.
mv -f .deps/gl_sky.Tpo .deps/gl_sky.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_fbo.o -MD -MP -MF .deps/gl_fbo.Tpo -c -o gl_fbo.o gl_fbo.c
In file included from gl_fbo.c:38:
In file included from ./gl_opengl.h:45:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
mv -f .deps/gl_fbo.Tpo .deps/gl_fbo.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_shadow.o -MD -MP -MF .deps/gl_shadow.Tpo -c -o gl_shadow.o gl_shadow.c
In file included from gl_shadow.c:34:
In file included from ./gl_opengl.h:45:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
mv -f .deps/gl_shadow.Tpo .deps/gl_shadow.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_soft2gl.o -MD -MP -MF .deps/gl_soft2gl.Tpo -c -o gl_soft2gl.o gl_soft2gl.c
In file included from gl_soft2gl.c:39:
In file included from ./gl_opengl.h:45:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
mv -f .deps/gl_soft2gl.Tpo .deps/gl_soft2gl.Po
cc -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../src -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT gl_preprocess.o -MD -MP -MF .deps/gl_preprocess.Tpo -c -o gl_preprocess.o gl_preprocess.c
In file included from gl_preprocess.c:46:
In file included from ./gl_opengl.h:45:
/usr/local/include/SDL/SDL_opengl.h:116:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 29
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
gl_preprocess.c:494:41: error: incompatible function pointer types passing 'void (GLenum)' (aka 'void (unsigned int)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
  gluTessCallback(tess, GLU_TESS_BEGIN, ntessBegin);
                                        ^~~~~~~~~~
/usr/local/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
                                                                                      ^
gl_preprocess.c:495:42: error: incompatible function pointer types passing 'void (vertex_t *)' to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
  gluTessCallback(tess, GLU_TESS_VERTEX, ntessVertex);
                                         ^~~~~~~~~~~
/usr/local/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
                                                                                      ^
gl_preprocess.c:496:41: error: incompatible function pointer types passing 'void (GLenum)' (aka 'void (unsigned int)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
  gluTessCallback(tess, GLU_TESS_ERROR, ntessError);
                                        ^~~~~~~~~~
/usr/local/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
                                                                                      ^
gl_preprocess.c:497:43: error: incompatible function pointer types passing 'void (GLdouble *, vertex_t **, GLfloat *, void **)' (aka 'void (double *, vertex_t **, float *, void **)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Wincompatible-function-pointer-types]
  gluTessCallback(tess, GLU_TESS_COMBINE, ntessCombine);
                                          ^~~~~~~~~~~~
/usr/local/include/GL/glu.h:336:87: note: passing argument to parameter 'CallBackFunc' here
GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
                                                                                      ^
gl_preprocess.c:675:17: warning: taking the absolute value of unsigned type 'angle_t' (aka 'unsigned int') has no effect [-Wabsolute-value]
            if (D_abs(angle-(180-lineangle))<D_abs(bestangle))
                ^
./m_fixed.h:79:15: note: expanded from macro 'D_abs'
#define D_abs abs
              ^
gl_preprocess.c:675:17: note: remove the call to 'abs' since unsigned values cannot be negative
            if (D_abs(angle-(180-lineangle))<D_abs(bestangle))
                ^~~~~
./m_fixed.h:79:15: note: expanded from macro 'D_abs'
#define D_abs abs
              ^
gl_preprocess.c:675:46: warning: taking the absolute value of unsigned type 'angle_t' (aka 'unsigned int') has no effect [-Wabsolute-value]
            if (D_abs(angle-(180-lineangle))<D_abs(bestangle))
                                             ^
./m_fixed.h:79:15: note: expanded from macro 'D_abs'
#define D_abs abs
              ^
gl_preprocess.c:675:46: note: remove the call to 'abs' since unsigned values cannot be negative
            if (D_abs(angle-(180-lineangle))<D_abs(bestangle))
                                             ^~~~~
./m_fixed.h:79:15: note: expanded from macro 'D_abs'
#define D_abs abs
              ^
3 warnings and 4 errors generated.
gmake[4]: *** [Makefile:569: gl_preprocess.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
1 warning generated.
mv -f .deps/r_draw.Tpo .deps/r_draw.Po
gmake[4]: Leaving directory '/wrkdirs/usr/ports/games/prboom-plus/work/prboom-plus-2.5.1.3/src'
gmake[3]: *** [Makefile:591: all-recursive] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/prboom-plus/work/prboom-plus-2.5.1.3/src'
gmake[2]: *** [Makefile:344: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/prboom-plus/work/prboom-plus-2.5.1.3'
gmake[1]: *** [Makefile:260: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/prboom-plus/work/prboom-plus-2.5.1.3'
===> 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/prboom-plus