[RELEASE - head-default] Build failed for netams-3.4.5_2 during build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Jul 18 23:18:03 UTC 2013


Maintainer:     jura at netams.com
Last committer: flo at FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/netams/Makefile 319886 2013-06-04 18:01:46Z flo $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-18_19h03m42s/logs/netams-3.4.5_2.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-default/2013-07-18_19h03m42s
Log:

====>> Building net-mgmt/netams
build started at Thu Jul 18 23:17:57 UTC 2013
port directory: /usr/ports/net-mgmt/netams
building for: FreeBSD head-default-job-24 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: jura at netams.com
Makefile ident:      $FreeBSD: head/net-mgmt/netams/Makefile 319886 2013-06-04 18:01:46Z flo $
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=14774
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=netams-3.4.5_2
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---
===> The following configuration options are available for netams-3.4.5_2:
     CGI=off: Install admin/user CGI scripts
     DEBUG=off: Build with debug symbols
====> Options available for the multi DATABASE: you have to choose at least one of them
     MYSQL=on: Build with MySQL storage support
     POSTGRESQL=off: Build with PostgreSQL storage support
===> 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/netams
DOCSDIR=/usr/local/share/doc/netams
EXAMPLESDIR=/usr/local/share/examples/netams
WWWDIR=/usr/local/www/netams
ETCDIR=/usr/local/etc/netams
--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 netams-3.4.5_2
=======================<phase: check-config   >============================
=========================================================================
=======================<phase: pkg-depends    >============================
===>   netams-3.4.5_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_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 netams-3.4.5_2
=========================================================================
=======================<phase: fetch-depends  >============================
=========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by netams-3.4.5_2 for building
=========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by netams-3.4.5_2 for building
=> SHA256 Checksum OK for netams-3.4.5.tar.gz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by netams-3.4.5_2 for building
===>  Extracting for netams-3.4.5_2
===> Fetching all distfiles required by netams-3.4.5_2 for building
=> SHA256 Checksum OK for netams-3.4.5.tar.gz.
=========================================================================
=======================<phase: patch-depends  >============================
=========================================================================
=======================<phase: patch          >============================
===>  Patching for netams-3.4.5_2
=========================================================================
=======================<phase: build-depends  >============================
=========================================================================
=======================<phase: lib-depends    >============================
===>   netams-3.4.5_2 depends on shared library: pcap.1 - not found
===>    Verifying install for pcap.1 in /usr/ports/net/libpcap
===>   Installing existing package /packages/All/libpcap-1.4.0.txz
Installing libpcap-1.4.0... done
===>   Returning to build of netams-3.4.5_2
===>   netams-3.4.5_2 depends on shared library: mysqlclient.18 - not found
===>    Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client
===>   Installing existing package /packages/All/mysql-client-5.5.32.txz
Installing mysql-client-5.5.32... done
===>   Returning to build of netams-3.4.5_2
=========================================================================
=======================<phase: configure      >============================
===>  Configuring for netams-3.4.5_2
=========================================================================
=======================<phase: build          >============================
===>  Building for netams-3.4.5_2
sh configure.sh -nodebug
##########################################################
## Configuring NeTAMS for build targets...	      ##
FreeBSD operating system...
With FreeBSD 4 patch the sources...
Optional features: Use_cli_enable BW_limit Fast_FW_checks Layer7_filter Hash_database  
LibC - enabling OpenSSL
Will have BILLING service
No RADIUS support - install "openssl-devel" (md5.h)
Will have PAM support (experimental)
## Configuration file was built.			      ##
##########################################################
cd lib && make library
gcc -pipe -O2 -I../src -I./ -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -Wno-format-zero-length -I./libcli -c libcli/libcli.c
ar rc libcli.a libcli.o
gcc -pipe -O2 -I../src -I./ -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -c lib.c
ar rc libnetams.a lib.o 
cd src && make all
cd ../lib && make library && cd ../src
g++ -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE -c netamsctl.c
g++ netamsctl.o -o netamsctl -L../lib -lnetams
g++ netflow.c -c -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE
netflow.c: In constructor 'NetFlow::NetFlow(const char*, u_short)':
netflow.c:73: warning: large integer implicitly truncated to unsigned type
g++ -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE -c ascii2netflow.c
g++ netflow.o ascii2netflow.o -o ascii2netflow -L../lib -lnetams
g++ flowprobe.c -c -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE
g++ netflow.o flowprobe.o -o flowprobe -L../lib -lnetams -lpcap
g++ ipfw2netflow.c -c -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE -DKEVENT
ipfw2netflow.c: In function 'int main(int, char**)':
ipfw2netflow.c:152: warning: deprecated conversion from string constant to 'char*'
g++ netflow.o ipfw2netflow.o -o ipfw2netflow -L../lib -lnetams
g++ -o pam_netams.so pam_netams.c -shared -lpcap -pthread -lnetgraph -lcrypt -lpam -L/usr/lib -L../lib -lcli -lcrypto -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE
g++ -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE -c billing.c
In file included from netams.h:68,
                 from billing.c:12:
list.h:32: error: ISO C++ forbids declaration of 'LHASH' with no type
list.h:32: error: expected ';' before '*' token
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/net-mgmt/netams/work/netams-3.4.5/src
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/net-mgmt/netams/work/netams-3.4.5
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/netams
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/netams
===>  Cleaning for netams-3.4.5_2


More information about the freebsd-pkg-fallout mailing list