[package - 130arm64-default][science/kplib] Failed for kplib-1.0.5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 21 Jul 2022 03:01:43 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://ampere3.nyi.freebsd.org/data/130arm64-default/a51002eeb3d0/logs/kplib-1.0.5.log
Build URL:      http://ampere3.nyi.freebsd.org/build.html?mastername=130arm64-default&build=a51002eeb3d0
Log:

=>> Building science/kplib
build started at Thu Jul 21 03:01:32 UTC 2022
port directory: /usr/ports/science/kplib
package name: kplib-1.0.5
building for: FreeBSD 130arm64-default-job-03 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 arm64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1300139
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p11
UNAME_r=13.0-RELEASE-p11
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
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/130arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130arm64-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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/science/kplib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/kplib/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/kplib/work/.cache  HOME=/wrkdirs/usr/ports/science/kplib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/kplib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/kplib/work/.pkgconfig:/usr/local/libdata/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/science/kplib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/kplib/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/kplib/work/.cache  HOME=/wrkdirs/usr/ports/science/kplib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/kplib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/kplib/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/science/kplib/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  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTA
 LL_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.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/kplib"  EXAMPLESDIR="share/examples/kplib"  DATADIR="share/kplib"  WWWDIR="www/kplib"  ETCDIR="etc/kplib"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/kplib DOCSDIR=/usr/local/share/doc/kplib EXAMPLESDIR=/usr/local/share/examples/kplib  WWWDIR=/usr/local/www/kplib ETCDIR=/usr/local/etc/kplib
--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
#### /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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p11
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   kplib-1.0.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[130arm64-default-job-03] Installing pkg-1.18.3...
[130arm64-default-job-03] Extracting pkg-1.18.3: .......... done
===>   kplib-1.0.5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of kplib-1.0.5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
=> muellergroup-kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea_GL0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://gitlab.com/muellergroup/kplib/-/archive/9f96d56d32f67a019066025e044dcd9e3b3316ea.tar.gz?dummy=/muellergroup-kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea_GL0.tar.gz
fetch: https://gitlab.com/muellergroup/kplib/-/archive/9f96d56d32f67a019066025e044dcd9e3b3316ea.tar.gz?dummy=/muellergroup-kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea_GL0.tar.gz: size unknown
fetch: https://gitlab.com/muellergroup/kplib/-/archive/9f96d56d32f67a019066025e044dcd9e3b3316ea.tar.gz?dummy=/muellergroup-kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea_GL0.tar.gz: size of remote file is not known
muellergroup-kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea_GL0        2893 kB 8872 kBps    00s
===> Fetching all distfiles required by kplib-1.0.5 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by kplib-1.0.5 for building
=> SHA256 Checksum OK for muellergroup-kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea_GL0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by kplib-1.0.5 for building
===>  Extracting for kplib-1.0.5
=> SHA256 Checksum OK for muellergroup-kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea_GL0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for kplib-1.0.5
===========================================================================
=======================<phase: build-depends  >============================
===>   kplib-1.0.5 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.23.2.pkg
[130arm64-default-job-03] Installing cmake-3.23.2...
[130arm64-default-job-03] `-- Installing curl-7.84.0...
[130arm64-default-job-03] |   `-- Installing ca_root_nss-3.80...
[130arm64-default-job-03] |   `-- Extracting ca_root_nss-3.80: .......... done
[130arm64-default-job-03] |   `-- Installing libnghttp2-1.48.0...
[130arm64-default-job-03] |   `-- Extracting libnghttp2-1.48.0: .......... done
[130arm64-default-job-03] |   `-- Installing libpsl-0.21.1_4...
[130arm64-default-job-03] |   | `-- Installing gettext-runtime-0.21...
[130arm64-default-job-03] |   |   `-- Installing indexinfo-0.3.1...
[130arm64-default-job-03] |   |   `-- Extracting indexinfo-0.3.1: .... done
[130arm64-default-job-03] |   | `-- Extracting gettext-runtime-0.21: .......... done
[130arm64-default-job-03] |   | `-- Installing libidn2-2.3.3...
[130arm64-default-job-03] |   |   `-- Installing libunistring-1.0...
[130arm64-default-job-03] |   |   `-- Extracting libunistring-1.0: .......... done
[130arm64-default-job-03] |   | `-- Extracting libidn2-2.3.3: .......... done
[130arm64-default-job-03] |   `-- Extracting libpsl-0.21.1_4: .......... done
[130arm64-default-job-03] |   `-- Installing libssh2-1.10.0,3...
[130arm64-default-job-03] |   `-- Extracting libssh2-1.10.0,3: .......... done
[130arm64-default-job-03] `-- Extracting curl-7.84.0: .......... done
[130arm64-default-job-03] `-- Installing expat-2.4.8...
[130arm64-default-job-03] `-- Extracting expat-2.4.8: .......... done
[130arm64-default-job-03] `-- Installing jsoncpp-1.9.5...
[130arm64-default-job-03] `-- Extracting jsoncpp-1.9.5: .......... done
[130arm64-default-job-03] `-- Installing libarchive-3.6.1,1...
[130arm64-default-job-03] |   `-- Installing liblz4-1.9.3,1...
[130arm64-default-job-03] |   `-- Extracting liblz4-1.9.3,1: .......... done
[130arm64-default-job-03] |   `-- Installing zstd-1.5.2...
[130arm64-default-job-03] |   `-- Extracting zstd-1.5.2: .......... done
[130arm64-default-job-03] `-- Extracting libarchive-3.6.1,1: .......... done
[130arm64-default-job-03] `-- Installing libuv-1.42.0...
[130arm64-default-job-03] `-- Extracting libuv-1.42.0: .......... done
[130arm64-default-job-03] `-- Installing rhash-1.4.3...
[130arm64-default-job-03] `-- Extracting rhash-1.4.3: .......... done
[130arm64-default-job-03] Extracting cmake-3.23.2: .......... done
=====
Message from ca_root_nss-3.80:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
===>   kplib-1.0.5 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of kplib-1.0.5
===>   kplib-1.0.5 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.10.2,2.pkg
[130arm64-default-job-03] Installing ninja-1.10.2,2...
[130arm64-default-job-03] `-- Installing python39-3.9.13...
[130arm64-default-job-03] |   `-- Installing libffi-3.4.2...
[130arm64-default-job-03] |   `-- Extracting libffi-3.4.2: .......... done
[130arm64-default-job-03] |   `-- Installing mpdecimal-2.5.1...
[130arm64-default-job-03] |   `-- Extracting mpdecimal-2.5.1: .......... done
[130arm64-default-job-03] |   `-- Installing readline-8.1.2...
[130arm64-default-job-03] |   `-- Extracting readline-8.1.2: .......... done
[130arm64-default-job-03] `-- Extracting python39-3.9.13: .......... done
[130arm64-default-job-03] Extracting ninja-1.10.2,2: ........ 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
===>   kplib-1.0.5 depends on executable: ninja - found
===>   Returning to build of kplib-1.0.5
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for kplib-1.0.5
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/science/kplib/work/.build
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_EXE_LINKER_FLAGS
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/science/kplib/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for kplib-1.0.5
[ 12% 2/8] /usr/bin/c++  -I/wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -Wall -Werror -fPIC -O3 -march=native -MD -MT CMakeFiles/kplib_static.dir/src/msmath.cpp.o -MF CMakeFiles/kplib_static.dir/src/msmath.cpp.o.d -o CMakeFiles/kplib_static.dir/src/msmath.cpp.o -c /wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/src/msmath.cpp
FAILED: CMakeFiles/kplib_static.dir/src/msmath.cpp.o 
/usr/bin/c++  -I/wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -Wall -Werror -fPIC -O3 -march=native -MD -MT CMakeFiles/kplib_static.dir/src/msmath.cpp.o -MF CMakeFiles/kplib_static.dir/src/msmath.cpp.o.d -o CMakeFiles/kplib_static.dir/src/msmath.cpp.o -c /wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/src/msmath.cpp
c++: error: the clang compiler does not support '-march=native'
[ 25% 2/8] /usr/bin/c++  -I/wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -Wall -Werror -fPIC -O3 -march=native -MD -MT CMakeFiles/kplib_static.dir/src/kPointLattice.cpp.o -MF CMakeFiles/kplib_static.dir/src/kPointLattice.cpp.o.d -o CMakeFiles/kplib_static.dir/src/kPointLattice.cpp.o -c /wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/src/kPointLattice.cpp
FAILED: CMakeFiles/kplib_static.dir/src/kPointLattice.cpp.o 
/usr/bin/c++  -I/wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -Wall -Werror -fPIC -O3 -march=native -MD -MT CMakeFiles/kplib_static.dir/src/kPointLattice.cpp.o -MF CMakeFiles/kplib_static.dir/src/kPointLattice.cpp.o.d -o CMakeFiles/kplib_static.dir/src/kPointLattice.cpp.o -c /wrkdirs/usr/ports/science/kplib/work/kplib-9f96d56d32f67a019066025e044dcd9e3b3316ea/src/kPointLattice.cpp
c++: error: the clang compiler does not support '-march=native'
ninja: build stopped: subcommand failed.
===> 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/kplib