[RELEASE - head-default] Build failed for bpft-4.20040506 during build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Aug 29 15:10:14 UTC 2013
Maintainer: ports at FreeBSD.org
Last committer: miwi at FreeBSD.org
Ident: $FreeBSD: head/net-mgmt/bpft/Makefile 316861 2013-04-30 00:42:13Z miwi $
Log URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-08-29_07h45m18s/logs/bpft-4.20040506.log
Build URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-08-29_07h45m18s
Log:
====>> Building net-mgmt/bpft
build started at Thu Aug 29 15:10:09 UTC 2013
port directory: /usr/ports/net-mgmt/bpft
building for: FreeBSD head-default-job-13 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: ports at FreeBSD.org
Makefile ident: $FreeBSD: head/net-mgmt/bpft/Makefile 316861 2013-04-30 00:42:13Z miwi $
Poudriere version: 3.1-pre
---Begin Environment---
OSVERSION=1000035
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-default/ref
PKG_EXT=txz
tpid=70722
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=bpft-4.20040506
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root
MASTERNAME=head-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---
---Begin OPTIONS List---
===> The following configuration options are available for bpft-4.20040506:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" 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="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444"
--End MAKE_ENV--
--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/bpft
DOCSDIR=/usr/local/share/doc/bpft
EXAMPLESDIR=/usr/local/share/examples/bpft
WWWDIR=/usr/local/www/bpft
ETCDIR=/usr/local/etc/bpft
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===> Cleaning for bpft-4.20040506
=======================<phase: check-config >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> bpft-4.20040506 depends on file: /usr/local/sbin/pkg - not found
===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===> Installing existing package /packages/All/pkg-1.1.4_1.txz
Installing pkg-1.1.4_1... done
If you are upgrading from the old package format, first run:
# pkg2ng
===> Returning to build of bpft-4.20040506
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by bpft-4.20040506 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by bpft-4.20040506 for building
=> SHA256 Checksum OK for bpft4-2004-05-06.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by bpft-4.20040506 for building
===> Extracting for bpft-4.20040506
=> SHA256 Checksum OK for bpft4-2004-05-06.tgz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for bpft-4.20040506
===========================================================================
=======================<phase: build-depends >============================
===========================================================================
=======================<phase: lib-depends >============================
===========================================================================
=======================<phase: configure >============================
===> Configuring for bpft-4.20040506
===========================================================================
=======================<phase: build >============================
===> Building for bpft-4.20040506
===> Build in lib <===
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c addrtoname.c
In file included from addrtoname.c:62:
./include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
1 warning generated.
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c bpf_dump.c
In file included from bpf_dump.c:32:
./include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
1 warning generated.
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c interfaces.c
In file included from interfaces.c:56:
./include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
interfaces.c:90:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c util.c
In file included from util.c:52:
./include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
1 warning generated.
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c savestr.c
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c setsignal.c
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c version.c
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c globalvar.c
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c crc.c
rm -f libbpft.a
ar rc libbpft.a addrtoname.o bpf_dump.o interfaces.o util.o savestr.o setsignal.o version.o globalvar.o crc.o
ranlib libbpft.a
===> Build in trafd <===
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c main.c
In file included from main.c:31:
/usr/include/sys/syslimits.h:41:2: warning: "No user-serviceable parts inside." [-W#warnings]
#warning "No user-serviceable parts inside."
^
In file included from main.c:38:
./../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
2 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c traffic.c
In file included from traffic.c:51:
./include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
traffic.c:169:40: warning: comparison between pointer and integer ('in_addr_t' (aka 'unsigned int') and 'void *')
return entries[index].in_ip.s_addr == NULL;
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
traffic.c:674:35: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
traf_tcp((struct tcphdr *)cp, ip);
^~
traffic.c:677:35: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
traf_udp((struct udphdr *)cp, ip);
^~
traffic.c:680:13: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
traf_ip(ip);
^~
traffic.c:683:18: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
} else traf_ip(ip);
^~
traffic.c:684:25: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
}else traf_ip_noproto(ip);
^~
7 warnings generated.
cc main.o traffic.o ../lib/libbpft.a -o trafd -L../lib -lbpft -lpcap -lcurses -ltermcap -ll
===> Build in trafstat <===
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c main.c
In file included from main.c:42:
./include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
main.c:157:4: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
bcopy(hp->h_addr, (char *)&server.sin_addr,
^
main.c:177:19: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
write(ifd, buf, strlen(buf));
^
main.c:177:19: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
main.c:212:3: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
strncpy(un.sun_path, file_fifo, sizeof(un.sun_path));
^
main.c:212:3: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
4 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c trafstat.c
In file included from trafstat.c:30:
./../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
trafstat.c:130:9: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat]
dbytes, abytes, n_entry);
^~~~~~
trafstat.c:130:17: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat]
dbytes, abytes, n_entry);
^~~~~~
3 warnings generated.
cc main.o trafstat.o -L../lib -lbpft -lpcap -o trafstat
===> Build in trafstatd <===
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c trafstatd.c
trafstatd.c:74:46: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (getpeername(0, (struct sockaddr *)&sin, &sval) < 0)
^~~~~
/usr/include/sys/socket.h:642:74: note: passing argument to parameter here
int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
^
1 warning generated.
cc trafstatd.o -L../lib -lbpft -o trafstatd
===> Build in traflog <===
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c main.c
In file included from main.c:37:
./../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
main.c:216:3: warning: array index 1024 is past the end of the array (which contains 1024 elements) [-Warray-bounds]
buf[sizeof(buf)]=0;
^ ~~~~~~~~~~~
main.c:78:2: note: array 'buf' declared here
char buf[PATH_MAX], *cmdbuf, *infile = NULL;
^
2 warnings generated.
cc -O2 -pipe -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c traflog.c
In file included from traflog.c:37:
./include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wattributes]
__attribute__((volatile, format (printf, 1, 2)));
^
traflog.c:91:3: warning: array index 257 is past the end of the array (which contains 257 elements) [-Warray-bounds]
line[sizeof(line)]=0;
^ ~~~~~~~~~~~~
traflog.c:79:2: note: array 'line' declared here
static char line[MAXHOSTNAMELEN + 1];
^
traflog.c:106:3: warning: array index 257 is past the end of the array (which contains 257 elements) [-Warray-bounds]
line[sizeof(line)]=0;
^ ~~~~~~~~~~~~
traflog.c:79:2: note: array 'line' declared here
static char line[MAXHOSTNAMELEN + 1];
^
traflog.c:139:6: warning: array index 16 is past the end of the array (which contains 16 elements) [-Warray-bounds]
port[sizeof(port)]=0;
^ ~~~~~~~~~~~~
traflog.c:124:2: note: array 'port' declared here
char port[16], proto[16];
^
traflog.c:146:7: warning: array index 16 is past the end of the array (which contains 16 elements) [-Warray-bounds]
port[sizeof(port)]=0;
^ ~~~~~~~~~~~~
traflog.c:124:2: note: array 'port' declared here
char port[16], proto[16];
^
traflog.c:196:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
traflog.c:249:7: warning: incompatible pointer types passing 'in_addr_t *' (aka 'unsigned int *') to parameter of type 'u_long *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
&pat[n_pat-1].in_mask.s_addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
traflog.c:253:7: warning: incompatible pointer types passing 'in_addr_t *' (aka 'unsigned int *') to parameter of type 'u_long *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
&pat[n_pat-1].out_mask.s_addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
traflog.c:347:10: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat]
bytes, psize, h->t_size);
^~~~~
traflog.c:347:17: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat]
bytes, psize, h->t_size);
^~~~~
traflog.c:551:19: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat]
printf("%qu\n", abytes);
~~~ ^~~~~~
%lu
traflog.c:580:10: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat]
dbytes, abytes, s.t_size);
^~~~~~
traflog.c:580:18: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat]
dbytes, abytes, s.t_size);
^~~~~~
13 warnings generated.
cc main.o traflog.o -L../lib -lbpft -lpcap -lcurses -ltermcap -ll -o traflog
Syntax error: Unterminated quoted string
*** Error code 2
Stop.
make: stopped in /wrkdirs/usr/ports/net-mgmt/bpft/work/bpft
*** Error code 1
Stop.
make: stopped in /usr/ports/net-mgmt/bpft
===> Cleaning for bpft-4.20040506
More information about the freebsd-pkg-fallout
mailing list