=> Building security/sancp Started : Thursday, 12 APR 2018 at 06:18:52 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for sancp-1.6.1_6: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/sancp XDG_CONFIG_HOME=/construction/security/sancp HOME=/construction/security/sancp TMPDIR="/tmp" PATH=/construction/security/sancp/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/sancp XDG_CONFIG_HOME=/construction/security/sancp HOME=/construction/security/sancp TMPDIR="/tmp" PATH=/construction/security/sancp/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- CFLAGS="-pipe -O2 -fno-strict-aliasing" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" LFLAGS="" DESTDIR=/construction/security/sancp/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/sancp" EXAMPLESDIR="share/examples/sancp" DATADIR="share/sancp" WWWDIR="www/sancp" ETCDIR="etc/sancp" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License QPLv1 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> sancp-1.6.1_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> sancp-1.6.1_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sancp-1.6.1_6 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License QPLv1 accepted by the user ===> Fetching all distfiles required by sancp-1.6.1_6 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License QPLv1 accepted by the user ===> Fetching all distfiles required by sancp-1.6.1_6 for building => SHA256 Checksum OK for sancp-1.6.1-stable.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License QPLv1 accepted by the user ===> Fetching all distfiles required by sancp-1.6.1_6 for building ===> Extracting for sancp-1.6.1_6 => SHA256 Checksum OK for sancp-1.6.1-stable.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for sancp-1.6.1_6 ===> Applying ports patches for sancp-1.6.1_6 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for sancp-1.6.1_6 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for sancp-1.6.1_6 --- bsd --- --- final --- c++ -Wall -pipe -O2 -fno-strict-aliasing -c build_acl.cc -o build_acl.o In file included from gvars.h:6:0, from sancp.h:47, from build_acl.cc:2: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] build_acl.cc: In function 'void parse_args(int, char**)': build_acl.cc:153:194: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-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); ^ build_acl.cc:155:172: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-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); ^ build_acl.cc: In function 'void build_config(int)': build_acl.cc:411:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *accept="\t ,="; ^ build_acl.cc: In function 'char* get_tok(char**, const char*)': build_acl.cc:2098:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len=0; ^ build_acl.cc: In function 'char* get_next_tok(char**, const char*)': build_acl.cc:2118:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len=0; ^ c++ -Wall -pipe -O2 -fno-strict-aliasing -c misc_functs.cc -o misc_functs.o In file included from gvars.h:6:0, from sancp.h:47, from misc_functs.cc:2: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] misc_functs.cc: In function 'void manage_cid(int)': misc_functs.cc:56:79: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] syslog(LOG_INFO,"Retrieved last connection ID: %llu %d %d\n", cid,len,errno); ^ c++ -Wall -pipe -O2 -fno-strict-aliasing -c outputFileHandle.cc -o outputFileHandle.o c++ -Wall -pipe -O2 -fno-strict-aliasing -c apply_rule.cc -o apply_rule.o In file included from gvars.h:6:0, from sancp.h:47, from apply_rule.cc:2: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] c++ -Wall -pipe -O2 -fno-strict-aliasing -c decode.cc -o decode.o In file included from gvars.h:6:0, from sancp.h:47, from decode.cc:2: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] c++ -Wall -pipe -O2 -fno-strict-aliasing -c fileHandle.cc -o fileHandle.o c++ -Wall -pipe -O2 -fno-strict-aliasing -c MemoryPool.cc -o MemoryPool.o c++ -Wall -pipe -O2 -fno-strict-aliasing -c pcapFileHandle.cc -o pcapFileHandle.o In file included from pcapFileHandle.cc:2:0: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.cc: In member function 'ssize_t pcapFileHandle::write(const char*, int, timeval*)': pcapFileHandle.cc:60:7: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[5]; ^ c++ -Wall -pipe -O2 -fno-strict-aliasing -c sancp.cc -o sancp.o In file included from gvars.h:6:0, from sancp.h:47, from sancp.cc:3: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] cc -Wall -pipe -O2 -fno-strict-aliasing -c pcap_functions.c -o pcap_functions.o pcap_functions.c: In function 'apply_filter': pcap_functions.c:78:12: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] netmask = htonl(defaultnet); ^ c++ -Wall -pipe -O2 -fno-strict-aliasing -c permissions.cc -o permissions.o In file included from gvars.h:6:0, from sancp.h:47, from permissions.cc:4: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] c++ -Wall -pipe -O2 -fno-strict-aliasing -c check_packet.cc -o check_packet.o In file included from gvars.h:6:0, from sancp.h:47, from check_packet.cc:2: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] c++ -Wall -pipe -O2 -fno-strict-aliasing -c statefull_logging.cc -o statefull_logging.o In file included from gvars.h:6:0, from sancp.h:47, from statefull_logging.cc:3: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] statefull_logging.cc: In function 'void expire_connections()': statefull_logging.cc:120:6: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, y; ^ statefull_logging.cc:120:9: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y; ^ statefull_logging.cc: In function 'void record(cnx*, outputFileHandle*)': statefull_logging.cc:236:56: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%lld",cn->cid); ^ statefull_logging.cc:236:56: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:333:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_pkts); ^ statefull_logging.cc:333:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:335:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_pkts); ^ statefull_logging.cc:335:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:341:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_pkts); ^ statefull_logging.cc:341:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:343:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_pkts); ^ statefull_logging.cc:343:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:349:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_bytes); ^ statefull_logging.cc:349:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:351:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_bytes); ^ statefull_logging.cc:351:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:357:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->s_total_bytes); ^ statefull_logging.cc:357:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:359:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->d_total_bytes); ^ statefull_logging.cc:359:70: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:520:68: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->total_bytes); ^ statefull_logging.cc:520:68: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:528:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->collected); ^ statefull_logging.cc:528:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] statefull_logging.cc:532:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] snprintf(LOG,MAXENTRYLEN,"%llu",cn->limit); ^ statefull_logging.cc:532:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t {aka long unsigned int}' [-Wformat=] c++ -Wall -pipe -O2 -fno-strict-aliasing -c help.cc -o help.o In file included from gvars.h:6:0, from sancp.h:47, from help.cc:2: pcapFileHandle.h:19:150: warning: narrowing conversion of '212' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char pcap_header[] = { 0xd4,0xc3,0xb2,0xa1,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x4e,0x00,0x00,0x01,0x00,0x00,0x00 }; ^ pcapFileHandle.h:19:150: warning: narrowing conversion of '195' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '178' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] pcapFileHandle.h:19:150: warning: narrowing conversion of '161' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] c++ -Wall -lpcap -L/usr/lib/libpcap.so -pipe -O2 -fno-strict-aliasing -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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for sancp-1.6.1_6 ===> Generating temporary packing list ===> Creating groups. ===> Creating users install -s -m 555 /construction/security/sancp/sancp-1.6.1-stable/sancp /construction/security/sancp/stage/usr/local/bin install -m 0644 /construction/security/sancp/sancp-1.6.1-stable/etc/sancp/sancp.conf /construction/security/sancp/stage/usr/local/etc/sancp.conf.sample /bin/mkdir -p /construction/security/sancp/stage/var/log/sancp install -m 0644 /construction/security/sancp/sancp-1.6.1-stable/docs/CHANGES /construction/security/sancp/sancp-1.6.1-stable/docs/INSTALL /construction/security/sancp/sancp-1.6.1-stable/docs/ISSUES /construction/security/sancp/sancp-1.6.1-stable/docs/README /construction/security/sancp/sancp-1.6.1-stable/docs/SETUP /construction/security/sancp/sancp-1.6.1-stable/docs/fields.LIST /construction/security/sancp/stage/usr/local/share/doc/sancp ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for sancp-1.6.1_6 file sizes/checksums [12]: . done packing files [12]: . done packing directories [1]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 12 APR 2018 at 06:19:04 UTC Duration: 00:00:12