[package - 133releng-armv7-default][math/costa] Failed for costa-2.2.2_1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 03 Sep 2024 18:51:47 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/133releng-armv7-default/1b6eada811a7/logs/costa-2.2.2_1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=133releng-armv7-default&build=1b6eada811a7
Log:

=>> Building math/costa
build started at Tue Sep  3 18:51:21 UTC 2024
port directory: /usr/ports/math/costa
package name: costa-2.2.2_1
building for: FreeBSD 133releng-armv7-default-job-09 13.3-RELEASE-p5 FreeBSD 13.3-RELEASE-p5 1303001 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  945 Jun 27 01:08 /usr/ports/math/costa/Makefile
Ports top last git commit: 1b6eada811a
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: 1500019
Jail OSVERSION: 1303001
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1303001
UNAME_v=FreeBSD 13.3-RELEASE-p5 1303001
UNAME_r=13.3-RELEASE-p5
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/133releng-armv7-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/133releng-armv7-default/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133releng-armv7-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 costa-2.2.2_1:
====> MPI (Message Passing Interface) support: you have to select exactly one of them
     MPICH=on: Parallel processing support via MPICH 3
     OPENMPI=off: Parallel processing support via Open MPI
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/math/costa/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/costa/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/costa/work/.cache  HOME=/wrkdirs/usr/ports/math/costa/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/costa/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/costa/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--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/math/costa/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/costa/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/costa/work/.cache  HOME=/wrkdirs/usr/ports/math/costa/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/costa/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/costa/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/math/costa/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " 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.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/costa"  EXAMPLESDIR="share/examples/costa"  DATADIR="share/costa"  WWWDIR="www/costa"  ETCDIR="etc/costa"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/costa DOCSDIR=/usr/local/share/doc/costa EXAMPLESDIR=/usr/local/share/examples/costa  WWWDIR=/usr/local/www/costa ETCDIR=/usr/local/etc/costa
--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--
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)  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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   costa-2.2.2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133releng-armv7-default-job-09] Installing pkg-1.21.3...
[133releng-armv7-default-job-09] Extracting pkg-1.21.3: .......... done
===>   costa-2.2.2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of costa-2.2.2_1
===========================================================================
=======================<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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by costa-2.2.2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by costa-2.2.2_1 for building
=> SHA256 Checksum OK for eth-cscs-COSTA-v2.2.2_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 BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by costa-2.2.2_1 for building
===>  Extracting for costa-2.2.2_1
=> SHA256 Checksum OK for eth-cscs-COSTA-v2.2.2_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 costa-2.2.2_1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   costa-2.2.2_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.2.pkg
[133releng-armv7-default-job-09] Installing cmake-core-3.30.2...
[133releng-armv7-default-job-09] `-- Installing expat-2.6.2...
[133releng-armv7-default-job-09] `-- Extracting expat-2.6.2: .......... done
[133releng-armv7-default-job-09] `-- Installing jsoncpp-1.9.5...
[133releng-armv7-default-job-09] `-- Extracting jsoncpp-1.9.5: .......... done
[133releng-armv7-default-job-09] `-- Installing libuv-1.48.0...
[133releng-armv7-default-job-09] `-- Extracting libuv-1.48.0: .......... done
[133releng-armv7-default-job-09] `-- Installing rhash-1.4.4_1...
[133releng-armv7-default-job-09] |   `-- Installing gettext-runtime-0.22.5...
[133releng-armv7-default-job-09] |   | `-- Installing indexinfo-0.3.1...
[133releng-armv7-default-job-09] |   | `-- Extracting indexinfo-0.3.1: .... done
[133releng-armv7-default-job-09] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[133releng-armv7-default-job-09] `-- Extracting rhash-1.4.4_1: .......... done
[133releng-armv7-default-job-09] Extracting cmake-core-3.30.2: .......... done
===>   costa-2.2.2_1 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of costa-2.2.2_1
===>   costa-2.2.2_1 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.11.1,4.pkg
[133releng-armv7-default-job-09] Installing ninja-1.11.1,4...
[133releng-armv7-default-job-09] `-- Installing python311-3.11.9_1...
[133releng-armv7-default-job-09] |   `-- Installing libffi-3.4.6...
[133releng-armv7-default-job-09] |   `-- Extracting libffi-3.4.6: .......... done
[133releng-armv7-default-job-09] |   `-- Installing mpdecimal-4.0.0...
[133releng-armv7-default-job-09] |   `-- Extracting mpdecimal-4.0.0: .......... done
[133releng-armv7-default-job-09] |   `-- Installing readline-8.2.10...
[133releng-armv7-default-job-09] |   `-- Extracting readline-8.2.10: .......... done
[133releng-armv7-default-job-09] `-- Extracting python311-3.11.9_1: .......... done
[133releng-armv7-default-job-09] Extracting ninja-1.11.1,4: ........ done
=====
Message from python311-3.11.9_1:

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

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   costa-2.2.2_1 depends on executable: ninja - found
===>   Returning to build of costa-2.2.2_1
===>   costa-2.2.2_1 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.3.0,1.pkg
[133releng-armv7-default-job-09] Installing pkgconf-2.3.0,1...
[133releng-armv7-default-job-09] Extracting pkgconf-2.3.0,1: .......... done
===>   costa-2.2.2_1 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of costa-2.2.2_1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   costa-2.2.2_1 depends on shared library: libopenblas.so - not found
===>   Installing existing package /packages/All/openblas-0.3.27,2.pkg
[133releng-armv7-default-job-09] Installing openblas-0.3.27,2...
[133releng-armv7-default-job-09] `-- Installing gcc13-13.2.0_4...
[133releng-armv7-default-job-09] |   `-- Installing binutils-2.40_7,1...
[133releng-armv7-default-job-09] |   | `-- Installing zstd-1.5.6...
[133releng-armv7-default-job-09] |   |   `-- Installing liblz4-1.10.0,1...
[133releng-armv7-default-job-09] |   |   `-- Extracting liblz4-1.10.0,1: .......... done
[133releng-armv7-default-job-09] |   | `-- Extracting zstd-1.5.6: .......... done
[133releng-armv7-default-job-09] |   `-- Extracting binutils-2.40_7,1: .......... done
[133releng-armv7-default-job-09] |   `-- Installing gmp-6.3.0...
[133releng-armv7-default-job-09] |   `-- Extracting gmp-6.3.0: .......... done
[133releng-armv7-default-job-09] |   `-- Installing mpc-1.3.1_1...
[133releng-armv7-default-job-09] |   | `-- Installing mpfr-4.2.1,1...
[133releng-armv7-default-job-09] |   | `-- Extracting mpfr-4.2.1,1: .......... done
[133releng-armv7-default-job-09] |   `-- Extracting mpc-1.3.1_1: ......... done
[133releng-armv7-default-job-09] `-- Extracting gcc13-13.2.0_4: .......... done
[133releng-armv7-default-job-09] Extracting openblas-0.3.27,2: .......... done
=====
Message from gcc13-13.2.0_4:

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

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   costa-2.2.2_1 depends on shared library: libopenblas.so - found (/usr/local/lib/libopenblas.so)
===>   Returning to build of costa-2.2.2_1
===>   costa-2.2.2_1 depends on shared library: libscalapack.so - not found
===>   Installing existing package /packages/All/scalapack-2.2.0_4.pkg
[133releng-armv7-default-job-09] Installing scalapack-2.2.0_4...
[133releng-armv7-default-job-09] `-- Installing mpich-4.2.2...
[133releng-armv7-default-job-09] |   `-- Installing hwloc2-2.8.0_1...
[133releng-armv7-default-job-09] |   | `-- Installing level-zero-1.17.25...
[133releng-armv7-default-job-09] |   |   `-- Installing libfmt-10.2.1...
[133releng-armv7-default-job-09] |   |   `-- Extracting libfmt-10.2.1: .......... done
[133releng-armv7-default-job-09] |   |   `-- Installing spdlog-1.14.1...
[133releng-armv7-default-job-09] |   |   `-- Extracting spdlog-1.14.1: .......... done
[133releng-armv7-default-job-09] |   | `-- Extracting level-zero-1.17.25: .......... done
[133releng-armv7-default-job-09] |   | `-- Installing libpciaccess-0.18.1...
[133releng-armv7-default-job-09] |   | `-- Extracting libpciaccess-0.18.1: ........ done
[133releng-armv7-default-job-09] |   | `-- Installing libxml2-2.11.8...
[133releng-armv7-default-job-09] |   | `-- Extracting libxml2-2.11.8: .......... done
[133releng-armv7-default-job-09] |   `-- Extracting hwloc2-2.8.0_1: .......... done
[133releng-armv7-default-job-09] |   `-- Installing json-c-0.17...
[133releng-armv7-default-job-09] |   `-- Extracting json-c-0.17: .......... done
[133releng-armv7-default-job-09] |   `-- Installing libepoll-shim-0.0.20240608...
[133releng-armv7-default-job-09] |   `-- Extracting libepoll-shim-0.0.20240608: .......... done
[133releng-armv7-default-job-09] |   `-- Installing libfabric-1.15.1_2...
[133releng-armv7-default-job-09] |   `-- Extracting libfabric-1.15.1_2: .......... done
[133releng-armv7-default-job-09] |   `-- Installing perl5-5.36.3_2...
[133releng-armv7-default-job-09] |   `-- Extracting perl5-5.36.3_2: .......... done
[133releng-armv7-default-job-09] `-- Extracting mpich-4.2.2: .......... done
[133releng-armv7-default-job-09] Extracting scalapack-2.2.0_4: .......... done
=====
Message from scalapack-2.2.0_4:

--
Please test your scalapack installation
 Example programs are located at /usr/local/share/examples/SCALAPACK

 Test programs are located at /usr/local/share/SCALAPACK/TESTING

 Example:
  % cd /usr/local/share/SCALAPACK/TESTING
  % /usr/local/bin/mpirun -np 4 ./xcbrd
  % /usr/local/bin/mpirun -np 4 ./xcdblu
   etc., etc. ...

  to perform all the tests,
  % cd /usr/local/share/SCALAPACK/TESTING
  % csh
  % foreach i (x*)
  ? /usr/local/bin/mpirun -np 4 ./$i >& ~/$i.log
  ? end
  % /usr/local/bin/mpdallexit

 If you're using OpenMPI, use this instead:
  % cd /usr/local/share/SCALAPACK/TESTING
  % LD_LIBRARY_PATH=/usr/local/mpi/openmpi/lib/ export LD_LIBRARY_PATH
  % PATH=$PATH:/usr/local/mpi/openmpi/bin/ export PATH
  % mpirun -np 4 ./xcbrd
  % mpirun -np 4 ./xcdblu
   etc., etc. ...

You can change -np 4 to any number to meet your environment.
See files at /usr/local/share/doc/scalapack for detail.
--
===>   NOTICE:

The scalapack 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
===>   costa-2.2.2_1 depends on shared library: libscalapack.so - found (/usr/local/lib/libscalapack.so)
===>   Returning to build of costa-2.2.2_1
===>   costa-2.2.2_1 depends on shared library: libmpich.so - found (/usr/local/lib/libmpich.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for costa-2.2.2_1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/math/costa/work/.build
-- The CXX compiler identification is Clang 17.0.6
-- 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
-- Selected ScaLAPACK backend (or implementation) for COSTA: CUSTOM
-- Found MPI_CXX: /usr/local/lib/libmpicxx.so (found version "4.1")
-- Found MPI: TRUE (found version "4.1") found components: CXX
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:600 (find_package_handle_standard_args)
  CMakeLists.txt:59 (find_package)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/math/costa