[package - main-powerpc64le-default][net-mgmt/netdata] Failed for netdata-1.42.4 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 11 Oct 2023 03:45:28 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:     nk@nkeor.me
Log URL:        https://pkg-status.freebsd.org/foul2/data/main-powerpc64le-default/p2a7484393abf_s0afcac3e37/logs/netdata-1.42.4.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=p2a7484393abf_s0afcac3e37
Log:

=>> Building net-mgmt/netdata
build started at Wed Oct 11 03:41:37 UTC 2023
port directory: /usr/ports/net-mgmt/netdata
package name: netdata-1.42.4
building for: FreeBSD main-powerpc64le-default-job-03 15.0-CURRENT FreeBSD 15.0-CURRENT 1500001 powerpc
maintained by: nk@nkeor.me
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500001
Job Id: 03




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500001
UNAME_v=FreeBSD 15.0-CURRENT 1500001
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
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64le-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-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 netdata-1.42.4:
     CLOUD=on: Enable cloud functionality
     CUPS=off: Enable support for cups
     DBENGINE=on: Enable support for database engine
     FREEIPMI=off: Enable support for freeipmi
     GOPLUGIN=off: Enable the go collector plugin
     LTO=on: Use Link-Time Optimization
     ML=on: Enable anomaly detection via dlib
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
nk@nkeor.me
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-h2o --disable-unit-tests --with-user=netdata --disable-plugin-cups --enable-dbengine --disable-plugin-freeipmi --enable-lto --enable-ml --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/netdata/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/netdata/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/netdata/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/netdata/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/netdata/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 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-D_WANT_VMMETER -isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protecto
 r-strong -isystem /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--
NETDATA_CACHE=/var/cache/netdata  NETDATA_LOG=/var/log/netdata  NETDATA_PERST=/var/db/netdata CLOUD="" NO_CLOUD="@comment " CUPS="@comment " NO_CUPS="" DBENGINE="" NO_DBENGINE="@comment " FREEIPMI="@comment " NO_FREEIPMI="" GOPLUGIN="@comment " NO_GOPLUGIN="" LTO="" NO_LTO="@comment " ML="" NO_ML="@comment " PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/netdata"  EXAMPLESDIR="share/examples/netdata"  DATADIR="share/netdata"  WWWDIR="www/netdata"  ETCDIR="etc/netdata"
--End PLIST_SUB--

--SUB_LIST--
NETDATA_CACHE=/var/cache/netdata  NETDATA_LOG=/var/log/netdata  NETDATA_PERST=/var/db/netdata CLOUD="" NO_CLOUD="@comment " CUPS="@comment " NO_CUPS="" DBENGINE="" NO_DBENGINE="@comment " FREEIPMI="@comment " NO_FREEIPMI="" GOPLUGIN="@comment " NO_GOPLUGIN="" LTO="" NO_LTO="@comment " ML="" NO_ML="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/netdata DOCSDIR=/usr/local/share/doc/netdata EXAMPLESDIR=/usr/local/share/examples/netdata  WWWDIR=/usr/local/www/netdata ETCDIR=/usr/local/etc/netdata
--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=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd15.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_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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: powerpc64le-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500001
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)  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 GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   netdata-1.42.4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.7.pkg
[main-powerpc64le-default-job-03] Installing pkg-1.20.7...
[main-powerpc64le-default-job-03] Extracting pkg-1.20.7: .......... done
===>   netdata-1.42.4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of netdata-1.42.4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by netdata-1.42.4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by netdata-1.42.4 for building
=> SHA256 Checksum OK for netdata-v1.42.4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by netdata-1.42.4 for building
===>  Extracting for netdata-1.42.4
=> SHA256 Checksum OK for netdata-v1.42.4.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
configure.ac:1648: the top level
configure: loading site script /usr/ports/Templates/config.site
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether gmake supports nested variables... (cached) yes
checking build system type... powerpc64le-portbld-freebsd15.0
checking host system type... powerpc64le-portbld-freebsd15.0
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... gcc3
checking pkg-config is at least version 0.9.0... yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for minix/config.h... (cached) no
checking for sys/prctl.h... no
checking for sys/vfs.h... no
checking for sys/statfs.h... no
checking for linux/magic.h... no
checking for sys/statvfs.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for C compiler vendor... clang
checking for llvm-ar... llvm-ar
checking for llvm-ranlib... llvm-ranlib
checking whether c++ supports C++11 features with -std=c++11... yes
checking c++ standard to use... no c++ on powerpc64le
checking for __attribute__((returns_nonnull))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((noreturn))... yes
checking for __attribute__((noinline))... yes
checking for __attribute__((format))... yes
checking for __attribute__((warn_unused_result))... yes
checking for struct timespec... (cached) yes
checking for clockid_t... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... (cached) yes
checking for sched_setscheduler... yes
checking for sched_getscheduler... yes
checking for sched_getparam... yes
checking for sched_get_priority_min... yes
checking for sched_get_priority_max... yes
checking for getpriority... yes
checking for setpriority... yes
checking for nice... yes
checking for recvmmsg... yes
checking for close_range... yes
checking for int8_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for uint8_t... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) yes
checking for inline... inline
checking for cc options needed to detect all undeclared functions... -fno-builtin
checking whether strerror_r is declared... (cached) yes
checking whether strerror_r returns char *... no
checking for _Generic... yes
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... no
checking for sys/types.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for netdb.h... (cached) yes
checking for resolv.h... (cached) yes
checking for accept4... (cached) yes
checking for malloc_usable_size... yes
checking operating system... Host OS: freebsd
checking whether C compiler accepts -fstack-clash-protection... yes
checking whether C compiler accepts -fcf-protection=full... no
checking whether C compiler accepts -mbranch-protection=standard... no
checking whether __builtin_constant_p is declared... no
checking whether __builtin_object_size is declared... no
checking whether __builtin___memcpy_chk is declared... no
checking whether __builtin___memmove_chk is declared... no
checking whether __builtin___mempcpy_chk is declared... no
checking whether __builtin___memset_chk is declared... no
checking whether __builtin___snprintf_chk is declared... no
checking whether __builtin___sprintf_chk is declared... no
checking whether __builtin___stpcpy_chk is declared... no
checking whether __builtin___strcat_chk is declared... no
checking whether __builtin___strcpy_chk is declared... no
checking whether __builtin___strncat_chk is declared... no
checking whether __builtin___strncpy_chk is declared... no
checking whether __builtin___vsnprintf_chk is declared... no
checking whether __builtin___vsprintf_chk is declared... no
checking for library containing backtrace... -lexecinfo
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking whether cc is Clang... yes
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread_getname_np in -lpthread... yes
checking for rtcCreatePeerConnection in -ldatachannel... no
checking for sin in -lm... yes
checking if libm should be used... yes
checking for isfinite... no
checking for finite... no
checking for uv_fs_scandir_next in -luv... yes
checking for LZ4_initStream in -llz4... yes
checking for LZ4_compress_default in -llz4... yes
checking for zlib... yes
checking for uuid... yes
checking for SHA256_Init in -lcrypto... yes
checking for X509_VERIFY_PARAM_set1_host in -lcrypto... yes
checking for json-c... yes
checking for json_object_get_type in -ljson-c... yes
checking for yaml_parser_initialize in -lyaml... yes
checking whether byte ordering is bigendian... no
checking size of void *... 8
Detected 64-bit Build Environment
checking if netdata dbengine should be used... yes
checking if openssl should be used... yes
checking if lz4 should be used... yes
checking if json-c should be used... yes
checking for memory allocator... system
checking for mallopt... no
checking for mallinfo... no
checking for libcap... no
checking if libcap should be used... no
checking is bundled protobuf available... no
checking for protobuf >= 3... yes
checking for protoc... /usr/local/bin/protoc
checking for c++... /usr/bin/c++
checking if Cloud functionality should be enabled... detect
configure: Checking if ACLK can be built
checking if git submodules present for ACLK... yes
checking if SSL available for ACLK... yes
checking if JSON-C available for ACLK... yes
checking if protobuf available for ACLK New Cloud Protocol... yes
checking if protoc available for ACLK New Cloud Protocol... yes
checking if C++ compiler available for ACLK New Cloud Protocol... yes
checking ACLK Next Generation can be built... yes
checking if apps.plugin should be enabled... yes
checking for libipmimonitoring... no
checking if freeipmi.plugin should be enabled... no
checking for sd_journal_open in -lsystemd... no
checking for systemd/sd-journal.h... no
checking if systemd-journal.plugin should be enabled... no
configure: OPTIONAL_SYSTEMD_LIBS is set to: 
checking for httpConnect2 in -lcups... no
checking for cups-config... no
checking if cups.plugin should be enabled... no
checking for linux/netfilter/nfnetlink_conntrack.h... no
checking for libmnl... no
checking for libnetfilter_acct... no
checking if nfacct.plugin should be enabled... no
checking for yajl... no
checking for xenstat_init in -lxenstat... no
checking for xenlight... no
checking if xenstat.plugin should be enabled... no
checking for linux/perf_event.h... no
checking if perf.plugin should be enabled... no
checking if gtest and gmock can be found... checking for gtest... no
checking for gmock... no
configure: error: You have explicitly requested --enable-ml functionality but it cannot be built without a C++11 toolchain.
===>  Script "configure" failed unexpectedly.
Please report the problem to nk@nkeor.me [maintainer] and attach the
"/wrkdirs/usr/ports/net-mgmt/netdata/work/netdata-v1.42.4/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/netdata