[RELEASE - head-default] Build failed for sniffit-0.3.7b_3 during build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Fri Jul 19 01:14:43 UTC 2013


Maintainer:     edwin at mavetju.org
Last committer: beat at FreeBSD.org
Ident:          $FreeBSD: head/net/sniffit/Makefile 300897 2012-07-14 14:29:18Z beat $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-18_19h03m42s/logs/sniffit-0.3.7b_3.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-18_19h03m42s
Log:

====>> Building net/sniffit
build started at Fri Jul 19 01:14:38 UTC 2013
port directory: /usr/ports/net/sniffit
building for: FreeBSD head-default-job-11 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: edwin at mavetju.org
Makefile ident:      $FreeBSD: head/net/sniffit/Makefile 300897 2012-07-14 14:29:18Z beat $
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
FORCE_PACKAGE=yes
tpid=66042
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=sniffit-0.3.7b_3
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/usr/local/poudriere/data/packages/head-default/All
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---
---End OPTIONS List---

--CONFIGURE_ARGS--
--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/sniffit
DOCSDIR=/usr/local/share/doc/sniffit
EXAMPLESDIR=/usr/local/share/examples/sniffit
WWWDIR=/usr/local/www/sniffit
ETCDIR=/usr/local/etc/sniffit
--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 sniffit-0.3.7b_3
=======================<phase: check-config   >============================
=========================================================================
=======================<phase: pkg-depends    >============================
===>   sniffit-0.3.7b_3 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 sniffit-0.3.7b_3
=========================================================================
=======================<phase: fetch-depends  >============================
=========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by sniffit-0.3.7b_3 for building
=========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by sniffit-0.3.7b_3 for building
=> SHA256 Checksum OK for sniffit.0.3.7.beta.tar.gz.
=> SHA256 Checksum OK for sniffit_0.3.7.beta-10.diff.gz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by sniffit-0.3.7b_3 for building
===>  Extracting for sniffit-0.3.7b_3
=> SHA256 Checksum OK for sniffit.0.3.7.beta.tar.gz.
=> SHA256 Checksum OK for sniffit_0.3.7.beta-10.diff.gz.
=========================================================================
=======================<phase: patch-depends  >============================
=========================================================================
=======================<phase: patch          >============================
===>  Patching for sniffit-0.3.7b_3
===>  Applying distribution patches for sniffit-0.3.7b_3
===>  Applying FreeBSD patches for sniffit-0.3.7b_3
=========================================================================
=======================<phase: build-depends  >============================
=========================================================================
=======================<phase: lib-depends    >============================
=========================================================================
=======================<phase: configure      >============================
===>  Configuring for sniffit-0.3.7b_3
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/sniffit/work/sniffit.0.3.7.beta/libpcap/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/sniffit/work/sniffit.0.3.7.beta/libpcap/configure
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/sniffit/work/sniffit.0.3.7.beta/configure
loading site script /usr/ports/Templates/config.site
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) works... yes
checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for main in -lncurses... yes
checking for ncurses.h... /usr/include/ncurses.h
checking for shmget... (cached) yes
checking for atexit... yes
checking size of unsigned short int... 2
checking size of unsigned long int... 8
unsigned long is NOT 4 bytes... hmmm...
checking size of unsigned int... 4
checking host system type... amd64-unknown-freebsd10.0
checking target system type... amd64-unknown-freebsd10.0
checking build system type... amd64-portbld-freebsd10.0
updating cache ./config.cache
creating ./config.status
creating Makefile
configuring in libpcap
running /bin/sh ./configure  --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd10.0 --cache-file=.././config.cache --srcdir=.
loading site script /usr/ports/Templates/config.site
loading cache .././config.cache
checking host system type... amd64-unknown-freebsd10.0
checking target system type... amd64-unknown-freebsd10.0
checking build system type... amd64-portbld-freebsd10.0
checking for gcc... (cached) cc
checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) works... yes
checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking gcc version... 
test: -gt: unexpected operator
checking how to run the C preprocessor... cpp
checking for malloc.h... (cached) no
checking for sys/ioccom.h... yes
checking for sys/sockio.h... yes
checking for ANSI ioctl definitions... yes
checking for ether_hostton... yes
checking for strerror... (cached) yes
checking packet capture type... bpf
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... no
configure: warning: don't have both flex and bison; reverting to lex/yacc
checking for ranlib... ranlib
checking if sockaddr struct has sa_len member... yes
checking if unaligned accesses fail... no
rm: net: is a directory
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
updating cache .././config.cache
creating ./config.status
creating Makefile
=========================================================================
=======================<phase: build          >============================
===>  Building for sniffit-0.3.7b_3
cc -O2 -pipe -fno-strict-aliasing  -w -c  sn_packets.c  -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DFREEBSD=1
cc -O2 -pipe -fno-strict-aliasing  -w -c  sn_generation.c  -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DFREEBSD=1
cc -O2 -pipe -fno-strict-aliasing  -w -c  sn_interface.c  -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DFREEBSD=1
cc -O2 -pipe -fno-strict-aliasing  -w -c sn_cfgfile.c  -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DFREEBSD=1
cc -O2 -pipe -fno-strict-aliasing  -w -c  sn_logfile.c  -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DFREEBSD=1
cc -O2 -pipe -fno-strict-aliasing  -w -c  sn_resolv.c  -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DFREEBSD=1
cc -O2 -pipe -fno-strict-aliasing  -w -o sniffit sniffit.0.3.7.c sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o  sn_logfile.o sn_resolv.o -lpcap -lncurses -DHAVE_LIBNCURSES=1 -DHAVE_NCURSES_H=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DFREEBSD=1 
sniffit.0.3.7.c:1094:5: error: non-void function 'packethandler' should return a value [-Wreturn-type]
    return;                     /* Packet is broken */
    ^
sniffit.0.3.7.c:1101:5: error: non-void function 'packethandler' should return a value [-Wreturn-type]
    return;                     /* Packet is not for us */
    ^
sniffit.0.3.7.c:1106:5: error: non-void function 'packethandler' should return a value [-Wreturn-type]
    return;
    ^
sniffit.0.3.7.c:1187:3: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                return;
                ^
sniffit.0.3.7.c:1191:3: error: non-void function 'packethandler' should return a value [-Wreturn-type]
                return;
                ^
sniffit.0.3.7.c:1257:7: error: non-void function 'packethandler' should return a value [-Wreturn-type]
      return;
      ^
In file included from sniffit.0.3.7.c:1268:
./sn_analyse.c:13:2: error: non-void function 'packethandler' should return a value [-Wreturn-type]
        return;
        ^
./sn_analyse.c:29:3: error: non-void function 'packethandler' should return a value [-Wreturn-type]
  return;
  ^
./sn_analyse.c:43:30: error: non-void function 'packethandler' should return a value [-Wreturn-type]
if((dummy&FIN)||(dummy&RST)) return; /* needed, cauz entry don't exist  */  
                             ^
./sn_analyse.c:200:1: error: non-void function 'packethandler' should return a value [-Wreturn-type]
return;
^
./sn_analyse.c:201:1: error: non-void function 'packethandler' should return a value [-Wreturn-type]
return;  /* DON'T FORGET THEM!!!! */
^
sniffit.0.3.7.c:1337:7: error: non-void function 'packethandler' should return a value [-Wreturn-type]
      return;
      ^
sniffit.0.3.7.c:1370:7: error: non-void function 'packethandler' should return a value [-Wreturn-type]
      return;
      ^
sniffit.0.3.7.c:1483:5: error: non-void function 'interactive_packethandler' should return a value [-Wreturn-type]
    return;                     /* Packet is broken */
    ^
sniffit.0.3.7.c:1485:5: error: non-void function 'interactive_packethandler' should return a value [-Wreturn-type]
    return;                     /* Packet is not for us */
    ^
15 errors generated.
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/net/sniffit/work/sniffit.0.3.7.beta
*** Error code 1

Stop.
make: stopped in /usr/ports/net/sniffit
===>  Cleaning for sniffit-0.3.7b_3


More information about the freebsd-pkg-fallout mailing list