Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2015 17:17:12 GMT
From:      pkg-fallout@FreeBSD.org
To:        jura@netams.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 101amd64-quarterly][net-mgmt/netams] Failed for netams-3.4.5_3 in build
Message-ID:  <201506081717.t58HHCv1006481@beefy2.nyi.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: branches/2015Q1/net-mgmt/netams/Makefile 373091 2014-11-22 19:13:49Z crees $
Log URL:        http://beefy2.nyi.freebsd.org/data/101amd64-quarterly/388827/logs/netams-3.4.5_3.log
Build URL:      http://beefy2.nyi.freebsd.org/build.html?mastername=101amd64-quarterly&build=388827
Log:

====>> Building net-mgmt/netams
build started at Mon Jun  8 17:17:08 UTC 2015
port directory: /usr/ports/net-mgmt/netams
building for: FreeBSD 101amd64-quarterly-job-23 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 amd64
maintained by: jura@netams.com
Makefile ident:      $FreeBSD: branches/2015Q1/net-mgmt/netams/Makefile 373091 2014-11-22 19:13:49Z crees $
Poudriere version: 3.1.7
Host OSVERSION: 1100070
Jail OSVERSION: 1001000

---Begin Environment---
OSVERSION=1001000
UNAME_v=FreeBSD 10.1-RELEASE-p10
UNAME_r=10.1-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/101amd64-quarterly/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/101amd64-quarterly/ref/.p/pool
MASTERNAME=101amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.7
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
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" 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" 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.1
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
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
MASTER_SITE_FREEBSD=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.12.txz
[101amd64-quarterly-job-23] Installing pkg-1.4.12...
[101amd64-quarterly-job-23] Extracting pkg-1.4.12... done
Message for pkg-1.4.12:
 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/mysql56-client
===>   Installing existing package /packages/All/mysql56-client-5.6.23.txz
[101amd64-quarterly-job-23] Installing mysql56-client-5.6.23...
[101amd64-quarterly-job-23] Extracting mysql56-client-5.6.23... 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 lib && make library
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 
cd src && make all
cd ../lib && make library && cd ../src
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?201506081717.t58HHCv1006481>