From owner-freebsd-pkg-fallout@freebsd.org Tue Oct 25 03:43:37 2016 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42B63C2042D for ; Tue, 25 Oct 2016 03:43:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 30BF117A for ; Tue, 25 Oct 2016 03:43:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2FFD3C2042B; Tue, 25 Oct 2016 03:43:37 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F959C2042A for ; Tue, 25 Oct 2016 03:43:37 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (thunderx1.nyi.freebsd.org [IPv6:2610:1c1:1:6082::16:fb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 008C6179 for ; Tue, 25 Oct 2016 03:43:36 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from thunderx1.nyi.freebsd.org (localhost [127.0.0.1]) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9P3ha58049198 for ; Tue, 25 Oct 2016 03:43:36 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by thunderx1.nyi.freebsd.org (8.15.2/8.15.2/Submit) id u9P3havx049162; Tue, 25 Oct 2016 03:43:36 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 25 Oct 2016 03:43:36 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201610250343.u9P3havx049162@thunderx1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - 110arm64-quarterly][net-mgmt/pmacct] Failed for pmacct-0.14.3_3 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 03:43:37 -0000 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: zi@FreeBSD.org Last committer: amdmi3@FreeBSD.org Ident: $FreeBSD: branches/2016Q4/net-mgmt/pmacct/Makefile 415742 2016-05-23 20:35:01Z amdmi3 $ Log URL: http://thunderx1.nyi.freebsd.org/data/110arm64-quarterly/424582/logs/pmacct-0.14.3_3.log Build URL: http://thunderx1.nyi.freebsd.org/build.html?mastername=110arm64-quarterly&build=424582 Log: ====>> Building net-mgmt/pmacct build started at Tue Oct 25 03:41:19 UTC 2016 port directory: /usr/ports/net-mgmt/pmacct building for: FreeBSD 110arm64-quarterly-job-14 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 r306420 arm64 maintained by: zi@FreeBSD.org Makefile ident: $FreeBSD: branches/2016Q4/net-mgmt/pmacct/Makefile 415742 2016-05-23 20:35:01Z amdmi3 $ Poudriere version: 3.1.14 Host OSVERSION: 1100121 Jail OSVERSION: 1100122 !!! Jail is newer than host. (Jail: 1100122, Host: 1100121) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_v=FreeBSD 11.0-RELEASE-p1 r306420 UNAME_r=11.0-RELEASE-p1 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 OPSYS=FreeBSD ARCH=aarch64 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/110arm64-quarterly/ref UID=0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin _JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+ POUDRIERE_BUILD_TYPE=bulk PKGNAME=pmacct-0.14.3_3 OSREL=11.0 _OSRELEASE=11.0-RELEASE-p1 PYTHONBASE=/usr/local OLDPWD=/ _SMP_CPUS=48 PWD=/usr/local/poudriere/data/.m/110arm64-quarterly/ref/.p/pool MASTERNAME=110arm64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere _JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun USER=root HOME=/root POUDRIERE_VERSION=3.1.14 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh CONFIGURE_MAX_CMD_LEN=262144 LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes _JAVA_OS_LIST_REGEXP=native\|linux OSVERSION=1100122 ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for pmacct-0.14.3_3: DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation GEOIP=off: GeoIP IP location support IPV6=on: IPv6 protocol support LAYER2=on: Enable Layer-2 support: MAC addresses and VLANs MMAP=on: Enable mmap(2) support MONGO=off: MongoDB support MYSQL=off: MySQL database support PGSQL=off: PostgreSQL database support SHARED=on: Enable shared objects SQLITE=off: Enable SQLite support THREADS=off: Threading support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --disable-mysql --disable-pgsql --disable-sqlite3 --enable-mmap --enable-l2 --enable-ipv6 --disable-threads --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/pmacct/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/pmacct/work HOME=/wrkdirs/usr/ports/net-mgmt/pmacct/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/pmacct/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/pmacct/work HOME=/wrkdirs/usr/ports/net-mgmt/pmacct/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS=""-I/usr/local/include"" LDFLAGS=" "-L/usr/local/lib"" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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-- WITH_MYSQL="@comment " WITH_PGSQL="@comment " OSREL=11.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/pmacct" EXAMPLESDIR="share/examples/pmacct" DATADIR="share/pmacct" WWWDIR="www/pmacct" ETCDIR="etc/pmacct" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pmacct DOCSDIR=/usr/local/share/doc/pmacct EXAMPLESDIR=/usr/local/share/examples/pmacct WWWDIR=/usr/local/www/pmacct ETCDIR=/usr/local/etc/pmacct --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /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 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> pmacct-0.14.3_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz [110arm64-quarterly-job-14] Installing pkg-1.8.7_3... [110arm64-quarterly-job-14] Extracting pkg-1.8.7_3: .......... done ===> pmacct-0.14.3_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pmacct-0.14.3_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by pmacct-0.14.3_3 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by pmacct-0.14.3_3 for building => SHA256 Checksum OK for pmacct-0.14.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by pmacct-0.14.3_3 for building ===> Extracting for pmacct-0.14.3_3 => SHA256 Checksum OK for pmacct-0.14.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for pmacct-0.14.3_3 ===> Applying FreeBSD patches for pmacct-0.14.3_3 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for pmacct-0.14.3_3 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing -L/usr/local/lib) works... yes checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing -L/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking OS... FreeBSD checking hardware... arm64 checking for ranlib... ranlib checking whether to enable debugging compiler options... no checking whether to relax compiler optimizations... no checking for gmake... no checking for make... make checking whether make sets ${MAKE}... (cached) yes checking for __progname... yes checking for extra flags needed to export symbols... --export-dynamic checking for static inline... yes checking endianess... little ^ 2 warnings generated. cc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.14.3\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DNEED_ALIGN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_bpf=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DHAVE_UINT64_T=1 -DHAVE_UINT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_UINT8_T=1 -DHAVE_64BIT_COUNTERS=1 -DRETSIGTYPE=void -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -DHAVE_SETPROCTITLE=1 -I. -I.. -O2 -pipe -fno-strict-aliasing -c isis_lsp.c -o isis_lsp.o In file included from isis_lsp.c:26: In file included from ../pmacct.h:168: ./network.h:219:7: warning: declaration does not declare anything [-Wmissing-declarations] u_int16_t __unused; ^~~~~~~~~ isis_lsp.c:291:3: warning: implicit declaration of function 'fletcher_checksum' is invalid in C99 [-Wimplicit-function-declaration] fletcher_checksum (STREAM_DATA (lsp->pdu) + 12, ^ isis_lsp.c:760:3: warning: implicit declaration of function 'isis_list_add_list' is invalid in C99 [-Wimplicit-function-declaration] isis_list_add_list (lsp->tlv_data.area_addrs, area->area_addrs); ^ 3 warnings generated. cc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.14.3\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DNEED_ALIGN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_bpf=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DHAVE_UINT64_T=1 -DHAVE_UINT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_UINT8_T=1 -DHAVE_64BIT_COUNTERS=1 -DRETSIGTYPE=void -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -DHAVE_SETPROCTITLE=1 -I. -I.. -O2 -pipe -fno-strict-aliasing -c isis_pdu.c -o isis_pdu.o In file included from isis_pdu.c:26: In file included from ../pmacct.h:168: ./network.h:219:7: warning: declaration does not declare anything [-Wmissing-declarations] u_int16_t __unused; ^~~~~~~~~ isis_pdu.c:825:5: warning: implicit declaration of function 'fletcher_checksum' is invalid in C99 [-Wimplicit-function-declaration] fletcher_checksum (STREAM_DATA (lsp->pdu) + 12, ^ isis_pdu.c:1132:7: warning: implicit declaration of function 'lsp_build_isis_list_nonzero_ht' is invalid in C99 [-Wimplicit-function-declaration] lsp_build_isis_list_nonzero_ht (chdr->start_lsp_id, chdr->stop_lsp_id, ^ isis_pdu.c:1144:5: warning: implicit declaration of function 'isis_list_delete_node' is invalid in C99 [-Wimplicit-function-declaration] isis_list_delete_node (lsp_list, node2); ^ isis_pdu.c:1492:39: warning: address of array 'circuit->u.bc.l1_desig_is' will always evaluate to 'true' [-Wpointer-bool-conversion] if (level == 1 && circuit->u.bc.l1_desig_is) ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~ isis_pdu.c:1497:44: warning: address of array 'circuit->u.bc.l2_desig_is' will always evaluate to 'true' [-Wpointer-bool-conversion] else if (level == 2 && circuit->u.bc.l2_desig_is) ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~ isis_pdu.c:1624:20: warning: implicit declaration of function 'if_nametoindex' is invalid in C99 [-Wimplicit-function-declaration] sa.sll_ifindex = if_nametoindex(config.nfacctd_isis_iface); ^ isis_pdu.c:1729:11: warning: implicit declaration of function 'lsp_build_isis_list_ssn' is invalid in C99 [-Wimplicit-function-declaration] lsp_build_isis_list_ssn (circuit, list, circuit->area->lspdb[level - 1]); ^ 8 warnings generated. ar rc libisis.a isis.o checksum.o dict.o table.o prefix.o sockunion.o hash.o stream.o thread.o linklist.o isis_circuit.o isis_events.o isis_route.o isis_tlv.o isis_csm.o isis_flags.o isis_misc.o isisd.o isis_adjacency.o isis_dynhn.o isis_spf.o iso_checksum.o isis_lsp.o isis_pdu.o ranlib libisis.a cc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.14.3\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DNEED_ALIGN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_bpf=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DHAVE_UINT64_T=1 -DHAVE_UINT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_UINT8_T=1 -DHAVE_64BIT_COUNTERS=1 -DRETSIGTYPE=void -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -DHAVE_SETPROCTITLE=1 -I. -I. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c pmacct.c In file included from pmacct.c:25: In file included from ./pmacct.h:168: ./network.h:219:7: warning: declaration does not declare anything [-Wmissing-declarations] u_int16_t __unused; ^~~~~~~~~ pmacct.c:1106:9: warning: implicit declaration of function 'str_to_addr' is invalid in C99 [-Wimplicit-function-declaration] if (!str_to_addr(match_string_token, &request.data.src_ip)) { ^ pmacct.c:1124:17: warning: implicit declaration of function 'string_etheraddr' is invalid in C99 [-Wimplicit-function-declaration] res = string_etheraddr(match_string_token, ethaddr); ^ pmacct.c:1149:37: warning: format specifies type 'unsigned int *' but the argument has type 'u_int16_t *' (aka 'unsigned short *') [-Wformat] sscanf(match_string_token, "%x", &request.data.etype); ~~ ^~~~~~~~~~~~~~~~~~~ %hx pmacct.c:1597:66: warning: format specifies type 'unsigned long long' but the argument has type 'pm_id_t' (aka 'unsigned long') [-Wformat] if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-10llu ", acc_elem->primitives.id); ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ %-10lu pmacct.c:1598:90: warning: format specifies type 'unsigned long long' but the argument has type 'pm_id_t' (aka 'unsigned long') [-Wformat] else if (want_output & PRINT_OUTPUT_CSV) printf("%s%llu", write_sep(sep_ptr, &count), acc_elem->primitives.id); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ %lu pmacct.c:1602:66: warning: format specifies type 'unsigned long long' but the argument has type 'pm_id_t' (aka 'unsigned long') [-Wformat] if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-10llu ", acc_elem->primitives.id2); ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %-10lu pmacct.c:1603:90: warning: format specifies type 'unsigned long long' but the argument has type 'pm_id_t' (aka 'unsigned long') [-Wformat] else if (want_output & PRINT_OUTPUT_CSV) printf("%s%llu", write_sep(sep_ptr, &count), acc_elem->primitives.id2); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %lu pmacct.c:1625:4: warning: implicit declaration of function 'etheraddr_string' is invalid in C99 [-Wimplicit-function-declaration] etheraddr_string(acc_elem->primitives.eth_shost, ethernet_address); ^ pmacct.c:1789:11: warning: implicit declaration of function 'addr_to_str' is invalid in C99 [-Wimplicit-function-declaration] addr_to_str(ip_address, &pbgp->peer_src_ip); ^ pmacct.c:2033:45: warning: format specifies type 'unsigned int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat] snprintf(buf2, SRVBUFLEN, "%s.%u", buf1, pnat->timestamp_start.tv_usec); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld pmacct.c:2046:52: warning: format specifies type 'unsigned int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat] snprintf(buf2, SRVBUFLEN, "%s.%u", buf1, pnat->timestamp_end.tv_usec); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld pmacct.c:2053:66: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-20llu ", acc_elem->pkt_num); ~~~~~~~ ^~~~~~~~~~~~~~~~~ %-20lu pmacct.c:2054:90: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] else if (want_output & PRINT_OUTPUT_CSV) printf("%s%llu", write_sep(sep_ptr, &count), acc_elem->pkt_num); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2057:68: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] if (want_output & PRINT_OUTPUT_FORMATTED) printf("%-20llu ", acc_elem->flo_num); ~~~~~~~ ^~~~~~~~~~~~~~~~~ %-20lu pmacct.c:2058:92: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] else if (want_output & PRINT_OUTPUT_CSV) printf("%s%llu", write_sep(sep_ptr, &count), acc_elem->flo_num); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2061:51: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] printf("%s%llu\n", write_sep(sep_ptr, &count), acc_elem->pkt_len); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2125:50: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] if (which_counter == 0) printf("%llu\n", acc_elem->pkt_len); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2127:48: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 1) printf("%llu\n", acc_elem->pkt_num); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2129:62: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 2) printf("%llu %llu %llu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start.tv_sec); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2129:81: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 2) printf("%llu %llu %llu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start.tv_sec); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2129:100: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 2) printf("%llu %llu %llu %lu\n", acc_elem->pkt_num, acc_elem->pkt_len, acc_elem->flo_num, acc_elem->time_start.tv_sec); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2131:48: warning: format specifies type 'unsigned long long' but the argument has type 'pm_counter_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 3) printf("%llu\n", acc_elem->flo_num); ~~~~ ^~~~~~~~~~~~~~~~~ %lu pmacct.c:2143:48: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] if (which_counter == 0) printf("%llu\n", bcnt); /* print bytes */ ~~~~ ^~~~ %lu pmacct.c:2144:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 1) printf("%llu\n", pcnt); /* print packets */ ~~~~ ^~~~ %lu pmacct.c:2145:66: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 2) printf("%llu %llu %llu %u\n", pcnt, bcnt, fcnt, num_counters); /* print packets+bytes+flows+num */ ~~~~ ^~~~ %lu pmacct.c:2145:72: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 2) printf("%llu %llu %llu %u\n", pcnt, bcnt, fcnt, num_counters); /* print packets+bytes+flows+num */ ~~~~ ^~~~ %lu pmacct.c:2145:78: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 2) printf("%llu %llu %llu %u\n", pcnt, bcnt, fcnt, num_counters); /* print packets+bytes+flows+num */ ~~~~ ^~~~ %lu pmacct.c:2146:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] else if (which_counter == 3) printf("%llu\n", fcnt); /* print flows */ ~~~~ ^~~~ %lu pmacct.c:2255:85: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("ERROR: Counter sizes mismatch: daemon: %d client: %d\n", qh->cnt_sz*8, sizeof(acc_elem->pkt_len)*8); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu pmacct.c:2262:85: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("ERROR: IP address sizes mismatch. daemon: %d client: %d\n", qh->ip_sz, sizeof(acc_elem->primitives.src_ip)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu pmacct.c:2421:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 32 warnings generated. cc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.14.3\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DNEED_ALIGN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_bpf=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DHAVE_UINT64_T=1 -DHAVE_UINT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_UINT8_T=1 -DHAVE_64BIT_COUNTERS=1 -DRETSIGTYPE=void -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -DHAVE_SETPROCTITLE=1 -I. -I. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c strlcpy.c cc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.14.3\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DNEED_ALIGN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_bpf=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DHAVE_UINT64_T=1 -DHAVE_UINT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_UINT8_T=1 -DHAVE_64BIT_COUNTERS=1 -DRETSIGTYPE=void -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -DHAVE_SETPROCTITLE=1 -I. -I. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c addr.c In file included from addr.c:24: In file included from ./pmacct.h:168: ./network.h:219:7: warning: declaration does not declare anything [-Wmissing-declarations] u_int16_t __unused; ^~~~~~~~~ 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -Wl,--export-dynamic -L/usr/local/lib -o pmacct pmacct.o strlcpy.o addr.o -lpcap -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ -ltee_plugin -Ltee_plugin/ -lisis -Lisis/ pmacct.o: In function `Recv': pmacct.c:(.text+0x5cc4): undefined reference to `sbrk' pmacct.c:(.text+0x5cd4): undefined reference to `sbrk' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/pmacct/work/pmacct-0.14.3/src *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/pmacct/work/pmacct-0.14.3/src *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/pmacct/work/pmacct-0.14.3 *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/pmacct