[package - main-arm64-default][science/mdynamix] Failed for mdynamix-5.2.8_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 19 Nov 2023 23:11:45 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-arm64-default/p9de5e97e9bf7_sfd9ae9ac04e/logs/mdynamix-5.2.8_5.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p9de5e97e9bf7_sfd9ae9ac04e
Log:

=>> Building science/mdynamix
build started at Sun Nov 19 23:11:10 UTC 2023
port directory: /usr/ports/science/mdynamix
package name: mdynamix-5.2.8_5
building for: FreeBSD main-arm64-default-job-13 15.0-CURRENT FreeBSD 15.0-CURRENT 1500003 arm64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 978 Apr 25  2023 /usr/ports/science/mdynamix/Makefile
Ports top last git commit: 9de5e97e9bf
Ports top unclean checkout: no
Port dir last git commit: 8d3e020ed03
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.0-1258-gbc38e2e6
Host OSVERSION: 1500000
Jail OSVERSION: 1500003
Job Id: 13




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500003
UNAME_v=FreeBSD 15.0-CURRENT 1500003
UNAME_r=15.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
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0-1258-gbc38e2e6
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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/main-arm64-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.0-1258-gbc38e2e6
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="gfortran12" F90="gfortran12" FC="gfortran12"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12 -fallow-argument-mismatch" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12 -fallow-argument-mismatch" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/science/mdynamix/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/mdynamix/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/mdynamix/work/.cache  HOME=/wrkdirs/usr/ports/science/mdynamix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/mdynamix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/mdynamix/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 -fallow-argument-mismatch" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12 -fallow-argument-mismatch" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" XDG_DATA_HOME=/wrkdirs/usr/ports/science/mdynamix/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/mdynamix/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/mdynamix/work/.cache  HOME=/wrkdirs/usr/ports/science/mdynamix/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/mdynamix/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/mdynamix/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -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--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mdynamix"  EXAMPLESDIR="share/examples/mdynamix"  DATADIR="share/mdynamix"  WWWDIR="www/mdynamix"  ETCDIR="etc/mdynamix"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mdynamix DOCSDIR=/usr/local/share/doc/mdynamix EXAMPLESDIR=/usr/local/share/examples/mdynamix  WWWDIR=/usr/local/www/mdynamix ETCDIR=/usr/local/etc/mdynamix
--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
####  ####
# 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)  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)  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
===>   mdynamix-5.2.8_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[main-arm64-default-job-13] Installing pkg-1.20.9...
[main-arm64-default-job-13] Extracting pkg-1.20.9: .......... done
ldconfig: warning: /lib32: No such file or directory
===>   mdynamix-5.2.8_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mdynamix-5.2.8_5
===========================================================================
=======================<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 mdynamix-5.2.8_5 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 mdynamix-5.2.8_5 for building
=> SHA256 Checksum OK for md528.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 mdynamix-5.2.8_5 for building
===>  Extracting for mdynamix-5.2.8_5
=> SHA256 Checksum OK for md528.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 mdynamix-5.2.8_5
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mdynamix-5.2.8_5 depends on executable: gfortran12 - not found
===>   Installing existing package /packages/All/gcc12-12.2.0_6.pkg
[main-arm64-default-job-13] Installing gcc12-12.2.0_6...
[main-arm64-default-job-13] `-- Installing binutils-2.40_4,1...
[main-arm64-default-job-13] |   `-- Installing gettext-runtime-0.22.3...
[main-arm64-default-job-13] |   | `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-13] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-13] |   `-- Extracting gettext-runtime-0.22.3: .......... done
ldconfig: warning: /lib32: No such file or directory
[main-arm64-default-job-13] |   `-- Installing zstd-1.5.5...
[main-arm64-default-job-13] |   | `-- Installing liblz4-1.9.4,1...
[main-arm64-default-job-13] |   | `-- Extracting liblz4-1.9.4,1: .......... done
ldconfig: warning: /lib32: No such file or directory
[main-arm64-default-job-13] |   `-- Extracting zstd-1.5.5: .......... done
ldconfig: warning: /lib32: No such file or directory
[main-arm64-default-job-13] `-- Extracting binutils-2.40_4,1: .......... done
[main-arm64-default-job-13] `-- Installing gmp-6.3.0...
<snip>
Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:557:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:560:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:551:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:552:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:557:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:560:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:551:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:552:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:557:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:560:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:551:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:552:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:557:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:560:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:551:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:552:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:557:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:560:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:551:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:552:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:557:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
mpif.h:560:12:

Warning: Legacy Extension: SAVE statement at (1) follows blanket SAVE statement
pimd.f:531:25:

  531 |       call MPI_ALLREDUCE(BUFF,BUF2,IBUF,MPI_REAL,
      |                         1
......
 1117 |       call MPI_ALLREDUCE(BUFF,BUF2,IBUF,MPI_DOUBLE_PRECISION,
      |                         2
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)).
pimd.f:531:30:

  531 |       call MPI_ALLREDUCE(BUFF,BUF2,IBUF,MPI_REAL,
      |                              1
......
 1117 |       call MPI_ALLREDUCE(BUFF,BUF2,IBUF,MPI_DOUBLE_PRECISION,
      |                              2
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)).
gfortran   -O -Wl,-rpath=/usr/local/lib/gcc12 -fallow-argument-mismatch -ffast-math  -c -o setup.o setup.f
setup.f:965:72:

  965 |       DO 100 J = 1,NRY
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1)
setup.f:966:72:

  966 |       DO 100 K = 1,NRZ
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1)
mpif77 -O -Wl,-rpath=/usr/local/lib/gcc12 -fallow-argument-mismatch -ffast-math  -c -o setup.o setup.f
setup.f:965:72:

  965 |       DO 100 J = 1,NRY
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1)
setup.f:966:72:

  966 |       DO 100 K = 1,NRZ
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1)
gfortran   -O -Wl,-rpath=/usr/local/lib/gcc12 -fallow-argument-mismatch -ffast-math  -c -o util.o util.f
util.f:168:72:

  168 |       DO 20 J=1,N
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1)
util.f:169:72:

  169 |    20 A(I,J)=A(I,J)/SCL
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1)
util.f:171:72:

  171 |       DO 30 J=1,N
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 30 at (1)
util.f:177:72:

  177 |       DO 100 J=1,IU1
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 100 at (1)
util.f:178:72:

  178 |   100 TES=TES+2.D0*A(I,J)*A(I,J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1)
util.f:185:72:

  185 |       DO 165 J=1,IUU1
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 165 at (1)
util.f:202:72:

  202 |       IF(K-I)140,135,135
      |                                                                        1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
util.f:207:72:

  207 |   140 IF(K-J)145,150,150
      |                                                                        1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
util.f:223:72:

  223 |       IF(M-1)175,170,170
      |                                                                        1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
util.f:226:72:

  226 |   175 IF(TES-RHO)180,180,105
      |                                                                        1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
util.f:228:72:

  228 |       DO 190 J=1,N
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 190 at (1)
util.f:229:72:

  229 |   190 A(I,J)=SCL*A(I,J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1)
util.f:478:72:

  478 |       IF(NDIM-6)5,5,2
      |                                                                        1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
util.f:484:72:

  484 |       IF(I-NDIM)3,6,6
      |                                                                        1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
gfortran   -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -fstack-protector-strong  -o md aver.o cpu_intel.o input.o forces.o main.o mdee.o mdstep.o restart.o scalar.o service.o setup.o util.o 
mpif77 -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -fstack-protector-strong  -o mdp aver.o cpu_mpi.o input.o forces.o main.o mdee.o mdstep.o restart.o mpi.o pimd.o service.o setup.o util.o 
/usr/local/bin/ld: main.o: in function `MAIN__':
main.f:(.text+0x15dc): undefined reference to `iunits_'
/usr/local/bin/ld: main.f:(.text+0x2798): undefined reference to `fcc_'
/usr/local/bin/ld: main.f:(.text+0x2884): undefined reference to `dnasol_'
/usr/local/bin/ld: main.f:(.text+0x288c): undefined reference to `sphole_'
/usr/local/bin/ld: main.f:(.text+0x28e0): undefined reference to `cubic_'
/usr/local/bin/ld: main.f:(.text+0x3d4c): undefined reference to `bndlst_'
/usr/local/bin/ld: main.f:(.text+0x4c08): undefined reference to `pullini_'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile.gfortran:10: default] Error 1
make[2]: Leaving directory '/wrkdirs/usr/ports/science/mdynamix/work/md528'
gmake[1]: *** [Makefile:2: default] Error 2
gmake[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/wrkdirs/usr/ports/science/mdynamix/work/md528'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/science/mdynamix/work/md528'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

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