Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2014 03:28:44 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:  <201410170328.s9H3Si03019766@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: adamw@FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/netams/Makefile 365058 2014-08-15 22:03:52Z adamw $
Log URL:        http://beefy1.isc.freebsd.org/data/head-i386-default/2014-10-16_12h30m28s/logs/netams-3.4.5_3.log
Build URL:      http://beefy1.isc.freebsd.org/build.html?mastername=head-i386-default&build=2014-10-16_12h30m28s
Log:

====>> Building net-mgmt/netams
build started at Fri Oct 17 03:28:39 UTC 2014
port directory: /usr/ports/net-mgmt/netams
building for: FreeBSD head-i386-default-job-10 11.0-CURRENT FreeBSD 11.0-CURRENT r273108 i386
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: 1100038




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



---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100038
UNAME_v=FreeBSD 11.0-CURRENT r273108
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=/root
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-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=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.3.8_3.txz
[head-i386-default-job-10] Installing pkg-1.3.8_3... done
Message for pkg-1.3.8_3:
 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.40.txz
[head-i386-default-job-10] Installing indexinfo-0.2... done
[head-i386-default-job-10] Installing readline-6.3.8... done
[head-i386-default-job-10] 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 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?201410170328.s9H3Si03019766>