[package - main-amd64-default][science/py-dlib] Failed for py311-dlib-19.24.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 24 Oct 2024 23:58:51 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/p645a502a4f60_s8b2e7da7085/logs/py311-dlib-19.24.2.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p645a502a4f60_s8b2e7da7085
Log:

=>> Building science/py-dlib
build started at Thu Oct 24 23:58:20 UTC 2024
port directory: /usr/ports/science/py-dlib
package name: py311-dlib-19.24.2
building for: FreeBSD main-amd64-default-job-09 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 amd64
maintained by: arrowd@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1505 Apr 13  2024 /usr/ports/science/py-dlib/Makefile
Ports top last git commit: 645a502a4f6
Ports top unclean checkout: no
Port dir last git commit: 43d9a1336dd
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 09




!!! 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/09/.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=py311
MAKE_ARGS= FLAVOR=py311
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for py311-dlib-19.24.2:
     AVX=off: Use AVX instructions if supported by CPU
     BLASLAPACK=off: Use Blas and Lapack libraries from ports
     GIF=on: GIF image format support
     JPEG=on: JPEG image format support
     SQLITE=on: SQLite database support
     X11=on: X11 (graphics) support
===> 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 PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/science/py-dlib/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/py-dlib/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/py-dlib/work-py311/.cache  HOME=/wrkdirs/usr/ports/science/py-dlib/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/py-dlib/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/py-dlib/work-py311/.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/science/py-dlib/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/py-dlib/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/py-dlib/work-py311/.cache  HOME=/wrkdirs/usr/ports/science/py-dlib/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/py-dlib/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/py-dlib/work-py311/.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 LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= 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--
PYTHON2="@comment " PYTHON3="" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" 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--
 PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" 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
===>   py311-dlib-19.24.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-09] Installing pkg-1.21.3...
[main-amd64-default-job-09] Extracting pkg-1.21.3: .......... done
===>   py311-dlib-19.24.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-dlib-19.24.2
===========================================================================
=======================<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 py311-dlib-19.24.2 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 py311-dlib-19.24.2 for building
=> SHA256 Checksum OK for dlib-19.24.2.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 py311-dlib-19.24.2 for building
===>  Extracting for py311-dlib-19.24.2
=> SHA256 Checksum OK for dlib-19.24.2.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 py311-dlib-19.24.2
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-dlib-19.24.2 depends on file: /usr/local/bin/cmake - not found
<snip>
      |                ^
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.h:524:22: note: in instantiation of member function 'std::basic_string<unsigned int>::operator=' requested here
  524 |                 temp = stuff->win.text;
      |                      ^
/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/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.cpp:6:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:2494:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2494 |     traits_type::copy(std::__to_address(__p) + __n_copy, __p_new_stuff, __n_add);
      |     ^
/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/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.cpp:6:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:2497:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2497 |     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/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.cpp:6:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:2505:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2505 |   traits_type::assign(__p[__old_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/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.cpp:6:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:2575:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2575 |     traits_type::copy(std::__to_address(__p), __s, __n);
      |     ^
/usr/include/c++/v1/string:2665:14: note: in instantiation of function template specialization 'std::basic_string<unsigned int>::__assign_no_alias<false>' requested here
 2665 |       return __assign_no_alias<false>(__str.data(), __str.size());
      |              ^
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.h:524:22: note: in instantiation of member function 'std::basic_string<unsigned int>::operator=' requested here
  524 |                 temp = stuff->win.text;
      |                      ^
/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/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.cpp:6:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:2576:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 2576 |     traits_type::assign(__p[__n], 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/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.cpp:6:
In file included from /usr/include/c++/v1/iostream:42:
In file included from /usr/include/c++/v1/ios:220:
In file included from /usr/include/c++/v1/__locale:24:
/usr/include/c++/v1/string:1061:17: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
 1061 |     __init(__s, traits_type::length(__s));
      |                 ^
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/gui_widgets/base_widgets.h:526:20: note: in instantiation of function template specialization 'std::basic_string<unsigned int>::basic_string<0>' requested here
  526 |             return temp.c_str();
      |                    ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
7 errors generated.
--- dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
--- dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
--- dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/filtering/kalman_filter.cpp:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/filtering/kalman_filter.h:7:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/filtering/../matrix.h:6:
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/filtering/../matrix/matrix.h:1153:47: warning: division by zero is undefined [-Wdivision-by-zero]
 1153 |                     data.set_size(NR, l.size()/NR);
      |                                               ^~~
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/filtering/kalman_filter.cpp:61:56: note: in instantiation of member function 'dlib::matrix<double, 0, 1>::matrix' requested here
   61 |         function_evaluation opt = find_min_global(obj, {scale*0.01, scale*0.0001, 0.00001}, {scale*10, scale*10, 10}, max_function_calls(400));
      |                                                        ^
7 errors generated.
7 errors generated.
--- dlib_build/CMakeFiles/dlib.dir/global_optimization/global_function_search.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/global_optimization/global_function_search.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
7 errors generated.
1 warning and 8 errors generated.
--- dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
--- dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
--- dlib_build/CMakeFiles/dlib.dir/filtering/kalman_filter.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/filtering/kalman_filter.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
7 errors generated.
--- dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/svm/auto.cpp:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/svm/auto.h:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/svm/function.h:10:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/svm/../matrix.h:6:
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/svm/../matrix/matrix.h:1153:47: warning: division by zero is undefined [-Wdivision-by-zero]
 1153 |                     data.set_size(NR, l.size()/NR);
      |                                               ^~~
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/dlib/svm/auto.cpp:74:13: note: in instantiation of member function 'dlib::matrix<double, 0, 1>::matrix' requested here
   74 |             {1e-5, 1e-5, 1e-5},  // lower bound constraints on gamma, c1, and c2, respectively
      |             ^
7 errors generated.
--- dlib_build/CMakeFiles/dlib.dir/cuda/cpu_dlib.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/cuda/cpu_dlib.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
1 warning and 8 errors generated.
--- dlib_build/CMakeFiles/dlib.dir/svm/auto.cpp.o ---
*** [dlib_build/CMakeFiles/dlib.dir/svm/auto.cpp.o] Error code 1

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
make[2]: 44 errors

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
--- dlib_build/CMakeFiles/dlib.dir/all ---
*** [dlib_build/CMakeFiles/dlib.dir/all] Error code 2

make[1]: stopped making "all" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
make[1]: 1 error

make[1]: stopped making "all" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
*** [all] Error code 2

make: stopped making "default_target" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
make: 1 error

make: stopped making "default_target" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.2/build/temp.freebsd-15.0-CURRENT-amd64-cpython-311
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 218, in <module>
    setup(
  File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 177, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
    dist.run_commands()
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.11/site-packages/setuptools/command/build.py", line 24, in run
    super().run()
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "setup.py", line 130, in run
    self.build_extension(ext)
  File "setup.py", line 170, in build_extension
    subprocess.check_call(cmake_build, cwd=build_folder)
  File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j48']' returned non-zero exit status 2.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/science/py-dlib