=>> Building security/sancp build started at Fri Apr 5 00:09:45 BST 2024 port directory: /usr/ports/security/sancp package name: sancp-1.6.1_7 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1313 Mar 16 09:21 /usr/ports/security/sancp/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 41e0538547 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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 sancp-1.6.1_7: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/sancp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/sancp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/sancp/work/.cache HOME=/wrkdirs/usr/ports/security/sancp/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/sancp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/sancp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/sancp/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/sancp/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/sancp/work/.cache HOME=/wrkdirs/usr/ports/security/sancp/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/sancp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/sancp/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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing " CCACHE_DIR="/root/.ccache" 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="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sancp" EXAMPLESDIR="share/examples/sancp" DATADIR="share/sancp" WWWDIR="www/sancp" ETCDIR="etc/sancp" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sancp DOCSDIR=/usr/local/share/doc/sancp EXAMPLESDIR=/usr/local/share/examples/sancp WWWDIR=/usr/local/www/sancp ETCDIR=/usr/local/etc/sancp --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 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 --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream unmaintained and last release in 2007. It is scheduled to be removed on or after 2024-04-13. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sancp-1.6.1_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> sancp-1.6.1_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sancp-1.6.1_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream unmaintained and last release in 2007. It is scheduled to be removed on or after 2024-04-13. ===> Fetching all distfiles required by sancp-1.6.1_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream unmaintained and last release in 2007. It is scheduled to be removed on or after 2024-04-13. ===> Fetching all distfiles required by sancp-1.6.1_7 for building => SHA256 Checksum OK for sancp-1.6.1-stable.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Upstream unmaintained and last release in 2007. It is scheduled to be removed on or after 2024-04-13. ===> Fetching all distfiles required by sancp-1.6.1_7 for building ===> Extracting for sancp-1.6.1_7 => SHA256 Checksum OK for sancp-1.6.1-stable.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for sancp-1.6.1_7 ===> Applying FreeBSD patches for sancp-1.6.1_7 from /usr/ports/security/sancp/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for sancp-1.6.1_7 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sancp-1.6.1_7 c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c build_acl.cc -o build_acl.o build_acl.cc:153:157: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] syslog(LOG_ERR,"cnxid provided (%llu) is less than 64bit cnxid in the '.cnxid' cache file, using cnxid %llu from cache instead\n",num,(long long unsigned) gVars.cnx_id); ~~~~ ^~~ %lu build_acl.cc:155:135: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] syslog(LOG_ERR,"Using cnxid provided (%llu) rather than the last cnxid in the '.cnxid' cache file (%llu)\n",num,(long long unsigned) gVars.cnx_id); ~~~~ ^~~ %lu build_acl.cc:411:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *accept="\t ,="; ^ build_acl.cc:2098:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len=0; ^ build_acl.cc:2118:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len=0; ^ 5 warnings generated. c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c misc_functs.cc -o misc_functs.o misc_functs.cc:56:66: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] syslog(LOG_INFO,"Retrieved last connection ID: %llu %d %d\n", cid,len,errno); ~~~~ ^~~ %lu 1 warning generated. c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c outputFileHandle.cc -o outputFileHandle.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c apply_rule.cc -o apply_rule.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c decode.cc -o decode.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c fileHandle.cc -o fileHandle.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c MemoryPool.cc -o MemoryPool.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c pcapFileHandle.cc -o pcapFileHandle.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c sancp.cc -o sancp.o cc -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c pcap_functions.c -o pcap_functions.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c permissions.cc -o permissions.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c check_packet.cc -o check_packet.o c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c statefull_logging.cc -o statefull_logging.o statefull_logging.cc:120:9: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y; ^ statefull_logging.cc:120:6: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, y; ^ statefull_logging.cc:236:49: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%lld",cn->cid); ~~~~ ^~~~~~~ %lu statefull_logging.cc:333:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_pkts); ~~~~ ^~~~~~~~~~~~~~~~ %lu statefull_logging.cc:335:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_pkts); ~~~~ ^~~~~~~~~~~~~~~~ %lu statefull_logging.cc:341:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_pkts); ~~~~ ^~~~~~~~~~~~~~~~ %lu statefull_logging.cc:343:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_pkts); ~~~~ ^~~~~~~~~~~~~~~~ %lu statefull_logging.cc:349:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_bytes); ~~~~ ^~~~~~~~~~~~~~~~~ %lu statefull_logging.cc:351:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_bytes); ~~~~ ^~~~~~~~~~~~~~~~~ %lu statefull_logging.cc:357:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_bytes); ~~~~ ^~~~~~~~~~~~~~~~~ %lu statefull_logging.cc:359:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_bytes); ~~~~ ^~~~~~~~~~~~~~~~~ %lu statefull_logging.cc:520:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->total_bytes); ~~~~ ^~~~~~~~~~~~~~~ %lu statefull_logging.cc:528:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->collected); ~~~~ ^~~~~~~~~~~~~ %lu statefull_logging.cc:532:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] snprintf(LOG,MAXENTRYLEN,"%llu",cn->limit); ~~~~ ^~~~~~~~~ %lu statefull_logging.cc:648:83: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x10:0x20)?Y:N); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ statefull_logging.cc:648:83: note: place parentheses around the '&' expression to silence this warning snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x10:0x20)?Y:N); ^ ( ) statefull_logging.cc:648:83: note: place parentheses around the '?:' expression to evaluate it first snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x10:0x20)?Y:N); ^ ( ) statefull_logging.cc:648:52: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x10:0x20)?Y:N); ^ statefull_logging.cc:652:83: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x20:0x10)?Y:N); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ statefull_logging.cc:652:83: note: place parentheses around the '&' expression to silence this warning snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x20:0x10)?Y:N); ^ ( ) statefull_logging.cc:652:83: note: place parentheses around the '?:' expression to evaluate it first snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x20:0x10)?Y:N); ^ ( ) statefull_logging.cc:652:52: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x20:0x10)?Y:N); ^ statefull_logging.cc:656:83: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x04:0x08)?Y:N); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ statefull_logging.cc:656:83: note: place parentheses around the '&' expression to silence this warning snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x04:0x08)?Y:N); ^ ( ) statefull_logging.cc:656:83: note: place parentheses around the '?:' expression to evaluate it first snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x04:0x08)?Y:N); ^ ( ) statefull_logging.cc:656:52: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x04:0x08)?Y:N); ^ statefull_logging.cc:660:83: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x08:0x04)?Y:N); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ statefull_logging.cc:660:83: note: place parentheses around the '&' expression to silence this warning snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x08:0x04)?Y:N); ^ ( ) statefull_logging.cc:660:83: note: place parentheses around the '?:' expression to evaluate it first snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x08:0x04)?Y:N); ^ ( ) statefull_logging.cc:660:52: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x08:0x04)?Y:N); ^ statefull_logging.cc:664:83: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x01:0x02)?Y:N); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ statefull_logging.cc:664:83: note: place parentheses around the '&' expression to silence this warning snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x01:0x02)?Y:N); ^ ( ) statefull_logging.cc:664:83: note: place parentheses around the '?:' expression to evaluate it first snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x01:0x02)?Y:N); ^ ( ) statefull_logging.cc:664:52: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x01:0x02)?Y:N); ^ statefull_logging.cc:668:83: warning: operator '?:' has lower precedence than '&'; '&' will be evaluated first [-Wbitwise-conditional-parentheses] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x02:0x01)?Y:N); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ statefull_logging.cc:668:83: note: place parentheses around the '&' expression to silence this warning snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x02:0x01)?Y:N); ^ ( ) statefull_logging.cc:668:83: note: place parentheses around the '?:' expression to evaluate it first snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x02:0x01)?Y:N); ^ ( ) statefull_logging.cc:668:52: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] snprintf(LOG,MAXENTRYLEN,"%c",(cn->tcpCFlags&(cn->reversed==1)?0x02:0x01)?Y:N); ^ statefull_logging.cc:968:37: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] fH->write(LOG,strlen(LOG)); bzero(LOG,MAXENTRYLEN); ^ statefull_logging.cc:967:9: note: previous statement is here if(x>0) ^ 27 warnings generated. c++ -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -c help.cc -o help.o c++ -Wall -lpcap -L/usr/lib/libpcap.so -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -o sancp sancp.o misc_functs.o check_packet.o statefull_logging.o build_acl.o apply_rule.o decode.o pcap_functions.o pcapFileHandle.o fileHandle.o MemoryPool.o permissions.o outputFileHandle.o help.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for sancp-1.6.1_7 ===> Generating temporary packing list ===> Creating groups. ===> Creating users install -s -m 555 /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/sancp /wrkdirs/usr/ports/security/sancp/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/etc/sancp/sancp.conf /wrkdirs/usr/ports/security/sancp/work/stage/usr/local/etc/sancp.conf.sample /bin/mkdir -p /wrkdirs/usr/ports/security/sancp/work/stage/var/log/sancp install -m 0644 /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/docs/CHANGES /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/docs/INSTALL /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/docs/ISSUES /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/docs/README /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/docs/SETUP /wrkdirs/usr/ports/security/sancp/work/sancp-1.6.1-stable/docs/fields.LIST /wrkdirs/usr/ports/security/sancp/work/stage/usr/local/share/doc/sancp ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-04T23:09:45+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=41e0538547' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for sancp-1.6.1_7 ===> Building sancp-1.6.1_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for sancp-1.6.1_7 build of security/sancp | sancp-1.6.1_7 ended at Fri Apr 5 00:09:58 BST 2024 build time: 00:00:14