=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for nagios-4.0.8.tar.gz => Checksum RMD160 OK for nagios-4.0.8.tar.gz => Checksum SHA1 OK for nagios-netbsd40-icons.tar.gz => Checksum RMD160 OK for nagios-netbsd40-icons.tar.gz ===> Installing dependencies for nagios-base-4.0.8 ========================================================================== The supported build options for nagios-base are: mysql pgsql You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.nagios-base (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, nagios-base-4.0.8. Their current value is shown below: * JPEG_DEFAULT = jpeg * NAGIOSCMD_GROUP = www * NAGIOSDIR = /var/spool/nagios * NAGIOS_GROUP = nagios * NAGIOS_USER = nagios * VARBASE = /var Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.1nb1 => Tool dependency perl>=5.20.0: found perl-5.20.2 => Tool dependency checkperms>=1.1: found checkperms-1.11 => Build dependency x11-links>=0.93: found x11-links-0.93 => Build dependency cwrappers>=20150314: found cwrappers-20150318 => Full dependency libltdl>=2.4.2: found libltdl-2.4.2 => Full dependency gd>=2.1.0: found gd-2.1.0nb1 => Full dependency php>=5.4.2<5.5: found php-5.4.39 => Full dependency php>=5.4.2<5.5: found php-5.4.39 => Full dependency perl<5.22.0: found perl-5.20.2 => Full dependency perl>=5.20.0: found perl-5.20.2 ===> Overriding tools for nagios-base-4.0.8 ===> Extracting for nagios-base-4.0.8 tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes. ===> Patching for nagios-base-4.0.8 => Applying pkgsrc patches for nagios-base-4.0.8 => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-Makefile.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 25. Hunk #2 succeeded at 36. Hunk #3 succeeded at 70. Hunk #4 succeeded at 175. Hunk #5 succeeded at 195. Hunk #6 succeeded at 225. Hunk #7 succeeded at 261. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-base_Makefile.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-base_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- base/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ base/Makefile.in -------------------------- Patching file base/Makefile.in using Plan A... Hunk #1 succeeded at 36. Hunk #2 succeeded at 180. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-cgi_Makefile.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-cgi_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- cgi/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ cgi/Makefile.in -------------------------- Patching file cgi/Makefile.in using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 201. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-cgi_getcgi.c => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-cgi_getcgi.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cgi_getcgi.c,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Also include limits.h. | |--- cgi/getcgi.c.orig 2014-08-12 15:00:01.000000000 +0000 |+++ cgi/getcgi.c -------------------------- Patching file cgi/getcgi.c using Plan A... Hunk #1 succeeded at 9. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-common_Makefile.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-common_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-common_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- common/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ common/Makefile.in -------------------------- Patching file common/Makefile.in using Plan A... Hunk #1 succeeded at 16. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-configure => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- configure.orig 2014-08-12 15:00:01.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 6129. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-daemon-init.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-daemon-init.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-daemon-init.in,v 1.1 2015/04/03 17:06:08 rodent Exp $ | |Fix portability failure. | |--- daemon-init.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ daemon-init.in -------------------------- Patching file daemon-init.in using Plan A... Hunk #1 succeeded at 73. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-html_Makefile.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-html_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-html_Makefile.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- html/Makefile.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ html/Makefile.in -------------------------- Patching file html/Makefile.in using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 35. Hunk #3 succeeded at 59. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-include_locations.h.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-include_locations.h.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_locations.h.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Adjustments to build procedure. | |--- include/locations.h.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ include/locations.h.in -------------------------- Patching file include/locations.h.in using Plan A... Hunk #1 succeeded at 19. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-lib_runcmd.c => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-lib_runcmd.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_runcmd.c,v 1.1 2015/04/03 17:06:08 rodent Exp $ | |Include config.h generated during configure. |setenv(3) was tested there. No need to check for it here. |Can't assign a value to a constant. Ensure we don't do that. | |--- lib/runcmd.c.orig 2014-08-12 15:00:01.000000000 +0000 |+++ lib/runcmd.c -------------------------- Patching file lib/runcmd.c using Plan A... Hunk #1 succeeded at 15. Hunk #2 succeeded at 36. Hunk #3 succeeded at 300. done => Verifying /bulk-data/pkgsrc/net/nagios-base/patches/patch-sample-config_nagios.cfg.in => Applying pkgsrc patch /bulk-data/pkgsrc/net/nagios-base/patches/patch-sample-config_nagios.cfg.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-sample-config_nagios.cfg.in,v 1.2 2015/04/03 17:06:08 rodent Exp $ | |Fix placement of temporary file. | |--- sample-config/nagios.cfg.in.orig 2014-08-12 15:00:01.000000000 +0000 |+++ sample-config/nagios.cfg.in -------------------------- Patching file sample-config/nagios.cfg.in using Plan A... Hunk #1 succeeded at 176. done ===> Creating toolchain wrappers for nagios-base-4.0.8 => Fixes wrong module version in freetype2.pc INFO: [subst.mk:fx-ft2-pc-version] Nothing changed in /scratch/net/nagios-base/work/.x11-buildlink/lib/pkgconfig/freetype2.pc. ===> Configuring for nagios-base-4.0.8 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for x86_64--netbsd-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for strip... /scratch/net/nagios-base/work/.tools/bin/strip checking how to run the C preprocessor... gcc -E 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... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... 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 sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... 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 sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... 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 wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... 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... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... 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... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... yes checking for type of socket size... size_t checking for library containing nanosleep... none required checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes test: 1: unexpected operator checking for main in -liconv... yes 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 ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -shared checking for traceroute... no checking for type va_list... yes checking for perl... /usr/pkg/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating subst 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: creating module/Makefile config.status: creating worker/Makefile config.status: creating worker/ping/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 lib/snprintf.h config.status: creating lib/iobroker.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 4.0.8 08-12-2014 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,www Event Broker: yes Install ${prefix}: /usr/pkg Install ${includedir}: /usr/pkg/include/nagios Lock file: /var/run/nagios/nagios.lock Check result directory: /var/spool/nagios/checkresults Init directory: /usr/pkg/share/examples/rc.d Apache conf.d directory: /etc/httpd/conf.d Mail program: /usr/bin/mail Host OS: netbsd IOBroker Method: poll Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs.