[package - main-i386-default][science/py-dlib] Failed for py311-dlib-19.24.6 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 31 Oct 2024 04:03:01 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/beefy17/data/main-i386-default/p35e33b5b9186_sd0f9b0bd19b/logs/py311-dlib-19.24.6.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p35e33b5b9186_sd0f9b0bd19b
Log:

=>> Building science/py-dlib
build started at Thu Oct 31 04:02:34 UTC 2024
port directory: /usr/ports/science/py-dlib
package name: py311-dlib-19.24.6
building for: FreeBSD main-i386-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 i386
maintained by: arrowd@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1085 Oct 29 01:01 /usr/ports/science/py-dlib/Makefile
Ports top last git commit: 35e33b5b918
Ports top unclean checkout: no
Port dir last git commit: 89a55fbe54d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 07




!!! 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
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500026
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500026
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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-i386-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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.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 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--
 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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  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.6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-07] Installing pkg-1.21.3...
[main-i386-default-job-07] Extracting pkg-1.21.3: .......... done
===>   py311-dlib-19.24.6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-dlib-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 py311-dlib-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 py311-dlib-19.24.6 for building
=> SHA256 Checksum OK for dlib-19.24.6.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.6 for building
===>  Extracting for py311-dlib-19.24.6
=> SHA256 Checksum OK for dlib-19.24.6.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.6
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-dlib-19.24.6 depends on file: /usr/local/bin/cmake - not found
<snip>
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/svm/auto.h:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/svm/function.h:10:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/svm/../matrix.h:6:
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/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.6/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
      |             ^
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.cpp:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.h:9:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/tensor.h:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix_exp.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.cpp:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.h:9:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/tensor.h:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix_exp.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.cpp:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.h:9:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/tensor.h:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix_exp.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.cpp:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.h:9:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/tensor.h:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix_exp.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.cpp:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/cpu_dlib.h:9:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/tensor.h:8:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/matrix_exp.h:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/cuda/../matrix/../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/py-dlib/work-py311/dlib-19.24.6/dlib/filtering/kalman_filter.cpp:6:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/filtering/kalman_filter.h:7:
In file included from /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/dlib/filtering/../matrix.h:6:
/wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/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.6/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));
      |                                                        ^
1 warning and 7 errors generated.
--- 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.6/build/temp.freebsd-15.0-CURRENT-i386-cpython-311
1 warning and 7 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.6/build/temp.freebsd-15.0-CURRENT-i386-cpython-311
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.6/build/temp.freebsd-15.0-CURRENT-i386-cpython-311
make[2]: 36 errors

make[2]: stopped making "dlib_build/CMakeFiles/dlib.dir/build" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/build/temp.freebsd-15.0-CURRENT-i386-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.6/build/temp.freebsd-15.0-CURRENT-i386-cpython-311
make[1]: 1 error

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

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

make: stopped making "default_target" in /wrkdirs/usr/ports/science/py-dlib/work-py311/dlib-19.24.6/build/temp.freebsd-15.0-CURRENT-i386-cpython-311
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 243, 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/install.py", line 68, in run
    return orig.install.run(self)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/command/install.py", line 695, in run
    self.run_command('build')
  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 "/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 168, in run
    self.build_extension(ext)
  File "setup.py", line 209, 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 "stage" in /usr/ports/science/py-dlib