[package - 122powerpc64-quarterly][security/suricata] Failed for suricata-6.0.2_1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 22 Jun 2021 03:42:26 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:     franco@opnsense.org
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/dbe1c4c35016/logs/suricata-6.0.2_1.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=dbe1c4c35016
Log:

=>> Building security/suricata
build started at Tue Jun 22 03:38:55 UTC 2021
port directory: /usr/ports/security/suricata
package name: suricata-6.0.2_1
building for: FreeBSD 122powerpc64-quarterly-job-12 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: franco@opnsense.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/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 suricata-6.0.2_1:
     GEOIP=off: GeoIP support
     IPFW=on: IPFW and IP Divert support for inline IDP
     NETMAP=on: Netmap support for inline IDP
     NSS=off: File checksums and SSL/TLS fingerprinting
     PORTS_PCAP=off: Use libpcap from ports
     PRELUDE=off: Prelude support for NIDS alerts
     PYTHON=on: Python-based update and control utilities
     REDIS=off: Redis output support
     TESTS=off: Unit tests in suricata binary
====> Scripting: you can only select none or one of them
     LUA=off: LUA scripting support
     LUAJIT=off: LuaJIT scripting support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
franco@opnsense.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-gccprotect  --enable-bundled-htp  --disable-gccmarch-native --enable-ipfw --enable-netmap --disable-nss --disable-nspr --disable-prelude --enable-python --disable-unittests --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/wrkdirs/usr/ports/security/suricata/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/suricata/work  HOME=/wrkdirs/usr/ports/security/suricata/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/suricata/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" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/suricata/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/suricata/work  HOME=/wrkdirs/usr/ports/security/suricata/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/suricata/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 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 " LIBS="-L/usr/local/lib"  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_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--
PORTVERSION=6.0.2 GEOIP="@comment " NO_GEOIP="" IPFW="" NO_IPFW="@comment " LUA="@comment " NO_LUA="" LUAJIT="@comment " NO_LUAJIT="" NETMAP="" NO_NETMAP="@comment " NSS="@comment " NO_NSS="" PORTS_PCAP="@comment " NO_PORTS_PCAP="" PRELUDE="@comment " NO_PRELUDE="" PYTHON="" NO_PYTHON="@comment " REDIS="@comment " NO_REDIS="" TESTS="@comment " NO_TESTS="" PYTHON_INCLUDEDIR=include/python3.7m  PYTHON_LIBDIR=lib/python3.7  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python3.7/site-packages  PYTHON_SUFFIX=37  PYTHON_EXT_SUFFIX=  PYTHON_VER=3.7  PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/suricata"  EXAMPLESDIR="share/examples/suricata"  DATADIR="share/suricata"  WWWDIR="www/suricata"  ETCDIR="etc/suricata"
--End PLIST_SUB--

--SUB_LIST--
GEOIP="@comment " NO_GEOIP="" IPFW="" NO_IPFW="@comment " LUA="@comment " NO_LUA="" LUAJIT="@comment " NO_LUAJIT="" NETMAP="" NO_NETMAP="@comment " NSS="@comment " NO_NSS="" PORTS_PCAP="@comment " NO_PORTS_PCAP="" PRELUDE="@comment " NO_PRELUDE="" PYTHON="" NO_PYTHON="@comment " REDIS="@comment " NO_REDIS="" TESTS="@comment " NO_TESTS="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/suricata DOCSDIR=/usr/local/share/doc/suricata EXAMPLESDIR=/usr/local/share/examples/suricata  WWWDIR=/usr/local/www/suricata ETCDIR=/usr/local/etc/suricata
--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=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   suricata-6.0.2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-12] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-12] Extracting pkg-1.16.3: .......... done
===>   suricata-6.0.2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of suricata-6.0.2_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by suricata-6.0.2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by suricata-6.0.2_1 for building
=> SHA256 Checksum OK for suricata-6.0.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by suricata-6.0.2_1 for building
===>  Extracting for suricata-6.0.2_1
=> SHA256 Checksum OK for suricata-6.0.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for suricata-6.0.2_1
===>  Applying FreeBSD patches for suricata-6.0.2_1 from /usr/ports/security/suricata/files
===========================================================================
=======================<phase: build-depends  >============================
===>   suricata-6.0.2_1 depends on executable: rustc - not found
===>   Installing existing package /packages/All/rust-1.51.0.txz
[122powerpc64-quarterly-job-12] Installing rust-1.51.0...
[122powerpc64-quarterly-job-12] `-- Installing curl-7.76.0...
[122powerpc64-quarterly-job-12] |   `-- Installing ca_root_nss-3.63...
[122powerpc64-quarterly-job-12] |   `-- Extracting ca_root_nss-3.63: ........ done
<snip>
checking for sys/ioctl.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking linux/if_ether.h usability... no
checking linux/if_ether.h presence... no
checking for linux/if_ether.h... no
checking linux/if_packet.h usability... no
checking linux/if_packet.h presence... no
checking for linux/if_packet.h... no
checking linux/filter.h usability... no
checking linux/filter.h presence... no
checking for linux/filter.h... no
checking linux/ethtool.h usability... no
checking linux/ethtool.h presence... no
checking for linux/ethtool.h... no
checking linux/sockios.h usability... no
checking linux/sockios.h presence... no
checking for linux/sockios.h... no
checking for glob.h... (cached) yes
checking for locale.h... (cached) yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for pwd.h... (cached) yes
checking for dirent.h... (cached) yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking for sys/resource.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking sys/random.h usability... yes
checking sys/random.h presence... yes
checking for sys/random.h... yes
checking for utime.h... (cached) yes
checking for libgen.h... (cached) yes
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking stdatomic.h usability... yes
checking stdatomic.h presence... yes
checking for stdatomic.h... yes
checking for sys/socket.h... (cached) yes
checking for net/if.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for linux/if_arp.h... no
checking for windows.h... no
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for w32api/wtypes.h... no
checking for w32api/winbase.h... no
checking for wincrypt.h... no
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for pid_t... (cached) yes
checking for mode_t... (cached) yes
checking for size_t... (cached) yes
checking for ssize_t... (cached) 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 u_int... yes
checking for u_short... yes
checking for u_long... yes
checking for u_char... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for ptrdiff_t... (cached) yes
checking for stdbool.h that conforms to C99... (cached) yes
checking for _Bool... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for alarm... (cached) yes
checking for working mktime... no
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for working strtod... (cached) yes
checking for memmem... yes
checking for memset... (cached) yes
checking for memchr... (cached) yes
checking for memrchr... yes
checking for memmove... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for strdup... (cached) yes
checking for strndup... (cached) yes
checking for strncasecmp... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for strstr... (cached) yes
checking for strpbrk... (cached) yes
checking for strtoull... (cached) yes
checking for strtoumax... yes
checking for strerror... (cached) yes
checking for gethostname... (cached) yes
checking for inet_ntoa... (cached) yes
checking for uname... (cached) yes
checking for gettimeofday... (cached) yes
checking for clock_gettime... (cached) yes
checking for utime... (cached) yes
checking for strptime... (cached) yes
checking for tzset... yes
checking for localtime_r... yes
checking for socket... yes
checking for setenv... (cached) yes
checking for select... (cached) yes
checking for putenv... (cached) yes
checking for dup2... (cached) yes
checking for endgrent... (cached) yes
checking for endpwent... yes
checking for atexit... (cached) yes
checking for munmap... (cached) yes
checking for fwrite_unlocked... yes
checking whether getrandom is declared... yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking host os... installation for powerpc64-portbld-freebsd12.2 OS... ok
checking for c11 support... no
checking for thread local storage gnu __thread support... yes
checking for -fstack-protector... yes
checking for -D_FORTIFY_SOURCE=2... yes
checking for -Wformat -Wformat-security... yes
checking for -z relro... no
checking for -z now... no
checking for dlfcn.h... (cached) yes
checking for plugin support... yes
checking for spatch... no
checking for zlib.h... (cached) yes
checking for inflate in -lz... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_get_substring in -lpcre... yes
checking for LIBPCREVERSION... no
checking for pcre_dfa_exec in -lpcre... yes
checking for PCRE JIT support... checking for LIBPCREVERSION... no
checking for LIBPCREVERSION... no
no
no
checking for libhs... no
checking hs.h usability... no
checking hs.h presence... no
checking for hs.h... no
checking yaml.h usability... yes
checking yaml.h presence... yes
checking for yaml.h... yes
checking for yaml_parser_initialize in -lyaml... no

   ERROR!  libyaml library not found, go get it
   from http://pyyaml.org/wiki/LibYAML 
   or your distribution:

   Ubuntu: apt-get install libyaml-dev
   Fedora: dnf install libyaml-devel
   CentOS/RHEL: yum install libyaml-devel

===>  Script "configure" failed unexpectedly.
Please report the problem to franco@opnsense.org [maintainer] and attach the
"/wrkdirs/usr/ports/security/suricata/work/suricata-6.0.2/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/security/suricata