[REL - head-i386-default][net-mgmt/iftop] Failed for iftop-0.17 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Sep 19 01:37:46 UTC 2013
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: vd at FreeBSD.org
Last committer: beat at FreeBSD.org
Ident: $FreeBSD: head/net-mgmt/iftop/Makefile 300897 2012-07-14 14:29:18Z beat $
Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/iftop-0.17.log
Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:
====>> Building net-mgmt/iftop
build started at Thu Sep 19 01:37:39 UTC 2013
port directory: /usr/ports/net-mgmt/iftop
building for: FreeBSD head-i386-default-job-18 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: vd at FreeBSD.org
Makefile ident: $FreeBSD: head/net-mgmt/iftop/Makefile 300897 2012-07-14 14:29:18Z beat $
Poudriere version: 3.1-pre
---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000055
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-i386-default/ref
PKG_EXT=txz
tpid=57882
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=iftop-0.17
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=1
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---
---Begin OPTIONS List---
---End OPTIONS List---
--CONFIGURE_ARGS--
--with-resolver=netdb_1thread --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
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--
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/iftop
DOCSDIR=/usr/local/share/doc/iftop
EXAMPLESDIR=/usr/local/share/examples/iftop
WWWDIR=/usr/local/www/iftop
ETCDIR=/usr/local/etc/iftop
--End SUB_LIST--
---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
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 iftop-0.17
=======================<phase: check-config >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> iftop-0.17 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_2.txz
Installing pkg-1.1.4_2... done
If you are upgrading from the old package format, first run:
# pkg2ng
===> Returning to build of iftop-0.17
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by iftop-0.17 for building
===========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by iftop-0.17 for building
=> SHA256 Checksum OK for iftop-0.17.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by iftop-0.17 for building
===> Extracting for iftop-0.17
=> SHA256 Checksum OK for iftop-0.17.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for iftop-0.17
===> Applying FreeBSD patches for iftop-0.17
===========================================================================
=======================<phase: build-depends >============================
===========================================================================
=======================<phase: lib-depends >============================
===========================================================================
=======================<phase: configure >============================
===> Configuring for iftop-0.17
===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/iftop/work/iftop-0.17/aclocal.m4
===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/iftop/work/iftop-0.17/configure
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd10.0
checking host system type... i386-portbld-freebsd10.0
checking target system type... i386-portbld-freebsd10.0
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... (cached) /usr/bin/awk
checking whether make sets ${MAKE}... yes
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking for regcomp... yes
checking for select... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strspn... yes
checking for library containing socket... none required
checking for library containing log... -lm
checking for gethostbyname... (cached) yes
checking for library containing inet_aton... none required
checking for library containing inet_pton... none required
checking for inet_aton... (cached) yes
checking for inet_pton... yes
checking size of u_int8_t... 1
checking size of u_int16_t... 2
checking size of u_int32_t... 4
checking for library containing gethostbyaddr... none required
configure: WARNING: using single-threaded resolver with gethostbyaddr
Consider obtaining ARES or a machine with a working gethostbyaddr_r.
checking where to find pcap.h... /include
checking for pcap_open_live in -lpcap... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for a curses library containing mvchgat... -lcurses
checking POSIX threads compilation... CFLAGS= and LIBS=-pthread
checking POSIX threads usability... yes
checking if we need to enable promiscuous mode by default... no
configure: creating ./config.status
Segmentation fault
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build >============================
===> Building for iftop-0.17
/usr/bin/make all-recursive
Making all in config
source='addr_hash.c' object='addr_hash.o' libtool=no depfile='.deps/addr_hash.Po' tmpdepfile='.deps/addr_hash.TPo' depmode=gcc3 /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fno-strict-aliasing -c `test -f 'addr_hash.c' || echo './'`addr_hash.c
source='edline.c' object='edline.o' libtool=no depfile='.deps/edline.Po' tmpdepfile='.deps/edline.TPo' depmode=gcc3 /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fno-strict-aliasing -c `test -f 'edline.c' || echo './'`edline.c
source='hash.c' object='hash.o' libtool=no depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' depmode=gcc3 /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fno-strict-aliasing -c `test -f 'hash.c' || echo './'`hash.c
source='iftop.c' object='iftop.o' libtool=no depfile='.deps/iftop.Po' tmpdepfile='.deps/iftop.TPo' depmode=gcc3 /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -fno-strict-aliasing -c `test -f 'iftop.c' || echo './'`iftop.c
In file included from iftop.c:6:
./integers.h:76:9: error: "Your C compiler seems to lack 16 and 32 bit unsigned integer types"
# error "Your C compiler seems to lack 16 and 32 bit unsigned integer types"
^
iftop.c:13:5: error: No pcap.h
# error No pcap.h
^
iftop.c:66:1: error: unknown type name 'pcap_t'
pcap_t* pd; /* pcap descriptor */
^
iftop.c:68:1: error: unknown type name 'pcap_handler'
pcap_handler packet_handler;
^
iftop.c:299:65: warning: declaration of 'struct pcap_pkthdr' will not be visible outside of this function [-Wvisibility]
static void handle_raw_packet(unsigned char* args, const struct pcap_pkthdr* pkthdr, const unsigned char* packet)
^
iftop.c:331:71: warning: declaration of 'struct pcap_pkthdr' will not be visible outside of this function [-Wvisibility]
static void handle_tokenring_packet(unsigned char* args, const struct pcap_pkthdr* pkthdr, const unsigned char* packet)
^
iftop.c:357:65: warning: declaration of 'struct pcap_pkthdr' will not be visible outside of this function [-Wvisibility]
static void handle_ppp_packet(unsigned char* args, const struct pcap_pkthdr* pkthdr, const unsigned char* packet)
^
iftop.c:359:32: error: incomplete definition of type 'struct pcap_pkthdr'
register u_int length = pkthdr->len;
~~~~~~^
iftop.c:357:65: note: forward declaration of 'struct pcap_pkthdr'
static void handle_ppp_packet(unsigned char* args, const struct pcap_pkthdr* pkthdr, const unsigned char* packet)
^
iftop.c:360:32: error: incomplete definition of type 'struct pcap_pkthdr'
register u_int caplen = pkthdr->caplen;
~~~~~~^
iftop.c:357:65: note: forward declaration of 'struct pcap_pkthdr'
static void handle_ppp_packet(unsigned char* args, const struct pcap_pkthdr* pkthdr, const unsigned char* packet)
^
iftop.c:405:65: warning: declaration of 'struct pcap_pkthdr' will not be visible outside of this function [-Wvisibility]
static void handle_eth_packet(unsigned char* args, const struct pcap_pkthdr* pkthdr, const unsigned char* packet)
^
iftop.c:459:9: warning: implicit declaration of function 'pcap_compile' is invalid in C99 [-Wimplicit-function-declaration]
if (pcap_compile(pd, &pcap_filter, x, 1, 0) == -1) {
^
iftop.c:461:16: warning: implicit declaration of function 'pcap_geterr' is invalid in C99 [-Wimplicit-function-declaration]
return pcap_geterr(pd);
^
iftop.c:464:9: warning: implicit declaration of function 'pcap_setfilter' is invalid in C99 [-Wimplicit-function-declaration]
if (pcap_setfilter(pd, &pcap_filter) == -1)
^
iftop.c:478:17: error: use of undeclared identifier 'PCAP_ERRBUF_SIZE'
char errbuf[PCAP_ERRBUF_SIZE];
^
iftop.c:488:14: warning: implicit declaration of function 'get_addrs_ioctl' is invalid in C99 [-Wimplicit-function-declaration]
result = get_addrs_ioctl(options.interface, if_hw_addr, &if_ip_addr);
^
iftop.c:512:10: warning: implicit declaration of function 'pcap_open_live' is invalid in C99 [-Wimplicit-function-declaration]
pd = pcap_open_live(options.interface, CAPTURE_LENGTH, options.promiscuous, 1000, errbuf);
^
iftop.c:518:11: warning: implicit declaration of function 'pcap_datalink' is invalid in C99 [-Wimplicit-function-declaration]
dlt = pcap_datalink(pd);
^
iftop.c:519:15: error: use of undeclared identifier 'DLT_EN10MB'
if(dlt == DLT_EN10MB) {
^
iftop.c:522:20: error: use of undeclared identifier 'DLT_RAW'
else if(dlt == DLT_RAW || dlt == DLT_NULL) {
^
iftop.c:522:38: error: use of undeclared identifier 'DLT_NULL'
else if(dlt == DLT_RAW || dlt == DLT_NULL) {
^
iftop.c:525:20: error: use of undeclared identifier 'DLT_IEEE802'
else if(dlt == DLT_IEEE802) {
^
iftop.c:528:20: error: use of undeclared identifier 'DLT_PPP'
else if(dlt == DLT_PPP) {
^
iftop.c:556:5: warning: implicit declaration of function 'pcap_loop' is invalid in C99 [-Wimplicit-function-declaration]
pcap_loop(pd,-1,(pcap_handler)packet_handler,NULL);
^
iftop.c:570:5: warning: implicit declaration of function 'options_read_args' is invalid in C99 [-Wimplicit-function-declaration]
options_read_args(argc, argv);
^
iftop.c:573:5: warning: implicit declaration of function 'options_make' is invalid in C99 [-Wimplicit-function-declaration]
options_make();
^
iftop.c:67:20: error: tentative definition has type 'struct bpf_program' that is never completed
struct bpf_program pcap_filter;
^
iftop.c:67:8: note: forward declaration of 'struct bpf_program'
struct bpf_program pcap_filter;
^
13 warnings and 13 errors generated.
*** Error code 1
Stop.
make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/iftop/work/iftop-0.17
*** Error code 1
Stop.
make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/iftop/work/iftop-0.17
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/iftop/work/iftop-0.17
*** Error code 1
Stop.
make: stopped in /usr/ports/net-mgmt/iftop
===> Cleaning for iftop-0.17
More information about the freebsd-pkg-fallout
mailing list