[package - 114amd64-default][benchmarks/apib] Failed for apib-1.2.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 14 Sep 2021 22:10:31 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:     danfe@FreeBSD.org
Log URL:        http://beefy9.nyi.freebsd.org/data/114amd64-default/0cb9a1b3d773/logs/apib-1.2.1.log
Build URL:      http://beefy9.nyi.freebsd.org/build.html?mastername=114amd64-default&build=0cb9a1b3d773
Log:

=>> Building benchmarks/apib
build started at Tue Sep 14 22:10:22 UTC 2021
port directory: /usr/ports/benchmarks/apib
package name: apib-1.2.1
building for: FreeBSD 114amd64-default-job-01 11.4-RELEASE-p13 FreeBSD 11.4-RELEASE-p13 amd64
maintained by: danfe@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1104001
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1104001
UNAME_v=FreeBSD 11.4-RELEASE-p13
UNAME_r=11.4-RELEASE-p13
BLOCKSIZE=K
MAIL=/var/mail/root
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/114amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/114amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=114amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/114amd64-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 apib-1.2.1:
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
danfe@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/benchmarks/apib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/benchmarks/apib/work  HOME=/wrkdirs/usr/ports/benchmarks/apib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/benchmarks/apib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/benchmarks/apib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/benchmarks/apib/work  HOME=/wrkdirs/usr/ports/benchmarks/apib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/benchmarks/apib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/benchmarks/apib/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INST
 ALL_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--
PORTEXAMPLES="" CMAKE_BUILD_TYPE="release" OSREL=11.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/apib"  EXAMPLESDIR="share/examples/apib"  DATADIR="share/apib"  WWWDIR="www/apib"  ETCDIR="etc/apib"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/apib DOCSDIR=/usr/local/share/doc/apib EXAMPLESDIR=/usr/local/share/examples/apib  WWWDIR=/usr/local/www/apib ETCDIR=/usr/local/etc/apib
--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 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 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" "-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 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: x86_64-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.4-RELEASE-p13
OSREL=11.4
OSVERSION=1104001
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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    >============================
===>   apib-1.2.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.1.pkg
[114amd64-default-job-01] Installing pkg-1.17.1...
[114amd64-default-job-01] Extracting pkg-1.17.1: .......... done
===>   apib-1.2.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of apib-1.2.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by apib-1.2.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by apib-1.2.1 for building
=> SHA256 Checksum OK for apigee-apib-APIB_1_2_1_RC1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by apib-1.2.1 for building
===>  Extracting for apib-1.2.1
=> SHA256 Checksum OK for apigee-apib-APIB_1_2_1_RC1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for apib-1.2.1
===>  Applying FreeBSD patches for apib-1.2.1 from /usr/ports/benchmarks/apib/files
===========================================================================
=======================<phase: build-depends  >============================
===>   apib-1.2.1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.21.0.pkg
[114amd64-default-job-01] Installing cmake-3.21.0...
[114amd64-default-job-01] `-- Installing curl-7.78.0...
[114amd64-default-job-01] |   `-- Installing ca_root_nss-3.69_1...
[114amd64-default-job-01] |   `-- Extracting ca_root_nss-3.69_1: ........ done
[114amd64-default-job-01] |   `-- Installing libnghttp2-1.44.0...
[114amd64-default-job-01] |   `-- Extracting libnghttp2-1.44.0: .......... done
[114amd64-default-job-01] |   `-- Installing libssh2-1.9.0_3,3...
[114amd64-default-job-01] |   `-- Extracting libssh2-1.9.0_3,3: .......... done
[114amd64-default-job-01] `-- Extracting curl-7.78.0: .......... done
[114amd64-default-job-01] `-- Installing expat-2.4.1...
[114amd64-default-job-01] `-- Extracting expat-2.4.1: .......... done
[114amd64-default-job-01] `-- Installing jsoncpp-1.9.4...
[114amd64-default-job-01] `-- Extracting jsoncpp-1.9.4: .......... done
[114amd64-default-job-01] `-- Installing libarchive-3.5.1,1...
[114amd64-default-job-01] |   `-- Installing liblz4-1.9.3,1...
[114amd64-default-job-01] |   `-- Extracting liblz4-1.9.3,1: .......... done
[114amd64-default-job-01] `-- Extracting libarchive-3.5.1,1: .......... done
[114amd64-default-job-01] `-- Installing libuv-1.42.0...
[114amd64-default-job-01] `-- Extracting libuv-1.42.0: .......... done
[114amd64-default-job-01] `-- Installing rhash-1.4.2...
[114amd64-default-job-01] |   `-- Installing gettext-runtime-0.21...
[114amd64-default-job-01] |   | `-- Installing indexinfo-0.3.1...
[114amd64-default-job-01] |   | `-- Extracting indexinfo-0.3.1: .... done
[114amd64-default-job-01] |   `-- Extracting gettext-runtime-0.21: .......... done
[114amd64-default-job-01] `-- Extracting rhash-1.4.2: .......... done
[114amd64-default-job-01] Extracting cmake-3.21.0: .......... done
=====
Message from ca_root_nss-3.69_1:

--
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
===>   apib-1.2.1 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of apib-1.2.1
===>   apib-1.2.1 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.10.2,2.pkg
[114amd64-default-job-01] Installing ninja-1.10.2,2...
[114amd64-default-job-01] `-- Installing python38-3.8.12...
[114amd64-default-job-01] |   `-- Installing libffi-3.3_1...
[114amd64-default-job-01] |   `-- Extracting libffi-3.3_1: .......... done
[114amd64-default-job-01] |   `-- Installing mpdecimal-2.5.1...
[114amd64-default-job-01] |   `-- Extracting mpdecimal-2.5.1: .......... done
[114amd64-default-job-01] |   `-- Installing readline-8.1.1...
[114amd64-default-job-01] |   `-- Extracting readline-8.1.1: .......... done
[114amd64-default-job-01] `-- Extracting python38-3.8.12: .......... done
[114amd64-default-job-01] Extracting ninja-1.10.2,2: ........ done
=====
Message from python38-3.8.12:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
===>   apib-1.2.1 depends on executable: ninja - found
===>   Returning to build of apib-1.2.1
===========================================================================
=======================<phase: lib-depends    >============================
===>   apib-1.2.1 depends on shared library: libabsl_base.so - not found
===>   Installing existing package /packages/All/abseil-20210324.2.pkg
[114amd64-default-job-01] Installing abseil-20210324.2...
[114amd64-default-job-01] Extracting abseil-20210324.2: .......... done
===>   apib-1.2.1 depends on shared library: libabsl_base.so - found (/usr/local/lib/libabsl_base.so)
===>   Returning to build of apib-1.2.1
===>   apib-1.2.1 depends on shared library: libev.so - not found
===>   Installing existing package /packages/All/libev-4.33,1.pkg
[114amd64-default-job-01] Installing libev-4.33,1...
[114amd64-default-job-01] Extracting libev-4.33,1: .......... done
===>   apib-1.2.1 depends on shared library: libev.so - found (/usr/local/lib/libev.so)
===>   Returning to build of apib-1.2.1
===>   apib-1.2.1 depends on shared library: libgtest.so - not found
===>   Installing existing package /packages/All/googletest-1.11.0.pkg
[114amd64-default-job-01] Installing googletest-1.11.0...
[114amd64-default-job-01] Extracting googletest-1.11.0: .......... done
===>   apib-1.2.1 depends on shared library: libgtest.so - found (/usr/local/lib/libgtest.so)
===>   Returning to build of apib-1.2.1
===>   apib-1.2.1 depends on shared library: libhttp_parser.so - not found
===>   Installing existing package /packages/All/http-parser-2.9.4.pkg
[114amd64-default-job-01] Installing http-parser-2.9.4...
[114amd64-default-job-01] Extracting http-parser-2.9.4: ....... done
===>   apib-1.2.1 depends on shared library: libhttp_parser.so - found (/usr/local/lib/libhttp_parser.so)
===>   Returning to build of apib-1.2.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for apib-1.2.1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/benchmarks/apib/work/.build
-- The C compiler identification is Clang 10.0.0
-- The CXX compiler identification is Clang 10.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
-- 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_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/benchmarks/apib/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for apib-1.2.1
[  3% 1/29] /usr/bin/c++  -I/wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=gnu++17 -MD -MT apib/CMakeFiles/cpu.dir/apib_cpu_bsd.cc.o -MF apib/CMakeFiles/cpu.dir/apib_cpu_bsd.cc.o.d -o apib/CMakeFiles/cpu.dir/apib_cpu_bsd.cc.o -c /wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1/apib/apib_cpu_bsd.cc
[  6% 2/29] /usr/bin/c++  -I/wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=gnu++17 -MD -MT apib/CMakeFiles/apib.dir/apib_main.cc.o -MF apib/CMakeFiles/apib.dir/apib_main.cc.o.d -o apib/CMakeFiles/apib.dir/apib_main.cc.o -c /wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1/apib/apib_main.cc
FAILED: apib/CMakeFiles/apib.dir/apib_main.cc.o 
/usr/bin/c++  -I/wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1 -Wall -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=gnu++17 -MD -MT apib/CMakeFiles/apib.dir/apib_main.cc.o -MF apib/CMakeFiles/apib.dir/apib_main.cc.o.d -o apib/CMakeFiles/apib.dir/apib_main.cc.o -c /wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1/apib/apib_main.cc
/wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1/apib/apib_main.cc:165:27: error: use of undeclared identifier 'OPENSSL_VERSION'
  cout << OpenSSL_version(OPENSSL_VERSION) << '\n';
                          ^
/wrkdirs/usr/ports/benchmarks/apib/work/apib-APIB_1_2_1_RC1/apib/apib_main.cc:209:27: error: use of undeclared identifier 'TLS_client_method'; did you mean 'DTLS_client_method'?
  t->sslCtx = SSL_CTX_new(TLS_client_method());
                          ^~~~~~~~~~~~~~~~~
                          DTLS_client_method
/usr/include/openssl/ssl.h:2389:19: note: 'DTLS_client_method' declared here
const SSL_METHOD *DTLS_client_method(void); /* DTLS 1.0 and 1.2 */
                  ^
2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/benchmarks/apib