[package - 132releng-armv6-quarterly][devel/godot] Failed for godot-4.0.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 13 Aug 2023 05:56: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:     FreeBSD@Shaneware.biz
Log URL:        https://pkg-status.freebsd.org/beefy8/data/132releng-armv6-quarterly/cc06501f9692/logs/godot-4.0.2.log
Build URL:      https://pkg-status.freebsd.org/beefy8/build.html?mastername=132releng-armv6-quarterly&build=cc06501f9692
Log:

=>> Building devel/godot
build started at Sun Aug 13 05:54:36 UTC 2023
port directory: /usr/ports/devel/godot
package name: godot-4.0.2
building for: FreeBSD 132releng-armv6-quarterly-job-05 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 1302001 arm
maintained by: FreeBSD@Shaneware.biz
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400088
Jail OSVERSION: 1302001
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p2 1302001
UNAME_r=13.2-RELEASE-p2
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/132releng-armv6-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/132releng-armv6-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132releng-armv6-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/132releng-armv6-quarterly/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 godot-4.0.2:
     UDEV=on: Libudev support (Joystick)
====> Audio support
     ALSA=on: ALSA audio architecture 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/godot/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/godot/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/godot/work/.cache  HOME=/wrkdirs/usr/ports/devel/godot/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/godot/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/godot/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/godot/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/godot/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/godot/work/.cache  HOME=/wrkdirs/usr/ports/devel/godot/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/godot/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/godot/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/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="inst
all  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTEXAMPLES="@comment " OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/godot"  EXAMPLESDIR="share/examples/godot"  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/godot  WWWDIR=/usr/local/www/godot ETCDIR=/usr/local/etc/godot
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_53255a77=yes
CC_OUTPUT_9d218390_911cfe02=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
CC_OUTPUT_9d218390_af59ad06=yes
CC_OUTPUT_9d218390_a15f3fcf=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv6-unknown-freebsd13.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=13.2-RELEASE-p2
OSREL=13.2
OSVERSION=1302001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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 MIT CC-BY-3.0 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   godot-4.0.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.2.pkg
[132releng-armv6-quarterly-job-05] Installing pkg-1.19.2...
[132releng-armv6-quarterly-job-05] Extracting pkg-1.19.2: .......... done
===>   godot-4.0.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of godot-4.0.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT CC-BY-3.0 accepted by the user
===> Fetching all distfiles required by godot-4.0.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT CC-BY-3.0 accepted by the user
===> Fetching all distfiles required by godot-4.0.2 for building
<snip>
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from platform/linuxbsd/godot_linuxbsd.cpp:40:
In file included from ./main/main.h:35:
In file included from ./core/os/thread.h:45:
In file included from /usr/include/c++/v1/thread:88:
In file included from /usr/include/c++/v1/__mutex_base:17:
In file included from /usr/include/c++/v1/system_error:151:
In file included from /usr/include/c++/v1/string:535:
/usr/include/c++/v1/string_view:918:63: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char> operator "" sv(const char *__str, size_t __len) _NOEXCEPT
                                                              ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:925:69: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<wchar_t> operator "" sv(const wchar_t *__str, size_t __len) _NOEXCEPT
                                                                    ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:940:71: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char16_t> operator "" sv(const char16_t *__str, size_t __len) _NOEXCEPT
                                                                      ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:946:71: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char32_t> operator "" sv(const char32_t *__str, size_t __len) _NOEXCEPT
                                                                      ^~~~~~~~~~~~
clang++ -o platform/linuxbsd/x11/key_mapping_x11.linuxbsd.template_release.x86_64.llvm.o -c -std=gnu++17 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pipe -m64 -O3 -Wall -Wno-ordered-compare-function-pointers -DNDEBUG -DNO_EDITOR_SPLASH -DSOWRAP_ENABLED -DTOUCH_ENABLED -DFONTCONFIG_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DDBUS_ENABLED -DSPEECHD_ENABLED -DXKB_ENABLED -DLINUXBSD_ENABLED -DUNIX_ENABLED -D_FILE_OFFSET_BITS=64 -DX11_ENABLED -DVULKAN_ENABLED -DGLES3_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DUSE_VOLK -DVK_USE_PLATFORM_XLIB_KHR -DGLAD_ENABLED -DGLES_OVER_GL -DGLAD_GLX_NO_X11 -Ithirdparty/glad -Ithirdparty/volk -Ithirdparty/vulkan -Ithirdparty/vulkan/include -Ithirdparty/zstd -Ithirdparty/linuxbsd_headers -Iplatform/linuxbsd -I. -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib
/glib-2.0/include platform/linuxbsd/x11/key_mapping_x11.cpp
In file included from platform/linuxbsd/freedesktop_portal_desktop.cpp:36:
In file included from ./core/os/os.h:34:
In file included from ./core/config/engine.h:34:
In file included from ./core/os/main_loop.h:34:
In file included from ./core/input/input_event.h:35:
In file included from ./core/io/resource.h:34:
In file included from ./core/io/resource_uid.h:34:
In file included from ./core/object/ref_counted.h:34:
In file included from ./core/object/class_db.h:34:
In file included from ./core/object/method_bind.h:34:
In file included from ./core/variant/binder_common.h:35:
In file included from ./core/object/object.h:35:
In file included from ./core/object/message_queue.h:35:
In file included from ./core/os/thread_safe.h:34:
In file included from ./core/os/mutex.h:37:
In file included from /usr/include/c++/v1/mutex:190:
In file included from /usr/include/c++/v1/__mutex_base:17:
In file included from /usr/include/c++/v1/system_error:151:
In file included from /usr/include/c++/v1/string:535:
/usr/include/c++/v1/string_view:918:63: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char> operator "" sv(const char *__str, size_t __len) _NOEXCEPT
                                                              ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:925:69: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<wchar_t> operator "" sv(const wchar_t *__str, size_t __len) _NOEXCEPT
                                                                    ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:940:71: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char16_t> operator "" sv(const char16_t *__str, size_t __len) _NOEXCEPT
                                                                      ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:946:71: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char32_t> operator "" sv(const char32_t *__str, size_t __len) _NOEXCEPT
                                                                      ^~~~~~~~~~~~
In file included from platform/linuxbsd/crash_handler_linuxbsd.cpp:33:
In file included from ./core/config/project_settings.h:34:
In file included from ./core/object/class_db.h:34:
In file included from ./core/object/method_bind.h:34:
In file included from ./core/variant/binder_common.h:35:
In file included from ./core/object/object.h:35:
In file included from ./core/object/message_queue.h:35:
In file included from ./core/os/thread_safe.h:34:
In file included from ./core/os/mutex.h:37:
In file included from /usr/include/c++/v1/mutex:190:
In file included from /usr/include/c++/v1/__mutex_base:17:
In file included from /usr/include/c++/v1/system_error:151:
In file included from /usr/include/c++/v1/string:525:
In file included from /usr/include/c++/v1/algorithm:759:
/usr/include/c++/v1/__algorithm/shuffle.h:57:12: error: cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information
    return reinterpret_cast<uintptr_t>(&__x);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang -o platform/linuxbsd/x11/dynwrappers/xlib-so_wrap.linuxbsd.template_release.x86_64.llvm.o -c -std=gnu11 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -pipe -m64 -O3 -Wall -Wno-ordered-compare-function-pointers -DNDEBUG -DNO_EDITOR_SPLASH -DSOWRAP_ENABLED -DTOUCH_ENABLED -DFONTCONFIG_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DDBUS_ENABLED -DSPEECHD_ENABLED -DXKB_ENABLED -DLINUXBSD_ENABLED -DUNIX_ENABLED -D_FILE_OFFSET_BITS=64 -DX11_ENABLED -DVULKAN_ENABLED -DGLES3_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DUSE_VOLK -DVK_USE_PLATFORM_XLIB_KHR -DGLAD_ENABLED -DGLES_OVER_GL -DGLAD_GLX_NO_X11 -Ithirdparty/glad -Ithirdparty/volk -Ithirdparty/vulkan -Ithirdparty/vulkan/include -Ithirdparty/zstd -Ithirdparty/linuxbsd_headers -Iplatform/linuxbsd -I. -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include platform/linuxbsd/x11/dynwrappers
/xlib-so_wrap.c
fatal error: too many errors emitted, stopping now [-ferror-limit=]
scons: *** [platform/linuxbsd/freedesktop_screensaver.linuxbsd.template_release.x86_64.llvm.o] Error 1
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from platform/linuxbsd/crash_handler_linuxbsd.cpp:33:
In file included from ./core/config/project_settings.h:34:
In file included from ./core/object/class_db.h:34:
In file included from ./core/object/method_bind.h:34:
In file included from ./core/variant/binder_common.h:35:
In file included from ./core/object/object.h:35:
In file included from ./core/object/message_queue.h:35:
In file included from ./core/os/thread_safe.h:34:
In file included from ./core/os/mutex.h:37:
In file included from /usr/include/c++/v1/mutex:190:
In file included from /usr/include/c++/v1/__mutex_base:17:
In file included from /usr/include/c++/v1/system_error:151:
In file included from /usr/include/c++/v1/string:535:
/usr/include/c++/v1/string_view:918:63: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char> operator "" sv(const char *__str, size_t __len) _NOEXCEPT
                                                              ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:925:69: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<wchar_t> operator "" sv(const wchar_t *__str, size_t __len) _NOEXCEPT
                                                                    ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:940:71: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char16_t> operator "" sv(const char16_t *__str, size_t __len) _NOEXCEPT
                                                                      ^~~~~~~~~~~~
/usr/include/c++/v1/string_view:946:71: error: invalid literal operator parameter type 'size_t' (aka 'unsigned int'), did you mean 'unsigned long'?
    basic_string_view<char32_t> operator "" sv(const char32_t *__str, size_t __len) _NOEXCEPT
                                                                      ^~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from platform/linuxbsd/x11/key_mapping_x11.cpp:31:
In file included from platform/linuxbsd/x11/key_mapping_x11.h:41:
In file included from ./core/os/keyboard.h:34:
In file included from ./core/string/ustring.h:37:
In file included from ./core/templates/cowdata.h:35:
In file included from ./core/os/memory.h:38:
/usr/include/c++/v1/new:190:66: error: 'operator new' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz) _THROW_BAD_ALLOC;
                                                                 ^
/usr/include/c++/v1/new:191:66: error: 'operator new' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS;
                                                                 ^
/usr/include/c++/v1/new:198:66: error: 'operator new[]' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz) _THROW_BAD_ALLOC;
                                                                 ^
/usr/include/c++/v1/new:199:66: error: 'operator new[]' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS;
                                                                 ^
/usr/include/c++/v1/new:207:66: error: 'operator new' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, std::align_val_t) _THROW_BAD_ALLOC;
                                                                 ^
/usr/include/c++/v1/new:208:66: error: 'operator new' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, std::align_val_t, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS;
                                                                 ^
/usr/include/c++/v1/new:215:66: error: 'operator new[]' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, std::align_val_t) _THROW_BAD_ALLOC;
                                                                 ^
/usr/include/c++/v1/new:216:66: error: 'operator new[]' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, std::align_val_t, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS;
                                                                 ^
/usr/include/c++/v1/new:224:70: error: 'operator new' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 inline _LIBCPP_INLINE_VISIBILITY void* operator new  (std::size_t, void* __p) _NOEXCEPT {return __p;}
                                                                     ^
/usr/include/c++/v1/new:225:70: error: 'operator new[]' takes type size_t ('unsigned long') as first parameter
_LIBCPP_NODISCARD_AFTER_CXX17 inline _LIBCPP_INLINE_VISIBILITY void* operator new[](std::size_t, void* __p) _NOEXCEPT {return __p;}
                                                                     ^
In file included from platform/linuxbsd/x11/key_mapping_x11.cpp:31:
In file included from platform/linuxbsd/x11/key_mapping_x11.h:41:
In file included from ./core/os/keyboard.h:34:
In file included from ./core/string/ustring.h:37:
In file included from ./core/templates/cowdata.h:35:
./core/os/memory.h:69:7: error: 'operator new' takes type size_t ('unsigned long') as first parameter
void *operator new(size_t p_size, const char *p_description); ///< operator new that takes a description and uses MemoryStaticPool
      ^
./core/os/memory.h:70:7: error: 'operator new' takes type size_t ('unsigned long') as first parameter
void *operator new(size_t p_size, void *(*p_allocfunc)(size_t p_size)); ///< operator new that takes a description and uses MemoryStaticPool
      ^
./core/os/memory.h:72:7: error: 'operator new' takes type size_t ('unsigned long') as first parameter
void *operator new(size_t p_size, void *p_pointer, size_t check, const char *p_description); ///< operator new that takes a description and uses a pointer to the preallocated memory
      ^
In file included from platform/linuxbsd/x11/key_mapping_x11.cpp:31:
In file included from platform/linuxbsd/x11/key_mapping_x11.h:41:
In file included from ./core/os/keyboard.h:34:
In file included from ./core/string/ustring.h:37:
./core/templates/cowdata.h:236:3: error: no matching 'operator new' function for non-allocating placement new expression; include <new>
                new (mem_new - 2) SafeNumeric<uint32_t>(1); //refcount
                ^   ~~~~~~~~~~~~~
./core/templates/cowdata.h:291:5: error: no matching 'operator new' function for non-allocating placement new expression; include <new>
                                new (ptr - 2) SafeNumeric<uint32_t>(1); //refcount
                                ^   ~~~~~~~~~
./core/templates/cowdata.h:298:5: error: no matching 'operator new' function for non-allocating placement new expression; include <new>
                                new (_ptrnew - 2) SafeNumeric<uint32_t>(rc); //refcount
                                ^   ~~~~~~~~~~~~~
./core/templates/cowdata.h:328:4: error: no matching 'operator new' function for non-allocating placement new expression; include <new>
                        new (_ptrnew - 2) SafeNumeric<uint32_t>(rc); //refcount
                        ^   ~~~~~~~~~~~~~
In file included from platform/linuxbsd/x11/key_mapping_x11.cpp:31:
In file included from platform/linuxbsd/x11/key_mapping_x11.h:42:
In file included from ./core/templates/hash_map.h:36:
In file included from ./core/templates/hashfuncs.h:46:
In file included from ./core/string/node_path.h:34:
In file included from ./core/string/string_name.h:34:
In file included from ./core/os/mutex.h:37:
In file included from /usr/include/c++/v1/mutex:190:
In file included from /usr/include/c++/v1/__mutex_base:17:
In file included from /usr/include/c++/v1/system_error:148:
In file included from /usr/include/c++/v1/__functional_base:25:
/usr/include/c++/v1/typeinfo:206:14: error: cast from pointer to smaller type 'size_t' (aka 'unsigned int') loses information
      return reinterpret_cast<size_t>(__v);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/typeinfo:246:14: error: cast from pointer to smaller type 'std::__type_info_implementations::__non_unique_arm_rtti_bit_impl::__type_name_t' (aka 'unsigned int') loses information
      return reinterpret_cast<__type_name_t>(__v);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 errors generated.
scons: *** [platform/linuxbsd/crash_handler_linuxbsd.linuxbsd.template_release.x86_64.llvm.o] Error 1
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
scons: *** [platform/linuxbsd/freedesktop_portal_desktop.linuxbsd.template_release.x86_64.llvm.o] Error 1
20 errors generated.
scons: *** [platform/linuxbsd/godot_linuxbsd.linuxbsd.template_release.x86_64.llvm.o] Error 1
20 errors generated.
scons: *** [platform/linuxbsd/x11/key_mapping_x11.linuxbsd.template_release.x86_64.llvm.o] Error 1
20 errors generated.
scons: *** [platform/linuxbsd/os_linuxbsd.linuxbsd.template_release.x86_64.llvm.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:00:53.924]
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/godot