[package - 133releng-armv7-default][science/openmx] Failed for openmx-3.9.9 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 21 Sep 2024 10:46:00 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/14728ba1fb78/logs/openmx-3.9.9.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=133releng-armv7-default&build=14728ba1fb78
Log:

=>> Building science/openmx
build started at Sat Sep 21 10:45:31 UTC 2024
port directory: /usr/ports/science/openmx
package name: openmx-3.9.9
building for: FreeBSD 133releng-armv7-default-job-02 13.3-RELEASE-p6 FreeBSD 13.3-RELEASE-p6 1303001 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2303 Jun 27 01:08 /usr/ports/science/openmx/Makefile
Ports top last git commit: 14728ba1fb7
Ports top unclean checkout: no
Port dir last git commit: 47a5a87c579
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1303001
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1303001
UNAME_v=FreeBSD 13.3-RELEASE-p6 1303001
UNAME_r=13.3-RELEASE-p6
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/02/.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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -fallow-argument-mismatch -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -fallow-argument-mismatch -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/science/openmx/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/openmx/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/openmx/work/.cache  HOME=/wrkdirs/usr/ports/science/openmx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/openmx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/openmx/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--
MPICH_CC=cc F77="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -fallow-argument-mismatch -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -fallow-argument-mismatch -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" XDG_DATA_HOME=/wrkdirs/usr/ports/science/openmx/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/openmx/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/openmx/work/.cache  HOME=/wrkdirs/usr/ports/science/openmx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/openmx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/openmx/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/loc
al/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  -Dkcomp -fcommon -Dnosse -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -lmpifort -Wl,-rpath=/usr/local/lib/gcc13  -L/usr/local/lib/gcc13 -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -Dkcomp -fcommon -Dnosse -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -std=c++11 " 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--
OSREL=13.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/openmx"  EXAMPLESDIR="share/examples/openmx"  DATADIR="share/openmx"  WWWDIR="www/openmx"  ETCDIR="etc/openmx"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/openmx DOCSDIR=/usr/local/share/doc/openmx EXAMPLESDIR=/usr/local/share/examples/openmx  WWWDIR=/usr/local/www/openmx ETCDIR=/usr/local/etc/openmx
--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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   openmx-3.9.9 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133releng-armv7-default-job-02] Installing pkg-1.21.3...
[133releng-armv7-default-job-02] Extracting pkg-1.21.3: .......... done
===>   openmx-3.9.9 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of openmx-3.9.9
===========================================================================
=======================<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 GPLv2 accepted by the user
===> Fetching all distfiles required by openmx-3.9.9 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by openmx-3.9.9 for building
=> SHA256 Checksum OK for openmx/openmx3.9.tar.gz.
=> SHA256 Checksum OK for openmx/patch3.9.9.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 GPLv2 accepted by the user
===> Fetching all distfiles required by openmx-3.9.9 for building
===>  Extracting for openmx-3.9.9
=> SHA256 Checksum OK for openmx/openmx3.9.tar.gz.
=> SHA256 Checksum OK for openmx/patch3.9.9.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 openmx-3.9.9
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for openmx-3.9.9 from /usr/ports/science/openmx/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   openmx-3.9.9 depends on executable: gfortran13 - not found
===>   Installing existing package /packages/All/gcc13-13.3.0.pkg
[133releng-armv7-default-job-02] Installing gcc13-13.3.0...
[133releng-armv7-default-job-02] `-- Installing binutils-2.43,1...
[133releng-armv7-default-job-02] |   `-- Installing indexinfo-0.3.1...
[133releng-armv7-default-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[133releng-armv7-default-job-02] |   `-- Installing zstd-1.5.6...
[133releng-armv7-default-job-02] |   | `-- Installing liblz4-1.10.0,1...
[133releng-armv7-default-job-02] |   | `-- Extracting liblz4-1.10.0,1: .......... done
[133releng-armv7-default-job-02] |   `-- Extracting zstd-1.5.6: .......... done
[133releng-armv7-default-job-02] `-- Extracting binutils-2.43,1: .......... done
[133releng-armv7-default-job-02] `-- Installing gmp-6.3.0...
[133releng-armv7-default-job-02] `-- Extracting gmp-6.3.0: .......... done
[133releng-armv7-default-job-02] `-- Installing mpc-1.3.1_1...
[133releng-armv7-default-job-02] |   `-- Installing mpfr-4.2.1,1...
[133releng-armv7-default-job-02] |   `-- Extracting mpfr-4.2.1,1: .......... done
[133releng-armv7-default-job-02] `-- Extracting mpc-1.3.1_1: ......... done
[133releng-armv7-default-job-02] Extracting gcc13-13.3.0: .......... done
=====
Message from gcc13-13.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/gcc13

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   openmx-3.9.9 depends on executable: gfortran13 - found
===>   Returning to build of openmx-3.9.9
===>   openmx-3.9.9 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[133releng-armv7-default-job-02] Installing gmake-4.4.1...
[133releng-armv7-default-job-02] `-- Installing gettext-runtime-0.22.5...
[133releng-armv7-default-job-02] `-- Extracting gettext-runtime-0.22.5: .......... done
[133releng-armv7-default-job-02] Extracting gmake-4.4.1: .......... done
===>   openmx-3.9.9 depends on package: gmake>=4.4.1 - found
===>   Returning to build of openmx-3.9.9
===>   openmx-3.9.9 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   openmx-3.9.9 depends on shared library: libblas.so - not found
===>   Installing existing package /packages/All/blas-3.12.0_1.pkg
[133releng-armv7-default-job-02] Installing blas-3.12.0_1...
[133releng-armv7-default-job-02] Extracting blas-3.12.0_1: ........ done
===>   openmx-3.9.9 depends on shared library: libblas.so - found (/usr/local/lib/libblas.so)
===>   Returning to build of openmx-3.9.9
===>   openmx-3.9.9 depends on shared library: libcblas.so - not found
===>   Installing existing package /packages/All/cblas-3.12.0_1.pkg
[133releng-armv7-default-job-02] Installing cblas-3.12.0_1...
[133releng-armv7-default-job-02] Extracting cblas-3.12.0_1: .......... done
===>   openmx-3.9.9 depends on shared library: libcblas.so - found (/usr/local/lib/libcblas.so)
===>   Returning to build of openmx-3.9.9
===>   openmx-3.9.9 depends on shared library: libfftw3.so - not found
===>   Installing existing package /packages/All/fftw3-3.3.10_5.pkg
[133releng-armv7-default-job-02] Installing fftw3-3.3.10_5...
[133releng-armv7-default-job-02] Extracting fftw3-3.3.10_5: .......... done
===>   openmx-3.9.9 depends on shared library: libfftw3.so - found (/usr/local/lib/libfftw3.so)
===>   Returning to build of openmx-3.9.9
===>   openmx-3.9.9 depends on shared library: liblapack.so - not found
===>   Installing existing package /packages/All/lapack-3.12.0_2.pkg
[133releng-armv7-default-job-02] Installing lapack-3.12.0_2...
[133releng-armv7-default-job-02] Extracting lapack-3.12.0_2: .......... done
===>   openmx-3.9.9 depends on shared library: liblapack.so - found (/usr/local/lib/liblapack.so)
===>   Returning to build of openmx-3.9.9
===>   openmx-3.9.9 depends on shared library: libmpich.so - not found
===>   Installing existing package /packages/All/mpich-4.2.2.pkg
[133releng-armv7-default-job-02] Installing mpich-4.2.2...
[133releng-armv7-default-job-02] `-- Installing hwloc2-2.8.0_1...
[133releng-armv7-default-job-02] |   `-- Installing level-zero-1.17.39...
[133releng-armv7-default-job-02] |   | `-- Installing libfmt-10.2.1...
[133releng-armv7-default-job-02] |   | `-- Extracting libfmt-10.2.1: .......... done
[133releng-armv7-default-job-02] |   | `-- Installing spdlog-1.14.1...
[133releng-armv7-default-job-02] |   | `-- Extracting spdlog-1.14.1: .......... done
[133releng-armv7-default-job-02] |   `-- Extracting level-zero-1.17.39: .......... done
[133releng-armv7-default-job-02] |   `-- Installing libpciaccess-0.18.1...
[133releng-armv7-default-job-02] |   `-- Extracting libpciaccess-0.18.1: ........ done
[133releng-armv7-default-job-02] |   `-- Installing libxml2-2.11.8...
[133releng-armv7-default-job-02] |   | `-- Installing readline-8.2.13...
[133releng-armv7-default-job-02] |   | `-- Extracting readline-8.2.13: .......... done
[133releng-armv7-default-job-02] |   `-- Extracting libxml2-2.11.8: .......... done
[133releng-armv7-default-job-02] `-- Extracting hwloc2-2.8.0_1: .......... done
[133releng-armv7-default-job-02] `-- Installing json-c-0.17...
[133releng-armv7-default-job-02] `-- Extracting json-c-0.17: .......... done
[133releng-armv7-default-job-02] `-- Installing libepoll-shim-0.0.20240608...
[133releng-armv7-default-job-02] `-- Extracting libepoll-shim-0.0.20240608: .......... done
[133releng-armv7-default-job-02] `-- Installing libfabric-1.15.1_2...
[133releng-armv7-default-job-02] `-- Extracting libfabric-1.15.1_2: .......... done
[133releng-armv7-default-job-02] `-- Installing perl5-5.36.3_2...
[133releng-armv7-default-job-02] `-- Extracting perl5-5.36.3_2: .......... done
[133releng-armv7-default-job-02] Extracting mpich-4.2.2: .......... done
===>   openmx-3.9.9 depends on shared library: libmpich.so - found (/usr/local/lib/libmpich.so)
===>   Returning to build of openmx-3.9.9
===>   openmx-3.9.9 depends on shared library: libscalapack.so - not found
===>   Installing existing package /packages/All/scalapack-2.2.0_4.pkg
[133releng-armv7-default-job-02] Installing scalapack-2.2.0_4...
[133releng-armv7-default-job-02] `-- Installing openblas-0.3.27,2...
[133releng-armv7-default-job-02] `-- Extracting openblas-0.3.27,2: .......... done
[133releng-armv7-default-job-02] 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
===>   openmx-3.9.9 depends on shared library: libscalapack.so - found (/usr/local/lib/libscalapack.so)
===>   Returning to build of openmx-3.9.9
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for openmx-3.9.9
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for openmx-3.9.9
mpicc -fopenmp -O2 -pipe  -Dkcomp -fcommon -Dnosse -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I./elpa-2018.05.001 -c openmx.c
openmx.c:69:10: fatal error: 'omp.h' file not found
   69 | #include <omp.h>
      |          ^~~~~~~
1 error generated.
gmake: *** [makefile:222: openmx.o] Error 1
*** Error code 1

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