Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2014 12:16:39 GMT
From:      pkg-fallout@FreeBSD.org
To:        jura@netams.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 10amd64-default][net-mgmt/netams] Failed for netams-3.4.5_3 in build
Message-ID:  <201412111216.sBBCGdBM067563@beefy2.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:     jura@netams.com
Last committer: crees@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/netams/Makefile 373091 2014-11-22 19:13:49Z crees $
Log URL:        http://beefy2.isc.freebsd.org/data/10amd64-default/2014-12-11_03h33m01s/logs/netams-3.4.5_3.log
Build URL:      http://beefy2.isc.freebsd.org/build.html?mastername=10amd64-default&build=2014-12-11_03h33m01s
Log:

====>> Building net-mgmt/netams
build started at Thu Dec 11 12:16:35 UTC 2014
port directory: /usr/ports/net-mgmt/netams
building for: FreeBSD 10amd64-default-job-03 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 amd64
maintained by: jura@netams.com
Makefile ident:      $FreeBSD: head/net-mgmt/netams/Makefile 373091 2014-11-22 19:13:49Z crees $
Poudriere version: 3.1-pre
Host OSVERSION: 1100047
Jail OSVERSION: 1000510

---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p9
UNAME_r=10.0-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/10amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=netams-3.4.5_3
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/10amd64-default/ref/.p/pool
MASTERNAME=10amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for netams-3.4.5_3:
     CGI=off: Install admin/user CGI scripts
     DEBUG=off: Build with debugging support
====> Options available for the multi DATABASE: you have to choose at least one of them
     MYSQL=on: MySQL database support
     PGSQL=off: PostgreSQL database support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  HOME=/wrkdirs/usr/ports/net-mgmt/netams/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  HOME=/wrkdirs/usr/ports/net-mgmt/netams/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  HOME=/wrkdirs/usr/ports/net-mgmt/netams/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/netams/work  HOME=/wrkdirs/usr/ports/net-mgmt/netams/work TMPDIR="/tmp" NO_PIE=yes 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="" LIBS=""  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 0644"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CGI="@comment
"
NO_CGI=""
DEBUG="@comment
"
NO_DEBUG=""
MYSQL=""
NO_MYSQL="@comment
"
PGSQL="@comment
"
NO_PGSQL=""
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/netams"
EXAMPLESDIR="share/examples/netams"
DATADIR="share/netams"
WWWDIR="www/netams"
ETCDIR="etc/netams"
--End PLIST_SUB--

--SUB_LIST--
CGI="@comment
"
NO_CGI=""
DEBUG="@comment
"
NO_DEBUG=""
MYSQL=""
NO_MYSQL="@comment
"
PGSQL="@comment
"
NO_PGSQL=""
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
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
#WITH_PKGNG=devel
# clean-restricted ran via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   netams-3.4.5_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.4.0.txz
[10amd64-default-job-03] Installing pkg-1.4.0...
[10amd64-default-job-03] Extracting pkg-1.4.0... done
Message for pkg-1.4.0:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of netams-3.4.5_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by netams-3.4.5_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by netams-3.4.5_3 for building
=> SHA256 Checksum OK for netams-3.4.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by netams-3.4.5_3 for building
===>  Extracting for netams-3.4.5_3
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by netams-3.4.5_3 for building
=> SHA256 Checksum OK for netams-3.4.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for netams-3.4.5_3
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===>   netams-3.4.5_3 depends on shared library: libpcap.so - found (/lib/libpcap.so.8)
===>   netams-3.4.5_3 depends on shared library: libmysqlclient.so.18 - not found
===>    Verifying for libmysqlclient.so.18 in /usr/ports/databases/mysql55-client
===>   Installing existing package /packages/All/mysql55-client-5.5.41.txz
[10amd64-default-job-03] Installing mysql55-client-5.5.41...
[10amd64-default-job-03] Extracting mysql55-client-5.5.41... done
===>   Returning to build of netams-3.4.5_3
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for netams-3.4.5_3
===========================================================================
=======================<phase: build          >============================
===>  Building for netams-3.4.5_3
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  
Will have MYSQL support
  [ /usr/local/lib/mysql   /usr/local/include/mysql ]
Will have MYSQL (static) support
	[ /usr/local/lib/mysql	/usr/local/include/mysql ]
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 src && make all
cd ../lib && make library && cd ../src
cc -pipe -O2 -I../src -I./ -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/local/include/mysql -DUSE_MYSQL -I/usr/local/include/mysql -DHAVE_BILLING -DHAVE_PAM -Wno-format-zero-length -I./libcli -c libcli/libcli.c
ar rc libcli.a libcli.o
cc -pipe -O2 -I../src -I./ -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/local/include/mysql -DUSE_MYSQL -I/usr/local/include/mysql -DHAVE_BILLING -DHAVE_PAM -c lib.c
ar rc libnetams.a lib.o 
c++ -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/local/include/mysql -DUSE_MYSQL -I/usr/local/include/mysql -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE -c netamsctl.c
c++ netamsctl.o -o netamsctl -L../lib -lnetams
c++ netflow.c -c -pipe -fPIC -Wno-deprecated -I/usr/local/include -I../lib -DFREEBSD -DHAVE_BW -DFAST_FW_CHECK -DLAYER7_FILTER -DUSE_MYSQL -I/usr/local/include/mysql -DUSE_MYSQL -I/usr/local/include/mysql -DHAVE_BILLING -DHAVE_PAM -D_REENTRANT -D_THREAD_SAFE
In file included from netflow.c:18:
./netflow.h:242:27: error: 'long type-name' is invalid
                u_int32_t long sent_flows;
                          ^
./netflow.h:243:27: error: 'long type-name' is invalid
                u_int32_t long sent_packets;
                          ^
netflow.c:73:37: warning: implicit conversion from '__uint16_t' (aka 'unsigned short') to 'u_int8_t' (aka 'unsigned char') changes value from 7936 to 0 [-Wconstant-conversion]
        message->header.engine_type=htons(31);
                                   ~^~~~~~~~~
/usr/include/netinet/in.h:118:18: note: expanded from macro 'htons'
#define htons(x)        __htons(x)
                        ^~~~~~~~~~
/usr/include/x86/endian.h:127:20: note: expanded from macro '__htons'
#define __htons(x)      __bswap16(x)
                        ^~~~~~~~~~~~
/usr/include/x86/endian.h:74:3: note: expanded from macro '__bswap16'
        ((__uint16_t)(__builtin_constant_p(x) ? \
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
*** Error code 1

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

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

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

Stop.
make: stopped in /usr/ports/net-mgmt/netams



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412111216.sBBCGdBM067563>