Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 04:39:33 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 110arm64-default][net-mgmt/pmacct] Failed for pmacct-1.6.1 in build
Message-ID:  <201703270439.v2R4dXGZ057744@thunderx1.nyi.freebsd.org>

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

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     pi@FreeBSD.org
Last committer: pi@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/pmacct/Makefile 436677 2017-03-22 06:37:14Z pi $
Log URL:        http://thunderx1.nyi.freebsd.org/data/110arm64-default/436864/logs/pmacct-1.6.1.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=110arm64-default&build=436864
Log:

====>> Building net-mgmt/pmacct
build started at Mon Mar 27 04:32:24 UTC 2017
port directory: /usr/ports/net-mgmt/pmacct
building for: FreeBSD 110arm64-default-job-15 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 arm64
maintained by: pi@FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/pmacct/Makefile 436677 2017-03-22 06:37:14Z pi $
Poudriere version: 3.1.16-15-g422980c5
Host OSVERSION: 1100121
Jail OSVERSION: 1100122
Job Id: 15




!!! 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
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p1
UNAME_r=11.0-RELEASE-p1
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110arm64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=pmacct-1.6.1
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/110arm64-default/ref/.p/pool
MASTERNAME=110arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.16-15-g422980c5
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for pmacct-1.6.1:
     AVRO=off: Enable avro support
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     IPV6=on: IPv6 protocol support
     JANSSON=off: Enable Jansson support
     KAFKA=off: Enable Kafka support
     LAYER2=on: Enable Layer-2 support: MAC addresses and VLANs
     MYSQL=off: MySQL database support
     PGSQL=off: PostgreSQL database support
     PLABEL=off: Enable IP prefix labels
     RABBITMQ=off: Enable RabbitMQ/AMQP support
     SQLITE3=off: Enable SQLite3 support
     THREADS=on: Threading support
====> Geolocation support: you can only select none or one of them
     GEOIP=off: Enable legacy GeoIP support
     GEOIP2=off: Enable GeoIPv2 (libmaxminddb) support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--disable-mysql --disable-pgsql --disable-sqlite3 --enable-l2 --enable-ipv6 --disable-plabel --enable-threads --disable-mongodb --disable-nflog --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 0644"  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
"
WITH_SQLITE3="@comment
"
WITH_KAFKA="@comment
"
WITH_NFLOG="@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
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=aarch64
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.0
OSVERSION=1100122
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native\|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk\|oracle\|sun
_JAVA_VERSION_LIST_REGEXP=1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+
_OSRELEASE=11.0-RELEASE-p1
#### Misc Poudriere ####
GID=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)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   pmacct-1.6.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.0_2.txz
[110arm64-default-job-15] Installing pkg-1.10.0_2...
[110arm64-default-job-15] Extracting pkg-1.10.0_2: .......... done
===>   pmacct-1.6.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pmacct-1.6.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
=> pmacct-1.6.1.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://www.pmacct.net/pmacct-1.6.1.tar.gz
pmacct-1.6.1.tar.gz                                      0  B    0  Bps
===> Fetching all distfiles required by pmacct-1.6.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pmacct-1.6.1 for building
=> SHA256 Checksum OK for pmacct-1.6.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pmacct-1.6.1 for building
===>  Extracting for pmacct-1.6.1
=> SHA256 Checksum OK for pmacct-1.6.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
<snip>
                                      %lu
pmacct.c:2769: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:2770: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:2770: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:2770: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:2771: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:2905: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:2912: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:3702:46: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat]
    if (usec) snprintf(buf, buflen, "%u.%u", tv->tv_sec, tv->tv_usec);
                                     ~~      ^~~~~~~~~~
                                     %ld
pmacct.c:3702:58: warning: format specifies type 'unsigned int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
    if (usec) snprintf(buf, buflen, "%u.%u", tv->tv_sec, tv->tv_usec);
                                        ~~               ^~~~~~~~~~~
                                        %ld
pmacct.c:3703:40: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat]
    else snprintf(buf, buflen, "%u.0", tv->tv_sec);
                                ~~     ^~~~~~~~~~
                                %ld
pmacct.c:3710:54: warning: format specifies type 'unsigned int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
    if (usec) snprintf(buf, buflen, "%s.%u", tmpbuf, tv->tv_usec);
                                        ~~           ^~~~~~~~~~~
                                        %ld
pmacct.c:3725:72: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name));
                                                                              ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3725:123: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name));
                                                                                                                                 ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3725:39: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name));
                                        ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
pmacct.c:3733:62: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name));
                                                                    ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3733:103: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name));
                                                                                                             ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3733:39: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name));
                                        ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
pmacct.c:3747:59: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name));
                                                          ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3747:90: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name));
                                                                                         ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3747:46: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name));
                                        ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
pmacct.c:3756:59: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name));
                                                          ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3756:90: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name));
                                                                                         ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3756:46: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name));
                                        ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
pmacct.c:3776:81: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name), 
                                                                                ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3776:132: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name), 
                                                                                                                                   ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3776:48: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u%s", cps_flen[cp_entry->len] > strlen(cp_entry->name) ? cps_flen[cp_entry->len] : strlen(cp_entry->name), 
                                        ~~     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
pmacct.c:3805:16: warning: implicit declaration of function 'pm_ntohll' is invalid in C99 [-Wimplicit-function-declaration]
        st64 = pm_ntohll(t64);
               ^
pmacct.c:3812:64: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name),
                                                                      ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3812:105: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name),
                                                                                                               ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3812:41: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u%s", cp_entry->len > strlen(cp_entry->name) ? cp_entry->len : strlen(cp_entry->name),
                                        ~~     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
pmacct.c:3845:61: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name),
                                                            ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3845:92: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name),
                                                                                           ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3845:48: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name),
                                        ~~     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
pmacct.c:3860:61: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name),
                                                            ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3860:92: warning: passing 'u_char [64]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name),
                                                                                           ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
pmacct.c:3860:48: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(format, SRVBUFLEN, "%%-%u%s", len > strlen(cp_entry->name) ? len : strlen(cp_entry->name),
                                        ~~     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %lu
63 warnings generated.
mv -f .deps/pmacct.Tpo .deps/pmacct.Po
/bin/sh ../libtool  --tag=CC    --mode=link cc  -O2 -pipe  -fno-strict-aliasing   -Wl,--export-dynamic  -L/usr/local/lib -o pmacct pmacct.o libcommon.la -lpcap  -lz -lpthread
libtool: link: cc -O2 -pipe -fno-strict-aliasing -Wl,--export-dynamic -o pmacct pmacct.o  -L/usr/local/lib ./.libs/libcommon.a -lpcap -lz -lpthread
pmacct.o: In function `Recv':
pmacct.c:(.text+0x77bc): undefined reference to `sbrk'
pmacct.c:(.text+0x77cc): 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-1.6.1/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/pmacct/work/pmacct-1.6.1/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/pmacct/work/pmacct-1.6.1
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/pmacct



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