[package - main-armv7-default][math/levmar] Failed for levmar-2.6_16 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 26 Sep 2024 05:58:02 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:     phd_kimberlite@yahoo.co.jp
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p0047206c1c4f_s666303f59/logs/levmar-2.6_16.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p0047206c1c4f_s666303f59
Log:

=>> Building math/levmar
build started at Thu Sep 26 05:57:46 UTC 2024
port directory: /usr/ports/math/levmar
package name: levmar-2.6_16
building for: FreeBSD main-armv7-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: phd_kimberlite@yahoo.co.jp
Makefile datestamp: -rw-r--r--  1 root wheel 2082 Jan  6  2024 /usr/ports/math/levmar/Makefile
Ports top last git commit: 0047206c1c4
Ports top unclean checkout: no
Port dir last git commit: f2489ab0c72
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
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
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/main-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/main-armv7-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-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 levmar-2.6_16:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     PROFILE=off: Build a profiling library
====> Options available for the single BLASLIB: you have to select exactly one of them
     ATLAS=off: ATLAS BLAS implementation
     NETLIB=on: BLAS implementation from Netlib
     OPENBLAS=off: OpenBLAS BLAS implementation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
phd_kimberlite@yahoo.co.jp
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" XDG_DATA_HOME=/wrkdirs/usr/ports/math/levmar/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/levmar/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/levmar/work/.cache  HOME=/wrkdirs/usr/ports/math/levmar/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/levmar/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/levmar/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="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" WITHOUT_PROFILE=true XDG_DATA_HOME=/wrkdirs/usr/ports/math/levmar/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/levmar/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/levmar/work/.cache  HOME=/wrkdirs/usr/ports/math/levmar/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/levmar/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/levmar/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/loc
al/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/gcc13  -L/usr/local/lib/gcc13 -L/usr/local/lib -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--
PORTDOCS="" PORTEXAMPLES="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/levmar"  EXAMPLESDIR="share/examples/levmar"  DATADIR="share/levmar"  WWWDIR="www/levmar"  ETCDIR="etc/levmar"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/levmar DOCSDIR=/usr/local/share/doc/levmar EXAMPLESDIR=/usr/local/share/examples/levmar  WWWDIR=/usr/local/www/levmar ETCDIR=/usr/local/etc/levmar
--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
===>   levmar-2.6_16 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-10] Installing pkg-1.21.3...
[main-armv7-default-job-10] Extracting pkg-1.21.3: .......... done
===>   levmar-2.6_16 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of levmar-2.6_16
===========================================================================
=======================<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 levmar-2.6_16 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 levmar-2.6_16 for building
=> SHA256 Checksum OK for levmar-2.6.tgz.
===========================================================================
=======================<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 levmar-2.6_16 for building
===>  Extracting for levmar-2.6_16
=> SHA256 Checksum OK for levmar-2.6.tgz.
===========================================================================
=======================<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 levmar-2.6_16
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   levmar-2.6_16 depends on executable: gfortran13 - not found
===>   Installing existing package /packages/All/gcc13-13.3.0.pkg
[main-armv7-default-job-10] Installing gcc13-13.3.0...
[main-armv7-default-job-10] `-- Installing binutils-2.43,1...
[main-armv7-default-job-10] |   `-- Installing indexinfo-0.3.1...
[main-armv7-default-job-10] |   `-- Extracting indexinfo-0.3.1: .... done
[main-armv7-default-job-10] |   `-- Installing zstd-1.5.6...
[main-armv7-default-job-10] |   | `-- Installing liblz4-1.10.0,1...
[main-armv7-default-job-10] |   | `-- Extracting liblz4-1.10.0,1: .......... done
[main-armv7-default-job-10] |   `-- Extracting zstd-1.5.6: .......... done
[main-armv7-default-job-10] `-- Extracting binutils-2.43,1: .......... done
[main-armv7-default-job-10] `-- Installing gmp-6.3.0...
[main-armv7-default-job-10] `-- Extracting gmp-6.3.0: .......... done
[main-armv7-default-job-10] `-- Installing mpc-1.3.1_1...
[main-armv7-default-job-10] |   `-- Installing mpfr-4.2.1,1...
[main-armv7-default-job-10] |   `-- Extracting mpfr-4.2.1,1: .......... done
[main-armv7-default-job-10] `-- Extracting mpc-1.3.1_1: ......... done
[main-armv7-default-job-10] 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.
===>   levmar-2.6_16 depends on executable: gfortran13 - found
===>   Returning to build of levmar-2.6_16
===>   levmar-2.6_16 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   levmar-2.6_16 depends on shared library: libblas.so - not found
===>   Installing existing package /packages/All/blas-3.12.0_1.pkg
[main-armv7-default-job-10] Installing blas-3.12.0_1...
[main-armv7-default-job-10] Extracting blas-3.12.0_1: ........ done
===>   levmar-2.6_16 depends on shared library: libblas.so - found (/usr/local/lib/libblas.so)
===>   Returning to build of levmar-2.6_16
===>   levmar-2.6_16 depends on shared library: liblapack.so - not found
===>   Installing existing package /packages/All/lapack-3.12.0_2.pkg
[main-armv7-default-job-10] Installing lapack-3.12.0_2...
[main-armv7-default-job-10] Extracting lapack-3.12.0_2: .......... done
===>   levmar-2.6_16 depends on shared library: liblapack.so - found (/usr/local/lib/liblapack.so)
===>   Returning to build of levmar-2.6_16
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for levmar-2.6_16
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for levmar-2.6_16
--- objwarn ---
Warning: Object directory not changed from original /wrkdirs/usr/ports/math/levmar/work/levmar-2.6
--- lm.o ---
--- Axb.o ---
--- misc.o ---
--- lm.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lm.o -MTlm.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lm.c -o lm.o
--- Axb.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.Axb.o -MTAxb.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c Axb.c -o Axb.o
--- misc.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.misc.o -MTmisc.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c misc.c -o misc.o
--- lmlec.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmlec.o -MTlmlec.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmlec.c -o lmlec.o
--- lmbc.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmbc.o -MTlmbc.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmbc.c -o lmbc.o
--- lmblec.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmblec.o -MTlmblec.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmblec.c -o lmblec.o
--- lmbleic.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmbleic.o -MTlmbleic.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmbleic.c -o lmbleic.o
--- lm.pico ---
cc -fpic -DPIC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lm.pico -MTlm.pico -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lm.c -o lm.pico
--- Axb.pico ---
cc -fpic -DPIC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.Axb.pico -MTAxb.pico -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c Axb.c -o Axb.pico
--- misc.pico ---
cc -fpic -DPIC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.misc.pico -MTmisc.pico -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c misc.c -o misc.pico
--- lmlec.pico ---
cc -fpic -DPIC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmlec.pico -MTlmlec.pico -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmlec.c -o lmlec.pico
--- lmbc.pico ---
cc -fpic -DPIC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmbc.pico -MTlmbc.pico -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmbc.c -o lmbc.pico
--- lmblec.pico ---
cc -fpic -DPIC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmblec.pico -MTlmblec.pico -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmblec.c -o lmblec.pico
--- lmbleic.pico ---
cc -fpic -DPIC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing    -MD  -MF.depend.lmbleic.pico -MTlmbleic.pico -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong    -Qunused-arguments     -c lmbleic.c -o lmbleic.pico
--- liblevmar.a ---
building static levmar library
/usr/local/bin/ar -crsD liblevmar.a lm.o Axb.o misc.o lmlec.o lmbc.o lmblec.o lmbleic.o  
--- liblevmar.so.2 ---
building shared library liblevmar.so.2
cc  -Wl,-rpath=/usr/local/lib/gcc13  -L/usr/local/lib/gcc13 -L/usr/local/lib -fstack-protector-strong  -Wl,-zrelro -Wl,-znoexecstack  --ld-path=/usr/local/bin/ld  -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o liblevmar.so.2 -Wl,-soname,liblevmar.so.2 lm.pico Axb.pico misc.pico lmlec.pico lmbc.pico lmblec.pico lmbleic.pico 
/usr/local/bin/ld: error: unsupported option: -z relro
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [liblevmar.so.2] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/math/levmar/work/levmar-2.6
make: 1 error

make: stopped making "all" in /wrkdirs/usr/ports/math/levmar/work/levmar-2.6
===> 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 making "build" in /usr/ports/math/levmar