[package - main-amd64-default][misc/mxnet] Failed for mxnet-1.9.1_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 25 Oct 2024 01:27:41 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/p645a502a4f60_s8b2e7da7085/logs/mxnet-1.9.1_7.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p645a502a4f60_s8b2e7da7085
Log:

=>> Building misc/mxnet
build started at Fri Oct 25 01:27:07 UTC 2024
port directory: /usr/ports/misc/mxnet
package name: mxnet-1.9.1_7
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 1931 Jun 23 01:01 /usr/ports/misc/mxnet/Makefile
Ports top last git commit: 645a502a4f6
Ports top unclean checkout: no
Port dir last git commit: e2cd1133e68
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 mxnet-1.9.1_7:
     CPP=on: Install the C++ binding (cpp-package)
     OPENCV=on: Computer Vision support via OpenCV
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/mxnet/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/mxnet/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/mxnet/work/.cache  HOME=/wrkdirs/usr/ports/misc/mxnet/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/mxnet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/mxnet/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] " XDG_DATA_HOME=/wrkdirs/usr/ports/misc/mxnet/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/mxnet/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/mxnet/work/.cache  HOME=/wrkdirs/usr/ports/misc/mxnet/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/mxnet/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/mxnet/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/misc/mxnet/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -pthread -lexecinfo -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-al
iasing  -isystem /usr/local/include " 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--
 CPP="" NO_CPP="@comment " OPENCV="" NO_OPENCV="@comment " CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mxnet"  EXAMPLESDIR="share/examples/mxnet"  DATADIR="share/mxnet"  WWWDIR="www/mxnet"  ETCDIR="etc/mxnet"
--End PLIST_SUB--

--SUB_LIST--
 CPP="" NO_CPP="@comment " OPENCV="" NO_OPENCV="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mxnet DOCSDIR=/usr/local/share/doc/mxnet EXAMPLESDIR=/usr/local/share/examples/mxnet  WWWDIR=/usr/local/www/mxnet ETCDIR=/usr/local/etc/mxnet
--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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mxnet-1.9.1_7 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
===>   mxnet-1.9.1_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mxnet-1.9.1_7
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by mxnet-1.9.1_7 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mxnet-1.9.1_7 for building
=> SHA256 Checksum OK for apache-incubator-mxnet-1.9.1_GH0.tar.gz.
=> SHA256 Checksum OK for apache-tvm-efdac94_GH0.tar.gz.
=> SHA256 Checksum OK for dmlc-dlpack-3efc489_GH0.tar.gz.
=> SHA256 Checksum OK for oneapi-src-oneDNN-f40443c_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 APACHE20 accepted by the user
===> Fetching all distfiles required by mxnet-1.9.1_7 for building
===>  Extracting for mxnet-1.9.1_7
=> SHA256 Checksum OK for apache-incubator-mxnet-1.9.1_GH0.tar.gz.
=> SHA256 Checksum OK for apache-tvm-efdac94_GH0.tar.gz.
=> SHA256 Checksum OK for dmlc-dlpack-3efc489_GH0.tar.gz.
=> SHA256 Checksum OK for oneapi-src-oneDNN-f40443c_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 mxnet-1.9.1_7
===>  Applying FreeBSD patches for mxnet-1.9.1_7 from /usr/ports/misc/mxnet/files
===========================================================================
<snip>
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from boost-libs-1.85.0:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
=====
Message from postgresql16-client-16.4:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg2
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
===>   mxnet-1.9.1_7 depends on shared library: libopencv_core.so - found (/usr/local/lib/libopencv_core.so)
===>   Returning to build of mxnet-1.9.1_7
===>   mxnet-1.9.1_7 depends on shared library: libopencv_videoio.so - found (/usr/local/lib/libopencv_videoio.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for mxnet-1.9.1_7
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/misc/mxnet/work/.build
-- The C compiler identification is Clang 19.1.2
-- The CXX compiler identification is Clang 19.1.2
-- 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
-- CMAKE_CROSSCOMPILING FALSE
-- CMAKE_HOST_SYSTEM_PROCESSOR amd64
-- CMAKE_SYSTEM_PROCESSOR amd64
-- CMAKE_SYSTEM_NAME FreeBSD
-- CMake version '3.30.5' using generator 'Ninja'
-- Could not find CCache. Consider installing CCache to speed up compilation.
-- Performing Test SUPPORT_CXX11
-- Performing Test SUPPORT_CXX11 - Success
-- Performing Test SUPPORT_CXX0X
-- Performing Test SUPPORT_CXX0X - Success
-- Found OpenBLAS libraries: /usr/local/lib/libopenblas.so
-- Found OpenBLAS include: /usr/local/include
-- Found OpenCV: /usr/local (found version "4.9.0") found components: core highgui imgproc imgcodecs
-- OpenCV 4.9.0 found (/usr/local/lib/cmake/opencv4)
--  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
-- 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")
USE_LAPACK is ON
-- Performing Test SUPPORT_MSSE3
-- Performing Test SUPPORT_MSSE3 - Success
-- Performing Test SUPPORT_MSSE2
-- Performing Test SUPPORT_MSSE2 - Success
-- Determining F16C support
-- Performing Test COMPILER_SUPPORT_MF16C
-- Performing Test COMPILER_SUPPORT_MF16C - Success
CPU does not support F16C instructions
-- Configuring done (2.2s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_PYTHON_SUFFIX
    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    ENABLE_CUDA_RTC
    FETCHCONTENT_FULLY_DISCONNECTED
    Python3_EXECUTABLE
    Python_ADDITIONAL_VERSIONS
    Python_EXECUTABLE
    THREADS_HAVE_PTHREAD_ARG
    USE_NCCL


-- Build files have been written to: /wrkdirs/usr/ports/misc/mxnet/work/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for mxnet-1.9.1_7
[  0% 3/369] /usr/bin/c++ -DDMLC_LOG_FATAL_THROW=0 -DDMLC_LOG_FATAL_THROW=1 -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_USE_CXX11=1 -DMSHADOW_INT64_TENSOR_SIZE=0 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_F16C=0 -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_SSE -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_CPP_PACKAGE=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_OPENCV=1 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_SIGNAL_HANDLER=1 -DNDEBUG=1 -Dmxnet_EXPORTS -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/nnvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dmlc-core/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dlpack/include -I/wrkdirs/usr/ports/
misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/mshadow -isystem /usr/local/include/opencv4 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-braced-scalar-init -O3 -std=c++11 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=gnu++14 -fPIC -msse3 -MD -MT CMakeFiles/mxnet.dir/src/api/operator/numpy/np_tensordot_op.cc.o -MF CMakeFiles/mxnet.dir/src/api/operator/numpy/np_tensordot_op.cc.o.d -o CMakeFiles/mxnet.dir/src/api/operator/numpy/np_tensordot_op.cc.o -c /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/np_tensordot_op.cc
FAILED: CMakeFiles/mxnet.dir/src/api/operator/numpy/np_tensordot_op.cc.o 
/usr/bin/c++ -DDMLC_LOG_FATAL_THROW=0 -DDMLC_LOG_FATAL_THROW=1 -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_USE_CXX11=1 -DMSHADOW_INT64_TENSOR_SIZE=0 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_F16C=0 -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_SSE -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_CPP_PACKAGE=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_OPENCV=1 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_SIGNAL_HANDLER=1 -DNDEBUG=1 -Dmxnet_EXPORTS -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/nnvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dmlc-core/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dlpack/include -I/wrkdirs/usr/ports/misc/mxnet/wo
rk/incubator-mxnet-1.9.1/3rdparty/mshadow -isystem /usr/local/include/opencv4 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-braced-scalar-init -O3 -std=c++11 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=gnu++14 -fPIC -msse3 -MD -MT CMakeFiles/mxnet.dir/src/api/operator/numpy/np_tensordot_op.cc.o -MF CMakeFiles/mxnet.dir/src/api/operator/numpy/np_tensordot_op.cc.o.d -o CMakeFiles/mxnet.dir/src/api/operator/numpy/np_tensordot_op.cc.o -c /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/np_tensordot_op.cc
In file included from <built-in>:450:
<command line>:2:9: warning: 'DMLC_LOG_FATAL_THROW' macro redefined [-Wmacro-redefined]
    2 | #define DMLC_LOG_FATAL_THROW 1
      |         ^
<command line>:1:9: note: previous definition is here
    1 | #define DMLC_LOG_FATAL_THROW 0
      |         ^
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/np_tensordot_op.cc:25:
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/np_tensordot_op-inl.h:29:
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/matrix_op-inl.h:36:
In file included from /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/broadcast_reduce_op.h:35:
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  358 |         template LaunchEx(s, new_oshape.Size(), req[0], lstride, rstride, oshape,
      |                  ^
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:358:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:389:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  389 |         template LaunchEx(s, new_oshape.Size(), req[0], lstride, rstride, oshape,
      |                  ^
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:389:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:389:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/../../../operator/numpy/../tensor/./elemwise_binary_broadcast_op.h:389:18: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
[  0% 3/369] /usr/bin/c++ -DDMLC_LOG_FATAL_THROW=0 -DDMLC_LOG_FATAL_THROW=1 -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_USE_CXX11=1 -DMSHADOW_INT64_TENSOR_SIZE=0 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_F16C=0 -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_SSE -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_CPP_PACKAGE=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_OPENCV=1 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_SIGNAL_HANDLER=1 -DNDEBUG=1 -Dmxnet_EXPORTS -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/nnvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dmlc-core/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dlpack/include -I/wrkdirs/usr/ports/
misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/mshadow -isystem /usr/local/include/opencv4 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-braced-scalar-init -O3 -std=c++11 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=gnu++14 -fPIC -msse3 -MD -MT CMakeFiles/mxnet.dir/src/api/_api_internal/_api_internal.cc.o -MF CMakeFiles/mxnet.dir/src/api/_api_internal/_api_internal.cc.o.d -o CMakeFiles/mxnet.dir/src/api/_api_internal/_api_internal.cc.o -c /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/_api_internal/_api_internal.cc
In file included from <built-in>:450:
<command line>:2:9: warning: 'DMLC_LOG_FATAL_THROW' macro redefined [-Wmacro-redefined]
    2 | #define DMLC_LOG_FATAL_THROW 1
      |         ^
<command line>:1:9: note: previous definition is here
    1 | #define DMLC_LOG_FATAL_THROW 0
      |         ^
1 warning generated.
[  0% 3/369] /usr/bin/c++ -DDMLC_LOG_FATAL_THROW=0 -DDMLC_LOG_FATAL_THROW=1 -DDMLC_LOG_STACK_TRACE_SIZE=0 -DDMLC_MODERN_THREAD_LOCAL=0 -DDMLC_USE_CXX11=1 -DMSHADOW_INT64_TENSOR_SIZE=0 -DMSHADOW_IN_CXX11 -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_CUDA=0 -DMSHADOW_USE_F16C=0 -DMSHADOW_USE_MKL=0 -DMSHADOW_USE_SSE -DMXNET_USE_BLAS_OPEN=1 -DMXNET_USE_CPP_PACKAGE=1 -DMXNET_USE_LAPACK=1 -DMXNET_USE_OPENCV=1 -DMXNET_USE_OPENMP=1 -DMXNET_USE_OPERATOR_TUNING=1 -DMXNET_USE_SIGNAL_HANDLER=1 -DNDEBUG=1 -Dmxnet_EXPORTS -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/nnvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/tvm/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dmlc-core/include -I/wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/dlpack/include -I/wrkdirs/usr/ports/
misc/mxnet/work/incubator-mxnet-1.9.1/3rdparty/mshadow -isystem /usr/local/include/opencv4 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-braced-scalar-init -O3 -std=c++11 -fopenmp=libomp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=gnu++14 -fPIC -msse3 -MD -MT CMakeFiles/mxnet.dir/src/api/operator/numpy/np_init_op.cc.o -MF CMakeFiles/mxnet.dir/src/api/operator/numpy/np_init_op.cc.o.d -o CMakeFiles/mxnet.dir/src/api/operator/numpy/np_init_op.cc.o -c /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.9.1/src/api/operator/numpy/np_init_op.cc
In file included from <built-in>:450:
<command line>:2:9: warning: 'DMLC_LOG_FATAL_THROW' macro redefined [-Wmacro-redefined]
    2 | #define DMLC_LOG_FATAL_THROW 1
      |         ^
<command line>:1:9: note: previous definition is here
    1 | #define DMLC_LOG_FATAL_THROW 0
      |         ^
1 warning 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/misc/mxnet