[package - main-amd64-default][devel/godot2] Failed for godot2-2.1.6_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 30 Jun 2023 16:37:19 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:     FreeBSD@Shaneware.biz
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p7520ea4fbadd_sfd774e065c/logs/godot2-2.1.6_5.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p7520ea4fbadd_sfd774e065c
Log:

=>> Building devel/godot2
build started at Fri Jun 30 16:37:08 UTC 2023
port directory: /usr/ports/devel/godot2
package name: godot2-2.1.6_5
building for: FreeBSD main-amd64-default-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400092 amd64
maintained by: FreeBSD@Shaneware.biz
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400092
Job Id: 04




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400092
UNAME_v=FreeBSD 14.0-CURRENT 1400092
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-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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 godot2-2.1.6_5:
====> Audio support
     ALSA=off: ALSA audio architecture support
     OSS=on: Open Sound System support
     PULSEAUDIO=off: PulseAudio sound server support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
FreeBSD@Shaneware.biz
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/godot2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/godot2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/godot2/work/.cache  HOME=/wrkdirs/usr/ports/devel/godot2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/godot2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/godot2/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/godot2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/godot2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/godot2/work/.cache  HOME=/wrkdirs/usr/ports/devel/godot2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/godot2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/godot2/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=" -lspeex -lmpcdec  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  -DGLEW_NO_GLU -DRTAUDIO_ENABLED -DCRIOGET_NOT_NEEDED "  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--
PORTEXAMPLES="@comment " OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/godot"  EXAMPLESDIR="share/examples/godot2"  DATADIR="share/godot"  WWWDIR="www/godot"  ETCDIR="etc/godot"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/godot DOCSDIR=/usr/local/share/doc/godot EXAMPLESDIR=/usr/local/share/examples/godot2  WWWDIR=/usr/local/www/godot ETCDIR=/usr/local/etc/godot
--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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-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: x86_64-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" "-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: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400092
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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   >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Requires legacy OpenSSL 1.1.1 so use devel/godot.

It is scheduled to be removed on or after 2023-07-08.

===>  License MIT CC-BY-3.0 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   godot2-2.1.6_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_3.pkg
[main-amd64-default-job-04] Installing pkg-1.19.1_3...
[main-amd64-default-job-04] Extracting pkg-1.19.1_3: .......... done
===>   godot2-2.1.6_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of godot2-2.1.6_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Requires legacy OpenSSL 1.1.1 so use devel/godot.

It is scheduled to be removed on or after 2023-07-08.

===>  License MIT CC-BY-3.0 accepted by the user
===> Fetching all distfiles required by godot2-2.1.6_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:
<snip>
The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
===>   godot2-2.1.6_5 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   Returning to build of godot2-2.1.6_5
===>   godot2-2.1.6_5 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   godot2-2.1.6_5 depends on shared library: libmpcdec.so - not found
===>   Installing existing package /packages/All/musepack-2011.08.10.pkg
[main-amd64-default-job-04] Installing musepack-2011.08.10...
[main-amd64-default-job-04] Extracting musepack-2011.08.10: .......... done
===>   godot2-2.1.6_5 depends on shared library: libmpcdec.so - found (/usr/local/lib/libmpcdec.so)
===>   Returning to build of godot2-2.1.6_5
===>   godot2-2.1.6_5 depends on shared library: libspeex.so - not found
===>   Installing existing package /packages/All/speex-1.2.1,1.pkg
[main-amd64-default-job-04] Installing speex-1.2.1,1...
[main-amd64-default-job-04] `-- Installing libogg-1.3.5,4...
[main-amd64-default-job-04] `-- Extracting libogg-1.3.5,4: .......... done
[main-amd64-default-job-04] `-- Installing speexdsp-1.2.1...
[main-amd64-default-job-04] `-- Extracting speexdsp-1.2.1: .......... done
[main-amd64-default-job-04] Extracting speex-1.2.1,1: .......... done
===>   godot2-2.1.6_5 depends on shared library: libspeex.so - found (/usr/local/lib/libspeex.so)
===>   Returning to build of godot2-2.1.6_5
===>   godot2-2.1.6_5 depends on shared library: libGL.so - not found
===>   Installing existing package /packages/All/libglvnd-1.6.0.pkg
[main-amd64-default-job-04] Installing libglvnd-1.6.0...
[main-amd64-default-job-04] Extracting libglvnd-1.6.0: .......... done
===>   godot2-2.1.6_5 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   Returning to build of godot2-2.1.6_5
===>   godot2-2.1.6_5 depends on shared library: libGLU.so - not found
===>   Installing existing package /packages/All/libGLU-9.0.2_2.pkg
[main-amd64-default-job-04] Installing libGLU-9.0.2_2...
[main-amd64-default-job-04] Extracting libGLU-9.0.2_2: ..... done
===>   godot2-2.1.6_5 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===>   Returning to build of godot2-2.1.6_5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for godot2-2.1.6_5
===========================================================================
=======================<phase: build          >============================
===>  Building for godot2-2.1.6_5
scons: Reading SConscript files ...
Enabling OSS Audio
scons: done reading SConscript files.
scons: Building targets ...
run(["core/method_bind.gen.inc", "core/method_bind_ext.gen.inc"], ["core/make_binders.py"])
build_gles2_headers(["drivers/gles2/shaders/blur.glsl.gen.h"], ["drivers/gles2/shaders/blur.glsl"])
c++ -o platform/x11/crash_handler_x11.x11.opt.64.llvm.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DGLEW_NO_GLU -DRTAUDIO_ENABLED -DCRIOGET_NOT_NEEDED -pipe -Ithirdparty/rtaudio -w -DNDEBUG -DFREETYPE_ENABLED -DENABLE_DEPRECATED -DTYPED_METHOD_BIND -DTOUCH_ENABLED -DOPENGL_ENABLED -DOSS_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLEW_STATIC -DGLEW_ENABLED -D_THREAD_SAFE -Icore -Icore/math -Ieditor -Idrivers -I. -Iplatform/x11 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -Ithirdparty/rtaudio -Ithirdparty/glew platform/x11/crash_handler_x11.cpp
c++ -o platform/x11/context_gl_x11.x11.opt.64.llvm.o -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DGLEW_NO_GLU -DRTAUDIO_ENABLED -DCRIOGET_NOT_NEEDED -pipe -Ithirdparty/rtaudio -w -DNDEBUG -DFREETYPE_ENABLED -DENABLE_DEPRECATED -DTYPED_METHOD_BIND -DTOUCH_ENABLED -DOPENGL_ENABLED -DOSS_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DGLES2_ENABLED -DGLES_OVER_GL -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DGLEW_STATIC -DGLEW_ENABLED -D_THREAD_SAFE -Icore -Icore/math -Ieditor -Idrivers -I. -Iplatform/x11 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -Ithirdparty/rtaudio -Ithirdparty/glew platform/x11/context_gl_x11.cpp
In file included from platform/x11/crash_handler_x11.cpp:34:
In file included from ./main/main.h:37:
In file included from ./core/os/thread.h:38:
In file included from core/ustring.h:35:
In file included from core/vector.h:39:
In file included from core/os/memory.h:35:
core/safe_refcount.h:39:39: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_conditional_increment(register uint32_t *counter);
                                      ^~~~~~~~~
core/safe_refcount.h:40:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_decrement(register uint32_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:41:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_increment(register uint32_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:42:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_sub(register uint32_t *pw, register uint32_t val);
                    ^~~~~~~~~
core/safe_refcount.h:42:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_sub(register uint32_t *pw, register uint32_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:43:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_add(register uint32_t *pw, register uint32_t val);
                    ^~~~~~~~~
core/safe_refcount.h:43:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_add(register uint32_t *pw, register uint32_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:44:37: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_exchange_if_greater(register uint32_t *pw, register uint32_t val);
                                    ^~~~~~~~~
core/safe_refcount.h:44:60: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_exchange_if_greater(register uint32_t *pw, register uint32_t val);
                                                           ^~~~~~~~~
core/safe_refcount.h:46:39: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_conditional_increment(register uint64_t *counter);
                                      ^~~~~~~~~
core/safe_refcount.h:47:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_decrement(register uint64_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:48:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_increment(register uint64_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:49:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_sub(register uint64_t *pw, register uint64_t val);
                    ^~~~~~~~~
core/safe_refcount.h:49:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_sub(register uint64_t *pw, register uint64_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:50:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_add(register uint64_t *pw, register uint64_t val);
                    ^~~~~~~~~
core/safe_refcount.h:50:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_add(register uint64_t *pw, register uint64_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:51:37: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_exchange_if_greater(register uint64_t *pw, register uint64_t val);
                                    ^~~~~~~~~
core/safe_refcount.h:51:60: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_exchange_if_greater(register uint64_t *pw, register uint64_t val);
                                                           ^~~~~~~~~
In file included from platform/x11/context_gl_x11.cpp:30:
In file included from platform/x11/context_gl_x11.h:41:
In file included from core/os/os.h:33:
In file included from core/list.h:33:
In file included from core/os/memory.h:35:
core/safe_refcount.h:39:39: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_conditional_increment(register uint32_t *counter);
                                      ^~~~~~~~~
core/safe_refcount.h:40:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_decrement(register uint32_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:41:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_increment(register uint32_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:42:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_sub(register uint32_t *pw, register uint32_t val);
                    ^~~~~~~~~
core/safe_refcount.h:42:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_sub(register uint32_t *pw, register uint32_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:43:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_add(register uint32_t *pw, register uint32_t val);
                    ^~~~~~~~~
core/safe_refcount.h:43:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_add(register uint32_t *pw, register uint32_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:44:37: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_exchange_if_greater(register uint32_t *pw, register uint32_t val);
                                    ^~~~~~~~~
core/safe_refcount.h:44:60: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint32_t atomic_exchange_if_greater(register uint32_t *pw, register uint32_t val);
                                                           ^~~~~~~~~
core/safe_refcount.h:46:39: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_conditional_increment(register uint64_t *counter);
                                      ^~~~~~~~~
core/safe_refcount.h:47:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_decrement(register uint64_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:48:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_increment(register uint64_t *pw);
                          ^~~~~~~~~
core/safe_refcount.h:49:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_sub(register uint64_t *pw, register uint64_t val);
                    ^~~~~~~~~
core/safe_refcount.h:49:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_sub(register uint64_t *pw, register uint64_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:50:21: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_add(register uint64_t *pw, register uint64_t val);
                    ^~~~~~~~~
core/safe_refcount.h:50:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_add(register uint64_t *pw, register uint64_t val);
                                           ^~~~~~~~~
core/safe_refcount.h:51:37: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_exchange_if_greater(register uint64_t *pw, register uint64_t val);
                                    ^~~~~~~~~
core/safe_refcount.h:51:60: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
uint64_t atomic_exchange_if_greater(register uint64_t *pw, register uint64_t val);
                                                           ^~~~~~~~~
18 errors generated.
scons: *** [platform/x11/context_gl_x11.x11.opt.64.llvm.o] Error 1
18 errors generated.
scons: *** [platform/x11/crash_handler_x11.x11.opt.64.llvm.o] Error 1
scons: building terminated because of errors.
===> 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/devel/godot2