[REL - head-i386-default][net/arping] Failed for arping-2.09_2 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Sep 19 02:08:23 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:     gavin at FreeBSD.org
Last committer: dinoex at FreeBSD.org
Ident:          $FreeBSD: head/net/arping/Makefile 312526 2013-02-18 21:13:02Z dinoex $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s/logs/arping-2.09_2.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-19_00h27m24s
Log:

====>> Building net/arping
build started at Thu Sep 19 02:08:16 UTC 2013
port directory: /usr/ports/net/arping
building for: FreeBSD head-i386-default-job-13 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: gavin at FreeBSD.org
Makefile ident:      $FreeBSD: head/net/arping/Makefile 312526 2013-02-18 21:13:02Z dinoex $
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=28690
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=arping-2.09_2
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--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
LIBS="`/usr/local/bin/libnet11-config --libs` -lpcap" 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 `/usr/local/bin/libnet11-config --defines` -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include `/usr/local/bin/libnet11-config --cflags`"  LDFLAGS=" -L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe `/usr/local/bin/libnet11-config --defines` -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/arping
DOCSDIR=/usr/local/share/doc/arping
EXAMPLESDIR=/usr/local/share/examples/arping
WWWDIR=/usr/local/www/arping
ETCDIR=/usr/local/etc/arping
--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 arping-2.09_2
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   arping-2.09_2 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 arping-2.09_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by arping-2.09_2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by arping-2.09_2 for building
=> SHA256 Checksum OK for arping-2.09.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by arping-2.09_2 for building
===>  Extracting for arping-2.09_2
=> SHA256 Checksum OK for arping-2.09.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for arping-2.09_2
===>  Applying FreeBSD patches for arping-2.09_2
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   arping-2.09_2 depends on shared library: net - not found
===>    Verifying install for net in /usr/ports/net/libnet
===>   Installing existing package /packages/All/libnet-1.1.6_1,1.txz
Installing libnet-1.1.6_1,1... done
===>   Returning to build of arping-2.09_2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for arping-2.09_2
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/arping/work/arping-2.09/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/arping/work/arping-2.09/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 a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... 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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether make sets $(MAKE)... (cached) yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for libnet_name_resolve in -lnet... no
checking for libnet_init in -lnet... yes
checking for pcap_open_live in -lpcap... yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 arpa/inet.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking libnet.h usability... yes
checking libnet.h presence... yes
checking for libnet.h... yes
checking win32/libnet.h usability... no
checking win32/libnet.h presence... no
checking for win32/libnet.h... no
checking net/bpf.h usability... yes
checking net/bpf.h presence... yes
checking for net/bpf.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking for uint8_t... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) yes
checking whether cc needs -traditional... no
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for gettimeofday... (cached) yes
checking for memset... (cached) yes
checking for select... (cached) yes
checking for strchr... yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strstr... yes
configure: creating ./config.status
Segmentation fault
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands

  arping version 2.09
  Prefix.........: /usr/local
  Debug Build....: 
  C Compiler.....: cc -O2 -pipe -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/libnet11
  Linker.........:   -L/usr/local/lib -lpcap -lnet -L/usr/local/lib/libnet11 -lnet -lpcap

===========================================================================
=======================<phase: build          >============================
===>  Building for arping-2.09_2
/usr/bin/make  all-recursive
Making all in src
cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -I/usr/local/include/libnet11  -O2 -pipe -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -fno-strict-aliasing -MT arping.o -MD -MP -MF .deps/arping.Tpo -c -o arping.o arping.c
arping.c:108:30: error: use of undeclared identifier 'VERSION'
static const char *version = VERSION; /* from autoconf */
                             ^
arping.c:110:8: error: unknown type name 'libnet_t'
static libnet_t *libnet = 0;
       ^
arping.c:157:12: error: use of undeclared identifier 'LIBNET_ERRBUF_SIZE'
        char ebuf[LIBNET_ERRBUF_SIZE];
                  ^
arping.c:163:3: warning: implicit declaration of function 'libnet_destroy' is invalid in C99 [-Wimplicit-function-declaration]
                libnet_destroy(libnet);
                ^
arping.c:166:6: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
        if (getuid() && geteuid()) {
            ^
arping.c:166:18: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration]
        if (getuid() && geteuid()) {
                        ^
arping.c:171:17: warning: implicit declaration of function 'libnet_init' is invalid in C99 [-Wimplicit-function-declaration]
        if (!(libnet = libnet_init(LIBNET_LINK,
                       ^
arping.c:171:29: error: use of undeclared identifier 'LIBNET_LINK'
        if (!(libnet = libnet_init(LIBNET_LINK,
                                   ^
arping.c:331:15: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)'
        if (3*5-1 == strlen(p)) {
                     ^
arping.c:331:15: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
arping.c:339:10: warning: implicit declaration of function 'isxdigit' is invalid in C99 [-Wimplicit-function-declaration]
                                if (!isxdigit(p[c])) {
                                     ^
arping.c:365:9: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)'
        return strchr(p, ':') ? 1 : 0;
               ^
arping.c:365:9: note: please include the header <string.h> or explicitly provide a declaration for 'strchr'
arping.c:448:9: error: unknown type name 'libnet_ptag_t'
        static libnet_ptag_t icmp = 0, ipv4 = 0,eth=0;
               ^
arping.c:448:37: error: expected ';' at end of declaration
        static libnet_ptag_t icmp = 0, ipv4 = 0,eth=0;
                                           ^
                                           ;
arping.c:451:20: warning: implicit declaration of function 'libnet_build_icmpv4_echo' is invalid in C99 [-Wimplicit-function-declaration]
        if (-1 == (icmp = libnet_build_icmpv4_echo(ICMP_ECHO, /* type */
                          ^
arping.c:451:45: error: use of undeclared identifier 'ICMP_ECHO'
        if (-1 == (icmp = libnet_build_icmpv4_echo(ICMP_ECHO, /* type */
                                                   ^
arping.c:461:4: warning: implicit declaration of function 'libnet_geterror' is invalid in C99 [-Wimplicit-function-declaration]
                        libnet_geterror(libnet));
                        ^
arping.c:465:11: error: use of undeclared identifier 'ipv4'
        if (-1==(ipv4 = libnet_build_ipv4(LIBNET_IPV4_H
                 ^
arping.c:465:18: warning: implicit declaration of function 'libnet_build_ipv4' is invalid in C99 [-Wimplicit-function-declaration]
        if (-1==(ipv4 = libnet_build_ipv4(LIBNET_IPV4_H
                        ^
arping.c:465:36: error: use of undeclared identifier 'LIBNET_IPV4_H'
        if (-1==(ipv4 = libnet_build_ipv4(LIBNET_IPV4_H
                                          ^
arping.c:466:10: error: use of undeclared identifier 'LIBNET_ICMPV4_ECHO_H'
                                          + LIBNET_ICMPV4_ECHO_H + 0,
                                            ^
arping.c:483:13: error: use of undeclared identifier 'eth'
        if (-1 == (eth = libnet_build_ethernet(dstmac,
                   ^
arping.c:483:19: warning: implicit declaration of function 'libnet_build_ethernet' is invalid in C99 [-Wimplicit-function-declaration]
        if (-1 == (eth = libnet_build_ethernet(dstmac,
                         ^
arping.c:485:13: error: use of undeclared identifier 'ETHERTYPE_IP'
                                               ETHERTYPE_IP,
                                               ^
arping.c:497:5: warning: implicitly declaring library function 'strerror' with type 'char *(int)'
                                strerror(errno));
                                ^
arping.c:497:5: note: please include the header <string.h> or explicitly provide a declaration for 'strerror'
arping.c:497:14: error: use of undeclared identifier 'errno'
                                strerror(errno));
                                         ^
arping.c:502:10: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat]
                       lastpacketsent.tv_usec);
                       ^~~~~~~~~~~~~~~~~~~~~~
arping.c:504:17: warning: implicit declaration of function 'libnet_write' is invalid in C99 [-Wimplicit-function-declaration]
        if (-1 == (c = libnet_write(libnet))) {
                       ^
arping.c:511:13: error: use of undeclared identifier 'errno'
                        strerror(errno));
                                 ^
arping.c:529:9: error: unknown type name 'libnet_ptag_t'
        static libnet_ptag_t arp=0,eth=0;
               ^
arping.c:529:32: error: expected ';' at end of declaration
        static libnet_ptag_t arp=0,eth=0;
                                      ^
                                      ;
arping.c:530:19: warning: implicit declaration of function 'libnet_build_arp' is invalid in C99 [-Wimplicit-function-declaration]
        if (-1 == (arp = libnet_build_arp(ARPHRD_ETHER,
                         ^
arping.c:530:36: error: use of undeclared identifier 'ARPHRD_ETHER'
        if (-1 == (arp = libnet_build_arp(ARPHRD_ETHER,
                                          ^
arping.c:547:13: error: use of undeclared identifier 'eth'
        if (-1 == (eth = libnet_build_ethernet(dstmac,
                   ^
arping.c:549:13: error: use of undeclared identifier 'ETHERTYPE_ARP'
                                               ETHERTYPE_ARP,
                                               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
15 warnings and 20 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net/arping/work/arping-2.09/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net/arping/work/arping-2.09
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/arping/work/arping-2.09
*** Error code 1

Stop.
make: stopped in /usr/ports/net/arping
===>  Cleaning for arping-2.09_2


More information about the freebsd-pkg-fallout mailing list