=> Building security/sancp build started at Wed Oct 5 17:41:43 PDT 2016 port directory: /usr/ports/security/sancp building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: bofh@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../08//usr/ports/security/sancp/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=sancp-1.6.1_6 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> 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 ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/security/sancp XDG_CONFIG_HOME=/wrkdirs/security/sancp HOME=/wrkdirs/security/sancp TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/security/sancp XDG_CONFIG_HOME=/wrkdirs/security/sancp HOME=/wrkdirs/security/sancp TMPDIR="/tmp" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " 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 NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License QPLv1 accepted by the user =========================================================================== =================================================== ===> sancp-1.6.1_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> sancp-1.6.1_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sancp-1.6.1_6 =========================================================================== =================================================== =========================================================================== =================================================== ===> License QPLv1 accepted by the user ===> Fetching all distfiles required by sancp-1.6.1_6 for building =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for sancp-1.6.1_6 ===> Applying ports patches for sancp-1.6.1_6 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for sancp-1.6.1_6 =========================================================================== =================================================== ===> 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 =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for sancp-1.6.1_6 ===> Generating temporary packing list ===> Creating groups. ===> Creating users install -s -m 555 /wrkdirs/security/sancp/sancp-1.6.1-stable/sancp /wrkdirs/security/sancp/stage/usr/local/bin install -m 0644 /wrkdirs/security/sancp/sancp-1.6.1-stable/etc/sancp/sancp.conf /wrkdirs/security/sancp/stage/usr/local/etc/sancp.conf.sample /bin/mkdir -p /wrkdirs/security/sancp/stage/var/log/sancp install -m 0644 /wrkdirs/security/sancp/sancp-1.6.1-stable/docs/CHANGES /wrkdirs/security/sancp/sancp-1.6.1-stable/docs/INSTALL /wrkdirs/security/sancp/sancp-1.6.1-stable/docs/ISSUES /wrkdirs/security/sancp/sancp-1.6.1-stable/docs/README /wrkdirs/security/sancp/sancp-1.6.1-stable/docs/SETUP /wrkdirs/security/sancp/sancp-1.6.1-stable/docs/fields.LIST /wrkdirs/security/sancp/stage/usr/local/share/doc/sancp ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===> Building package for sancp-1.6.1_6 file sizes/checksums [12]: . done packing files [12]: . done packing directories [1]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for sancp-1.6.1_6 build of security/sancp ended at Wed Oct 5 17:41:54 PDT 2016 build time: 00:00:11