Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2015 09:41:45 GMT
From:      pkg-fallout@FreeBSD.org
To:        jura@netams.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][net-mgmt/netams] Failed for netams-3.4.5_3 in build
Message-ID:  <201501300941.t0U9fjIZ005744@beefy1.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://beefy1.isc.freebsd.org/data/head-i386-default/2015-01-29_17h52m59s/logs/netams-3.4.5_3.log
Build URL:      http://beefy1.isc.freebsd.org/build.html?mastername=head-i386-default&build=2015-01-29_17h52m59s
Log:

====>> Building net-mgmt/netams
build started at Fri Jan 30 09:41:37 UTC 2015
port directory: /usr/ports/net-mgmt/netams
building for: FreeBSD head-i386-default-job-15 11.0-CURRENT FreeBSD 11.0-CURRENT r277815 i386
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.1
Host OSVERSION: 1100056
Jail OSVERSION: 1100056

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100056
UNAME_v=FreeBSD 11.0-CURRENT r277815
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-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=/
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.1
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=11.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---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
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 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.7.txz
[head-i386-default-job-15] Installing pkg-1.4.7...
[head-i386-default-job-15] Extracting pkg-1.4.7... done
Message for pkg-1.4.7:
 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
[head-i386-default-job-15] Installing mysql55-client-5.5.41...
[head-i386-default-job-15] `-- Installing readline-6.3.8...
[head-i386-default-job-15] |   `-- Installing indexinfo-0.2.2...
[head-i386-default-job-15] |   `-- Extracting indexinfo-0.2.2... done
[head-i386-default-job-15] `-- Extracting readline-6.3.8... done
[head-i386-default-job-15] 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?201501300941.t0U9fjIZ005744>