[package - main-armv7-default][science/qiskit-aer] Failed for qiskit-aer-0.10.4_1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 09 Feb 2023 13:21:46 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/ampere2/data/main-armv7-default/p2f5a35cecf5c_s8147104965/logs/qiskit-aer-0.10.4_1.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p2f5a35cecf5c_s8147104965
Log:

=>> Building science/qiskit-aer
build started at Thu Feb  9 13:21:33 UTC 2023
port directory: /usr/ports/science/qiskit-aer
package name: qiskit-aer-0.10.4_1
building for: FreeBSD main-armv7-default-job-07 14.0-CURRENT FreeBSD 14.0-CURRENT 1400078 arm
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400078
Job Id: 07




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400078
UNAME_v=FreeBSD 14.0-CURRENT 1400078
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
DISABLE_CONAN=yes XDG_DATA_HOME=/wrkdirs/usr/ports/science/qiskit-aer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/qiskit-aer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/qiskit-aer/work/.cache  HOME=/wrkdirs/usr/ports/science/qiskit-aer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/qiskit-aer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/qiskit-aer/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/science/qiskit-aer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/qiskit-aer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/qiskit-aer/work/.cache  HOME=/wrkdirs/usr/ports/science/qiskit-aer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/qiskit-aer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/qiskit-aer/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/science/qiskit-aer/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=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/l
 ocal/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--
CMAKE_BUILD_TYPE="release" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/qiskit-aer"  EXAMPLESDIR="share/examples/qiskit-aer"  DATADIR="share/qiskit-aer"  WWWDIR="www/qiskit-aer"  ETCDIR="etc/qiskit-aer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/qiskit-aer DOCSDIR=/usr/local/share/doc/qiskit-aer EXAMPLESDIR=/usr/local/share/examples/qiskit-aer  WWWDIR=/usr/local/www/qiskit-aer ETCDIR=/usr/local/etc/qiskit-aer
--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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf 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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400078
PYTHONBASE=/usr/local
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)  1048576
stack size              (kbytes, -s)  1048576
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    >============================
===>   qiskit-aer-0.10.4_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-armv7-default-job-07] Installing pkg-1.19.1...
[main-armv7-default-job-07] Extracting pkg-1.19.1: .......... done
===>   qiskit-aer-0.10.4_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of qiskit-aer-0.10.4_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by qiskit-aer-0.10.4_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by qiskit-aer-0.10.4_1 for building
=> SHA256 Checksum OK for Qiskit-qiskit-aer-0.10.4_GH0.tar.gz.
=> SHA256 Checksum OK for 46d86944f349a177acb40fb8a3adc301c395fe60.patch.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by qiskit-aer-0.10.4_1 for building
===>  Extracting for qiskit-aer-0.10.4_1
=> SHA256 Checksum OK for Qiskit-qiskit-aer-0.10.4_GH0.tar.gz.
=> SHA256 Checksum OK for 46d86944f349a177acb40fb8a3adc301c395fe60.patch.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for qiskit-aer-0.10.4_1
===>  Applying distribution patches for qiskit-aer-0.10.4_1
===========================================================================
=======================<phase: build-depends  >============================
===>   qiskit-aer-0.10.4_1 depends on package: nlohmann-json>0 - not found
===>   Installing existing package /packages/All/nlohmann-json-3.11.2.pkg
[main-armv7-default-job-07] Installing nlohmann-json-3.11.2...
[main-armv7-default-job-07] Extracting nlohmann-json-3.11.2: .......... done
===>   qiskit-aer-0.10.4_1 depends on package: nlohmann-json>0 - found
===>   Returning to build of qiskit-aer-0.10.4_1
===>   qiskit-aer-0.10.4_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.25.1.pkg
[main-armv7-default-job-07] Installing cmake-core-3.25.1...
[main-armv7-default-job-07] `-- Installing expat-2.5.0...
[main-armv7-default-job-07] `-- Extracting expat-2.5.0: .......... done
[main-armv7-default-job-07] `-- Installing jsoncpp-1.9.5...
[main-armv7-default-job-07] `-- Extracting jsoncpp-1.9.5: .......... done
[main-armv7-default-job-07] `-- Installing libuv-1.44.2...
[main-armv7-default-job-07] `-- Extracting libuv-1.44.2: .......... done
[main-armv7-default-job-07] `-- Installing rhash-1.4.3...
[main-armv7-default-job-07] |   `-- Installing gettext-runtime-0.21.1...
[main-armv7-default-job-07] |   | `-- Installing indexinfo-0.3.1...
[main-armv7-default-job-07] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-armv7-default-job-07] |   `-- Extracting gettext-runtime-0.21.1: .......... done
[main-armv7-default-job-07] `-- Extracting rhash-1.4.3: .......... done
[main-armv7-default-job-07] Extracting cmake-core-3.25.1: .......... done
===>   qiskit-aer-0.10.4_1 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of qiskit-aer-0.10.4_1
===>   qiskit-aer-0.10.4_1 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.11.1,2.pkg
[main-armv7-default-job-07] Installing ninja-1.11.1,2...
[main-armv7-default-job-07] `-- Installing python39-3.9.16...
[main-armv7-default-job-07] |   `-- Installing libffi-3.4.4...
[main-armv7-default-job-07] |   `-- Extracting libffi-3.4.4: .......... done
[main-armv7-default-job-07] |   `-- Installing mpdecimal-2.5.1...
[main-armv7-default-job-07] |   `-- Extracting mpdecimal-2.5.1: .......... done
[main-armv7-default-job-07] |   `-- Installing readline-8.2.0...
[main-armv7-default-job-07] |   `-- Extracting readline-8.2.0: .......... done
[main-armv7-default-job-07] `-- Extracting python39-3.9.16: .......... done
[main-armv7-default-job-07] Extracting ninja-1.11.1,2: ........ done
=====
Message from python39-3.9.16:

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

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
===>   qiskit-aer-0.10.4_1 depends on executable: ninja - found
===>   Returning to build of qiskit-aer-0.10.4_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   qiskit-aer-0.10.4_1 depends on shared library: libfmt.so - not found
===>   Installing existing package /packages/All/libfmt-9.1.0.pkg
[main-armv7-default-job-07] Installing libfmt-9.1.0...
[main-armv7-default-job-07] Extracting libfmt-9.1.0: .......... done
===>   qiskit-aer-0.10.4_1 depends on shared library: libfmt.so - found (/usr/local/lib/libfmt.so)
===>   Returning to build of qiskit-aer-0.10.4_1
===>   qiskit-aer-0.10.4_1 depends on shared library: libopenblas.so - not found
===>   Installing existing package /packages/All/openblas-0.3.20,1.pkg
[main-armv7-default-job-07] Installing openblas-0.3.20,1...
[main-armv7-default-job-07] `-- Installing gcc12-12.2.0_5...
[main-armv7-default-job-07] |   `-- Installing binutils-2.39,1...
[main-armv7-default-job-07] |   `-- Extracting binutils-2.39,1: .......... done
[main-armv7-default-job-07] |   `-- Installing gmp-6.2.1...
[main-armv7-default-job-07] |   `-- Extracting gmp-6.2.1: .......... done
[main-armv7-default-job-07] |   `-- Installing mpc-1.2.1...
[main-armv7-default-job-07] |   | `-- Installing mpfr-4.2.0,1...
[main-armv7-default-job-07] |   | `-- Extracting mpfr-4.2.0,1: .......... done
[main-armv7-default-job-07] |   `-- Extracting mpc-1.2.1: ......... done
[main-armv7-default-job-07] `-- Extracting gcc12-12.2.0_5: .......... done
[main-armv7-default-job-07] Extracting openblas-0.3.20,1: .......... done
=====
Message from gcc12-12.2.0_5:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc12

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   qiskit-aer-0.10.4_1 depends on shared library: libopenblas.so - found (/usr/local/lib/libopenblas.so)
===>   Returning to build of qiskit-aer-0.10.4_1
===>   qiskit-aer-0.10.4_1 depends on shared library: libspdlog.so - not found
===>   Installing existing package /packages/All/spdlog-1.11.0_1.pkg
[main-armv7-default-job-07] Installing spdlog-1.11.0_1...
[main-armv7-default-job-07] Extracting spdlog-1.11.0_1: .......... done
===>   qiskit-aer-0.10.4_1 depends on shared library: libspdlog.so - found (/usr/local/lib/libspdlog.so)
===>   Returning to build of qiskit-aer-0.10.4_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for qiskit-aer-0.10.4_1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/science/qiskit-aer/work/.build
-- The CXX compiler identification is Clang 14.0.5
-- The C compiler identification is Clang 14.0.5
-- 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
-- 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
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- Performing Test flag_supported
-- Performing Test flag_supported - Success
-- nlohmann_json 3.1.1 NOT found! Looking for any other version available.
-- Found nlohmann_json: /usr/local/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.2") 
-- nlohmann_json version found: 3.11.2. WARNING: This version may not work!!!
-- Using system-provided nlohmann_json library
-- spdlog 1.5.0 NOT found! Looking for any other version available.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- spdlog version found: 1.11.0. WARNING: This version may not work!!!
-- Using system-provided spdlog library
-- Looking for OpenMP support...
CMake Error at /wrkdirs/usr/ports/science/qiskit-aer/work/.build/CMakeFiles/CMakeTmp/CMakeLists.txt:16 (add_executable):
  No SOURCES given to target: cmTC_a9a69


CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS)
  CMakeLists.txt:156 (find_package)


-- Configuring incomplete, errors occurred!
See also "/wrkdirs/usr/ports/science/qiskit-aer/work/.build/CMakeFiles/CMakeOutput.log".
See also "/wrkdirs/usr/ports/science/qiskit-aer/work/.build/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make: stopped in /usr/ports/science/qiskit-aer