Building nagios-3.5.1_5.txz (origin /buildshare/ports/355755/net-mgmt/nagios) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/nagios-3.5.1.tar.gz x packages/ x packages/cmake-2.8.12.1_4.txz x packages/xtrans-1.3.4_1.txz x packages/libXext-1.3.2_2,1.txz x packages/fixesproto-5.0.txz x packages/help2man-1.43.3_1.txz x packages/python27-2.7.6_4.txz x packages/makedepend-1.0.5,1.txz x packages/libXrandr-1.4.2_2.txz x packages/autoconf-2.69.txz x packages/xorg-macros-1.19.0.txz x packages/libpciaccess-0.13.2_2.txz x packages/libXau-1.0.8_2.txz x packages/png-1.5.18.txz x packages/libdrm-2.4.17_1.txz x packages/libICE-1.0.8_2,1.txz x packages/py27-setuptools27-2.0.1.txz x packages/xproto-7.0.25.txz x packages/tiff-4.0.3_2.txz x packages/libgd-2.1.0_3,1.txz x packages/libpthread-stubs-0.3_4.txz x packages/pciids-20140526.txz x packages/inputproto-2.3.txz x packages/pkg-1.2.7_2.txz x packages/renderproto-0.11.1.txz x packages/bigreqsproto-1.1.2.txz x packages/libcheck-0.9.12.txz x packages/libxcb-1.10_2.txz x packages/kbproto-1.0.6.txz x packages/libGLU-9.0.0.txz x packages/libXdmcp-1.1.1_2.txz x packages/jpeg-8_5.txz x packages/xf86bigfontproto-1.2.0.txz x packages/libgpg-error-1.13.txz x packages/libxslt-1.1.28_3.txz x packages/libXrender-0.9.8_2.txz x packages/cmake-modules-2.8.12.1_1.txz x packages/libtool-2.4.2_3.txz x packages/libGL-7.6.1_4.txz x packages/libxml2-2.9.1_1.txz x packages/dri2proto-2.8.txz x packages/libXxf86vm-1.1.3_2.txz x packages/py27-libxml2-2.9.1.txz x packages/libltdl-2.4.2_3.txz x packages/perl5-5.16.3_10.txz x packages/nagios-plugins-2.0.2,1.txz x packages/p5-Locale-gettext-1.05_3.txz x packages/libXmu-1.1.2_2,1.txz x packages/pcre-8.34_1.txz x packages/libXfixes-5.0.1_2.txz x packages/libSM-1.2.2_2,1.txz x packages/fontconfig-2.11.0_3,1.txz x packages/gmake-3.82_1.txz x packages/freeglut-2.8.1_2.txz x packages/xcb-proto-1.10_1.txz x packages/libXdamage-1.1.4_2.txz x packages/jbigkit-1.6.txz x packages/gettext-0.18.3.1_1.txz x packages/damageproto-1.2.1.txz x packages/python2-2_2.txz x packages/pkgconf-0.9.5.txz x packages/libgcrypt-1.5.3_2.txz x packages/xcmiscproto-1.2.2.txz x packages/m4-1.4.17_1,1.txz x packages/xextproto-7.3.0.txz x packages/automake-1.14.txz x packages/autoconf-wrapper-20131203.txz x packages/xf86vidmodeproto-2.3.1.txz x packages/randrproto-1.4.0.txz x packages/php5-5.4.28.txz x packages/bison-2.7.1,1.txz x packages/libX11-1.6.2_2,1.txz x packages/expat-2.1.0.txz x packages/glproto-1.4.17.txz x packages/libXt-1.1.4_2,1.txz x packages/freetype2-2.5.3_2.txz x packages/libXi-1.7.2_2,1.txz x packages/automake-wrapper-20131203.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> nagios-3.5.1_5 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of nagios-3.5.1_5 ===> nagios-3.5.1_5 depends on shared library: libgd.so - not found ===> Verifying for libgd.so in /buildshare/ports/355755/graphics/gd ===> Installing existing package /packages/libgd-2.1.0_3,1.txz Installing libgd-2.1.0_3,1...Installing fontconfig-2.11.0_3,1...Installing expat-2.1.0... done Installing freetype2-2.5.3_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 fc-cache: succeeded done Installing jpeg-8_5... done Installing png-1.5.18... done Installing tiff-4.0.3_2...Installing freeglut-2.8.1_2...Installing libGLU-9.0.0...Installing libGL-7.6.1_4...Installing dri2proto-2.8... done Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6... done Installing libXau-1.0.8_2...Installing xproto-7.0.25... done done Installing libXdmcp-1.1.1_2... done Installing libxcb-1.10_2...Installing libpthread-stubs-0.3_4... done Installing libxml2-2.9.1_1... done done done Installing libXdamage-1.1.4_2...Installing damageproto-1.2.1... done Installing libXfixes-5.0.1_2...Installing fixesproto-5.0... done done done Installing libXext-1.3.2_2,1...Installing xextproto-7.3.0... done done Installing libXxf86vm-1.1.3_2...Installing xf86vidmodeproto-2.3.1... done done Installing libdrm-2.4.17_1...Installing libpciaccess-0.13.2_2...Installing pciids-20140526... done done done done done Installing libICE-1.0.8_2,1... done Installing libXi-1.7.2_2,1...Installing inputproto-2.3... done done Installing libXrandr-1.4.2_2...Installing libXrender-0.9.8_2...Installing renderproto-0.11.1... done done Installing randrproto-1.4.0... done done done Installing jbigkit-1.6... done Installing libSM-1.2.2_2,1... done Installing libXmu-1.1.2_2,1...Installing libXt-1.1.4_2,1... done done done done Since FreeBSD has new USB stack, freeglut normally doesn't build on FreeBSD 8 (yet). To workaround this a small patch adds one include file and comments out content of one function (only leaves return NULL). This might cause side effects. Joysticks do not work, and there might be ports that do not compile or applications that crash because of this. Do not hesitate to contact x11@FreeBSD.org if there are any issues and side effects because of this. ===> Returning to build of nagios-3.5.1_5 ===> nagios-3.5.1_5 depends on shared library: libltdl.so - not found ===> Verifying for libltdl.so in /buildshare/ports/355755/devel/libltdl ===> Installing existing package /packages/libltdl-2.4.2_3.txz Installing libltdl-2.4.2_3... done ===> Returning to build of nagios-3.5.1_5 ===> nagios-3.5.1_5 depends on file: /usr/local/bin/autoconf-2.69 - not found ===> Verifying install for /usr/local/bin/autoconf-2.69 in /buildshare/ports/355755/devel/autoconf ===> Installing existing package /packages/autoconf-2.69.txz Installing autoconf-2.69...Installing autoconf-wrapper-20131203... done Installing m4-1.4.17_1,1... done Installing perl5-5.16.3_10... done done ===> Returning to build of nagios-3.5.1_5 ===> nagios-3.5.1_5 depends on file: /usr/local/bin/perl5.16.3 - found ===> nagios-3.5.1_5 depends on file: /usr/local/libexec/nagios/check_nagios - not found ===> Verifying install for /usr/local/libexec/nagios/check_nagios in /buildshare/ports/355755/net-mgmt/nagios-plugins ===> Installing existing package /packages/nagios-plugins-2.0.2,1.txz Installing nagios-plugins-2.0.2,1...Installing gettext-0.18.3.1_1... done done ===> Returning to build of nagios-3.5.1_5 ===> nagios-3.5.1_5 depends on file: /usr/local/include/php/main/php.h - not found ===> Verifying install for /usr/local/include/php/main/php.h in /buildshare/ports/355755/lang/php5 ===> Installing existing package /packages/php5-5.4.28.txz Installing php5-5.4.28...Installing pcre-8.34_1... done done ===> Returning to build of nagios-3.5.1_5 Make install ===> License GPLv2 accepted by the user ===> nagios-3.5.1_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nagios-3.5.1_5 for building ===> Extracting for nagios-3.5.1_5 => SHA256 Checksum OK for nagios-3.5.1.tar.gz. ===> Patching for nagios-3.5.1_5 ===> Applying FreeBSD patches for nagios-3.5.1_5 ===> nagios-3.5.1_5 depends on file: /usr/local/bin/autoconf-2.69 - found ===> nagios-3.5.1_5 depends on file: /usr/local/bin/perl5.16.3 - found ===> nagios-3.5.1_5 depends on shared library: libgd.so - found (/usr/local/lib/libgd.so.5) ===> nagios-3.5.1_5 depends on shared library: libltdl.so - found (/usr/local/lib/libltdl.so.7.3.0) ===> Configuring for nagios-3.5.1_5 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/net-mgmt/nagios/work/nagios-3.5.1/tap/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/net-mgmt/nagios/work/nagios-3.5.1/tap/configure ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/net-mgmt/nagios/work/nagios-3.5.1/configure configure.in:194: warning: AC_CACHE_VAL(ac_ldflag_pthread, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/libs.m4:99: AC_CHECK_LIB is expanded from... configure.in:138: AC_PTHREAD_FREEBSD is expanded from... configure.in:194: the top level configure: loading site script /buildshare/ports/355755/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking build system type... powerpc-portbld-freebsd10.0 checking host system type... powerpc-portbld-freebsd10.0 checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... (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 arpa/inet.h... (cached) yes checking for ctype.h... (cached) yes checking for dirent.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for getopt.h... (cached) yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for libgen.h... (cached) yes checking for limits.h... (cached) yes checking for math.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no checking for pwd.h... (cached) yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for signal.h... (cached) yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for stdarg.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/mman.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/un.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking for sys/msg.h... (cached) yes checking for sys/poll.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for wchar.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... void checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... gid_t checking for va_copy... yes checking for vsnprintf... (cached) yes checking for snprintf... (cached) yes checking for asprintf... (cached) yes checking for vasprintf... (cached) yes checking for C99 vsnprintf... yes checking for library containing getservbyname... none required checking for library containing connect... none required checking for initgroups... yes checking for setenv... (cached) yes checking for strdup... (cached) yes checking for strstr... yes checking for strtoul... (cached) yes checking for unsetenv... (cached) yes checking for type of socket size... size_t checking for pthread_create in -lthr... yes checking for library containing nanosleep... none required checking for mail... /usr/bin/mail We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! checking for gdImageCreateTrueColor in -lgd... yes checking for traceroute... /usr/sbin/traceroute checking for type va_list... yes checking for perl... (cached) /usr/local/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating subst config.status: WARNING: 'subst.in' seems to ignore the --datarootdir setting config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: WARNING: 'html/Makefile.in' seems to ignore the --datarootdir setting config.status: creating module/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating t/Makefile config.status: creating t-tap/Makefile config.status: creating include/config.h config.status: creating include/snprintf.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 3.5.1 08-30-2013 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,www Embedded Perl: no Event Broker: no Install ${prefix}: /usr/local Lock file: /var/spool/nagios/nagios.lock Check result directory: /var/spool/nagios/checkresults Init directory: /usr/local/etc/rc.d Apache conf.d directory: /usr/local/etc Mail program: /usr/bin/mail Host OS: freebsd10.0 Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. ===> Building for nagios-3.5.1_5 cd ./base && /usr/bin/make cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c In file included from ../common/../include/config.h:221, from ../common/shared.c:1: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c checks.c In file included from ../include/config.h:221, from checks.c:26: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" checks.c: In function 'run_async_service_check': checks.c:519: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' checks.c:823: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' checks.c: In function 'run_async_host_check_3x': checks.c:3082: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' checks.c:3207: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' checks.c: In function 'process_host_check_result_3x': checks.c:3897: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' checks.c:3897: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c config.c In file included from ../include/config.h:221, from config.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c commands.c In file included from ../include/config.h:221, from commands.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" commands.c: In function 'process_passive_checks': commands.c:5190: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' commands.c:5191: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c events.c In file included from ../include/config.h:221, from events.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c flapping.c In file included from ../include/config.h:221, from flapping.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c logging.c In file included from ../include/config.h:221, from logging.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" logging.c: In function 'write_to_log': logging.c:235: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' logging.c: In function 'log_debug_info': logging.c:557: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c In file included from ../common/../include/config.h:221, from ../common/macros.c:26: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c netutils.c In file included from ../include/config.h:221, from netutils.c:26: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c notifications.c In file included from ../include/config.h:221, from notifications.c:26: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" notifications.c: In function 'service_notification': notifications.c:73: warning: unused variable 'neb_result' notifications.c: In function 'notify_contact_of_service': notifications.c:721: warning: unused variable 'neb_result' notifications.c: In function 'host_notification': notifications.c:1061: warning: unused variable 'neb_result' notifications.c: In function 'notify_contact_of_host': notifications.c:1659: warning: unused variable 'neb_result' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c sehandlers.c In file included from ../include/config.h:221, from sehandlers.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o skiplist.o ../common/skiplist.c In file included from ../common/../include/config.h:221, from ../common/skiplist.c:36: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c utils.c In file included from ../include/config.h:221, from utils.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" utils.c: In function 'service_check_sighandler': utils.c:1987: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' utils.c: In function 'host_check_sighandler': utils.c:2027: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c In file included from ../include/config.h:221, from sretention.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c In file included from ../xdata/../include/config.h:221, from ../xdata/xrddefault.c:29: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" ../xdata/xrddefault.c: In function 'xrddefault_save_state_information': ../xdata/xrddefault.c:320: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:322: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:379: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:380: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:387: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:388: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:389: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:390: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:391: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:394: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:452: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:453: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:454: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:455: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:456: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:457: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:461: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:462: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:469: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:508: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:509: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:536: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:538: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:556: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:557: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:558: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xrddefault.c:559: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c In file included from ../common/../include/config.h:221, from ../common/comments.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c In file included from ../xdata/../include/config.h:221, from ../xdata/xcddefault.c:28: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c In file included from ../common/../include/config.h:221, from ../common/objects.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c In file included from ../xdata/../include/config.h:221, from ../xdata/xodtemplate.c:50: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c In file included from ../common/../include/config.h:221, from ../common/statusdata.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c In file included from ../xdata/../include/config.h:221, from ../xdata/xsddefault.c:29: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" ../xdata/xsddefault.c: In function 'xsddefault_save_status_data': ../xdata/xsddefault.c:407: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:409: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:421: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:422: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:423: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:490: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:491: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:496: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:497: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:498: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:499: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:500: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:501: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:502: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:516: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:563: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:564: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:565: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:566: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:567: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:568: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:572: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:573: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:577: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:578: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:590: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:620: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:621: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:646: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:648: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:666: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:667: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:668: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' ../xdata/xsddefault.c:669: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' cc -Wall -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 ../include/config.h:221, from perfdata.c:28: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -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/../include/config.h:221, from ../xdata/xpddefault.c:28: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -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/../include/config.h:221, from ../common/downtime.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" ../common/downtime.c: In function 'schedule_downtime': ../common/downtime.c:113: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' ../common/downtime.c:113: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c In file included from ../xdata/../include/config.h:221, from ../xdata/xdddefault.c:28: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" ../xdata/xdddefault.c: In function 'xdddefault_validate_downtime_data': ../xdata/xdddefault.c:123: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' ../xdata/xdddefault.c:133: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c ../common/shared.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.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 xdowntime-base.o -lm -lthr -lthr -L/usr/local/lib In file included from ../include/config.h:221, from nagios.c:39: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -lm -lthr -L/usr/local/lib In file included from ../include/config.h:221, from nagiostats.c:29: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cd ./cgi && /usr/bin/make cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c getcgi.c In file included from ../include/config.h:221, from getcgi.c:9: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c cgiutils.c In file included from ../include/config.h:221, from cgiutils.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cgiutils.c: In function 'include_ssi_files': cgiutils.c:1571: warning: unused variable 'x' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c cgiauth.c In file included from ../include/config.h:221, from cgiauth.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c In file included from ../common/../include/config.h:221, from ../common/macros.c:26: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o skiplist.o ../common/skiplist.c In file included from ../common/../include/config.h:221, from ../common/skiplist.c:36: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c In file included from ../common/../include/config.h:221, from ../common/objects.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c In file included from ../xdata/../include/config.h:221, from ../xdata/xodtemplate.c:50: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c In file included from ../common/../include/config.h:221, from ../common/statusdata.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c In file included from ../xdata/../include/config.h:221, from ../xdata/xsddefault.c:29: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c In file included from ../common/../include/config.h:221, from ../common/comments.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c In file included from ../common/../include/config.h:221, from ../common/downtime.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o avail.cgi avail.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from avail.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" avail.c: In function 'main': avail.c:415: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' avail.c:415: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' avail.c:418: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' avail.c:418: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' avail.c:431: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' avail.c:431: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' avail.c:435: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' avail.c:435: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' avail.c: In function 'display_host_availability': avail.c:4020: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' avail.c:4020: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' avail.c:4022: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' avail.c:4022: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' avail.c: In function 'display_service_availability': avail.c:4512: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' avail.c:4512: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' avail.c:4514: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' avail.c:4514: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' avail.c: In function 'host_report_url': avail.c:4760: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' avail.c:4760: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' avail.c: In function 'service_report_url': avail.c:4784: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'time_t' avail.c:4784: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -c extcmd_list.c cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o cmd.cgi cmd.c extcmd_list.o ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from cmd.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cmd.c: In function 'cmd_submitf': cmd.c:1924: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:1924: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c: In function 'commit_command': cmd.c:1997: warning: null format string cmd.c:2050: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2054: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2061: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2068: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' cmd.c:2083: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2124: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2124: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2128: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2128: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2132: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2132: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'time_t' cmd.c:2143: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2181: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2181: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2185: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2185: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2187: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2187: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2217: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2217: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2221: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2221: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cmd.c:2223: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cmd.c:2223: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o config.cgi config.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from config.c:25: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o extinfo.cgi extinfo.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from extinfo.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o history.cgi history.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from history.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o notifications.cgi notifications.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from notifications.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o outages.cgi outages.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from outages.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o showlog.cgi showlog.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from showlog.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o status.cgi status.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from status.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o statuswml.cgi statuswml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from statuswml.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o summary.cgi summary.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from summary.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o tac.cgi tac.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lthr -L/usr/local/lib In file included from ../include/config.h:221, from tac.c:27: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm -lthr -L/usr/local/lib In file included from ../include/config.h:221, from statusmap.c:30: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o trends.cgi trends.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm -lthr -L/usr/local/lib In file included from ../include/config.h:221, from trends.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" trends.c: In function 'main': trends.c:455: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' trends.c:455: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' trends.c:464: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' trends.c:464: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' trends.c:466: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' trends.c:466: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' trends.c:468: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' trends.c:468: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cc -Wall -O2 -pipe -I/usr/local/include -fPIC -fno-strict-aliasing -DHAVE_CONFIG_H -DNSCGI -o histogram.cgi histogram.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm -lthr -L/usr/local/lib In file included from ../include/config.h:221, from histogram.c:24: /usr/include/sys/timeb.h:42:2: warning: #warning "this file includes which is deprecated" histogram.c: In function 'main': histogram.c:346: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' histogram.c:346: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' histogram.c:348: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' histogram.c:348: warning: format '%lu' expects type 'long unsigned int', but argument 5 has type 'time_t' histogram.c:357: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' histogram.c:357: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' histogram.c:359: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'time_t' histogram.c:359: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'time_t' cd ./html && /usr/bin/make if [ xno = xyes ]; then cd ./module && /usr/bin/make; fi *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /usr/local/etc/rc.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/etc/nagios You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! make install-webconf - This installs the Apache config file for the Nagios web interface make install-exfoliation - This installs the Exfoliation theme for the Nagios web interface make install-classicui - This installs the classic theme for the Nagios web interface *** Support Notes ******************************************* If you have questions about configuring or running Nagios, please make sure that you: - Look at the sample config files - Read the documentation on the Nagios Library at: http://library.nagios.com before you post a question to one of the mailing lists. Also make sure to include pertinent information that could help others help you. This might include: - What version of Nagios you are using - What version of the plugins you are using - Relevant snippets from your config files - Relevant error messages from the Nagios log file For more information on obtaining support for Nagios, visit: http://support.nagios.com ************************************************************* Enjoy. ===> Staging for nagios-3.5.1_5 ===> nagios-3.5.1_5 depends on file: /usr/local/libexec/nagios/check_nagios - found ===> nagios-3.5.1_5 depends on file: /usr/local/include/php/main/php.h - found ===> Generating temporary packing list ===> Creating users and/or groups. cd ./base && /usr/bin/make install /usr/bin/make install-basic /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/bin /usr/bin/install -c -o root -g wheel -m 755 nagios /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/bin /usr/bin/install -c -o root -g wheel -m 755 nagiostats /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/bin /usr/bin/make strip-post-install /usr/bin/strip /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/bin/nagios /usr/bin/strip /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/bin/nagiostats cd ./cgi && /usr/bin/make install /usr/bin/make install-basic /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/cgi-bin for file in *.cgi; do /usr/bin/install -c -o root -g wheel -m 755 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/cgi-bin; done /usr/bin/make strip-post-install for file in *.cgi; do /usr/bin/strip /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/cgi-bin/$file; done cd ./html && /usr/bin/make install /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/media /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/stylesheets /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/contexthelp /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/docs /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/docs/images /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/js /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images/logos /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/includes /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/includes/rss /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/includes/rss/extlib /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/ssi /usr/bin/install -c -o root -g wheel -m 644 robots.txt /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios rm -f /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/index.html rm -f /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/main.html rm -f /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/side.html for file in *.php; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios; done for file in stylesheets/*.css; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/stylesheets; done for file in contexthelp/*.html; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/contexthelp; done for file in js/*.js; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/js; done for file in images/*.gif; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images; done for file in images/*.jpg; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images; done for file in images/*.png; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images; done for file in images/*.ico; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images; done for file in images/logos/*.*; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images/logos; done for file in includes/*.*; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/includes; done for file in includes/rss/*.*; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/includes/rss; done for file in includes/rss/extlib/*.*; do /usr/bin/install -c -o root -g wheel -m 644 $file /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/includes/rss/extlib; done /usr/bin/make install-exfoliation cp -rf contrib/exfoliation/stylesheets/* /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/stylesheets cp -rf contrib/exfoliation/images/* /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/www/nagios/images *** Exfoliation theme installed *** NOTE: Use 'make install-classicui' to revert to classic Nagios theme /usr/bin/make install-basic /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/libexec/nagios /usr/bin/install -c -o root -g wheel -m 775 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/var/spool/nagios /usr/bin/install -c -o root -g wheel -m 775 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/var/spool/nagios/archives /usr/bin/install -c -o root -g wheel -m 775 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/var/spool/nagios/checkresults if [ no = yes ]; then /usr/bin/install -c -o root -g wheel -m 644 p1.pl /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/bin; fi; *** Main program, CGIs and HTML files installed *** You can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install-init - This installs the init script in /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/rc.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs sample config files in /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios /usr/bin/install -c -o root -g wheel -m 775 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/var/spool/nagios/rw *** External command directory configured *** /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios /usr/bin/install -c -o root -g wheel -m 755 -d /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects /usr/bin/install -c -o root -g wheel -m 644 sample-config/nagios.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/nagios.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/cgi.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/cgi.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/resource.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/resource.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/template-object/templates.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects/templates.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/template-object/commands.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects/commands.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/template-object/contacts.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects/contacts.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/template-object/timeperiods.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects/timeperiods.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/template-object/localhost.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects/localhost.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/template-object/printer.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects/printer.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 sample-config/template-object/switch.cfg /obj/buildshare/ports/355755/net-mgmt/nagios/work/stage/usr/local/etc/nagios/objects/switch.cfg-sample *** Config files installed *** Remember, these are *SAMPLE* config files. You'll need to read the documentation for more information on how to actually define services, hosts, etc. to fit your particular needs. ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ===> Installing for nagios-3.5.1_5 ===> Checking if net-mgmt/nagios already installed ===> Registering installation for nagios-3.5.1_5 ===> Creating users and/or groups. Creating group 'nagios' with gid '181'. Creating user 'nagios' with uid '181'. Installing nagios-3.5.1_5... done ********************************************************************** Enable Nagios in /etc/rc.conf with the following line: nagios_enable="YES" Configuration templates are available in /usr/local/etc/nagios as *.cfg-sample files. Copy them to *.cfg files where required and edit to suit your needs. Documentation is available in HTML form in /usr/local/www/nagios/docs. If you don't already have a web server running, you will need to install and configure one to finish off your Nagios installation. When used with Apache, the following should be sufficient to publish the web component of Nagios (modify the allow list to suit): Order deny,allow Deny from all Allow from 127.0.0.1 php_flag engine on php_admin_value open_basedir /usr/local/www/nagios/:/var/spool/nagios/ Options ExecCGI ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/ Alias /nagios/ /usr/local/www/nagios/ ********************************************************************** Make package ===> Building package for nagios-3.5.1_5 slot2: removed