=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 nut-2.6.5.tar.gz
=> Checksum RMD160 OK for nut-2.6.5.tar.gz
=> Checksum SHA512 OK for nut-2.6.5.tar.gz
===> Installing dependencies for ups-nut-2.6.5nb1
==========================================================================
The following variables will affect the build process of this package,
ups-nut-2.6.5nb1.  Their current value is shown below:

        * NUT_STATEDIR = /var/db/nut
        * VARBASE = /var

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20171108
===> Overriding tools for ups-nut-2.6.5nb1
===> Extracting for ups-nut-2.6.5nb1
===> Patching for ups-nut-2.6.5nb1
=> Applying pkgsrc patches for ups-nut-2.6.5nb1
=> Verifying /data/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.11 2013/02/16 17:34:58 jdf Exp $
|
|--- conf/Makefile.in.orig	2013-02-08 15:36:48.000000000 +0100
|+++ conf/Makefile.in	2013-02-08 15:37:02.000000000 +0100
--------------------------
Patching file conf/Makefile.in using Plan A...
Hunk #1 succeeded at 112.
done
=> Verifying /data/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.12 2013/02/16 17:34:58 jdf Exp $
|
|Keep trying initialisation if we get a timeout or network error while
|probing the device.
|Submitted upstream as tracker #313195
|
|--- drivers/snmp-ups.c.orig	2013-02-08 15:39:09.000000000 +0100
|+++ drivers/snmp-ups.c	2013-02-08 15:39:13.000000000 +0100
--------------------------
Patching file drivers/snmp-ups.c using Plan A...
Hunk #1 succeeded at 90.
Hunk #2 succeeded at 269.
Hunk #3 succeeded at 480.
Hunk #4 succeeded at 501.
Hunk #5 succeeded at 884.
Hunk #6 succeeded at 902.
Hunk #7 succeeded at 912.
Hunk #8 succeeded at 933.
done
=> Verifying /data/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_hidparser.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_hidparser.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-drivers_hidparser.c,v 1.1 2015/11/10 08:52:38 mrg Exp $
|
|work around horrible big-endian code that assumes "long" is 32 bits.
|enables usb-nut-ups to work on sparc64.
|
|
|--- drivers/hidparser.c.orig	2012-07-31 10:38:59.000000000 -0700
|+++ drivers/hidparser.c	2015-11-10 00:30:11.000000000 -0800
--------------------------
Patching file drivers/hidparser.c using Plan A...
Hunk #1 succeeded at 163.
done
===> Creating toolchain wrappers for ups-nut-2.6.5nb1
===> Configuring for ups-nut-2.6.5nb1
=> 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
Network UPS Tools version 2.6.5
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for host system name... 
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for autoconf macro to enable system extensions... yes
checking for style of include used by make... GNU
checking for x86_64--netbsd-gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64--netbsd-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking dependency style of clang... (cached) gcc3
checking whether clang and cc understand -c and -o together... yes
checking how to run the C preprocessor... clang -E
checking whether we are using the GNU C++ compiler... no
checking whether clang++ accepts -g... no
checking dependency style of clang++... none
checking for egrep... (cached) /usr/bin/egrep
checking for ar... /usr/bin/ar
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for flexible array members... yes
checking for variable-length arrays... yes
checking for flock... yes
checking for lockf... yes
checking for fcvt... no
checking for fcvtl... no
checking for cfsetispeed... yes
checking for tcsendbreak... yes
checking for seteuid... yes
checking for setsid... yes
checking for getpassphrase... no
checking for on_exit... no
checking for strptime... yes
checking for setlogmask... yes
checking whether LOG_UPTO is declared... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setenv... yes
checking for strerror... yes
checking for atexit... yes
checking for CPPUNIT... no
configure: WARNING: libcppunit not found.
checking whether optind is declared... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking whether uu_lock is declared... no
checking whether __func__ is declared... yes
checking for library containing gethostbyname... none required
checking for library containing connect... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/modem.h... no
checking for stdarg.h... yes
checking for varargs.h... no
checking for sys/termios.h... yes
checking for sys/time.h... yes
checking for library containing pthread_create... -lpthread
checking for socklen_t... yes
checking for --with-all... not given
checking for Net-SNMP version via net-snmp-config... net-snmp-config: not found
none found
checking for Net-SNMP cflags... net-snmp-config: not found

checking for Net-SNMP libs... net-snmp-config: not found

checking for net-snmp/net-snmp-config.h... no
checking for init_snmp... no
checking for libusb version via pkg-config... pkg-config: not found
checking via libusb-config... libusb-config: not found
none found
checking for libusb cflags... 
checking for libusb ldflags... -lusb
checking for usb.h... no
checking for usb_init... no
checking for libhal version via pkg-config (0.5.8 minimum required)... pkg-config: not found
none found
checking for libhal cflags... pkg-config: not found
-DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
checking for libhal ldflags... pkg-config: not found
-lhal -ldbus-1 -lpthread
checking for libhal.h... no
checking for glib.h... no
checking for dbus/dbus-glib.h... no
checking for libhal_device_new_changeset... no
checking for libneon version via pkg-config (0.25.0 minimum required)... pkg-config: not found
none found
checking for libneon cflags... pkg-config: not found

checking for libneon ldflags... pkg-config: not found

checking for ne_xmlreq.h... no
checking for ne_xml_dispatch_request... no
checking for libpowerman cflags... pkg-config: not found

checking for libpowerman libs... pkg-config: not found

checking for libpowerman.h... no
checking for pm_connect... no
checking for avahi-core version via pkg-config (0.6.30 minimum required)... pkg-config: not found
none found
checking for avahi-client version via pkg-config (0.6.30 minimum required)... pkg-config: not found
none found
checking for avahi cflags... pkg-config: not found

checking for avahi ldflags... pkg-config: not found

checking for avahi-common/malloc.h... no
checking for avahi_free... no
checking whether to build serial drivers... yes 
checking whether to build USB drivers... no 
checking whether to build SNMP drivers... no 
checking whether to build neon based XML driver... no 
checking whether to enable Avahi support... no 
checking whether to build Powerman PDU client driver... no 
checking for FreeIPMI version via pkg-config... pkg-config: not found
none found
checking for FreeIPMI cflags... 
checking for FreeIPMI ldflags... -lfreeipmi -lipmimonitoring
checking for freeipmi/freeipmi.h... no
checking for ipmi_monitoring.h... no
checking for library containing ipmi_ctx_create... no
checking for library containing ipmi_ctx_find_inband... no
checking for library containing ipmi_fru_parse_ctx_create... no
checking for library containing ipmi_monitoring_init... no
checking for library containing ipmi_monitoring_sensor_read_record_id... no
checking for library containing ipmi_sdr_cache_ctx_destroy... no
checking for library containing ipmi_sdr_ctx_destroy... no
checking whether to build IPMI driver... no 
checking whether to build Mac OS X meta-driver... no 
checking for openssl version via pkg-config... pkg-config: not found
none found
checking for openssl cflags... 
checking for openssl ldflags... -lssl -lcrypto
checking for openssl/ssl.h... yes
checking for SSL_library_init... no
checking whether to enable SSL development code... no 
checking for tcpd.h... yes
checking for library containing yp_get_default_domain... none required
checking for library containing request_init... -lwrap
checking whether to enable libwrap (tcp-wrappers) support... yes 
checking for libltdl cflags... -O2 -Wall -Wsign-compare
checking for libltdl ldflags... 
checking for ltdl.h... no
checking for library containing lt_dlinit... no
checking whether to enable libltdl (Libtool dlopen abstraction) support... no 
checking whether to build CGI programs... no 
checking whether to enable HAL support... no 
checking for asciidoc... no
checking for a2x... no
checking for dblatex... no
checking if asciidoc version can build website (minimum required 8.6.3)... no
checking if a2x version can build website (minimum required 8.6.3)... no
checking whether to build and install documentation... no 
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... /usr/bin/ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang-cpp
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for clang++ option to produce PIC...  -DPIC
checking if clang++ PIC flag  -DPIC works... no
checking if clang++ static flag  works... no
checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory
no
checking if clang++ supports -c -o file.o... (cached) no
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... unsupported
checking whether to build and install the development files... no 
checking state path... /var/db/nut
checking alt pid path... /var/db/nut
checking driver path... /usr/pkg/libexec/nut
checking cgi path... ${exec_prefix}/cgi-bin
checking html path... /usr/pkg/share/nut/html
checking pidpath... /var/db/nut
checking network port number... 3493
checking user to run as... nut
checking group membership of user to run as... nut
checking facility for syslog... LOG_DAEMON
checking which drivers to build... all available
checking which driver man pages to install... all available
checking whether to strip debug symbols... no
checking whether to install pkg-config *.pc files... using ${libdir}/pkgconfig
--variable=systemdsystemunitdir: not found
checking whether to install systemd files... no
checking whether to install hotplug rules... no
checking whether to install udev rules... no
checking for asciidoc... no
checking for a2x... no
configure: creating ./config.status
config.status: creating clients/Makefile
config.status: creating common/Makefile
config.status: creating conf/Makefile
config.status: creating conf/upssched.conf.sample
config.status: creating data/html/header.html
config.status: creating data/html/Makefile
config.status: creating data/Makefile
config.status: creating data/driver.list
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating docs/website/Makefile
config.status: creating drivers/Makefile
config.status: creating include/Makefile
config.status: creating lib/libupsclient-config
config.status: creating lib/libupsclient.pc
config.status: creating lib/libnutscan.pc
config.status: creating lib/Makefile
config.status: creating scripts/augeas/Makefile
config.status: creating scripts/augeas/nutnutconf.aug
config.status: creating scripts/augeas/nutupsconf.aug
config.status: creating scripts/augeas/nutupsdconf.aug
config.status: creating scripts/augeas/nutupsdusers.aug
config.status: creating scripts/augeas/nutupsmonconf.aug
config.status: creating scripts/augeas/nutupsschedconf.aug
config.status: creating scripts/augeas/nuthostsconf.aug
config.status: creating scripts/augeas/nutupssetconf.aug
config.status: creating scripts/avahi/nut.service
config.status: creating scripts/hal/Makefile
config.status: creating scripts/hal/ups-nut-device.fdi
config.status: creating scripts/hotplug/Makefile
config.status: creating scripts/hotplug/libhidups
config.status: creating scripts/HP-UX/nut.psf
config.status: creating scripts/java/Makefile
config.status: creating scripts/python/Makefile
config.status: creating scripts/systemd/Makefile
config.status: creating scripts/systemd/nut-driver.service
config.status: creating scripts/systemd/nut-monitor.service
config.status: creating scripts/systemd/nut-server.service
config.status: creating scripts/systemd/nutshutdown
config.status: creating scripts/udev/Makefile
config.status: creating scripts/udev/nut-ipmipsu.rules
config.status: creating scripts/udev/nut-usbups.rules
config.status: creating scripts/ufw/nut.ufw.profile
config.status: creating scripts/Makefile
config.status: creating server/Makefile
config.status: creating tools/Makefile
config.status: creating tools/nut-scanner/Makefile
config.status: creating tests/Makefile
config.status: creating Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory

Configuration summary:
======================
build serial drivers: yes 
build USB drivers: no 
build SNMP drivers: no 
build neon based XML driver: no 
enable Avahi support: no 
build Powerman PDU client driver: no 
build IPMI driver: no 
build Mac OS X meta-driver: no 
enable SSL development code: no 
enable libwrap (tcp-wrappers) support: yes 
enable libltdl (Libtool dlopen abstraction) support: no 
build nut-scanner: no
build CGI programs: no 
enable HAL support: no 
build and install documentation: no 
build and install the development files: no 
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.