[REL - head-amd64-default][net-mgmt/snmp4nagios] Failed for SNMP4Nagios-0.4_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Fri Nov 22 03:35:17 UTC 2013


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:     zi at FreeBSD.org
Last committer: bapt at FreeBSD.org
Ident:          $FreeBSD: head/net-mgmt/snmp4nagios/Makefile 327757 2013-09-20 22:24:43Z bapt $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-11-21_14h48m54s/logs/SNMP4Nagios-0.4_1.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-11-21_14h48m54s
Log:

====>> Building net-mgmt/snmp4nagios
build started at Fri Nov 22 03:35:03 UTC 2013
port directory: /usr/ports/net-mgmt/snmp4nagios
building for: FreeBSD head-amd64-default-job-07 11.0-CURRENT FreeBSD 11.0-CURRENT r256430 amd64
maintained by: zi at FreeBSD.org
Makefile ident:      $FreeBSD: head/net-mgmt/snmp4nagios/Makefile 327757 2013-09-20 22:24:43Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1100000
UNAME_v=FreeBSD 11.0-CURRENT r256430
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=1750
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=SNMP4Nagios-0.4_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for SNMP4Nagios-0.4_1:
     RRDTOOL=off: Build with rrdtool support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--sbindir=/usr/local/www/nagios/cgi-bin  --bindir=/usr/local/libexec/nagios  --libexecdir=/usr/local/libexec/nagios  --datadir=/usr/local/share  --sysconfdir=/usr/local/etc/nagios  --localstatedir=/var/spool/nagios  --with-rrddir=/var/spool/nagios/snmp4nagios/rrd  --with-pngdir=/var/spool/nagios/snmp4nagios/png  --prefix=/usr/local --with-rrd=no --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
LIBS="-L/usr/local/lib" TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -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 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/SNMP4Nagios
DOCSDIR=/usr/local/share/doc/SNMP4Nagios
EXAMPLESDIR=/usr/local/share/examples/SNMP4Nagios
WWWDIR=/usr/local/www/SNMP4Nagios
ETCDIR=/usr/local/etc/SNMP4Nagios
--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 ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for SNMP4Nagios-0.4_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   SNMP4Nagios-0.4_1 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.1.4_10.txz
Installing pkg-1.1.4_10... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of SNMP4Nagios-0.4_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by SNMP4Nagios-0.4_1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by SNMP4Nagios-0.4_1 for building
=> SHA256 Checksum OK for SNMP4Nagios-0.4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by SNMP4Nagios-0.4_1 for building
===>  Extracting for SNMP4Nagios-0.4_1
=> SHA256 Checksum OK for SNMP4Nagios-0.4.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for SNMP4Nagios-0.4_1
===========================================================================
=======================<phase: build-depends  >============================
===>   SNMP4Nagios-0.4_1 depends on executable: snmpcheck - not found
===>    Verifying install for snmpcheck in /usr/ports/net-mgmt/net-snmp
===>   Installing existing package /packages/All/net-snmp-5.7.2_3.txz
Installing net-snmp-5.7.2_3...Installing perl5-5.16.3_3...Removing /usr/local/etc/perl5_version... Done.
Creating /usr/local/etc/perl5_version... Done.
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5
Done.
 done
 done
**** This port installs snmp daemon, header files and libraries but don't
     invokes snmpd by default.
     If you want to invoke snmpd and/or snmptrapd at startup, put these
     lines into /etc/rc.conf.

	snmpd_enable="YES"
	snmpd_flags="-a"
	snmpd_conffile="/usr/local/share/snmp/snmpd.conf /etc/snmpd.conf"
	snmptrapd_enable="YES"
	snmptrapd_flags="-a -p /var/run/snmptrapd.pid"

**** You may specify the following make variables:

	NET_SNMP_SYS_CONTACT="zi at FreeBSD.org"
	NET_SNMP_SYS_LOCATION="USA"
	DEFAULT_SNMP_VERSION=3
	NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio"
	NET_SNMP_LOGFILE=/var/log/snmpd.log
	NET_SNMP_PERSISTENTDIR=/var/net-snmp

     to define default values (or overwriting defaults).  At least
     setting first two variables, you will not be prompted during
     configuration process.  You may also set

	BATCH="yes"

     to avoid interactive configuration.
===>   Returning to build of SNMP4Nagios-0.4_1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for SNMP4Nagios-0.4_1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4/configure
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dirent.h... (cached) yes
checking for errno.h... (cached) yes
checking for pwd.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for asprintf... (cached) yes
checking for Net-SNMP... yes
checking for snmp_sess_init... yes
checking for librrd... checking for default rrd directory... /var/spool/nagios/snmp4nagios/rrd
checking for default png directory... /var/spool/nagios/snmp4nagios/png
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for SNMP4Nagios-0.4_1
/usr/bin/make  all-am
if cc -DHAVE_CONFIG_H -I. -I. -I.     -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Ufreebsd11 -Dfreebsd11=freebsd11 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.16/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -I/usr/include -I. -I/usr/local/include -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT check_brocade_overall.o -MD -MP -MF ".deps/check_brocade_overall.Tpo" -c -o check_brocade_overall.o check_brocade_overall.c;  then mv -f ".deps/check_brocade_overall.Tpo" ".deps/check_brocade_overall.Po"; else rm -f ".deps/check_brocade_overall.Tpo"; exit 1; fi
In file included from check_brocade_overall.c:29:
In file included from ./globals.h:34:
/usr/local/include/net-snmp/net-snmp-config.h:2085:10: fatal error: 'net-snmp/system/freebsd11.h' file not found
#include NETSNMP_SYSTEM_INCLUDE_FILE
         ^
/usr/local/include/net-snmp/net-snmp-config.h:1741:37: note: expanded from macro 'NETSNMP_SYSTEM_INCLUDE_FILE'
#define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/freebsd11.h"
                                    ^
1 error generated.
*** Error code 1

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

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/snmp4nagios/work/SNMP4Nagios-0.4
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/snmp4nagios
===>  Cleaning for SNMP4Nagios-0.4_1


More information about the freebsd-pkg-fallout mailing list