[package - 140releng-armv7-default][graphics/colmap] Failed for colmap-3.8_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 11:26:04 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:     fuz@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/140releng-armv7-default/e9c9c73181b5/logs/colmap-3.8_4.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140releng-armv7-default&build=e9c9c73181b5
Log:

=>> Building graphics/colmap
build started at Sun Feb 25 10:12:33 UTC 2024
port directory: /usr/ports/graphics/colmap
package name: colmap-3.8_4
building for: FreeBSD 140releng-armv7-default-job-02 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 1400097 arm
maintained by: fuz@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2724 Oct 10 01:06 /usr/ports/graphics/colmap/Makefile
Ports top last git commit: e9c9c73181
Ports top unclean checkout: no
Port dir last git commit: 943d012d6d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p4 1400097
UNAME_r=14.0-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.1
MASTERMNT=/usr/local/poudriere/data/.m/140releng-armv7-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/140releng-armv7-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
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 colmap-3.8_4:
     CGAL=on: Graph-cut on Delaunay triangulation based meshing algorithm
     DOCS=on: Build and/or install documentation
     OPENMP=on: Parallel processing support via OpenMP
     SIMD=on: Use CPU-specific optimizations
     TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
fuz@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/colmap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/colmap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/colmap/work/.cache  HOME=/wrkdirs/usr/ports/graphics/colmap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/colmap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/colmap/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/colmap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/colmap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/colmap/work/.cache  HOME=/wrkdirs/usr/ports/graphics/colmap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/colmap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/colmap/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB
="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DESTDIR=/wrkdirs/usr/ports/graphics/colmap/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc12" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp12" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -Wl,--as-needed -Wl,--undefined-version -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12 -L/usr/local/lib/gcc12 " LIBS="-L/usr/local/lib"  CXX="g++12" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -std=c++17 " 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--
PORTDOCS="" CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" QT_BINDIR="lib/qt5/bin" QT_INCDIR="include/qt5" QT_LIBDIR="lib/qt5" QT_ARCHDIR="lib/qt5" QT_PLUGINDIR="lib/qt5/plugins" QT_LIBEXECDIR="libexec/qt5" QT_IMPORTDIR="lib/qt5/imports" QT_QMLDIR="lib/qt5/qml" QT_DATADIR="share/qt5" QT_DOCDIR="share/doc/qt5" QT_L10NDIR="share/qt5/translations" QT_EXAMPLEDIR="share/examples/qt5" QT_TESTDIR="share/qt5/tests" QT_MKSPECDIR="lib/qt5/mkspecs" QT_TOOLDIR="lib/qt5/bin" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/colmap"  EXAMPLESDIR="share/examples/colmap"  DATADIR="share/colmap"  WWWDIR="www/colmap"  ETCDIR="etc/colmap"
--End PLIST_SUB--

--SUB_LIST--
 PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/colmap DOCSDIR=/usr/local/share/doc/colmap EXAMPLESDIR=/usr/local/share/examples/colmap  WWWDIR=/usr/local/www/colmap ETCDIR=/usr/local/etc/colmap
--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
---End make.conf---
--Resource limits--
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 BSD2CLAUSE BSD3CLAUSE CC-BY-3.0 GPLv3+ MIT SIFTGPU accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   colmap-3.8_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[140releng-armv7-default-job-02] Installing pkg-1.20.9_1...
[140releng-armv7-default-job-02] Extracting pkg-1.20.9_1: .......... done
===>   colmap-3.8_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of colmap-3.8_4
===========================================================================
=======================<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 BSD2CLAUSE BSD3CLAUSE CC-BY-3.0 GPLv3+ MIT SIFTGPU accepted by the user
=> colmap-colmap-3.8_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/colmap/colmap/tar.gz/3.8?dummy=/colmap-colmap-3.8_GH0.tar.gz
fetch: https://codeload.github.com/colmap/colmap/tar.gz/3.8?dummy=/colmap-colmap-3.8_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/colmap/colmap/tar.gz/3.8?dummy=/colmap-colmap-3.8_GH0.tar.gz: size of remote file is not known
colmap-colmap-3.8_GH0.tar.gz                          3611 kB   11 MBps    01s
===> Fetching all distfiles required by colmap-3.8_4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE BSD3CLAUSE CC-BY-3.0 GPLv3+ MIT SIFTGPU accepted by the user
===> Fetching all distfiles required by colmap-3.8_4 for building
=> SHA256 Checksum OK for colmap-colmap-3.8_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE BSD3CLAUSE CC-BY-3.0 GPLv3+ MIT SIFTGPU accepted by the user
===> Fetching all distfiles required by colmap-3.8_4 for building
===>  Extracting for colmap-3.8_4
=> SHA256 Checksum OK for colmap-colmap-3.8_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for colmap-3.8_4
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   colmap-3.8_4 depends on package: cgal>0 - not found
===>   Installing existing package /packages/All/cgal-5.5.1_1.pkg
[140releng-armv7-default-job-02] Installing cgal-5.5.1_1...
[140releng-armv7-default-job-02] `-- Installing boost-libs-1.83.0_1...
[140releng-armv7-default-job-02] |   `-- Installing icu-74.2,1...
[140releng-armv7-default-job-02] |   `-- Extracting icu-74.2,1: .......... done
[140releng-armv7-default-job-02] `-- Extracting boost-libs-1.83.0_1: .......... done
[140releng-armv7-default-job-02] `-- Installing gmp-6.3.0...
[140releng-armv7-default-job-02] |   `-- Installing indexinfo-0.3.1...
[140releng-armv7-default-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[140releng-armv7-default-job-02] `-- Extracting gmp-6.3.0: .......... done
[140releng-armv7-default-job-02] `-- Installing mpfr-4.2.1,1...
[140releng-armv7-default-job-02] `-- Extracting mpfr-4.2.1,1: .......... done
[140releng-armv7-default-job-02] Extracting cgal-5.5.1_1: .......... done
=====
<snip>
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/base/reconstruction.h:35,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/mvs.cc:34:
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:324:34: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  324 |     -> std::future<typename std::result_of<func_t(args_t...)>::type> {
      |                                  ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h: In member function 'std::__1::future<typename std::__1::result_of<_Fp(_Args ...)>::type> colmap::ThreadPool::AddTask(func_t&&, args_t&& ...)':
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:325:25: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  325 |   typedef typename std::result_of<func_t(args_t...)>::type return_t;
      |                         ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
[ 97% 178/181] /usr/local/bin/g++12 -DBOOST_TEST_DYN_LINK -DCGAL_ENABLED -DCGAL_USE_GMPXX=1 -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGUI_ENABLED -DOPENGL_ENABLED -DOPENMP_ENABLED -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/lib -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src -isystem /usr/local/include/eigen3 -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtOpenGL -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -std=c++17 -Wno-maybe-uninitialized -fopenmp -Wall -std=c++14 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr
/local/include -std=c++17  -DNDEBUG -fPIE -fPIC -frounding-math -pthread -MD -MT src/exe/CMakeFiles/colmap_exe.dir/model.cc.o -MF src/exe/CMakeFiles/colmap_exe.dir/model.cc.o.d -o src/exe/CMakeFiles/colmap_exe.dir/model.cc.o -c /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/model.cc
In file included from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/model.cc:40:
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:207:36: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  207 |       -> std::future<typename std::result_of<func_t(args_t...)>::type>;
      |                                    ^~~~~~~~~
In file included from /usr/include/c++/v1/type_traits:532,
                 from /usr/include/c++/v1/limits:827,
                 from /usr/include/c++/v1/__iterator/advance.h:27,
                 from /usr/include/c++/v1/__algorithm/iterator_operations.h:15,
                 from /usr/include/c++/v1/__algorithm/copy_move_common.h:12,
                 from /usr/include/c++/v1/__algorithm/copy.h:12,
                 from /usr/include/c++/v1/vector:281,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/base/gps.h:35,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/model.cc:34:
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:324:34: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  324 |     -> std::future<typename std::result_of<func_t(args_t...)>::type> {
      |                                  ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h: In member function 'std::__1::future<typename std::__1::result_of<_Fp(_Args ...)>::type> colmap::ThreadPool::AddTask(func_t&&, args_t&& ...)':
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:325:25: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  325 |   typedef typename std::result_of<func_t(args_t...)>::type return_t;
      |                         ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
[ 97% 179/181] /usr/local/bin/g++12 -DBOOST_TEST_DYN_LINK -DCGAL_ENABLED -DCGAL_USE_GMPXX=1 -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGUI_ENABLED -DOPENGL_ENABLED -DOPENMP_ENABLED -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/lib -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src -isystem /usr/local/include/eigen3 -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtOpenGL -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -std=c++17 -Wno-maybe-uninitialized -fopenmp -Wall -std=c++14 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr
/local/include -std=c++17  -DNDEBUG -fPIE -fPIC -frounding-math -pthread -MD -MT src/exe/CMakeFiles/colmap_exe.dir/sfm.cc.o -MF src/exe/CMakeFiles/colmap_exe.dir/sfm.cc.o.d -o src/exe/CMakeFiles/colmap_exe.dir/sfm.cc.o -c /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/sfm.cc
In file included from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/controllers/incremental_mapper.h:37,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/sfm.h:36,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/sfm.cc:32:
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:207:36: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  207 |       -> std::future<typename std::result_of<func_t(args_t...)>::type>;
      |                                    ^~~~~~~~~
In file included from /usr/include/c++/v1/type_traits:532,
                 from /usr/include/c++/v1/limits:827,
                 from /usr/include/c++/v1/math.h:315,
                 from /usr/include/c++/v1/cmath:317,
                 from /usr/include/c++/v1/__compare/strong_order.h:20,
                 from /usr/include/c++/v1/__compare/weak_order.h:14,
                 from /usr/include/c++/v1/__compare/partial_order.h:14,
                 from /usr/include/c++/v1/__compare/compare_partial_order_fallback.h:13,
                 from /usr/include/c++/v1/compare:145,
                 from /usr/include/c++/v1/tuple:259,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/base/reconstruction.h:35,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/sfm.h:35:
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:324:34: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  324 |     -> std::future<typename std::result_of<func_t(args_t...)>::type> {
      |                                  ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h: In member function 'std::__1::future<typename std::__1::result_of<_Fp(_Args ...)>::type> colmap::ThreadPool::AddTask(func_t&&, args_t&& ...)':
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:325:25: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  325 |   typedef typename std::result_of<func_t(args_t...)>::type return_t;
      |                         ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
In file included from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/main_window.h:48,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/gui.h:36,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/sfm.cc:41:
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h: At global scope:
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:45:46: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   45 | template <class Elem = char, class Tr = std::char_traits<Elem>>
      |                                              ^~~~~~~~~~~
In file included from /usr/include/c++/v1/iosfwd:99,
                 from /usr/include/c++/v1/tuple:1856:
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:95:39: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   95 |   StandardOutputRedirector<char, std::char_traits<char>>* cout_redirector_;
      |                                       ^~~~~~~~~~~
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:96:39: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   96 |   StandardOutputRedirector<char, std::char_traits<char>>* cerr_redirector_;
      |                                       ^~~~~~~~~~~
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:97:39: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   97 |   StandardOutputRedirector<char, std::char_traits<char>>* clog_redirector_;
      |                                       ^~~~~~~~~~~
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
In file included from /usr/local/include/boost/property_tree/json_parser.hpp:16,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/sfm.cc:34:
/usr/local/include/boost/property_tree/json_parser/detail/read.hpp: In function 'void boost::property_tree::json_parser::detail::read_json_internal(Iterator, Sentinel, Encoding&, Callbacks&, const std::__1::string&) [with Iterator = std::__1::istreambuf_iterator<char, std::__1::char_traits<char> >; Sentinel = std::__1::istreambuf_iterator<char, std::__1::char_traits<char> >; Encoding = encoding<char>; Callbacks = standard_callbacks<boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char> > >]':
/usr/local/include/boost/property_tree/json_parser/detail/read.hpp:49:10: note: parameter passing for argument of type 'std::__1::istreambuf_iterator<char, std::__1::char_traits<char> >' changed in GCC 7.1
   49 |     void read_json_internal(Iterator first, Sentinel last, Encoding& encoding,
      |          ^~~~~~~~~~~~~~~~~~
/usr/local/include/boost/property_tree/json_parser/detail/read.hpp:49:10: note: parameter passing for argument of type 'std::__1::istreambuf_iterator<char, std::__1::char_traits<char> >' changed in GCC 7.1
/usr/local/include/boost/property_tree/json_parser/detail/read.hpp: In function 'void boost::property_tree::json_parser::detail::read_json_internal(std::__1::basic_istream<typename Ptree::key_type::value_type>&, Ptree&, const std::__1::string&) [with Ptree = boost::property_tree::basic_ptree<std::__1::basic_string<char>, std::__1::basic_string<char> >]':
/usr/local/include/boost/property_tree/json_parser/detail/read.hpp:83:27: note: parameter passing for argument of type 'iterator' {aka 'std::__1::istreambuf_iterator<char, std::__1::char_traits<char> >'} changed in GCC 7.1
   83 |         read_json_internal(iterator(stream), iterator(),
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   84 |             encoding, callbacks, filename);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 98% 179/181] /usr/local/bin/g++12 -DBOOST_TEST_DYN_LINK -DCGAL_ENABLED -DCGAL_USE_GMPXX=1 -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGUI_ENABLED -DOPENGL_ENABLED -DOPENMP_ENABLED -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/lib -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src -isystem /usr/local/include/eigen3 -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtOpenGL -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -std=c++17 -Wno-maybe-uninitialized -fopenmp -Wall -std=c++14 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr
/local/include -std=c++17  -DNDEBUG -fPIE -fPIC -frounding-math -pthread -MD -MT src/exe/CMakeFiles/colmap_exe.dir/vocab_tree.cc.o -MF src/exe/CMakeFiles/colmap_exe.dir/vocab_tree.cc.o.d -o src/exe/CMakeFiles/colmap_exe.dir/vocab_tree.cc.o -c /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/vocab_tree.cc
In file included from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/controllers/incremental_mapper.h:37,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/main_window.h:40,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/gui.h:36,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/vocab_tree.cc:37:
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:207:36: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  207 |       -> std::future<typename std::result_of<func_t(args_t...)>::type>;
      |                                    ^~~~~~~~~
In file included from /usr/include/c++/v1/type_traits:532,
                 from /usr/include/c++/v1/limits:827,
                 from /usr/include/c++/v1/math.h:315,
                 from /usr/include/c++/v1/cmath:317,
                 from /usr/include/c++/v1/numeric:149,
                 from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/exe/vocab_tree.cc:34:
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:324:34: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  324 |     -> std::future<typename std::result_of<func_t(args_t...)>::type> {
      |                                  ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h: In member function 'std::__1::future<typename std::__1::result_of<_Fp(_Args ...)>::type> colmap::ThreadPool::AddTask(func_t&&, args_t&& ...)':
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/threading.h:325:25: warning: 'template<class _Callable> class std::__1::result_of' is deprecated [-Wdeprecated-declarations]
  325 |   typedef typename std::result_of<func_t(args_t...)>::type return_t;
      |                         ^~~~~~~~~
/usr/include/c++/v1/__type_traits/result_of.h:24:62: note: declared here
   24 | template <class _Callable> class _LIBCPP_DEPRECATED_IN_CXX17 result_of;
      |                                                              ^~~~~~~~~
In file included from /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/main_window.h:48:
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h: At global scope:
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:45:46: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   45 | template <class Elem = char, class Tr = std::char_traits<Elem>>
      |                                              ^~~~~~~~~~~
In file included from /usr/include/c++/v1/iosfwd:99,
                 from /usr/include/c++/v1/tuple:1856,
                 from /usr/include/c++/v1/__functional/bind.h:17,
                 from /usr/include/c++/v1/functional:510,
                 from /usr/include/c++/v1/numeric:176:
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:95:39: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   95 |   StandardOutputRedirector<char, std::char_traits<char>>* cout_redirector_;
      |                                       ^~~~~~~~~~~
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:96:39: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   96 |   StandardOutputRedirector<char, std::char_traits<char>>* cerr_redirector_;
      |                                       ^~~~~~~~~~~
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/ui/log_widget.h:97:39: warning: 'template<class _CharT> struct std::__1::char_traits' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]
   97 |   StandardOutputRedirector<char, std::char_traits<char>>* clog_redirector_;
      |                                       ^~~~~~~~~~~
/usr/include/c++/v1/__fwd/string.h:22:29: note: declared here
   22 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^~~~~~~~~~~
[ 98% 179/181] /usr/local/bin/g++12 -DBOOST_TEST_DYN_LINK -DCGAL_ENABLED -DCGAL_USE_GMPXX=1 -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGUI_ENABLED -DOPENGL_ENABLED -DOPENMP_ENABLED -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/lib -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src -isystem /usr/local/include/eigen3 -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtOpenGL -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -std=c++17 -Wno-maybe-uninitialized -fopenmp -Wall -std=c++14 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr
/local/include -std=c++17  -DNDEBUG -fPIC -fPIC -frounding-math -pthread -MD -MT src/CMakeFiles/colmap.dir/util/camera_specs.cc.o -MF src/CMakeFiles/colmap.dir/util/camera_specs.cc.o.d -o src/CMakeFiles/colmap.dir/util/camera_specs.cc.o -c /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/camera_specs.cc
FAILED: src/CMakeFiles/colmap.dir/util/camera_specs.cc.o 
/usr/local/bin/g++12 -DBOOST_TEST_DYN_LINK -DCGAL_ENABLED -DCGAL_USE_GMPXX=1 -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DGUI_ENABLED -DOPENGL_ENABLED -DOPENMP_ENABLED -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/lib -I/wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src -isystem /usr/local/include/eigen3 -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtOpenGL -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include -std=c++17 -Wno-maybe-uninitialized -fopenmp -Wall -std=c++14 -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc12  -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc12 -isystem /usr/local/include 
-std=c++17  -DNDEBUG -fPIC -fPIC -frounding-math -pthread -MD -MT src/CMakeFiles/colmap.dir/util/camera_specs.cc.o -MF src/CMakeFiles/colmap.dir/util/camera_specs.cc.o.d -o src/CMakeFiles/colmap.dir/util/camera_specs.cc.o -c /wrkdirs/usr/ports/graphics/colmap/work/colmap-3.8/src/util/camera_specs.cc

cc1plus: out of memory allocating 199721240 bytes after a total of 0 bytes
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 in /usr/ports/graphics/colmap