Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 12:08:57 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 122powerpc64-quarterly][security/snort3] Failed for snort3-3.1.1.0, 1 in build
Message-ID:  <202104271208.13RC8vrX001223@pylon.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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:        http://pylon.nyi.freebsd.org/data/122powerpc64-quarterly/a6d30d977779/logs/snort3-3.1.1.0,1.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=a6d30d977779
Log:

=>> Building security/snort3
build started at Tue Apr 27 12:06:05 UTC 2021
port directory: /usr/ports/security/snort3
package name: snort3-3.1.1.0,1
building for: FreeBSD 122powerpc64-quarterly-job-08 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: bofh@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400003
Jail OSVERSION: 1202000
Job Id: 08

---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 snort3-3.1.1.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
     LARGEPCAP=off: Enable support for pcaps larger than 2 GB
     PIE=off: Enable PIE (Broken)
     STATICDAQ=on: Link static DAQ modules
     THREADSANITIZER=off: Enable thread sanitizer
===> 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  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 SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
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  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 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" DESTDIR=/wrkdirs/usr/ports/security/snort3/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -W
 l,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS="-DLIBICONV_PLUG -isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS="-L/usr/local/lib"  CXX="g++10" CXXFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -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--
PORTDOCS="" HYPERSCAN="@comment " CMAKE_BUILD_TYPE="release" OSREL=12.2 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--
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---
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    >============================
===>   snort3-3.1.1.0,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-08] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-08] Extracting pkg-1.16.3: .......... done
===>   snort3-3.1.1.0,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of snort3-3.1.1.0,1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by snort3-3.1.1.0,1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by snort3-3.1.1.0,1 for building
=> SHA256 Checksum OK for snort3-snort3-3.1.1.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by snort3-3.1.1.0,1 for building
===>  Extracting for snort3-3.1.1.0,1
=> SHA256 Checksum OK for snort3-snort3-3.1.1.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for snort3-3.1.1.0,1
===>  Applying FreeBSD patches for snort3-3.1.1.0,1 from /usr/ports/security/snort3/files
/usr/bin/sed -i.bak -e 's|_LIBDIR}/pkgconfig|_PREFIX}/libdata/pkgconfig|g'  /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/cmake/create_pkg_config.cmake
===========================================================================
=======================<phase: build-depends  >============================
===>   snort3-3.1.1.0,1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.19.6.txz
[122powerpc64-quarterly-job-08] Installing cmake-3.19.6...
[122powerpc64-quarterly-job-08] `-- Installing curl-7.76.0...
[122powerpc64-quarterly-job-08] |   `-- Installing ca_root_nss-3.63...
[122powerpc64-quarterly-job-08] |   `-- Extracting ca_root_nss-3.63: ........ done
[122powerpc64-quarterly-job-08] |   `-- Installing libnghttp2-1.43.0...
[122powerpc64-quarterly-job-08] |   | `-- Installing gcc10-10.2.0_1...
[122powerpc64-quarterly-job-08] |   |   `-- Installing binutils-2.33.1_4,1...
<snip>
  149 |     return ip32;
      |            ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'SfIpRet snort::SfIp::_ip6_cmp(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:311:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  311 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:312:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  312 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_lt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:357:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  357 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:358:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  358 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_gt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:387:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  387 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:388:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  388 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_eq6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:417:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  417 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:418:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  418 |     p2 = ip2.ip32;
      |          ~~~~^~~~
[52/912] /usr/local/bin/g++10 -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src -I/usr/local/include/luajit-2.1 -I. -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0 -I/usr/local/include/uuid -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -std=c++14 -MD -MT src/log/CMakeFiles/log.dir/obfuscator.cc.o -MF src/log/CMakeFiles/log.dir/obfuscator.cc.o.d -o src/log/CMakeFiles/log.dir/obfuscator.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/log/obfuscator.cc
[53/912] /usr/local/bin/g++10 -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src -I/usr/local/include/luajit-2.1 -I. -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0 -I/usr/local/include/uuid -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -std=c++14 -MD -MT src/log/CMakeFiles/log.dir/text_log.cc.o -MF src/log/CMakeFiles/log.dir/text_log.cc.o.d -o src/log/CMakeFiles/log.dir/text_log.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/log/text_log.cc
[54/912] cd /wrkdirs/usr/ports/security/snort3/work/.build/src/main && /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/../lua_wrap.sh /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main bootstrap > lua_bootstrap.h
[55/912] cd /wrkdirs/usr/ports/security/snort3/work/.build/src/main && /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/../lua_wrap.sh /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main finalize > lua_finalize.h
[56/912] /usr/local/bin/g++10 -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src -I/usr/local/include/luajit-2.1 -I. -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0 -I/usr/local/include/uuid -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -std=c++14 -MD -MT src/log/CMakeFiles/log.dir/u2_packet.cc.o -MF src/log/CMakeFiles/log.dir/u2_packet.cc.o.d -o src/log/CMakeFiles/log.dir/u2_packet.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/log/u2_packet.cc
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/protocols/ip.h:28,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/framework/decode_data.h:25,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/flow/flow.h:37,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/log/u2_packet.cc:29:
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ip4_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:137:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  137 |     return &ip32[3];
      |            ^~~~~~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ip6_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:142:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  142 |     return ip32;
      |            ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:148:16: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  148 |         return &ip32[3];
      |                ^~~~~~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:149:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  149 |     return ip32;
      |            ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'SfIpRet snort::SfIp::_ip6_cmp(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:311:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  311 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:312:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  312 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_lt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:357:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  357 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:358:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  358 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_gt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:387:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  387 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:388:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  388 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_eq6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:417:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  417 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:418:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  418 |     p2 = ip2.ip32;
      |          ~~~~^~~~
[57/912] /usr/local/bin/g++10 -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src -I/usr/local/include/luajit-2.1 -I. -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0 -I/usr/local/include/uuid -Isrc/main -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -std=c++14 -MD -MT src/main/CMakeFiles/main.dir/analyzer.cc.o -MF src/main/CMakeFiles/main.dir/analyzer.cc.o.d -o src/main/CMakeFiles/main.dir/analyzer.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer.cc
FAILED: src/main/CMakeFiles/main.dir/analyzer.cc.o 
/usr/local/bin/g++10 -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src -I/usr/local/include/luajit-2.1 -I. -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0 -I/usr/local/include/uuid -Isrc/main -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -std=c++14 -MD -MT src/main/CMakeFiles/main.dir/analyzer.cc.o -MF src/main/CMakeFiles/main.dir/analyzer.cc.o.d -o src/main/CMakeFiles/main.dir/analyzer.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer.cc
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_cidr.h:24,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/snort_config.h:37,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/detection/detection_util.h:27,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/detection/detection_engine.h:29,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer.cc:33:
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ip4_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:137:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  137 |     return &ip32[3];
      |            ^~~~~~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ip6_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:142:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  142 |     return ip32;
      |            ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:148:16: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  148 |         return &ip32[3];
      |                ^~~~~~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:149:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  149 |     return ip32;
      |            ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'SfIpRet snort::SfIp::_ip6_cmp(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:311:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  311 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:312:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  312 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_lt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:357:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  357 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:358:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  358 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_gt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:387:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  387 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:388:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  388 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_eq6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:417:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  417 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:418:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  418 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer.cc: In function 'void process_daq_sof_eof_msg(DAQ_Msg_h, DAQ_Verdict&)':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer.cc:168:11: error: 'Flow_Stats_t' does not name a type; did you mean 'DAQ_Stats_t'?
  168 |     const Flow_Stats_t *stats = (const Flow_Stats_t *) daq_msg_get_hdr(msg);
      |           ^~~~~~~~~~~~
      |           DAQ_Stats_t
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer.cc:173:29: error: 'stats' was not declared in this scope; did you mean 'static'?
  173 |         packet_time_update(&stats->eof_timestamp);
      |                             ^~~~~
      |                             static
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer.cc:179:29: error: 'stats' was not declared in this scope; did you mean 'static'?
  179 |         packet_time_update(&stats->sof_timestamp);
      |                             ^~~~~
      |                             static
[58/912] /usr/local/bin/g++10 -DHAVE_CONFIG_H -Dinline=inline -Drestrict=__restrict -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/network_inspectors -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src -I/usr/local/include/luajit-2.1 -I. -I/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0 -I/usr/local/include/uuid -Isrc/main -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include  -fvisibility=hidden   -DNDEBUG    -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -std=c++14 -MD -MT src/main/CMakeFiles/main.dir/analyzer_command.cc.o -MF src/main/CMakeFiles/main.dir/analyzer_command.cc.o.d -o src/main/CMakeFiles/main.dir/analyzer_command.cc.o -c /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer_command.cc
In file included from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/target_based/host_attributes.h:33,
                 from /wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/main/analyzer_command.cc:31:
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ip4_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:137:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  137 |     return &ip32[3];
      |            ^~~~~~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ip6_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:142:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  142 |     return ip32;
      |            ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'const uint32_t* snort::SfIp::get_ptr() const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:148:16: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  148 |         return &ip32[3];
      |                ^~~~~~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:149:12: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  149 |     return ip32;
      |            ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'SfIpRet snort::SfIp::_ip6_cmp(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:311:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  311 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:312:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  312 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_lt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:357:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  357 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:358:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  358 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_gt6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:387:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  387 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:388:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  388 |     p2 = ip2.ip32;
      |          ~~~~^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h: In member function 'bool snort::SfIp::fast_eq6(const snort::SfIp&) const':
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:417:10: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  417 |     p1 = ip32;
      |          ^~~~
/wrkdirs/usr/ports/security/snort3/work/snort3-3.1.1.0/src/sfip/sf_ip.h:418:14: warning: taking address of packed member of 'snort::SfIp' may result in an unaligned pointer value [-Waddress-of-packed-member]
  418 |     p2 = ip2.ip32;
      |          ~~~~^~~~
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 in /usr/ports/security/snort3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104271208.13RC8vrX001223>