[package - main-i386-default][games/memonix] Failed for memonix-1.6.070713_12 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 06:11:58 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:     amdmi3@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p94960070866b_s239597e030/logs/memonix-1.6.070713_12.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p94960070866b_s239597e030
Log:

=>> Building games/memonix
build started at Thu Jul 20 06:11:50 UTC 2023
port directory: /usr/ports/games/memonix
package name: memonix-1.6.070713_12
building for: FreeBSD main-i386-default-job-10 14.0-CURRENT FreeBSD 14.0-CURRENT 1400093 i386
maintained by: amdmi3@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400093
Job Id: 10




!!! Jail is newer than host. (Jail: 1400093, 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=1400093
UNAME_v=FreeBSD 14.0-CURRENT 1400093
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---
---End OPTIONS List---

--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/memonix/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/memonix/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/memonix/work/.cache  HOME=/wrkdirs/usr/ports/games/memonix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/memonix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/memonix/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--
NINJA_STATUS="[%p %s/%t] " SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/memonix/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/memonix/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/memonix/work/.cache  HOME=/wrkdirs/usr/ports/games/memonix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/memonix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/memonix/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 DESTDIR=/wrkdirs/usr/ports/games/memonix/work/stage 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--
CMAKE_BUILD_TYPE="release" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/memonix"  EXAMPLESDIR="share/examples/memonix"  DATADIR="share/memonix"  WWWDIR="www/memonix"  ETCDIR="etc/memonix"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/memonix DOCSDIR=/usr/local/share/doc/memonix EXAMPLESDIR=/usr/local/share/examples/memonix  WWWDIR=/usr/local/www/memonix ETCDIR=/usr/local/etc/memonix
--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=1400093
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 unknown GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   memonix-1.6.070713_12 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.4.pkg
[main-i386-default-job-10] Installing pkg-1.20.4...
[main-i386-default-job-10] Extracting pkg-1.20.4: .......... done
===>   memonix-1.6.070713_12 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of memonix-1.6.070713_12
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License unknown GPLv2 accepted by the user
===> Fetching all distfiles required by memonix-1.6.070713_12 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License unknown GPLv2 accepted by the user
===> Fetching all distfiles required by memonix-1.6.070713_12 for building
=> SHA256 Checksum OK for MemonixSourceCode_1.6_070713.zip.
=> SHA256 Checksum OK for memx16.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License unknown GPLv2 accepted by the user
===> Fetching all distfiles required by memonix-1.6.070713_12 for building
===>  Extracting for memonix-1.6.070713_12
=> SHA256 Checksum OK for MemonixSourceCode_1.6_070713.zip.
=> SHA256 Checksum OK for memx16.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for memonix-1.6.070713_12
===>  Applying FreeBSD patches for memonix-1.6.070713_12 from /usr/ports/games/memonix/files
<snip>
The timidity port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   memonix-1.6.070713_12 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of memonix-1.6.070713_12
===>   memonix-1.6.070713_12 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for memonix-1.6.070713_12
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode
CMake Deprecation Warning at CMakeLists.txt:15 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at /usr/local/share/cmake/Modules/FindOpenGL.cmake:315 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/local/lib/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/local/lib/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/local/lib/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  CMakeLists.txt:23 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/local/lib/libOpenGL.so   
-- WARNING: you are using the obsolete 'GLU' package, please use 'OpenGL' instead
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL: /usr/local/lib/libSDLmain.a;/usr/local/lib/libSDL.so;-lpthread  
-- Found SDL_image: /usr/local/lib/libSDL_image.so (found version "1.2.12") 
-- Found SDL_mixer: /usr/local/lib/libSDL_mixer.so (found version "1.2.12") 
-- Found X11: /usr/local/include   
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Configuring done (1.6s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode
===========================================================================
=======================<phase: build          >============================
===>  Building for memonix-1.6.070713_12
[  3% 2/32] /usr/bin/c++  -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MD -MT CMakeFiles/Memonix.dir/src/Core/Math/Matrix33.o -MF CMakeFiles/Memonix.dir/src/Core/Math/Matrix33.o.d -o CMakeFiles/Memonix.dir/src/Core/Math/Matrix33.o -c /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Matrix33.cpp
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Matrix33.cpp:22:
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Math.h:23:
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/../../Core.h:46:
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/../../GLext.h:54:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 18
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
[  6% 3/32] /usr/bin/c++  -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MD -MT CMakeFiles/Memonix.dir/src/Core/Math/Math.o -MF CMakeFiles/Memonix.dir/src/Core/Math/Math.o.d -o CMakeFiles/Memonix.dir/src/Core/Math/Math.o -c /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Math.cpp
FAILED: CMakeFiles/Memonix.dir/src/Core/Math/Math.o 
/usr/bin/c++  -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MD -MT CMakeFiles/Memonix.dir/src/Core/Math/Math.o -MF CMakeFiles/Memonix.dir/src/Core/Math/Math.o.d -o CMakeFiles/Memonix.dir/src/Core/Math/Math.o -c /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Math.cpp
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Math.cpp:22:
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Math.h:23:
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/../../Core.h:46:
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/../../GLext.h:54:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 18
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Math.cpp:269:
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:187:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 s1;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:232:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int i = 1;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:233:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 j = 0;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:234:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int k = ( N > seedLength ? N : seedLength );
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:296:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 *s = state;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:297:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 *r = state;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:298:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int i = 1;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:312:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 *p = state;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:313:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int i;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:352:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 *sa = saveArray;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:353:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register const uint32 *s = state;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:354:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int i = N;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:362:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 *s = state;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:363:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register uint32 *la = loadArray;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:364:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int i = N;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:373:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register const MTRand::uint32 *s = mtrand.state;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:374:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int i = mtrand.N;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:382:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register MTRand::uint32 *s = mtrand.state;
        ^~~~~~~~~
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/MersenneTwister.h:383:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int i = mtrand.N;
        ^~~~~~~~~
1 warning and 19 errors generated.
[  9% 3/32] /usr/bin/c++  -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG   -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MD -MT CMakeFiles/Memonix.dir/src/Core/Math/Matrix44.o -MF CMakeFiles/Memonix.dir/src/Core/Math/Matrix44.o.d -o CMakeFiles/Memonix.dir/src/Core/Math/Matrix44.o -c /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Matrix44.cpp
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Matrix44.cpp:21:
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/Math.h:23:
In file included from /wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/../../Core.h:46:
/wrkdirs/usr/ports/games/memonix/work/MemonixSourceCode/src/Core/Math/../../GLext.h:54:9: warning: 'GL_GLEXT_VERSION' macro redefined [-Wmacro-redefined]
#define GL_GLEXT_VERSION 18
        ^
/usr/local/include/GL/glext.h:35:9: note: previous definition is here
#define GL_GLEXT_VERSION 20220530
        ^
1 warning generated.
ninja: build stopped: subcommand failed.
===> 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/memonix