[package - 123i386-default][science/cp2k] Failed for cp2k-9.1.0 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 02 Jul 2022 22:09:24 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://beefy5.nyi.freebsd.org/data/123i386-default/b2bfaa3cf348/logs/cp2k-9.1.0.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=123i386-default&build=b2bfaa3cf348
Log:

=>> Building science/cp2k
build started at Sat Jul  2 22:08:58 UTC 2022
port directory: /usr/ports/science/cp2k
package name: cp2k-9.1.0
building for: FreeBSD 123i386-default-job-05 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 i386
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1203000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p5
UNAME_r=12.3-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
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/123i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123i386-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 cp2k-9.1.0:
     LIBINT=on: Use libint to evaluate integrals
====> Multiprocessing: you have to select exactly one of them
     SERIAL=off: Single core (no multiprocessing)
     OPENMP=on: Parallel processing support via OpenMP
     MPI=off: MPI (Message Passing Interface) support
     OPENMP_MPI=off: Enable both OpenMP and MPI
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11 -fallow-argument-mismatch" MAKE=gmake PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/science/cp2k/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/cp2k/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/cp2k/work/.cache  HOME=/wrkdirs/usr/ports/science/cp2k/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/cp2k/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--
F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11 -fallow-argument-mismatch" XDG_DATA_HOME=/wrkdirs/usr/ports/science/cp2k/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/cp2k/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/cp2k/work/.cache  HOME=/wrkdirs/usr/ports/science/cp2k/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/cp2k/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 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" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS=
 "-O2 -pipe  -fopenmp -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" /usr/lib/libgomp.so -Wl,-rpath=/usr/local/lib/gcc11  -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fopenmp -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -fopenmp -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--
PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd12  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="" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/cp2k"  EXAMPLESDIR="share/examples/cp2k"  DATADIR="share/cp2k"  WWWDIR="www/cp2k"  ETCDIR="etc/cp2k"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/cp2k DOCSDIR=/usr/local/share/doc/cp2k EXAMPLESDIR=/usr/local/share/examples/cp2k  WWWDIR=/usr/local/www/cp2k ETCDIR=/usr/local/etc/cp2k
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 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" "-m" "elf_i386_fbsd" "-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 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p5
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---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)  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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   cp2k-9.1.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[123i386-default-job-05] Installing pkg-1.18.3...
[123i386-default-job-05] Extracting pkg-1.18.3: .......... done
===>   cp2k-9.1.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cp2k-9.1.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by cp2k-9.1.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by cp2k-9.1.0 for building
=> SHA256 Checksum OK for cp2k-cp2k-v9.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for cp2k-dbcsr-f4df17b_GH0.tar.gz.
=> SHA256 Checksum OK for pseewald-fprettify-71781aa_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by cp2k-9.1.0 for building
===>  Extracting for cp2k-9.1.0
=> SHA256 Checksum OK for cp2k-cp2k-v9.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for cp2k-dbcsr-f4df17b_GH0.tar.gz.
=> SHA256 Checksum OK for pseewald-fprettify-71781aa_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for cp2k-9.1.0
===>  Applying FreeBSD patches for cp2k-9.1.0 from /usr/ports/science/cp2k/files
===========================================================================
=======================<phase: build-depends  >============================
===>   cp2k-9.1.0 depends on executable: fypp - not found
===>   Installing existing package /packages/All/py39-fypp-3.1.pkg
[123i386-default-job-05] Installing py39-fypp-3.1...
[123i386-default-job-05] `-- Installing py39-setuptools-62.1.0_1...
[123i386-default-job-05] |   `-- Installing python39-3.9.13...
[123i386-default-job-05] |   | `-- Installing gettext-runtime-0.21...
[123i386-default-job-05] |   |   `-- Installing indexinfo-0.3.1...
[123i386-default-job-05] |   |   `-- Extracting indexinfo-0.3.1: .... done
[123i386-default-job-05] |   | `-- Extracting gettext-runtime-0.21: .......... done
[123i386-default-job-05] |   | `-- Installing libffi-3.4.2...
[123i386-default-job-05] |   | `-- Extracting libffi-3.4.2: .......... done
[123i386-default-job-05] |   | `-- Installing mpdecimal-2.5.1...
[123i386-default-job-05] |   | `-- Extracting mpdecimal-2.5.1: .......... done
[123i386-default-job-05] |   | `-- Installing readline-8.1.2...
[123i386-default-job-05] |   | `-- Extracting readline-8.1.2: .......... done
[123i386-default-job-05] |   `-- Extracting python39-3.9.13: .......... done
[123i386-default-job-05] `-- Extracting py39-setuptools-62.1.0_1: .......... done
[123i386-default-job-05] Extracting py39-fypp-3.1: .......... done
=====
Message from python39-3.9.13:

--
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
===>   cp2k-9.1.0 depends on executable: fypp - found
===>   Returning to build of cp2k-9.1.0
===>   cp2k-9.1.0 depends on executable: gfortran11 - not found
===>   Installing existing package /packages/All/gcc11-11.3.0.pkg
[123i386-default-job-05] Installing gcc11-11.3.0...
[123i386-default-job-05] `-- Installing binutils-2.37_2,1...
[123i386-default-job-05] `-- Extracting binutils-2.37_2,1: .......... done
[123i386-default-job-05] `-- Installing gmp-6.2.1...
[123i386-default-job-05] `-- Extracting gmp-6.2.1: .......... done
[123i386-default-job-05] `-- Installing mpc-1.2.1...
[123i386-default-job-05] |   `-- Installing mpfr-4.1.0_1...
[123i386-default-job-05] |   `-- Extracting mpfr-4.1.0_1: .......... done
[123i386-default-job-05] `-- Extracting mpc-1.2.1: ......... done
[123i386-default-job-05] Extracting gcc11-11.3.0: .......... done
=====
Message from gcc11-11.3.0:

--
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/gcc11

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   cp2k-9.1.0 depends on executable: gfortran11 - found
===>   Returning to build of cp2k-9.1.0
===>   cp2k-9.1.0 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[123i386-default-job-05] Installing gmake-4.3_2...
[123i386-default-job-05] Extracting gmake-4.3_2: .......... done
===>   cp2k-9.1.0 depends on package: gmake>=4.3 - found
===>   Returning to build of cp2k-9.1.0
===>   cp2k-9.1.0 depends on file: /usr/local/bin/python3.9 - found
===>   cp2k-9.1.0 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   cp2k-9.1.0 depends on shared library: libblas.so - not found
===>   Installing existing package /packages/All/blas-3.10.1.pkg
[123i386-default-job-05] Installing blas-3.10.1...
[123i386-default-job-05] Extracting blas-3.10.1: ........ done
===>   cp2k-9.1.0 depends on shared library: libblas.so - found (/usr/local/lib/libblas.so)
===>   Returning to build of cp2k-9.1.0
===>   cp2k-9.1.0 depends on shared library: libfftw3.so - not found
===>   Installing existing package /packages/All/fftw3-3.3.10_1.pkg
[123i386-default-job-05] Installing fftw3-3.3.10_1...
[123i386-default-job-05] Extracting fftw3-3.3.10_1: .......... done
===>   cp2k-9.1.0 depends on shared library: libfftw3.so - found (/usr/local/lib/libfftw3.so)
===>   Returning to build of cp2k-9.1.0
===>   cp2k-9.1.0 depends on shared library: liblapack.so - not found
===>   Installing existing package /packages/All/lapack-3.10.1.pkg
[123i386-default-job-05] Installing lapack-3.10.1...
[123i386-default-job-05] Extracting lapack-3.10.1: .......... done
===>   cp2k-9.1.0 depends on shared library: liblapack.so - found (/usr/local/lib/liblapack.so)
===>   Returning to build of cp2k-9.1.0
===>   cp2k-9.1.0 depends on shared library: libint.so - not found
===>   Installing existing package /packages/All/libint-1.2.1.15.pkg
[123i386-default-job-05] Installing libint-1.2.1.15...
[123i386-default-job-05] Extracting libint-1.2.1.15: .......... done
===>   cp2k-9.1.0 depends on shared library: libint.so - found (/usr/local/lib/libint.so)
===>   Returning to build of cp2k-9.1.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for cp2k-9.1.0
The OPENMP and OPENMP_MPI options require math/fftw3
to be built and installed with the OPENMP option ON
*** Error code 1

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