[package - 143amd64-quarterly][math/mlpack] Failed for mlpack-4.5.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 03 Oct 2025 00:06:57 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/beefy20/data/143amd64-quarterly/e3fa556c9a50/logs/mlpack-4.5.1.log
Build URL:      https://pkg-status.freebsd.org/beefy20/build.html?mastername=143amd64-quarterly&build=e3fa556c9a50
Log:

=>> Building math/mlpack
build started at Fri Oct  3 00:06:29 -00 2025
port directory: /usr/ports/math/mlpack
package name: mlpack-4.5.1
building for: FreeBSD 143amd64-quarterly-job-37 14.3-RELEASE-p4 FreeBSD 14.3-RELEASE-p4 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1215 Oct  2 01:01 /usr/ports/math/mlpack/Makefile
Ports top last git commit: e3fa556c9
Ports top unclean checkout: no
Port dir last git commit: e3fa556c9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3-4-ga545ef33
Host OSVERSION: 1600000
Jail OSVERSION: 1403000
Job Id: 37

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1403000
UNAME_v=FreeBSD 14.3-RELEASE-p4
UNAME_r=14.3-RELEASE-p4
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.3-4-ga545ef33
MASTERMNT=/usr/local/poudriere/data/.m/143amd64-quarterly/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/143amd64-quarterly/37/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=143amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/143amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3-4-ga545ef33
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.1:
     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=" " 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_INSTA
LL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 EXECUTABLES="" NO_EXECUTABLES="@comment " CMAKE_BUILD_TYPE="release" OSREL=14.3 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---
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
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  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
pipebuf                         (-y)  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.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.3.1.pkg
[143amd64-quarterly-job-37] Installing pkg-2.3.1...
[143amd64-quarterly-job-37] Extracting pkg-2.3.1: .......... done
===>   mlpack-4.5.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mlpack-4.5.1
===========================================================================
=======================<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.1 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.1 for building
=> SHA256 Checksum OK for mlpack-4.5.1.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.1 for building
===>  Extracting for mlpack-4.5.1
=> SHA256 Checksum OK for mlpack-4.5.1.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.1
===>  Applying FreeBSD patches for mlpack-4.5.1 from /usr/ports/math/mlpack/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mlpack-4.5.1 depends on package: armadillo>0 - not found
===>   Installing existing package /packages/All/armadillo-15.0.1.pkg
[143amd64-quarterly-job-37] Installing armadillo-15.0.1...
[143amd64-quarterly-job-37] `-- Installing arpack-ng-3.9.1_4...
[143amd64-quarterly-job-37] |   `-- Installing blas-3.12.1...
[143amd64-quarterly-job-37] |   | `-- Installing gcc13-13.3.0_3...
[143amd64-quarterly-job-37] |   |   `-- Installing binutils-2.44,1...
[143amd64-quarterly-job-37] |   |   | `-- Installing indexinfo-0.3.1_1...
[143amd64-quarterly-job-37] |   |   | `-- Extracting indexinfo-0.3.1_1: .... done
[143amd64-quarterly-job-37] |   |   | `-- Installing zstd-1.5.7...
[143amd64-quarterly-job-37] |   |   |   `-- Installing liblz4-1.10.0,1...
[143amd64-quarterly-job-37] |   |   |   `-- Extracting liblz4-1.10.0,1: .......... done
[143amd64-quarterly-job-37] |   |   | `-- Extracting zstd-1.5.7: .......... done
[143amd64-quarterly-job-37] |   |   `-- Extracting binutils-2.44,1: .......... done
[143amd64-quarterly-job-37] |   |   `-- Installing gmp-6.3.0...
[143amd64-quarterly-job-37] |   |   `-- Extracting gmp-6.3.0: .......... done
[143amd64-quarterly-job-37] |   |   `-- Installing mpc-1.3.1_1...
[143amd64-quarterly-job-37] |   |   | `-- Installing mpfr-4.2.2,1...
[143amd64-quarterly-job-37] |   |   | `-- Extracting mpfr-4.2.2,1: .......... done
[143amd64-quarterly-job-37] |   |   `-- Extracting mpc-1.3.1_1: ......... done
[143amd64-quarterly-job-37] |   | `-- Extracting gcc13-13.3.0_3: .......... done
<snip>

Don't forget to add -pthread to your linker options when
linking your code.
===>   mlpack-4.5.1 depends on package: cereal>0 - found
===>   Returning to build of mlpack-4.5.1
===>   mlpack-4.5.1 depends on package: ensmallen>0 - not found
===>   Installing existing package /packages/All/ensmallen-2.22.1.pkg
[143amd64-quarterly-job-37] Installing ensmallen-2.22.1...
[143amd64-quarterly-job-37] Extracting ensmallen-2.22.1: .......... done
===>   mlpack-4.5.1 depends on package: ensmallen>0 - found
===>   Returning to build of mlpack-4.5.1
===>   mlpack-4.5.1 depends on file: /usr/local/include/stb/stb_image.h - not found
===>   Installing existing package /packages/All/stb-2.37.20241109.pkg
[143amd64-quarterly-job-37] Installing stb-2.37.20241109...
[143amd64-quarterly-job-37] Extracting stb-2.37.20241109: .......... done
===>   mlpack-4.5.1 depends on file: /usr/local/include/stb/stb_image.h - found
===>   Returning to build of mlpack-4.5.1
===>   mlpack-4.5.1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.31.9.pkg
[143amd64-quarterly-job-37] Installing cmake-core-3.31.9...
[143amd64-quarterly-job-37] `-- Installing expat-2.7.3...
[143amd64-quarterly-job-37] `-- Extracting expat-2.7.3: .......... done
[143amd64-quarterly-job-37] `-- Installing jsoncpp-1.9.6_1...
[143amd64-quarterly-job-37] `-- Extracting jsoncpp-1.9.6_1: .......... done
[143amd64-quarterly-job-37] `-- Installing libidn2-2.3.8...
[143amd64-quarterly-job-37] |   `-- Installing libunistring-1.4...
[143amd64-quarterly-job-37] |   `-- Extracting libunistring-1.4: .......... done
[143amd64-quarterly-job-37] `-- Extracting libidn2-2.3.8: .......... done
[143amd64-quarterly-job-37] `-- Installing libuv-1.51.0...
[143amd64-quarterly-job-37] `-- Extracting libuv-1.51.0: .......... done
[143amd64-quarterly-job-37] `-- Installing rhash-1.4.4_1...
[143amd64-quarterly-job-37] |   `-- Installing gettext-runtime-0.23.1...
[143amd64-quarterly-job-37] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[143amd64-quarterly-job-37] `-- Extracting rhash-1.4.4_1: .......... done
[143amd64-quarterly-job-37] Extracting cmake-core-3.31.9: .......... done
===>   mlpack-4.5.1 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of mlpack-4.5.1
===>   mlpack-4.5.1 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.13.1,4.pkg
[143amd64-quarterly-job-37] Installing ninja-1.13.1,4...
[143amd64-quarterly-job-37] `-- Installing python311-3.11.13_1...
[143amd64-quarterly-job-37] |   `-- Installing libffi-3.5.1...
[143amd64-quarterly-job-37] |   `-- Extracting libffi-3.5.1: .......... done
[143amd64-quarterly-job-37] |   `-- Installing mpdecimal-4.0.1...
[143amd64-quarterly-job-37] |   `-- Extracting mpdecimal-4.0.1: .......... done
[143amd64-quarterly-job-37] `-- Extracting python311-3.11.13_1: .......... done
[143amd64-quarterly-job-37] Extracting ninja-1.13.1,4: ........ done
=====
Message from python311-3.11.13_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   mlpack-4.5.1 depends on executable: ninja - found
===>   Returning to build of mlpack-4.5.1
===>   mlpack-4.5.1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.4.3,1.pkg
[143amd64-quarterly-job-37] Installing pkgconf-2.4.3,1...
[143amd64-quarterly-job-37] Extracting pkgconf-2.4.3,1: .......... done
===>   mlpack-4.5.1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of mlpack-4.5.1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for mlpack-4.5.1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/math/mlpack/work/.build
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is Clang 19.1.7
-- The CXX compiler identification is Clang 19.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Found Armadillo: /usr/local/lib/libarmadillo.so (found suitable version "15.0.1", minimum required is "10.8")
-- Found StbImage: /usr/local/include/stb
-- Check that STB static implementation mode links correctly...
-- Check that STB static implementation mode links correctly... success
-- Found Ensmallen: /usr/local/include (found suitable version "2.22.1", minimum required is "2.10.0")
-- Found cereal: /usr/local/include (found suitable version "1.3.2", minimum required is "1.1.2")
-- Found OpenMP_C: -fopenmp=libomp (found version "5.1")
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.1")
-- Found OpenMP: TRUE (found version "5.1")
CMake Warning (dev) at CMake/TargetDistclean.cmake:14 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:389 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning at CMakeLists.txt:459 (message):
  txt2man not found; man pages will not be generated.


-- Not building Julia bindings.
-- Not building Markdown bindings.
-- Not building Python bindings.
-- Not building Go bindings.
-- Not building R bindings.
-- Found PkgConfig: /usr/local/bin/pkgconf (found version "2.4.3")
-- Configuring done (2.1s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/math/mlpack/work/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for mlpack-4.5.1
[  1% 1/97] /usr/bin/c++ -DMLPACK_CUSTOM_CONFIG_FILE=mlpack/config-local.hpp -DNDEBUG -I/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/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.1/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp
FAILED: [code=1] 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.1/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.1/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core.hpp:35:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/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.1/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core.hpp:44:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core/util/io.hpp:32:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core/data/save.hpp:24:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/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.1/src/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core.hpp:56:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core/metrics/metrics.hpp:18:
In file included from /wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core/metrics/bleu.hpp:165:
/wrkdirs/usr/ports/math/mlpack/work/mlpack-4.5.1/src/mlpack/core/metrics/bleu_impl.hpp:193:20: warning: unused parameter 'version' [-Wunused-parameter]
  193 |     const uint32_t version)
      |                    ^
9 warnings and 2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/mlpack