[package - main-amd64-default][security/snort3] Failed for snort3-3.5.2.0,1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 13 Dec 2024 19:02:22 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:     bofh@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/peb87cb7f3aa2_saf66ffbf69e/logs/snort3-3.5.2.0,1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=peb87cb7f3aa2_saf66ffbf69e
Log:

=>> Building security/snort3
build started at Fri Dec 13 18:55:49 UTC 2024
port directory: /usr/ports/security/snort3
package name: snort3-3.5.2.0,1
building for: FreeBSD main-amd64-default-job-12 15.0-CURRENT FreeBSD 15.0-CURRENT 1500029 amd64
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2112 Nov 26 01:01 /usr/ports/security/snort3/Makefile
Ports top last git commit: eb87cb7f3aa
Ports top unclean checkout: no
Port dir last git commit: 7f252efa679
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1500029
Job Id: 12




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500029
UNAME_v=FreeBSD 15.0-CURRENT 1500029
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for snort3-3.5.2.0,1:
     ADDRESSSANITIZER=off: Enable address sanitizer
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     FLATBUFFERS=off: Enable flatbuffers support
     HYPERSCAN=on: Enable high-performance regular expression lib
     LARGEPCAP=off: Enable support for pcaps larger than 2 GB
     LIBUNWIND=off: Print stack trace in case of crash
     PIE=off: Enable PIE (Broken)
     STATICDAQ=on: Link static DAQ modules
     THREADSANITIZER=off: Enable thread sanitizer
     TSC=off: Use timestamp counter register clock (x86 only)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/snort3/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/snort3/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/snort3/work/.cache  HOME=/wrkdirs/usr/ports/security/snort3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/snort3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/snort3/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] " OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/snort3/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/snort3/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/snort3/work/.cache  HOME=/wrkdirs/usr/ports/security/snort3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/snort3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/snort3/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/security/snort3/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -isystem /usr/local/include"  LDFLAGS="  -fstack-protector-str
ong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include " 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--
PORTDOCS="" ADDRESSSANITIZER="@comment " NO_ADDRESSSANITIZER="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " FLATBUFFERS="@comment " NO_FLATBUFFERS="" HYPERSCAN="" NO_HYPERSCAN="@comment " HYPERSCAN="" LARGEPCAP="@comment " NO_LARGEPCAP="" LIBUNWIND="@comment " NO_LIBUNWIND="" PIE="@comment " NO_PIE="" STATICDAQ="" NO_STATICDAQ="@comment " THREADSANITIZER="@comment " NO_THREADSANITIZER="" TSC="@comment " NO_TSC="" CMAKE_BUILD_TYPE="release" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/snort"  EXAMPLESDIR="share/examples/snort"  DATADIR="share/snort"  WWWDIR="www/snort"  ETCDIR="etc/snort"
--End PLIST_SUB--

--SUB_LIST--
 ADDRESSSANITIZER="@comment " NO_ADDRESSSANITIZER="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " FLATBUFFERS="@comment " NO_FLATBUFFERS="" HYPERSCAN="" NO_HYPERSCAN="@comment " LARGEPCAP="@comment " NO_LARGEPCAP="" LIBUNWIND="@comment " NO_LIBUNWIND="" PIE="@comment " NO_PIE="" STATICDAQ="" NO_STATICDAQ="@comment " THREADSANITIZER="@comment " NO_THREADSANITIZER="" TSC="@comment " NO_TSC="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/snort DOCSDIR=/usr/local/share/doc/snort EXAMPLESDIR=/usr/local/share/examples/snort  WWWDIR=/usr/local/www/snort ETCDIR=/usr/local/etc/snort
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   snort3-3.5.2.0,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-12] Installing pkg-1.21.3...
[main-amd64-default-job-12] Extracting pkg-1.21.3: .......... done
===>   snort3-3.5.2.0,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of snort3-3.5.2.0,1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by snort3-3.5.2.0,1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by snort3-3.5.2.0,1 for building
=> SHA256 Checksum OK for snort3-snort3-3.5.2.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by snort3-3.5.2.0,1 for building
===>  Extracting for snort3-3.5.2.0,1
=> SHA256 Checksum OK for snort3-snort3-3.5.2.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
<snip>
/usr/include/c++/v1/string:1243:12: note: in instantiation of member function 'std::basic_string<unsigned char>::assign' requested here
 1243 |     return assign(__s);
      |            ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:40:16: note: in instantiation of member function 'std::basic_string<unsigned char>::operator=' requested here
   40 |         buffer = (const uint8_t*)"cookie: ";
      |                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2825:77: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2825 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                                                                             ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2826:80: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2826 |                                                       : __assign_external(__s, traits_type::length(__s)))
      |                                                                                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2208:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2208 |     traits_type::move(std::__to_address(__p), __s, __n);
      |     ^
/usr/include/c++/v1/string:2825:57: note: in instantiation of member function 'std::basic_string<unsigned char>::__assign_short' requested here
 2825 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                                                         ^
/usr/include/c++/v1/string:1243:12: note: in instantiation of member function 'std::basic_string<unsigned char>::assign' requested here
 1243 |     return assign(__s);
      |            ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:40:16: note: in instantiation of member function 'std::basic_string<unsigned char>::operator=' requested here
   40 |         buffer = (const uint8_t*)"cookie: ";
      |                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2209:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2209 |     traits_type::assign(__p[__n], value_type());
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2817:33: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2817 |   return __assign_external(__s, traits_type::length(__s));
      |                                 ^
/usr/include/c++/v1/string:2827:14: note: in instantiation of member function 'std::basic_string<unsigned char>::__assign_external' requested here
 2827 |            : __assign_external(__s);
      |              ^
/usr/include/c++/v1/string:1243:12: note: in instantiation of member function 'std::basic_string<unsigned char>::assign' requested here
 1243 |     return assign(__s);
      |            ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:40:16: note: in instantiation of member function 'std::basic_string<unsigned char>::operator=' requested here
   40 |         buffer = (const uint8_t*)"cookie: ";
      |                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2841:7: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2841 |       traits_type::copy(__p + __sz, __s, __n);
      |       ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:42:12: note: in instantiation of member function 'std::basic_string<unsigned char>::append' requested here
   42 |     buffer.append(start, length);
      |            ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2844:7: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2844 |       traits_type::assign(__p[__sz], value_type());
      |       ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2492:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2492 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/include/c++/v1/string:2847:5: note: in instantiation of member function 'std::basic_string<unsigned char>::__grow_by_and_replace' requested here
 2847 |     __grow_by_and_replace(__cap, __sz + __n - __cap, __sz, __sz, 0, __n, __s);
      |     ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:42:12: note: in instantiation of member function 'std::basic_string<unsigned char>::append' requested here
   42 |     buffer.append(start, length);
      |            ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2494:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2494 |     traits_type::copy(std::__to_address(__p) + __n_copy, __p_new_stuff, __n_add);
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2497:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2497 |     traits_type::copy(
      |     ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
/usr/include/c++/v1/string:2505:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2505 |   traits_type::assign(__p[__old_sz], value_type());
      |   ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
16 errors generated.
[ 38% 394/1012] /usr/bin/c++ -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src -I/usr/local/include/luajit-2.1 -I/wrkdirs/usr/ports/security/snort3/work/.build -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0 -I/usr/local/include/hs -I/usr/local/include/uuid -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -DNDEBUG -std=c++17 -MD -MT src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_hpack.cc.o -MF src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_hpack.cc.o.d -o src/service_inspectors/http2_inspect/CMakeFiles/
http2_inspect.dir/http2_hpack.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.cc
FAILED: src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_hpack.cc.o 
/usr/bin/c++ -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src -I/usr/local/include/luajit-2.1 -I/wrkdirs/usr/ports/security/snort3/work/.build -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0 -I/usr/local/include/hs -I/usr/local/include/uuid -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -DNDEBUG -std=c++17 -MD -MT src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_hpack.cc.o -MF src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_hpack.cc.o.d -o src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.di
r/http2_hpack.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.cc
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.h:23:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/helpers/event_gen.h:23:
In file included from /usr/include/c++/v1/bitset:147:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:48:14: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
   48 |     u8string buffer = (const uint8_t*)"";
      |              ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.h:23:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/helpers/event_gen.h:23:
In file included from /usr/include/c++/v1/bitset:140:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/usr/include/c++/v1/__type_traits/is_convertible.h:30:99: note: in instantiation of template class 'std::basic_string_view<unsigned char>' requested here
   30 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
      |                                                                                                   ^
/usr/include/c++/v1/string:745:29: note: in instantiation of template class 'std::is_convertible<const std::basic_string<unsigned char> &, std::basic_string_view<unsigned char>>' requested here
  745 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
/usr/include/c++/v1/string:1151:27: note: in instantiation of template class 'std::__can_be_converted_to_string_view<unsigned char, std::char_traits<unsigned char>, std::basic_string<unsigned char>>' requested here
 1151 |             __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
      |                           ^
/usr/include/c++/v1/string:1154:93: note: while substituting prior template arguments into non-type template parameter [with _Tp = std::basic_string<unsigned char>]
 1154 |   _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t)
      |                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1155 |       : __r_(__default_init_tag(), __default_init_tag()) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1156 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1157 |     __init(__sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1158 |   }
      |   ~
/usr/include/c++/v1/string:752:7: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = std::basic_string<unsigned char>, $1 = (no value)]
  752 | class basic_string {
      |       ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:31:7: note: while declaring the implicit copy constructor for 'Http2CookieHeaderBuffer'
   31 | class Http2CookieHeaderBuffer final
      |       ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.cc:24:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack.h:23:
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/helpers/event_gen.h:23:
In file included from /usr/include/c++/v1/bitset:147:
/usr/include/c++/v1/string:1061:17: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 1061 |     __init(__s, traits_type::length(__s));
      |                 ^
/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:48:23: note: in instantiation of function template specialization 'std::basic_string<unsigned char>::basic_string<0>' requested here
   48 |     u8string buffer = (const uint8_t*)"";
      |                       ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
3 errors generated.
[ 38% 394/1012] /usr/bin/c++ -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src -I/usr/local/include/luajit-2.1 -I/wrkdirs/usr/ports/security/snort3/work/.build -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0 -I/usr/local/include/hs -I/usr/local/include/uuid -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -DNDEBUG -std=c++17 -MD -MT src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_headers_frame_with_startline.cc.o -MF src/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_headers_frame_with_startline.cc.o.d -o sr
c/service_inspectors/http2_inspect/CMakeFiles/http2_inspect.dir/http2_headers_frame_with_startline.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.5.2.0/src/service_inspectors/http2_inspect/http2_headers_frame_with_startline.cc
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 making "build" in /usr/ports/security/snort3