[package - main-amd64-default][misc/mxnet] Failed for mxnet-1.8.0 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 23 Dec 2021 04:39:16 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:        http://beefy18.nyi.freebsd.org/data/main-amd64-default/p44590dfdc13c_sfa255ab1b8/logs/mxnet-1.8.0.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=p44590dfdc13c_sfa255ab1b8
Log:

=>> Building misc/mxnet
build started at Thu Dec 23 04:38:17 UTC 2021
port directory: /usr/ports/misc/mxnet
package name: mxnet-1.8.0
building for: FreeBSD main-amd64-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400045 amd64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400042
Jail OSVERSION: 1400045
Job Id: 08




!!! Jail is newer than host. (Jail: 1400045, Host: 1400042) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400045
UNAME_v=FreeBSD 14.0-CURRENT 1400045
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for mxnet-1.8.0:
     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.8" 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 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 NO_PIE=yes 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-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" 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.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=14.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 " 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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400045
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  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)  1024
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   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mxnet-1.8.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-amd64-default-job-08] Installing pkg-1.17.5...
[main-amd64-default-job-08] Extracting pkg-1.17.5: .......... done
===>   mxnet-1.8.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mxnet-1.8.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mxnet-1.8.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mxnet-1.8.0 for building
=> SHA256 Checksum OK for apache-incubator-mxnet-1.8.0_GH0.tar.gz.
=> SHA256 Checksum OK for apache-incubator-tvm-9bd2c7b_GH0.tar.gz.
=> SHA256 Checksum OK for dmlc-dlpack-3efc489_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by mxnet-1.8.0 for building
===>  Extracting for mxnet-1.8.0
=> SHA256 Checksum OK for apache-incubator-mxnet-1.8.0_GH0.tar.gz.
=> SHA256 Checksum OK for apache-incubator-tvm-9bd2c7b_GH0.tar.gz.
=> SHA256 Checksum OK for dmlc-dlpack-3efc489_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mxnet-1.8.0
===>  Applying FreeBSD patches for mxnet-1.8.0 from /usr/ports/misc/mxnet/files
===========================================================================
=======================<phase: build-depends  >============================
<snip>
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 freeglut-3.2.1:

--
Joystick support is untested and it is unknown if it works.

Do not hesitate to contact x11@FreeBSD.org if this causes issues.
=====
Message from proj-7.2.1,1:

--
Since proj 7, datum grids are available from a CDN at https://cdn.proj.org and
should either be fetched dynamically at runtime (disabled by default, cf
https://proj.org/usage/network.html) or be fetched locally depending on your
work area needs, using the projsync command. 

DATA option allows you to download all the data, but it requires more than 400mb!
This option is disabled by default.

It is better to use the projsync command.

Use projsync --list-files to list the CDN content.

They can either by installed in the user homedir (under ~/.local/share/proj)

$ projsync --file fr_ign_ntf_r93.tif
Downloading from https://cdn.proj.org into /home/user/.local/share/proj
Total to download: 93581 bytes
Downloading https://cdn.proj.org/fr_ign_ntf_r93.tif... (1 / 1)

or systemwide in the default PROJ_LIB dir (under /usr/local/share/proj, cf
https://proj.org/resource_files.html)

# projsync --system-directory --file fr_ign_ntf_r93.tif
Downloading from https://cdn.proj.org into /usr/local/share/proj
Total to download: 93581 bytes
Downloading https://cdn.proj.org/fr_ign_ntf_r93.tif... (1 / 1)

If not using the default, make sure to set PROJ_LIB environment variable
accordingly.
=====
Message from boost-libs-1.72.0_6:

--
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 postgresql13-client-13.5:

--
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...
=====
Message from argp-standalone-1.3_4:

--
===>   NOTICE:

The argp-standalone port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from opencl-3.0.8:

--
OpenCL is the first open, royalty-free standard for cross-platform,
parallel programming of modern processors.
=====
Message from metis-5.1.0_9:

--
===>   NOTICE:

The metis port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   mxnet-1.8.0 depends on shared library: libopencv_core.so - found (/usr/local/lib/libopencv_core.so)
===>   Returning to build of mxnet-1.8.0
===>   mxnet-1.8.0 depends on shared library: libopencv_videoio.so - found (/usr/local/lib/libopencv_videoio.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for mxnet-1.8.0
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/misc/mxnet/work/.build
-- The C compiler identification is Clang 13.0.0
-- The CXX compiler identification is Clang 13.0.0
-- 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.22.1' 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.5.3") found components: core highgui imgproc imgcodecs 
-- OpenCV 4.5.3 found (/usr/local/lib/cmake/opencv4)
--  OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs
-- Found OpenMP_C: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP_CXX: -fopenmp=libomp (found version "5.0") 
-- Found OpenMP: TRUE (found version "5.0")  
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
CMake Error at CMakeLists.txt:701 (add_library):
  Cannot find source file:

    /wrkdirs/usr/ports/misc/mxnet/work/incubator-mxnet-1.8.0/include/mkldnn/mkldnn.h

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc


CMake Error: CMake can not determine linker language for target: mxnet_static
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_PYTHON_SUFFIX
    CMAKE_COLOR_MAKEFILE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    ENABLE_CUDA_RTC
    Python_ADDITIONAL_VERSIONS
    THREADS_HAVE_PTHREAD_ARG
    USE_NCCL


CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/mxnet