[package - 131i386-default][science/eccodes] Failed for eccodes-2.30.0 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 22 Apr 2023 01:17: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:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy15/data/131i386-default/a9e3eeda87a7/logs/eccodes-2.30.0.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=131i386-default&build=a9e3eeda87a7
Log:

=>> Building science/eccodes
build started at Sat Apr 22 01:15:49 UTC 2023
port directory: /usr/ports/science/eccodes
package name: eccodes-2.30.0
building for: FreeBSD 131i386-default-job-13 13.1-RELEASE-p7 FreeBSD 13.1-RELEASE-p7 i386
maintained by: sunpoet@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p7
UNAME_r=13.1-RELEASE-p7
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/131i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131i386-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---
===> The following configuration options are available for eccodes-2.30.0:
     AEC=on: Adaptive Entropy Coding support
====> JPEG image format support: you have to select exactly one of them
     JASPER=off: JPEG 2000 support via JasPer
     OPENJPEG=on: Enhanced JPEG graphics support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/science/eccodes/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/eccodes/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/eccodes/work/.cache  HOME=/wrkdirs/usr/ports/science/eccodes/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/eccodes/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/eccodes/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--
NINJA_STATUS="[%p %s/%t] " PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/science/eccodes/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/eccodes/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/eccodes/work/.cache  HOME=/wrkdirs/usr/ports/science/eccodes/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/eccodes/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/eccodes/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/science/eccodes/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isyst
 em /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
CMAKE_BUILD_TYPE="release" OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/eccodes"  EXAMPLESDIR="share/examples/eccodes"  DATADIR="share/eccodes"  WWWDIR="www/eccodes"  ETCDIR="etc/eccodes"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/eccodes DOCSDIR=/usr/local/share/doc/eccodes EXAMPLESDIR=/usr/local/share/examples/eccodes  WWWDIR=/usr/local/www/eccodes ETCDIR=/usr/local/etc/eccodes
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p7
OSREL=13.1
OSVERSION=1301000
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)  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)  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    >============================
===>   eccodes-2.30.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[131i386-default-job-13] Installing pkg-1.19.1_1...
[131i386-default-job-13] Extracting pkg-1.19.1_1: .......... done
===>   eccodes-2.30.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of eccodes-2.30.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by eccodes-2.30.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by eccodes-2.30.0 for building
=> SHA256 Checksum OK for eccodes-2.30.0-Source.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by eccodes-2.30.0 for building
===>  Extracting for eccodes-2.30.0
=> SHA256 Checksum OK for eccodes-2.30.0-Source.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for eccodes-2.30.0
===========================================================================
=======================<phase: build-depends  >============================
===>   eccodes-2.30.0 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.26.1.pkg
[131i386-default-job-13] Installing cmake-core-3.26.1...
[131i386-default-job-13] `-- Installing expat-2.5.0...
[131i386-default-job-13] `-- Extracting expat-2.5.0: .......... done
<snip>
===>   Returning to build of eccodes-2.30.0
===>   eccodes-2.30.0 depends on package: perl5>=5.32.r0<5.33 - not found
===>   Installing existing package /packages/All/perl5-5.32.1_3.pkg
[131i386-default-job-13] Installing perl5-5.32.1_3...
[131i386-default-job-13] Extracting perl5-5.32.1_3: .......... done
===>   eccodes-2.30.0 depends on package: perl5>=5.32.r0<5.33 - found
===>   Returning to build of eccodes-2.30.0
===========================================================================
=======================<phase: lib-depends    >============================
===>   eccodes-2.30.0 depends on shared library: libnetcdf.so - not found
===>   Installing existing package /packages/All/netcdf-4.9.0_2.pkg
[131i386-default-job-13] Installing netcdf-4.9.0_2...
[131i386-default-job-13] `-- Installing curl-8.0.1...
[131i386-default-job-13] |   `-- Installing ca_root_nss-3.89...
[131i386-default-job-13] |   `-- Extracting ca_root_nss-3.89: .......... done
[131i386-default-job-13] |   `-- Installing libnghttp2-1.52.0...
[131i386-default-job-13] |   `-- Extracting libnghttp2-1.52.0: .......... done
[131i386-default-job-13] |   `-- Installing libpsl-0.21.2_3...
[131i386-default-job-13] |   | `-- Installing libidn2-2.3.4...
[131i386-default-job-13] |   |   `-- Installing libunistring-1.1...
[131i386-default-job-13] |   |   `-- Extracting libunistring-1.1: .......... done
[131i386-default-job-13] |   | `-- Extracting libidn2-2.3.4: .......... done
[131i386-default-job-13] |   `-- Extracting libpsl-0.21.2_3: .......... done
[131i386-default-job-13] |   `-- Installing libssh2-1.10.0_1,3...
[131i386-default-job-13] |   `-- Extracting libssh2-1.10.0_1,3: .......... done
[131i386-default-job-13] `-- Extracting curl-8.0.1: .......... done
[131i386-default-job-13] `-- Installing hdf5-1.12.2_1,1...
[131i386-default-job-13] |   `-- Installing gcc12-12.2.0_5...
[131i386-default-job-13] |   | `-- Installing binutils-2.40_2,1...
[131i386-default-job-13] |   |   `-- Installing zstd-1.5.4_2...
[131i386-default-job-13] |   |   | `-- Installing liblz4-1.9.4,1...
[131i386-default-job-13] |   |   | `-- Extracting liblz4-1.9.4,1: .......... done
[131i386-default-job-13] |   |   `-- Extracting zstd-1.5.4_2: .......... done
[131i386-default-job-13] |   | `-- Extracting binutils-2.40_2,1: .......... done
[131i386-default-job-13] |   | `-- Installing gmp-6.2.1...
[131i386-default-job-13] |   | `-- Extracting gmp-6.2.1: .......... done
[131i386-default-job-13] |   | `-- Installing mpc-1.2.1...
[131i386-default-job-13] |   |   `-- Installing mpfr-4.2.0,1...
[131i386-default-job-13] |   |   `-- Extracting mpfr-4.2.0,1: .......... done
[131i386-default-job-13] |   | `-- Extracting mpc-1.2.1: ......... done
[131i386-default-job-13] |   `-- Extracting gcc12-12.2.0_5: .......... done
[131i386-default-job-13] |   `-- Installing libaec-1.0.6...
[131i386-default-job-13] |   `-- Extracting libaec-1.0.6: .......... done
[131i386-default-job-13] `-- Extracting hdf5-1.12.2_1,1: .......... done
[131i386-default-job-13] `-- Installing pkgconf-1.8.1,1...
[131i386-default-job-13] `-- Extracting pkgconf-1.8.1,1: .......... done
[131i386-default-job-13] Extracting netcdf-4.9.0_2: .......... done
=====
Message from ca_root_nss-3.89:

--
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
=====
Message from gcc12-12.2.0_5:

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

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   eccodes-2.30.0 depends on shared library: libnetcdf.so - found (/usr/local/lib/libnetcdf.so)
===>   Returning to build of eccodes-2.30.0
===>   eccodes-2.30.0 depends on shared library: libpng.so - not found
===>   Installing existing package /packages/All/png-1.6.39.pkg
[131i386-default-job-13] Installing png-1.6.39...
[131i386-default-job-13] Extracting png-1.6.39: .......... done
===>   eccodes-2.30.0 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   Returning to build of eccodes-2.30.0
===>   eccodes-2.30.0 depends on shared library: libaec.so - found (/usr/local/lib/libaec.so)
===>   eccodes-2.30.0 depends on shared library: libopenjp2.so - not found
===>   Installing existing package /packages/All/openjpeg-2.5.0.pkg
[131i386-default-job-13] Installing openjpeg-2.5.0...
[131i386-default-job-13] `-- Installing jpeg-turbo-2.1.5.1...
[131i386-default-job-13] `-- Extracting jpeg-turbo-2.1.5.1: .......... done
[131i386-default-job-13] `-- Installing lcms2-2.15_1...
[131i386-default-job-13] |   `-- Installing tiff-4.4.0_1...
[131i386-default-job-13] |   | `-- Installing jbigkit-2.1_1...
[131i386-default-job-13] |   | `-- Extracting jbigkit-2.1_1: .......... done
[131i386-default-job-13] |   | `-- Installing libdeflate-1.18...
[131i386-default-job-13] |   | `-- Extracting libdeflate-1.18: .......... done
[131i386-default-job-13] |   `-- Extracting tiff-4.4.0_1: .......... done
[131i386-default-job-13] `-- Extracting lcms2-2.15_1: .......... done
[131i386-default-job-13] Extracting openjpeg-2.5.0: .......... done
===>   eccodes-2.30.0 depends on shared library: libopenjp2.so - found (/usr/local/lib/libopenjp2.so)
===>   Returning to build of eccodes-2.30.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for eccodes-2.30.0
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/science/eccodes/work/.build
-- The CXX compiler identification is Clang 13.0.0
-- 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
-- ecbuild   3.7.2	/wrkdirs/usr/ports/science/eccodes/work/eccodes-2.30.0-Source/cmake
-- cmake     3.26.1	/usr/local/bin/cmake
-- ---------------------------------------------------------
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- The C compiler identification is Clang 13.0.0
-- 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
-- Performing Test eccodes_C_FLAG_TEST_1
-- Performing Test eccodes_C_FLAG_TEST_1 - Success
-- Added C flag [-pipe]
-- Performing Test eccodes_CXX_FLAG_TEST_1
-- Performing Test eccodes_CXX_FLAG_TEST_1 - Success
-- Added CXX flag [-pipe]
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Check size of off_t
-- Check size of off_t - done
-- ---------------------------------------------------------
-- ---------------------------------------------------------
-- [eccodes] (2.30.0)
-- Feature TESTS enabled
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of size_t
-- Check size of size_t - done
-- Looking for include file assert.h
-- Looking for include file assert.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for fmemopen
-- Looking for fmemopen - found
-- Looking for funopen
-- Looking for funopen - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for fdatasync
-- Looking for fdatasync - found
-- Performing Test ECCODES_HAVE_C_INLINE
-- Performing Test ECCODES_HAVE_C_INLINE - Success
-- Performing Test IEEE_BE
-- Performing Test IEEE_BE - Failed
-- Performing Test IEEE_LE
-- Performing Test IEEE_LE - Success
-- Operating system=FreeBSD-13.1-RELEASE-p7 (32 bits)
CMake Error at cmake/ecbuild_log.cmake:190 (message):
  CRITICAL - Operating system FreeBSD-13.1-RELEASE-p7 (32 bits) --
  ecCodes only supports 64 bit platforms
Call Stack (most recent call first):
  CMakeLists.txt:70 (ecbuild_critical)


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

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