=> 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.4nb2 ========================================================================== The following variables will affect the build process of this package, ups-nut-2.7.4nb2. Their current value is shown below: * NUT_STATEDIR = /opt/pkg/var/db/nut * VARBASE = /opt/pkg/var You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency user-darwin>=20130712: found user-darwin-20170116 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for ups-nut-2.7.4nb2 ===> Extracting for ups-nut-2.7.4nb2 ===> Patching for ups-nut-2.7.4nb2 => Applying pkgsrc patches for ups-nut-2.7.4nb2 => Verifying /opt/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-aa => Applying pkgsrc patch /opt/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 /opt/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-clients_upsclient.c => Applying pkgsrc patch /opt/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 /opt/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_hidparser.c => Applying pkgsrc patch /opt/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 /opt/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libusb.c => Applying pkgsrc patch /opt/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 /opt/pkgsrc/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_snmp-ups.c => Applying pkgsrc patch /opt/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.4nb2 ===> Configuring for ups-nut-2.7.4nb2 => 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... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking target system type... aarch64-apple-darwin20 checking for host system name... darwin checking for a BSD-compatible install... /usr/bin/install -c -o sjmulder -g staff checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/pkg-dev/bin/gmkdir -p checking for gawk... /opt/pkg/bin/nawk 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 aarch64-apple-darwin20-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 whether clang understands -c and -o together... yes 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 aarch64-apple-darwin20-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 whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) gcc3 checking how to run the C preprocessor... clang -E checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... gcc3 checking for egrep... (cached) /usr/bin/egrep checking for ar... /usr/bin/ar checking for aarch64-apple-darwin20-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... yes 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... none required checking for socklen_t... yes checking for --with-all... not given checking for Net-SNMP version via net-snmp-config... 5.6.2.1 found checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -Os -pipe -DBUILD=171 -DMACOSX_DEPLOYMENT_TARGET=11.2 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -iframeworkwithsysroot /System/Library/Frameworks/ -iwithsysroot /usr/local/libressl/include -L/AppleInternal/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.2.Internal.sdk/usr/local/libressl/lib -Udarwin20 -Ddarwin20=darwin20 -I/usr/local/include checking for Net-SNMP libs... -lnetsnmp checking for net-snmp/net-snmp-config.h... yes checking for init_snmp... yes 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... yes 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... yes checking whether to build i2c based drivers... no checking for OpenSSL version via pkg-config... none found checking for OpenSSL cflags... checking for OpenSSL ldflags... -lssl -lcrypto checking for openssl/ssl.h... no checking for SSL_library_init... 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... no checking for nss.h... no checking for ssl.h... no configure: WARNING: "Mozilla NSS and OpenSSL neither found, required for SSL support" checking whether to enable SSL support... no checking for tcpd.h... no checking for library containing yp_get_default_domain... none required checking for library containing request_init... no checking whether to enable libwrap (tcp-wrappers) support... no 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 for asciidoc... no checking for a2x... no checking for dblatex... no checking for xsltproc... /usr/bin/xsltproc checking for xsltproc version... 20904 found checking for xmllint... /usr/bin/xmllint checking for xmllint version... found checking for source-highlight... no checking if asciidoc version can build manpages (minimum required 8.6.3)... no checking if a2x version can build manpages (minimum required 8.6.3)... no checking if xsltproc is present (mandatory for man page regeneration)... yes checking if xmllint is present (mandatory for man page regeneration)... yes checking if source-highlight is present (preferable for documentation generation)... no checking whether to build and install documentation... no checking how to print strings... print -r checking for a sed that does not truncate output... /opt/pkg/bin/nbsed checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no 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) 1048576 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert aarch64-apple-darwin20 file names to aarch64-apple-darwin20 format... func_convert_file_noop checking how to convert aarch64-apple-darwin20 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for aarch64-apple-darwin20-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-apple-darwin20-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for aarch64-apple-darwin20-ar... /usr/bin/ar checking for archiver @FILE support... no checking for aarch64-apple-darwin20-strip... no checking for strip... strip checking for aarch64-apple-darwin20-ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for aarch64-apple-darwin20-mt... no checking for mt... no checking if : is a manifest tool... no checking for aarch64-apple-darwin20-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin20-nmedit... no checking for nmedit... nmedit checking for aarch64-apple-darwin20-lipo... no checking for lipo... lipo checking for aarch64-apple-darwin20-otool... no checking for otool... otool checking for aarch64-apple-darwin20-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes 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... -fno-common -DPIC checking if clang PIC flag -fno-common -DPIC works... yes checking if clang static flag -static works... no 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 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin20 dyld 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++ -E checking for ld used by clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for clang++ option to produce PIC... -fno-common -DPIC checking if clang++ PIC flag -fno-common -DPIC works... yes checking if clang++ static flag -static works... no 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 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin20 dyld checking how to hardcode library paths into programs... immediate checking whether to build and install the development files... yes checking state path... /opt/pkg/var/db/nut checking alt pid path... /opt/pkg/var/db/nut checking driver path... /opt/pkg/libexec/nut checking cgi path... ${exec_prefix}/cgi-bin checking html path... /opt/pkg/share/nut/html checking pidpath... /opt/pkg/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 ./configure[22963]: --variable=systemdsystemunitdir: inaccessible or not found checking whether to install systemd files... no checking whether to install hotplug rules... no checking whether to install udev rules... no checking whether to install FreeBSD devd.conf file... no checking for asciidoc... no checking for a2x... no checking for aspell... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating clients/Makefile config.status: creating common/Makefile config.status: creating conf/Makefile config.status: creating conf/upsmon.conf.sample 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/docinfo.xml config.status: creating docs/man/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/libnutclient.pc config.status: creating lib/libnutscan.pc config.status: creating lib/Makefile config.status: creating scripts/Aix/nut-aix.spec 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/devd/Makefile config.status: creating scripts/devd/nut-usb.conf config.status: creating scripts/hotplug/Makefile config.status: creating scripts/hotplug/libhidups config.status: creating scripts/HP-UX/nut.psf config.status: creating scripts/HP-UX/postinstall 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/Solaris/Makefile config.status: creating scripts/Solaris/pkginfo config.status: creating scripts/Solaris/postinstall config.status: creating scripts/Solaris/preremove config.status: creating scripts/Solaris/nut 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: yes 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: yes build i2c based drivers: no enable SSL support: no enable libwrap (tcp-wrappers) support: no enable libltdl (Libtool dlopen abstraction) support: no build nut-scanner: no build CGI programs: no build and install documentation: no build and install the development files: yes => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp