[package - main-amd64-default][science/dlib-cpp] Failed for dlib-cpp-19.24.6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 09 Nov 2024 01:34:24 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:     arrowd@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p203aa1081a24_sf239981ed58/logs/dlib-cpp-19.24.6.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p203aa1081a24_sf239981ed58
Log:

=>> Building science/dlib-cpp
build started at Sat Nov  9 01:34:10 UTC 2024
port directory: /usr/ports/science/dlib-cpp
package name: dlib-cpp-19.24.6
building for: FreeBSD main-amd64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 amd64
maintained by: arrowd@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 721 Oct 29 01:01 /usr/ports/science/dlib-cpp/Makefile
Ports top last git commit: 203aa1081a2
Ports top unclean checkout: no
Port dir last git commit: e142fcd94b1
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500026
UNAME_v=FreeBSD 15.0-CURRENT 1500026
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for dlib-cpp-19.24.6:
     BLASLAPACK=off: Use OpenBLAS for matrix operations
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
arrowd@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/science/dlib-cpp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/dlib-cpp/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/dlib-cpp/work/.cache  HOME=/wrkdirs/usr/ports/science/dlib-cpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/dlib-cpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/dlib-cpp/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] " XDG_DATA_HOME=/wrkdirs/usr/ports/science/dlib-cpp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/dlib-cpp/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/dlib-cpp/work/.cache  HOME=/wrkdirs/usr/ports/science/dlib-cpp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/dlib-cpp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/dlib-cpp/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/science/dlib-cpp/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  " 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=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dlib"  EXAMPLESDIR="share/examples/dlib"  DATADIR="share/dlib"  WWWDIR="www/dlib"  ETCDIR="etc/dlib"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dlib DOCSDIR=/usr/local/share/doc/dlib EXAMPLESDIR=/usr/local/share/examples/dlib  WWWDIR=/usr/local/www/dlib ETCDIR=/usr/local/etc/dlib
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   dlib-cpp-19.24.6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-06] Installing pkg-1.21.3...
[main-amd64-default-job-06] Extracting pkg-1.21.3: .......... done
===>   dlib-cpp-19.24.6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dlib-cpp-19.24.6
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSL accepted by the user
===> Fetching all distfiles required by dlib-cpp-19.24.6 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSL accepted by the user
===> Fetching all distfiles required by dlib-cpp-19.24.6 for building
=> SHA256 Checksum OK for davisking-dlib-v19.24.6_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSL accepted by the user
===> Fetching all distfiles required by dlib-cpp-19.24.6 for building
===>  Extracting for dlib-cpp-19.24.6
=> SHA256 Checksum OK for davisking-dlib-v19.24.6_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for dlib-cpp-19.24.6
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   dlib-cpp-19.24.6 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.5.pkg
[main-amd64-default-job-06] Installing cmake-core-3.30.5...
[main-amd64-default-job-06] `-- Installing expat-2.6.3...
[main-amd64-default-job-06] `-- Extracting expat-2.6.3: .......... done
[main-amd64-default-job-06] `-- Installing jsoncpp-1.9.6_1...
<snip>
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2861:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2861 |     traits_type::assign(std::__to_address(__p) + __sz, __n, __c);
      |     ^
/usr/include/c++/v1/string:3302:5: note: in instantiation of member function 'std::basic_string<unsigned int>::append' requested here
 3302 |     append(__n - __sz, __c);
      |     ^
/usr/include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../serialize.h:1963:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1963 |         item.resize(size);
      |              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2864:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2864 |     traits_type::assign(__p[__sz], value_type());
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2535:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2535 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/include/c++/v1/string:2556:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by' requested here
 2556 |   __grow_by(__old_cap, __delta_cap, __old_sz, __n_copy, __n_del, __n_add);
      |   ^
/usr/include/c++/v1/string:2858:7: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by_without_replace' requested here
 2858 |       __grow_by_without_replace(__cap, __sz + __n - __cap, __sz, __sz, 0);
      |       ^
/usr/include/c++/v1/string:3302:5: note: in instantiation of member function 'std::basic_string<unsigned int>::append' requested here
 3302 |     append(__n - __sz, __c);
      |     ^
/usr/include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../serialize.h:1963:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1963 |         item.resize(size);
      |              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2538:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2538 |     traits_type::copy(
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_1.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2221:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2221 |     traits_type::assign(__p[__newsz], value_type());
      |     ^
/usr/include/c++/v1/string:2134:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__null_terminate_at' requested here
 2134 |     __null_terminate_at(std::__to_address(__get_pointer()), __pos);
      |     ^
/usr/include/c++/v1/string:3304:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__erase_to_end' requested here
 3304 |     __erase_to_end(__n);
      |     ^
/usr/include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../serialize.h:1963:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1963 |         item.resize(size);
      |              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
7 errors generated.
[  2% 4/106] /usr/bin/c++ -DDLIB_JPEG_STATIC -Ddlib_EXPORTS -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -DDLIB_DISABLE_ASSERTS -DDLIB_JPEG_SUPPORT -DDLIB_PNG_SUPPORT -DDLIB_GIF_SUPPORT -DDLIB__CMAKE_GENERATED_A_CONFIG_H_FILE -DDLIB_CHECK_FOR_VERSION_MISMATCH=DLIB_VERSION_MISMATCH_CHECK__EXPECTED_VERSION_19_24_6 -MD -MT dlib/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o -MF dlib/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o.d -o dlib/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o -c /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp
FAILED: dlib/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o 
/usr/bin/c++ -DDLIB_JPEG_STATIC -Ddlib_EXPORTS -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -DDLIB_DISABLE_ASSERTS -DDLIB_JPEG_SUPPORT -DDLIB_PNG_SUPPORT -DDLIB_GIF_SUPPORT -DDLIB__CMAKE_GENERATED_A_CONFIG_H_FILE -DDLIB_CHECK_FOR_VERSION_MISMATCH=DLIB_VERSION_MISMATCH_CHECK__EXPECTED_VERSION_19_24_6 -MD -MT dlib/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o -MF dlib/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o.d -o dlib/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o -c /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../unicode/unicode.h:718:19: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
  718 |     const ustring convert_to_utf32 (
      |                   ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../unicode/unicode.h:727:16: note: in instantiation of template class 'std::basic_string_view<unsigned int>' requested here
  727 |         return temp;
      |                ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../unicode/unicode.h:727:16: note: while substituting deduced template arguments into function template 'basic_string' [with $0 = (no value)]
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2861:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2861 |     traits_type::assign(std::__to_address(__p) + __sz, __n, __c);
      |     ^
/usr/include/c++/v1/string:3302:5: note: in instantiation of member function 'std::basic_string<unsigned int>::append' requested here
 3302 |     append(__n - __sz, __c);
      |     ^
/usr/include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../serialize.h:1963:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1963 |         item.resize(size);
      |              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2864:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2864 |     traits_type::assign(__p[__sz], value_type());
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2535:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2535 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/include/c++/v1/string:2556:3: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by' requested here
 2556 |   __grow_by(__old_cap, __delta_cap, __old_sz, __n_copy, __n_del, __n_add);
      |   ^
/usr/include/c++/v1/string:2858:7: note: in instantiation of member function 'std::basic_string<unsigned int>::__grow_by_without_replace' requested here
 2858 |       __grow_by_without_replace(__cap, __sz + __n - __cap, __sz, __sz, 0);
      |       ^
/usr/include/c++/v1/string:3302:5: note: in instantiation of member function 'std::basic_string<unsigned int>::append' requested here
 3302 |     append(__n - __sz, __c);
      |     ^
/usr/include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../serialize.h:1963:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1963 |         item.resize(size);
      |              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2538:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2538 |     traits_type::copy(
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.cpp:5:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/bigint_kernel_2.h:7:
In file included from /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../algs.h:97:
/usr/include/c++/v1/string:2221:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2221 |     traits_type::assign(__p[__newsz], value_type());
      |     ^
/usr/include/c++/v1/string:2134:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__null_terminate_at' requested here
 2134 |     __null_terminate_at(std::__to_address(__get_pointer()), __pos);
      |     ^
/usr/include/c++/v1/string:3304:5: note: in instantiation of member function 'std::basic_string<unsigned int>::__erase_to_end' requested here
 3304 |     __erase_to_end(__n);
      |     ^
/usr/include/c++/v1/string:1303:84: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1303 |   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void resize(size_type __n) { resize(__n, value_type()); }
      |                                                                                    ^
/wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bigint/../serialize.h:1963:14: note: in instantiation of member function 'std::basic_string<unsigned int>::resize' requested here
 1963 |         item.resize(size);
      |              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
7 errors generated.
[  3% 4/106] /usr/bin/c++ -DDLIB_JPEG_STATIC -Ddlib_EXPORTS -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -DDLIB_DISABLE_ASSERTS -DDLIB_JPEG_SUPPORT -DDLIB_PNG_SUPPORT -DDLIB_GIF_SUPPORT -DDLIB__CMAKE_GENERATED_A_CONFIG_H_FILE -DDLIB_CHECK_FOR_VERSION_MISMATCH=DLIB_VERSION_MISMATCH_CHECK__EXPECTED_VERSION_19_24_6 -MD -MT dlib/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o -MF dlib/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o.d -o dlib/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o -c /wrkdirs/usr/ports/science/dlib-cpp/work/dlib-19.24.6/dlib/bit_stream/bit_stream_kernel_1.cpp
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 making "build" in /usr/ports/science/dlib-cpp