[package - 131releng-armv7-default][science/dkh] Failed for dkh-1.2_5 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 04 Mar 2023 11:27:42 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/ampere3/data/131releng-armv7-default/d0f8db852755/logs/dkh-1.2_5.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=131releng-armv7-default&build=d0f8db852755
Log:

=>> Building science/dkh
build started at Sat Mar  4 11:27:26 UTC 2023
port directory: /usr/ports/science/dkh
package name: dkh-1.2_5
building for: FreeBSD 131releng-armv7-default-job-13 13.1-RELEASE-p7 FreeBSD 13.1-RELEASE-p7 1301000 arm
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p7 1301000
UNAME_r=13.1-RELEASE-p7
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/131releng-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131releng-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131releng-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--
F77="gfortran12" F90="gfortran12" FC="gfortran12"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" XDG_DATA_HOME=/wrkdirs/usr/ports/science/dkh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/dkh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/dkh/work/.cache  HOME=/wrkdirs/usr/ports/science/dkh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/dkh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/dkh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran12" F90="gfortran12" FC="gfortran12"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" XDG_DATA_HOME=/wrkdirs/usr/ports/science/dkh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/dkh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/dkh/work/.cache  HOME=/wrkdirs/usr/ports/science/dkh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/dkh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/dkh/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/l
 ocal/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  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=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dkh"  EXAMPLESDIR="share/examples/dkh"  DATADIR="share/dkh"  WWWDIR="www/dkh"  ETCDIR="etc/dkh"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dkh DOCSDIR=/usr/local/share/doc/dkh EXAMPLESDIR=/usr/local/share/examples/dkh  WWWDIR=/usr/local/www/dkh ETCDIR=/usr/local/etc/dkh
--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: armv7-unknown-freebsd13.1-gnueabihf 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: armv7-unknown-freebsd13.1-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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p7
OSREL=13.1
OSVERSION=1301000
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 GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dkh-1.2_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[131releng-armv7-default-job-13] Installing pkg-1.19.1_1...
[131releng-armv7-default-job-13] Extracting pkg-1.19.1_1: .......... done
===>   dkh-1.2_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dkh-1.2_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by dkh-1.2_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by dkh-1.2_5 for building
=> SHA256 Checksum OK for psi4-dkh-v1.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by dkh-1.2_5 for building
===>  Extracting for dkh-1.2_5
=> SHA256 Checksum OK for psi4-dkh-v1.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dkh-1.2_5
===========================================================================
=======================<phase: build-depends  >============================
===>   dkh-1.2_5 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.25.1.pkg
[131releng-armv7-default-job-13] Installing cmake-core-3.25.1...
[131releng-armv7-default-job-13] `-- Installing expat-2.5.0...
[131releng-armv7-default-job-13] `-- Extracting expat-2.5.0: .......... done
[131releng-armv7-default-job-13] `-- Installing jsoncpp-1.9.5...
[131releng-armv7-default-job-13] `-- Extracting jsoncpp-1.9.5: .......... done
[131releng-armv7-default-job-13] `-- Installing libuv-1.44.2...
[131releng-armv7-default-job-13] `-- Extracting libuv-1.44.2: .......... done
[131releng-armv7-default-job-13] `-- Installing rhash-1.4.3...
[131releng-armv7-default-job-13] |   `-- Installing gettext-runtime-0.21.1...
[131releng-armv7-default-job-13] |   | `-- Installing indexinfo-0.3.1...
[131releng-armv7-default-job-13] |   | `-- Extracting indexinfo-0.3.1: .... done
[131releng-armv7-default-job-13] |   `-- Extracting gettext-runtime-0.21.1: .......... done
[131releng-armv7-default-job-13] `-- Extracting rhash-1.4.3: .......... done
[131releng-armv7-default-job-13] Extracting cmake-core-3.25.1: .......... done
===>   dkh-1.2_5 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of dkh-1.2_5
===>   dkh-1.2_5 depends on executable: gfortran12 - not found
===>   Installing existing package /packages/All/gcc12-12.2.0_5.pkg
[131releng-armv7-default-job-13] Installing gcc12-12.2.0_5...
[131releng-armv7-default-job-13] `-- Installing binutils-2.40,1...
[131releng-armv7-default-job-13] |   `-- Installing zstd-1.5.2_1...
[131releng-armv7-default-job-13] |   | `-- Installing liblz4-1.9.4,1...
[131releng-armv7-default-job-13] |   | `-- Extracting liblz4-1.9.4,1: .......... done
[131releng-armv7-default-job-13] |   `-- Extracting zstd-1.5.2_1: .......... done
[131releng-armv7-default-job-13] `-- Extracting binutils-2.40,1: .......... done
[131releng-armv7-default-job-13] `-- Installing gmp-6.2.1...
[131releng-armv7-default-job-13] `-- Extracting gmp-6.2.1: .......... done
[131releng-armv7-default-job-13] `-- Installing mpc-1.2.1...
[131releng-armv7-default-job-13] |   `-- Installing mpfr-4.2.0,1...
[131releng-armv7-default-job-13] |   `-- Extracting mpfr-4.2.0,1: .......... done
[131releng-armv7-default-job-13] `-- Extracting mpc-1.2.1: ......... done
[131releng-armv7-default-job-13] Extracting gcc12-12.2.0_5: .......... 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.
===>   dkh-1.2_5 depends on executable: gfortran12 - found
===>   Returning to build of dkh-1.2_5
===>   dkh-1.2_5 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for dkh-1.2_5
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/science/dkh/work/.build
-- The Fortran compiler identification is GNU 12.2.0
-- The C compiler identification is Clang 13.0.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/local/bin/gfortran12 - skipped
-- 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
-- Setting option CMAKE_BUILD_TYPE: Release
-- Setting option BUILD_SHARED_LIBS: ON
-- Setting (unspecified) option BUILD_FPIC: ON
-- Setting (unspecified) option ENABLE_OPENMP: ON
-- Setting (unspecified) option ENABLE_GENERIC: OFF
-- Setting (unspecified) option ENABLE_XHOST: ON
-- Performing Test CMAKE_C_FLAGS [-xHost] - Failed
-- Performing Test CMAKE_C_FLAGS [-march=native] - Failed
CMake Warning at cmake/psi4OptionsTools.cmake:62 (message):
  Option unfulfilled as none of -xHost;-march=native valid
Call Stack (most recent call first):
  cmake/psi4OptionsTools.cmake:105 (add_C_or_CXX_flags)
  cmake/psi4OptionsTools.cmake:136 (add_C_flags)
  cmake/psi4OptionsTools.cmake:154 (add_flags)
  CMakeLists.txt:23 (option_with_flags)


-- Performing Test CMAKE_Fortran_FLAGS [-xHost] - Failed
-- Performing Test CMAKE_Fortran_FLAGS [-march=native] - Failed
CMake Warning at cmake/psi4OptionsTools.cmake:62 (message):
  Option unfulfilled as none of -xHost;-march=native valid
Call Stack (most recent call first):
  cmake/psi4OptionsTools.cmake:123 (add_C_or_CXX_flags)
  cmake/psi4OptionsTools.cmake:142 (add_Fortran_flags)
  cmake/psi4OptionsTools.cmake:154 (add_flags)
  CMakeLists.txt:23 (option_with_flags)


CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile):
  The test project needs language CXX which is not enabled.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS)
  cmake/autocmake_omp.cmake:30 (find_package)
  CMakeLists.txt:28 (include)


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile):
  Failed to configure test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS)
  cmake/autocmake_omp.cmake:30 (find_package)
  CMakeLists.txt:28 (include)


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

Stop.
make: stopped in /usr/ports/science/dkh