Date: Wed, 29 Jan 2014 23:52:38 GMT From: pkg-fallout@FreeBSD.org To: mat@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [REL - 10i386-default][net-mgmt/nagios4] Failed for nagios4-4.0.2 in build Message-ID: <201401292352.s0TNqcW0097558@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: mat@FreeBSD.org Last committer: mat@FreeBSD.org Ident: $FreeBSD: head/net-mgmt/nagios4/Makefile 340945 2014-01-24 23:24:53Z mat $ Log URL: http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-01-29_19h27m09s/logs/nagios4-4.0.2.log Build URL: http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-01-29_19h27m09s Log: ====>> Building net-mgmt/nagios4 build started at Wed Jan 29 23:52:06 UTC 2014 port directory: /usr/ports/net-mgmt/nagios4 building for: FreeBSD 10i386-default-job-15 10.0-RELEASE FreeBSD 10.0-RELEASE i386 maintained by: mat@FreeBSD.org Makefile ident: $FreeBSD: head/net-mgmt/nagios4/Makefile 340945 2014-01-24 23:24:53Z mat $ Poudriere version: 3.1-pre ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1000510 UNAME_v=FreeBSD 10.0-RELEASE UNAME_r=10.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/10i386-default/ref PKG_EXT=txz tpid=79333 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=nagios4-4.0.2 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=10i386-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 nagios4-4.0.2: EVENT_BROKER=off: Enable event broker functionality NANOSLEEP=off: Use nanosleep in event timing UNHANDLED_HACK=off: Display passive checks in unhandled queries ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-command-user=nagios --with-command-group=www --with-nagios-user=nagios --with-nagios-group=nagios --with-htmurl=/nagios --with-cgiurl=/nagios/cgi-bin --sbindir=/usr/local/www/nagios/cgi-bin --libexecdir=/usr/local/libexec/nagios --datarootdir=/usr/local/www/nagios --datadir=/usr/local/www/nagios --sysconfdir=/usr/local/etc/nagios --localstatedir=/var/spool/nagios --with-httpd-conf=/usr/local/etc --with-checkresult-dir=/var/spool/nagios/checkresults --disable-statuswrl --disable-event-broker --disable-nanosleep --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- LIBS="-L/usr/local/lib" PERL=/usr/local/bin/perl TMPDIR="/tmp" TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include -fPIC" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -fPIC -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 NAGIOSDIR=/var/spool/nagios NAGIOSWWWDIR=www/nagios NAGIOSUSER=nagios NAGIOSGROUP=nagios NAGIOSHTMURL=/nagios NAGIOSCGIURL=/nagios/cgi-bin WWWGRP=www EVENT_BROKER="@comment " NANOSLEEP="@comment " UNHANDLED_HACK="@comment " PHP_EXT_DIR=20100525 OSREL=10.0 PREFIX=%D LOCALBASE=/usr/local PORTDOCS="" PORTEXAMPLES="" PORTDATA="" LIB32DIR=lib PERL_VERSION=5.16.3 PERL_VER=5.16 PERL_ARCH=mach PERL5_MAN3=lib/perl5/5.16/man/man3 SITE_PERL=lib/perl5/site_perl/5.16 DOCSDIR="share/doc/nagios" EXAMPLESDIR="share/examples/nagios" DATADIR="share/nagios" WWWDIR="www/nagios" ETCDIR="etc/nagios" PHP_EXT_DIR=20100525 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nagios DOCSDIR=/usr/local/share/doc/nagios EXAMPLESDIR=/usr/local/share/examples/nagios WWWDIR=/usr/local/www/nagios ETCDIR=/usr/local/etc/nagios --End SUB_LIST-- ---Begin make.conf--- 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 NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for nagios4-4.0.2 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> nagios4-4.0.2 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.2.5.txz Installing pkg-1.2.5... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of nagios4-4.0.2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by nagios4-4.0.2 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by nagios4-4.0.2 for building => SHA256 Checksum OK for nagios-4.0.2.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by nagios4-4.0.2 for building ===> Extracting for nagios4-4.0.2 => SHA256 Checksum OK for nagios-4.0.2.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for nagios4-4.0.2 ===> Applying FreeBSD patches for nagios4-4.0.2 =========================================================================== =======================<phase: build-depends >============================ ===> nagios4-4.0.2 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /packages/All/gmake-3.82_1.txz Installing gmake-3.82_1...Installing gettext-0.18.3.1... done done ===> Returning to build of nagios4-4.0.2 ===> nagios4-4.0.2 depends on file: /usr/local/bin/autoconf-2.69 - not found ===> Verifying install for /usr/local/bin/autoconf-2.69 in /usr/ports/devel/autoconf ===> Installing existing package /packages/All/autoconf-2.69.txz Installing autoconf-2.69...Installing autoconf-wrapper-20131203... done Installing m4-1.4.17,1... done Installing perl5-5.16.3_6...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 ===> Returning to build of nagios4-4.0.2 ===> nagios4-4.0.2 depends on file: /usr/local/bin/perl5.16.3 - found =========================================================================== =======================<phase: lib-depends >============================ ===> nagios4-4.0.2 depends on shared library: libgd.so - not found ===> Verifying for libgd.so in /usr/ports/graphics/gd ===> Installing existing package /packages/All/libgd-2.1.0_1,1.txz Installing libgd-2.1.0_1,1...Installing fontconfig-2.11.0_1,1...Installing expat-2.1.0... done Installing freetype2-2.5.2... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory <snip> %d ./xdata/xsddefault.c:265:49: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_hard_state_change=%lu\n", temp_host->last_hard_state_change); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:266:39: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_time_up=%lu\n", temp_host->last_time_up); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:267:41: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_time_down=%lu\n", temp_host->last_time_down); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:268:48: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_time_unreachable=%lu\n", temp_host->last_time_unreachable); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:269:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_notification=%lu\n", temp_host->last_notification); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:270:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tnext_notification=%lu\n", temp_host->next_notification); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:283:38: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_update=%lu\n", current_time); ~~~ ^~~~~~~~~~~~ %d ./xdata/xsddefault.c:324:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_state_change=%lu\n", temp_service->last_state_change); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:325:49: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_hard_state_change=%lu\n", temp_service->last_hard_state_change); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:326:39: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_time_ok=%lu\n", temp_service->last_time_ok); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:327:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_time_warning=%lu\n", temp_service->last_time_warning); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:328:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_time_unknown=%lu\n", temp_service->last_time_unknown); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:329:45: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_time_critical=%lu\n", temp_service->last_time_critical); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:333:37: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_check=%lu\n", temp_service->last_check); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:334:37: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tnext_check=%lu\n", temp_service->next_check); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:338:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_notification=%lu\n", temp_service->last_notification); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:339:44: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tnext_notification=%lu\n", temp_service->next_notification); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:350:38: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_update=%lu\n", current_time); ~~~ ^~~~~~~~~~~~ %d ./xdata/xsddefault.c:374:49: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_host_notification=%lu\n", temp_contact->last_host_notification); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:375:52: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tlast_service_notification=%lu\n", temp_contact->last_service_notification); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:400:37: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tentry_time=%lu\n", temp_comment->entry_time); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:402:38: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\texpire_time=%lu\n", temp_comment->expire_time); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:420:37: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tentry_time=%lu\n", temp_downtime->entry_time); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:421:37: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tstart_time=%lu\n", temp_downtime->start_time); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:422:46: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tflex_downtime_start=%lu\n", temp_downtime->flex_downtime_start); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %d ./xdata/xsddefault.c:423:35: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] fprintf(fp, "\tend_time=%lu\n", temp_downtime->end_time); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~ %d 34 warnings generated. cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c In file included from perfdata.c:26: In file included from ./../include/config.h:214: /usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] #warning "this file includes <sys/timeb.h> which is deprecated" ^ 1 warning generated. cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c In file included from ../xdata/xpddefault.c:26: In file included from ../xdata/../include/config.h:214: /usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] #warning "this file includes <sys/timeb.h> which is deprecated" ^ 1 warning generated. cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c In file included from ../common/downtime.c:23: In file included from ../common/../include/config.h:214: /usr/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings] #warning "this file includes <sys/timeb.h> which is deprecated" ^ ./common/downtime.c:243:5: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] start_time, end_time); ^~~~~~~~~~ ./common/downtime.c:243:17: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] start_time, end_time); ^~~~~~~~ 3 warnings generated. gmake -C ../lib gmake[3]: Entering directory `/wrkdirs/usr/ports/net-mgmt/nagios4/work/nagios-4.0.2/lib' cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c squeue.c -o squeue.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c kvvec.c -o kvvec.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c iocache.c -o iocache.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c iobroker.c -o iobroker.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c bitmap.c -o bitmap.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c dkhash.c -o dkhash.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c runcmd.c -o runcmd.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c fanout.c -o fanout.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c worker.c -o worker.o worker.c:268:31: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "start", cp->ei->start); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ worker.c:174:40: note: expanded from macro 'kvvec_add_tv' const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ^ worker.c:269:30: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "stop", cp->ei->stop); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ worker.c:174:40: note: expanded from macro 'kvvec_add_tv' const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ^ worker.c:274:35: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "ru_utime", ru->ru_utime); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ worker.c:174:40: note: expanded from macro 'kvvec_add_tv' const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ^ worker.c:275:35: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] kvvec_add_tv(&resp, "ru_stime", ru->ru_stime); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ worker.c:174:40: note: expanded from macro 'kvvec_add_tv' const char *buf = mkstr("%ld.%06ld", value.tv_sec, value.tv_usec); \ ^ worker.c:387:83: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'int') [-Wformat] wlog("Failed to reap child with pid %d. Next attempt @ %lu.%lu", cp->ei->pid, tv.tv_sec, tv.tv_usec); ~~~ ^~~~~~~~~ %d 5 warnings generated. cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c skiplist.c -o skiplist.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c nsock.c -o nsock.o cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -DHAVE_CONFIG_H -c nspath.c -o nspath.o ar cr libnagios.a squeue.o kvvec.o iocache.o iobroker.o bitmap.o dkhash.o runcmd.o nsutils.o fanout.o pqueue.o worker.o skiplist.o nsock.o nspath.o gmake[3]: Leaving directory `/wrkdirs/usr/ports/net-mgmt/nagios4/work/nagios-4.0.2/lib' cc -Wall -I.. -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.o ../common/shared.o nerd.o query-handler.o workers.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o -lm -L/usr/local/lib ../lib/libnagios.a nagios.o: In function `.LBB0_22': nagios.c:(.text+0x12d4): undefined reference to `neb_free_module_list' nerd.o: In function `nerd_cancel_subscriber': nerd.c:(.text+0x222): undefined reference to `neb_deregister_callback' nerd.o: In function `nerd_init': nerd.c:(.text+0x487): undefined reference to `neb_add_core_module' nerd.o: In function `nerd_qh_handler': nerd.c:(.text+0x91c): undefined reference to `neb_deregister_callback' nerd.c:(.text+0x9a2): undefined reference to `neb_register_callback' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [nagios] Error 1 gmake[2]: Leaving directory `/wrkdirs/usr/ports/net-mgmt/nagios4/work/nagios-4.0.2/base' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/wrkdirs/usr/ports/net-mgmt/nagios4/work/nagios-4.0.2' *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/nagios4 ===> Cleaning for nagios4-4.0.2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401292352.s0TNqcW0097558>