[package - main-amd64-default][math/mlpack] Failed for mlpack-4.5.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 30 Oct 2024 01:08:11 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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p332c73b035e3_sf377a0c7dfa/logs/mlpack-4.5.0.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p332c73b035e3_sf377a0c7dfa
Log:

=>> Building math/mlpack
build started at Wed Oct 30 01:07:12 UTC 2024
port directory: /usr/ports/math/mlpack
package name: mlpack-4.5.0
building for: FreeBSD main-amd64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 976 Sep 21 01:01 /usr/ports/math/mlpack/Makefile
Ports top last git commit: 332c73b035e
Ports top unclean checkout: no
Port dir last git commit: 186b177a37e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 02




!!! 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/02/.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 mlpack-4.5.0:
     EXECUTABLES=on: Build command-line executables
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/math/mlpack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/mlpack/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/mlpack/work/.cache  HOME=/wrkdirs/usr/ports/math/mlpack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/mlpack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/mlpack/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/math/mlpack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/mlpack/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/mlpack/work/.cache  HOME=/wrkdirs/usr/ports/math/mlpack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/mlpack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/mlpack/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/math/mlpack/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="in
stall  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 EXECUTABLES="" NO_EXECUTABLES="@comment " CMAKE_BUILD_TYPE="release" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mlpack"  EXAMPLESDIR="share/examples/mlpack"  DATADIR="share/mlpack"  WWWDIR="www/mlpack"  ETCDIR="etc/mlpack"
--End PLIST_SUB--

--SUB_LIST--
 EXECUTABLES="" NO_EXECUTABLES="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mlpack DOCSDIR=/usr/local/share/doc/mlpack EXAMPLESDIR=/usr/local/share/examples/mlpack  WWWDIR=/usr/local/www/mlpack ETCDIR=/usr/local/etc/mlpack
--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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mlpack-4.5.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-02] Installing pkg-1.21.3...
[main-amd64-default-job-02] Extracting pkg-1.21.3: .......... done
===>   mlpack-4.5.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mlpack-4.5.0
===========================================================================
=======================<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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by mlpack-4.5.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by mlpack-4.5.0 for building
=> SHA256 Checksum OK for mlpack-4.5.0.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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by mlpack-4.5.0 for building
===>  Extracting for mlpack-4.5.0
=> SHA256 Checksum OK for mlpack-4.5.0.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 mlpack-4.5.0
===>  Applying FreeBSD patches for mlpack-4.5.0 from /usr/ports/math/mlpack/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mlpack-4.5.0 depends on package: armadillo>0 - not found
===>   Installing existing package /packages/All/armadillo-14.0.3.pkg
[main-amd64-default-job-02] Installing armadillo-14.0.3...
[main-amd64-default-job-02] `-- Installing arpack-ng-3.9.1_2...
[main-amd64-default-job-02] |   `-- Installing blas-3.12.0_1...
<snip>
/usr/local/include/stb/stb_image_write.h:796:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  796 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:1609:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
 1609 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:1618:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
 1618 |    stbi__write_context s = { 0 };
      |                                ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:56:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/metrics.hpp:18:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/bleu.hpp:165:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/bleu_impl.hpp:193:20: warning: unused parameter 'version' [-Wunused-parameter]
  193 |     const uint32_t version)
      |                    ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:57:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/tree.hpp:21:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree.hpp:17:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree.hpp:472:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:381:17: error: no member named 'Begin' in 'Octree<DistanceType, StatisticType, MatType>'
  381 |   begin = other.Begin();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:382:17: error: no member named 'Count' in 'Octree<DistanceType, StatisticType, MatType>'
  382 |   count = other.Count();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:445:17: error: no member named 'Begin' in 'Octree<DistanceType, StatisticType, MatType>'
  445 |   begin = other.Begin();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:446:17: error: no member named 'Count' in 'Octree<DistanceType, StatisticType, MatType>'
  446 |   count = other.Count();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:463:9: error: no member named 'numDescendants' in 'Octree<DistanceType, StatisticType, MatType>'
  463 |   other.numDescendants = 0;
      |   ~~~~~ ^
9 warnings and 7 errors generated.
[  3% 4/97] /usr/bin/c++ -DMLPACK_CUSTOM_CONFIG_FILE=mlpack/config-local.hpp -DNDEBUG -I/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src -I/usr/local/include -I/usr/local/include/stb -I/wrkdirs/usr/ports/math/mlpack/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -ftemplate-depth=1000 -Wno-unused-function -pthread -O3 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -DBINDING_TYPE=BINDING_TYPE_CLI -MD -MT src/mlpack/methods/CMakeFiles/mlpack_approx_kfn.dir/approx_kfn/approx_kfn_main.cpp.o -MF src/mlpack/methods/CMakeFiles/mlpack_approx_kfn.dir/approx_kfn/approx_kfn_main.cpp.o.d -o src/mlpack/methods/CMakeFiles/mlpack_approx_kfn.dir/approx_kfn/approx_kfn_main.cpp.o -c /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp
FAILED: src/mlpack/methods/CMakeFiles/mlpack_approx_kfn.dir/approx_kfn/approx_kfn_main.cpp.o 
/usr/bin/c++ -DMLPACK_CUSTOM_CONFIG_FILE=mlpack/config-local.hpp -DNDEBUG -I/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src -I/usr/local/include -I/usr/local/include/stb -I/wrkdirs/usr/ports/math/mlpack/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -ftemplate-depth=1000 -Wno-unused-function -pthread -O3 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -DBINDING_TYPE=BINDING_TYPE_CLI -MD -MT src/mlpack/methods/CMakeFiles/mlpack_approx_kfn.dir/approx_kfn/approx_kfn_main.cpp.o -MF src/mlpack/methods/CMakeFiles/mlpack_approx_kfn.dir/approx_kfn/approx_kfn_main.cpp.o.d -o src/mlpack/methods/CMakeFiles/mlpack_approx_kfn.dir/approx_kfn/approx_kfn_main.cpp.o -c /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:35:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/prereqs.hpp:23:
/usr/local/include/cereal/types/tuple.hpp:98:41: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   98 |         serialize<Height - 1>::template apply( ar, tuple );
      |                                         ^
/usr/local/include/cereal/types/tuple.hpp:119:85: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  119 |     tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::template apply( ar, tuple );
      |                                                                                     ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:44:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/util/io.hpp:32:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/data/save.hpp:24:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/data/save_image.hpp:24:
/usr/local/include/stb/stb_image_write.h:514:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  514 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:522:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  522 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:613:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  613 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:621:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  621 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:789:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  789 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:796:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  796 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:1609:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
 1609 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:1618:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
 1618 |    stbi__write_context s = { 0 };
      |                                ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:56:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/metrics.hpp:18:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/bleu.hpp:165:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/bleu_impl.hpp:193:20: warning: unused parameter 'version' [-Wunused-parameter]
  193 |     const uint32_t version)
      |                    ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:57:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/tree.hpp:21:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree.hpp:17:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree.hpp:472:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:381:17: error: no member named 'Begin' in 'Octree<DistanceType, StatisticType, MatType>'
  381 |   begin = other.Begin();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:382:17: error: no member named 'Count' in 'Octree<DistanceType, StatisticType, MatType>'
  382 |   count = other.Count();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:445:17: error: no member named 'Begin' in 'Octree<DistanceType, StatisticType, MatType>'
  445 |   begin = other.Begin();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:446:17: error: no member named 'Count' in 'Octree<DistanceType, StatisticType, MatType>'
  446 |   count = other.Count();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:463:9: error: no member named 'numDescendants' in 'Octree<DistanceType, StatisticType, MatType>'
  463 |   other.numDescendants = 0;
      |   ~~~~~ ^
9 warnings and 7 errors generated.
[  4% 4/97] /usr/bin/c++ -DMLPACK_CUSTOM_CONFIG_FILE=mlpack/config-local.hpp -DNDEBUG -I/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src -I/usr/local/include -I/usr/local/include/stb -I/wrkdirs/usr/ports/math/mlpack/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -ftemplate-depth=1000 -Wno-unused-function -pthread -O3 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -DBINDING_TYPE=BINDING_TYPE_CLI -MD -MT src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o -MF src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o.d -o src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o -c /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp
FAILED: src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o 
/usr/bin/c++ -DMLPACK_CUSTOM_CONFIG_FILE=mlpack/config-local.hpp -DNDEBUG -I/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src -I/usr/local/include -I/usr/local/include/stb -I/wrkdirs/usr/ports/math/mlpack/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -ftemplate-depth=1000 -Wno-unused-function -pthread -O3 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++17 -DBINDING_TYPE=BINDING_TYPE_CLI -MD -MT src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o -MF src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o.d -o src/mlpack/methods/CMakeFiles/mlpack_cf.dir/cf/cf_main.cpp.o -c /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:35:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/prereqs.hpp:23:
/usr/local/include/cereal/types/tuple.hpp:98:41: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
   98 |         serialize<Height - 1>::template apply( ar, tuple );
      |                                         ^
/usr/local/include/cereal/types/tuple.hpp:119:85: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  119 |     tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::template apply( ar, tuple );
      |                                                                                     ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:44:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/util/io.hpp:32:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/data/save.hpp:24:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/data/save_image.hpp:24:
/usr/local/include/stb/stb_image_write.h:514:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  514 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:522:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  522 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:613:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  613 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:621:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  621 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:789:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  789 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:796:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
  796 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:1609:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
 1609 |    stbi__write_context s = { 0 };
      |                                ^
/usr/local/include/stb/stb_image_write.h:1618:32: warning: missing field 'context' initializer [-Wmissing-field-initializers]
 1618 |    stbi__write_context s = { 0 };
      |                                ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:56:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/metrics.hpp:18:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/bleu.hpp:165:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/metrics/bleu_impl.hpp:193:20: warning: unused parameter 'version' [-Wunused-parameter]
  193 |     const uint32_t version)
      |                    ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core.hpp:57:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/tree.hpp:21:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree.hpp:17:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree.hpp:472:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:381:17: error: no member named 'Begin' in 'Octree<DistanceType, StatisticType, MatType>'
  381 |   begin = other.Begin();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:382:17: error: no member named 'Count' in 'Octree<DistanceType, StatisticType, MatType>'
  382 |   count = other.Count();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:445:17: error: no member named 'Begin' in 'Octree<DistanceType, StatisticType, MatType>'
  445 |   begin = other.Begin();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:446:17: error: no member named 'Count' in 'Octree<DistanceType, StatisticType, MatType>'
  446 |   count = other.Count();
      |           ~~~~~ ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/core/tree/octree/octree_impl.hpp:463:9: error: no member named 'numDescendants' in 'Octree<DistanceType, StatisticType, MatType>'
  463 |   other.numDescendants = 0;
      |   ~~~~~ ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp:19:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf.hpp:22:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/amf/amf.hpp:23:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/amf/update_rules/update_rules.hpp:18:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/amf/update_rules/svd_batch_learning.hpp:210:16: warning: unused variable 'm' [-Wunused-variable]
  210 |   const size_t m = (size_t) V.n_cols;
      |                ^
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/amf/update_rules/svd_batch_learning.hpp:264:16: warning: unused variable 'n' [-Wunused-variable]
  264 |   const size_t n = (size_t) V.n_rows;
      |                ^
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf_main.cpp:19:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/cf/cf.hpp:22:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/amf/amf.hpp:24:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/amf/init_rules/init_rules.hpp:18:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.0/src/mlpack/methods/amf/init_rules/no_init.hpp:98:27: warning: unused parameter 'ar' [-Wunused-parameter]
   98 |   void serialize(Archive& ar, const uint32_t /* version */) { }
      |                           ^
12 warnings and 7 errors generated.
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/math/mlpack