Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 06:02:10 GMT
From:      pkg-fallout@FreeBSD.org
To:        jura@netams.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default-ssp][net-mgmt/netams] Failed for netams-3.4.5_3 in build
Message-ID:  <201410020602.s9262Aob087249@beefy4.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: adamw@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/netams/Makefile 365058 2014-08-15 22:03:52Z adamw $
Log URL:        http://beefy4.isc.freebsd.org/data/head-amd64-default-ssp/2014-10-01_13h40m35s/logs/netams-3.4.5_3.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=head-amd64-default-ssp&build=2014-10-01_13h40m35s
Log:

====>> Building net-mgmt/netams
build started at Thu Oct  2 06:02:03 UTC 2014
port directory: /usr/ports/net-mgmt/netams
building for: FreeBSD pkg.FreeBSD.org 11.0-CURRENT FreeBSD 11.0-CURRENT r272336 amd64
maintained by: jura@netams.com
Makefile ident:      $FreeBSD: head/net-mgmt/netams/Makefile 365058 2014-08-15 22:03:52Z adamw $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1100036




!!! Jail is newer than host. (Jail: 1100036, Host: 1100027) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
OSVERSION=1100036
UNAME_v=FreeBSD 11.0-CURRENT r272336
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default-ssp/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=netams-3.4.5_3
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/head-amd64-default-ssp/ref/.p/pool
MASTERNAME=head-amd64-default-ssp
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/.p/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---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 PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache"
--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" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" 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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
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
#### /usr/local/etc/poudriere.d/ssp-make.conf ####
WITH_SSP_PORTS=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.3.8_2.txz
[pkg.FreeBSD.org] Installing pkg-1.3.8_2... done
Message for pkg-1.3.8_2:
 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  >============================
===>   netams-3.4.5_3 depends on file: /usr/local/bin/ccache - not found
===>    Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache
===>   Installing existing package /packages/All/ccache-3.1.9_8.txz
[pkg.FreeBSD.org] Installing ccache-3.1.9_8... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
Message for ccache-3.1.9_8:
 NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for 
information on using ccache with FreeBSD ports and src.
===>   Returning to build of netams-3.4.5_3
===========================================================================
=======================<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.40.txz
[pkg.FreeBSD.org] Installing indexinfo-0.2... done
[pkg.FreeBSD.org] Installing readline-6.3.8... done
[pkg.FreeBSD.org] Installing mysql55-client-5.5.40... 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?201410020602.s9262Aob087249>