=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for nut-2.7.4.tar.gz => Checksum RMD160 OK for nut-2.7.4.tar.gz => Checksum SHA512 OK for nut-2.7.4.tar.gz ===> Installing dependencies for ups-nut-2.7.4nb3 ========================================================================== The supported build options for ups-nut are: nss The currently selected options are: nss You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ups-nut (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ups-nut-2.7.4nb3. 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 the value of variables in the first group 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.6nb2 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency nss>=3.43nb2: found nss-3.62 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for ups-nut-2.7.4nb3 ===> Extracting for ups-nut-2.7.4nb3 ===> Patching for ups-nut-2.7.4nb3 => Applying pkgsrc patches for ups-nut-2.7.4nb3 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-aa => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.12 2018/09/21 00:59:53 jym Exp $ | |Default conf files go to example dir. | |--- 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 183 (offset 71 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-clients_upsclient.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-clients_upsclient.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-clients_upsclient.c,v 1.2 2018/09/21 00:59:53 jym Exp $ | |Add missing header for timeval(3) functions. | |--- clients/upsclient.c.orig 2018-04-01 17:13:02.200981408 +0000 |+++ clients/upsclient.c -------------------------- Patching file clients/upsclient.c using Plan A... Hunk #1 succeeded at 34 (offset 6 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_hidparser.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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 160 (offset -3 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libusb.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libusb.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_libusb.c,v 1.1 2018/03/28 06:23:34 mrg Exp $ | |Avoid "No error" messages. | |--- drivers/libusb.c.orig 2012-07-31 10:38:59.000000000 -0700 |+++ drivers/libusb.c 2016-10-21 01:44:40.000000000 -0700 -------------------------- Patching file drivers/libusb.c using Plan A... Hunk #1 succeeded at 422 (offset 69 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_snmp-ups.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_snmp-ups.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_snmp-ups.c,v 1.1 2020/07/13 18:50:05 wiz Exp $ | |Get an explicit error message if we fail obtaining a response. | |--- drivers/snmp-ups.c.orig 2016-03-09 11:39:45.000000000 +0000 |+++ drivers/snmp-ups.c -------------------------- Patching file drivers/snmp-ups.c using Plan A... Hunk #1 succeeded at 577. done ===> Creating toolchain wrappers for ups-nut-2.7.4nb3 ===> Configuring for ups-nut-2.7.4nb3 => 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.7.4 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 pbulk -g wheel 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 whether make supports nested variables... 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... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 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 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) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 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 unsigned long long int... 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... none found checking for Net-SNMP cflags... checking for Net-SNMP libs... checking for net-snmp/net-snmp-config.h... no checking for init_snmp... no checking for libusb version via pkg-config... checking via libusb-config... none found checking for libusb cflags... checking for libusb ldflags... -lusb checking for usb.h... no checking for usb_init... no checking for libneon version via pkg-config (0.25.0 minimum required)... none found checking for libneon cflags... checking for libneon ldflags... checking for ne_xmlreq.h... no checking for ne_xml_dispatch_request... no checking for libpowerman cflags... checking for libpowerman libs... checking for libpowerman.h... no checking for pm_connect... no checking for avahi-core version via pkg-config (0.6.30 minimum required)... none found checking for avahi-client version via pkg-config (0.6.30 minimum required)... none found checking for avahi cflags... checking for avahi ldflags... 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... 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_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 whether to build i2c based drivers... no checking for Mozilla NSS version via pkg-config... none found checking for Mozilla NSS cflags... checking for Mozilla NSS ldflags... -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 checking for NSS_Init... yes checking for nss.h... no checking for ssl.h... no configure: error: "Mozilla NSS not found, required for SSL support" *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/ups-nut