=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for nut-2.8.0.tar.gz => Checksum SHA512 OK for nut-2.8.0.tar.gz ===> Installing dependencies for ups-nut-2.8.0nb2 ========================================================================== 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.8.0nb2. 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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency user-darwin>=20130712: found user-darwin-20170116 => Full dependency nss>=3.80nb1: found nss-3.85nb1 => Full dependency libltdl>=2.4.2: found libltdl-2.4.7 ===> Overriding tools for ups-nut-2.8.0nb2 ===> Extracting for ups-nut-2.8.0nb2 ===> Patching for ups-nut-2.8.0nb2 => Applying pkgsrc patches for ups-nut-2.8.0nb2 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-aa => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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.13 2022/04/26 23:28:25 gdt Exp $ | |Default conf files go to example dir. | |--- conf/Makefile.in.orig 2022-04-01 00:42:19.000000000 +0000 |+++ conf/Makefile.in -------------------------- Patching file conf/Makefile.in using Plan A... Hunk #1 succeeded at 207. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-clients_upsclient.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libhid.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libhid.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_libhid.c,v 1.2 2022/04/26 23:28:25 gdt Exp $ | |As comm_driver->get_interrupt() can return larger than the buffer size, |limit the future accesses by this amount. Bump the size of the buffer |here as returns as high as 3500 have been seen. | |Not yet filed upstream. |\todo Test with 2.8.0 release and drop or file upstream. | |--- drivers/libhid.c.orig 2022-04-04 12:00:53.000000000 +0000 |+++ drivers/libhid.c -------------------------- Patching file drivers/libhid.c using Plan A... Hunk #1 succeeded at 686. Hunk #2 succeeded at 758. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libusb0.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libusb0.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_libusb0.c,v 1.1 2022/04/26 23:28:25 gdt Exp $ | |--- drivers/libusb0.c.orig 2022-03-27 12:59:49.000000000 +0000 |+++ drivers/libusb0.c -------------------------- Patching file drivers/libusb0.c using Plan A... Hunk #1 succeeded at 571 (offset 39 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libusb1.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_libusb1.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_libusb1.c,v 1.1 2022/04/26 23:28:25 gdt Exp $ | |--- drivers/libusb1.c.orig 2022-03-27 12:59:49.000000000 +0000 |+++ drivers/libusb1.c -------------------------- Patching file drivers/libusb1.c using Plan A... Hunk #1 succeeded at 619 (offset 20 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_usbhid-ups.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/sysutils/ups-nut/../../sysutils/ups-nut/patches/patch-drivers_usbhid-ups.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_usbhid-ups.c,v 1.2 2022/11/26 14:45:47 gdt Exp $ | |Avoid re-closing a udev that already was closed. Avoids a double-close |that triggers a SEGV in a list-delete operation. | |This may actually be the real bug for this code in libusb1.c: | |static int nut_libusb_open(libusb_device_handle **udevp, |[ ... ] |#ifndef __linux__ /* SUN_LIBUSB (confirmed to work on Solaris and FreeBSD) */ | /* Causes a double free corruption in linux if device is detached! */ | |as the same double-free list issue occurs here. | | |Fixed upstream slightly differently, but essentially the same, in: |https://github.com/networkupstools/nut/commit/89dbdd1e60 | |--- drivers/usbhid-ups.c.orig 2022-04-26 17:03:31.000000000 -0500 |+++ drivers/usbhid-ups.c 2022-11-25 01:36:52.595626560 -0600 -------------------------- Patching file drivers/usbhid-ups.c using Plan A... Hunk #1 succeeded at 1147. Hunk #2 succeeded at 1571. done ===> Creating toolchain wrappers for ups-nut-2.8.0nb2 ===> Configuring for ups-nut-2.8.0nb2 => 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.8.0 checking build system type... aarch64-apple-darwin21 checking host system type... aarch64-apple-darwin21 checking target system type... aarch64-apple-darwin21 checking for host system name... darwin checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d 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 whether make supports the include directive... yes (GNU style) checking for aarch64-apple-darwin21-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 pkg-config is at least version 0.9.0... yes checking whether usable PKG_CONFIG was already detected by autoconf... yes: /Users/pbulk/build/sysutils/ups-nut/work/.tools/bin/pkg-config configure: checking for autoconf macro support of pkg-config (/Users/pbulk/build/sysutils/ups-nut/work/.tools/bin/pkg-config) configure: checking for autoconf macro support of pkg-config module checker checking for pkg-config... yes ./configure[6006]: getent: inaccessible or not found 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 whether clang++ understands -c and -o together... yes checking whether ln -s works... yes checking for egrep... (cached) /usr/bin/egrep checking for ar... /usr/bin/ar checking for aarch64-apple-darwin21-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 if CC compiler family is GCC... no checking if CXX compiler family is GCC... no checking if CPP preprocessor family is GCC... no checking if CC compiler family is clang... yes checking if CXX compiler family is clang... yes checking if CPP preprocessor family is clang... yes configure: Detecting support for additional compiler flags checking whether C compiler accepts -Qunused-arguments... yes checking whether C++ compiler accepts -Qunused-arguments... yes checking whether C compiler accepts -Wno-reserved-identifier... yes checking whether C++ compiler accepts -Wno-reserved-identifier... yes configure: NOT checking for options to request colorized compiler output (pass --enable-Wcolor for that) checking whether C compiler accepts -Wno-unknown-warning-option... yes checking whether C++ compiler accepts -Wno-unknown-warning-option... yes checking whether C compiler accepts -std=gnu99... yes configure: Defaulting C standard support to GNU C99 on a GCC or CLANG compatible compiler checking whether C++ compiler accepts -std=gnu++11... yes configure: Defaulting C++ standard support to GNU C++11 on a GCC or CLANG compatible compiler checking for pragma GCC diagnostic push and pop (outside functions)... yes checking for pragma clang diagnostic push and pop (outside functions)... yes checking for pragma GCC diagnostic push and pop (inside functions)... yes checking for pragma clang diagnostic push and pop (inside functions)... yes checking for pragma GCC diagnostic ignored "-Wunused-function"... yes checking for pragma GCC diagnostic ignored "-Wformat-nonliteral"... yes checking for pragma GCC diagnostic ignored "-Wformat-nonliteral" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wformat-security"... yes checking for pragma GCC diagnostic ignored "-Wformat-security" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wformat-truncation"... yes checking for pragma GCC diagnostic ignored "-Wformat-truncation" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wstringop-truncation"... yes checking for pragma GCC diagnostic ignored "-Wstringop-truncation" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wtype-limits"... yes checking for pragma GCC diagnostic ignored "-Wtype-limits" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Warray-bounds"... yes checking for pragma GCC diagnostic ignored "-Warray-bounds" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare"... yes checking for pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare"... yes checking for pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare"... yes checking for pragma GCC diagnostic ignored "-Wtautological-unsigned-zero-compare" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wtautological-compare"... yes checking for pragma GCC diagnostic ignored "-Wtautological-compare" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wsign-compare"... yes checking for pragma GCC diagnostic ignored "-Wsign-compare" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wsign-conversion"... yes checking for pragma GCC diagnostic ignored "-Wsign-conversion" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code-break"... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code-break" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code-return"... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code-return" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code"... yes checking for pragma GCC diagnostic ignored "-Wunreachable-code" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wformat-overflow"... yes checking for pragma GCC diagnostic ignored "-Wformat-overflow" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wcovered-switch-default"... yes checking for pragma GCC diagnostic ignored "-Wcovered-switch-default" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt"... yes checking for pragma GCC diagnostic ignored "-Wextra-semi-stmt" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wcast-align"... yes checking for pragma GCC diagnostic ignored "-Wcast-align" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wstrict-prototypes"... yes checking for pragma GCC diagnostic ignored "-Wstrict-prototypes" (outside functions)... yes checking for pragma GCC diagnostic ignored "-Wassign-enum"... yes checking for pragma GCC diagnostic ignored "-Wassign-enum" (outside functions)... yes checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic"... yes checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat-pedantic" (outside functions)... yes checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat"... yes checking for C++ pragma GCC diagnostic ignored "-Wc++98-compat" (outside functions)... yes checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors"... yes checking for C++ pragma GCC diagnostic ignored "-Wglobal-constructors" (outside functions)... yes checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors"... yes checking for C++ pragma GCC diagnostic ignored "-Wexit-time-destructors" (outside functions)... yes checking for pragma BOGUSforTest... no checking for pragma BOGUSforTest (outside functions)... no checking for pragma GCC diagnostic ignored "-WBOGUSforTest"... yes checking for pragma GCC diagnostic ignored "-WBOGUSforTest" (outside functions)... yes configure: WARNING: A bogus test that was expected to fail did not! ax_cv__pragma__bogus_diag=yes (not 'no') configure: WARNING: A bogus test that was expected to fail did not! ax_cv__pragma__bogus_diag_besidefunc=yes (not 'no') checking for __attribute__((unused)) for function arguments... yes checking for __attribute__((unused)) for functions... yes checking for __attribute__((noreturn))... yes checking for at least some __attribute__ support... yes checking for practical support to pritnf("%s", NULL)... no checking for flock... yes checking for lockf... yes checking for fcvt... yes checking for fcvtl... no checking for pow10... no checking for round... yes checking for abs_val... no checking for abs... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for fabs... yes checking for fabsf... yes checking for fabsl... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for struct rlimit and getrlimit()... ok checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for sem_t, sem_init() and sem_destroy()... ok 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 configure: ----------------------------------------------------------------------- The next few tests look for required C library routines; if something is not found, you may need to enable a different C standard or extension macro version. You may also have to configure without extreme warning levels since autotools tests fail those on their own and assume system lacks stuff (although note we try to not involve standard -W* flags here). ----------------------------------------------------------------------- checking for strtok_r... yes checking for fileno... yes checking for localtime_r... yes checking for sigemptyset... yes checking for sigaction... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for strcasecmp(s1,s2)... yes checking for strncasecmp(s1,s2,n)... yes checking for strdup(s)... yes checking for usleep(us)... yes checking whether ln -sr works... ln: illegal option -- r usage: ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file] ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dir link source_file target_file no, using ln 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 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 for sys/time.h... yes checking for time.h... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for netdb.h... yes checking for sys/modem.h... no checking for stdarg.h... yes checking for varargs.h... no checking for library containing pthread_create... none required checking for library containing pthread_tryjoin_np... no checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for socklen_t... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netdb.h... (cached) yes checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,socklen_t,int checking for python... no checking for python3... python3 checking python interpeter to call... /usr/bin/env python3 checking for python2... no checking for python2.7... no checking for python-2.7... no checking for python... no configure: WARNING: A python2 program name was not detected during configuration, will default to '/usr/bin/env python2' (scripts will fail if that is not in PATH at run time) checking python2 interpeter to call... /usr/bin/env python2 checking for python3... python3 checking python3 interpeter to call... /usr/bin/env python3 checking which drivers to build... all available checking for --with-all... not given checking for libusb-1.0 version via pkg-config... none found checking for libusb(-0.1) version via pkg-config... none found checking for libusb-config... no checking for libusb preferred version... none configure: WARNING: Defaulting libusb configuration checking for libusb cflags... checking for libusb ldflags... -lusb checking for usb.h... no checking for usb_init... no checking size of void *... 8 checking for net-snmp-config-64... no checking for net-snmp-config... /usr/bin/net-snmp-config checking for Net-SNMP version via pkg-config... none found checking for Net-SNMP version via /usr/bin/net-snmp-config... 5.6.2.1 found checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -Os -pipe -DBUILD=174 -DMACOSX_DEPLOYMENT_TARGET=12.6 --sysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -iframeworkwithsysroot /System/Library/Frameworks/-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/PrivateFrameworks/ -1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/ -iwithsysroot /usr/local/libressl/include -L/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/libressl/lib -Udarwin21 -Ddarwin21=darwin21 -I/usr/local/include checking for Net-SNMP libs... -lnetsnmp checking for net-snmp/net-snmp-config.h... no checking for init_snmp... no checking for libneon version via pkg-config (0.25.0 minimum required)... none found checking for libneon cflags... -I/usr/include/neon -I/usr/local/include/neon checking for libneon ldflags... -lneon checking for ne_xmlreq.h... no checking for ne_xml_dispatch_request... no checking for LLNC libpowerman version via pkg-config... 'none' found checking for libpowerman cflags... checking for libpowerman libs... checking for libpowerman.h... no checking for pm_connect... no checking for libmodbus version via pkg-config... none found checking for libmodbus cflags... -I/usr/include/modbus checking for libmodbus ldflags... -lmodbus checking for modbus.h... no checking for modbus_new_rtu... no checking for modbus_new_tcp... no checking for modbus_set_byte_timeout... no checking for modbus_set_response_timeout... 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... -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib checking for avahi ldflags... -lavahi-core -lavahi-client checking for avahi-common/malloc.h... no checking for avahi_free... no checking for sys/termios.h... yes checking for struct termios and speed_t... ok checking whether we can build serial drivers... yes checking whether to build serial drivers... yes checking whether to build USB 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 whether to build Modbus 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 Mozilla NSS version via pkg-config... 3.85 found checking for Mozilla NSS cflags... -I/opt/pkg/include/nss -I/opt/pkg/include/nspr checking for Mozilla NSS ldflags... -L/opt/pkg/lib/nss -lssl3 -lsmime3 -lnss3 -lnssutil3 -L/opt/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -lpthread checking for NSS_Init... yes checking for nss.h... yes checking for ssl.h... yes checking whether to enable SSL support... yes (Mozilla NSS) 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... -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -Qunused-arguments -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 checking for libltdl ldflags... checking for ltdl.h... yes checking for library containing lt_dlinit... -lltdl checking whether to enable libltdl (Libtool dlopen abstraction) support... yes checking whether to build CGI programs... no checking for cppcheck... no checking if cppcheck version is okay (minimum required 1.0)... no checking whether to run NIT among default make check target... 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... 20904 found checking for source-highlight... no checking for aspell... 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 we have all the tools mandatory for man page regeneration... no checking if source-highlight is present (preferable for documentation generation)... no checking whether to build and install documentation... man=auto configure: Got explicit list of document formats to build or not: man=auto; formats not listed will be silently skipped checking desire and ability to build man documentation... auto checking if we can build man... no configure: WARNING: Unable to build man documentation, but can install pre-built distributed copies configure: Skipping build of man documentation (check for 'skip' results above) checking whether to build specific documentation format(s)... 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... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/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 the maximum length of command line arguments... (cached) 1048576 checking how to convert aarch64-apple-darwin21 file names to aarch64-apple-darwin21 format... func_convert_file_noop checking how to convert aarch64-apple-darwin21 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for aarch64-apple-darwin21-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-apple-darwin21-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for aarch64-apple-darwin21-ar... /usr/bin/ar checking for archiver @FILE support... no checking for aarch64-apple-darwin21-strip... no checking for strip... strip checking for aarch64-apple-darwin21-ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for aarch64-apple-darwin21-mt... no checking for mt... no checking if : is a manifest tool... no checking for aarch64-apple-darwin21-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin21-nmedit... no checking for nmedit... nmedit checking for aarch64-apple-darwin21-lipo... no checking for lipo... lipo checking for aarch64-apple-darwin21-otool... no checking for otool... otool checking for aarch64-apple-darwin21-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 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin21 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++... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking whether the clang++ linker (/Library/Developer/CommandLineTools/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 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin21 dyld checking how to hardcode library paths into programs... immediate checking whether to build and install the development files... yes checking state path... /var/db/nut checking alt pid path... /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... /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 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 checking whether to install Solaris SMF files... no checking whether to make Solaris SVR4 packages... no checking whether to make Solaris IPS packages... no checking whether to install systemd unit files... no checking whether to install systemd shutdown files... no checking whether to install systemd tmpfiles files... no checking for C++11 support in current compiler... yes, out of the box checking for have_cppunit... checking for cppunit... no configure: WARNING: libcppunit not found - those C++ tests will not be built. no no checking for impact from --enable-cppunit option - should we build cppunit tests?... no checking whether to install Augeas configuration-management lenses... no checking for augparse... no checking whether to enable Augeas configuration-management lenses tests... 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 valgrind... no checking whether valgrind is usable on current platform... no checking whether to use valgrind for memory-leak testing... no checking whether to build cppunit tests using valgrind support... no checking whether to build SNMP drivers... no checking whether to pre-set warnings (from 'auto')... "clang-medium" checking whether to make warnings fatal... "no" checking for string.h... (cached) yes checking whether we should disable string built-ins... no, they are not a problem checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking whether we should disable htonl/ntohl built-ins... no, they are not a problem checking for top build dir for this configure run... "/Users/pbulk/build/sysutils/ups-nut/work/nut-2.8.0" checking whether to customize /Users/pbulk/build/sysutils/ups-nut/work/nut-2.8.0/scripts/systemd/nut-common.tmpfiles.in for this system... done configure: Generating "data" files from templates, see below for executable scripts configure: Generating templated script files that should be marked executable configure: Generating templated script files whose templates might have been generated (or not) by autogen.sh calling our helper scripts checking whether to generate scripts/augeas/nutupsconf.aug... yes checking whether to generate scripts/udev/nut-usbups.rules... yes checking whether to generate scripts/devd/nut-usb.conf... yes 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/cables/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/libnutclientstub.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/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/hotplug/Makefile config.status: creating scripts/hotplug/libhidups config.status: creating scripts/HP-UX/nut.psf config.status: creating scripts/python/Makefile config.status: creating scripts/python/module/PyNUT.py config.status: creating scripts/upsdrvsvcctl/Makefile config.status: creating scripts/systemd/Makefile config.status: creating scripts/systemd/nut-common.tmpfiles 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/nut-driver-enumerator.service config.status: creating scripts/systemd/nut-driver-enumerator.path config.status: creating scripts/Solaris/nut-driver-enumerator.xml config.status: creating scripts/Solaris/nut-driver.xml config.status: creating scripts/Solaris/nut-monitor.xml config.status: creating scripts/Solaris/nut-server.xml config.status: creating scripts/Solaris/nut.xml config.status: creating scripts/Solaris/Makefile config.status: creating scripts/Solaris/pkginfo config.status: creating scripts/udev/Makefile config.status: creating scripts/udev/nut-ipmipsu.rules config.status: creating scripts/ufw/Makefile 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 tests/NIT/Makefile config.status: creating Makefile config.status: creating scripts/Aix/nut.init config.status: creating scripts/HP-UX/postinstall config.status: creating scripts/python/app/NUT-Monitor-py2gtk2 config.status: creating scripts/python/app/NUT-Monitor-py3qt5 config.status: creating scripts/augeas/gen-nutupsconf-aug.py config.status: creating scripts/python/module/test_nutclient.py config.status: creating scripts/upsdrvsvcctl/nut-driver-enumerator.sh config.status: creating scripts/upsdrvsvcctl/upsdrvsvcctl config.status: creating scripts/systemd/nutshutdown config.status: creating scripts/Solaris/svc-nut-server config.status: creating scripts/Solaris/svc-nut-monitor config.status: creating scripts/Solaris/precheck.py config.status: creating scripts/Solaris/preinstall config.status: creating scripts/Solaris/postinstall config.status: creating scripts/Solaris/preremove config.status: creating scripts/Solaris/postremove config.status: creating scripts/Solaris/preproto.pl config.status: creating scripts/Solaris/nut config.status: creating tools/gitlog2changelog.py config.status: creating tools/nut-snmpinfo.py config.status: creating scripts/augeas/nutupsconf.aug config.status: creating scripts/udev/nut-usbups.rules config.status: creating scripts/devd/nut-usb.conf 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 neon based XML driver: no enable Avahi support: no build Powerman PDU client driver: no build Modbus driver: no build IPMI driver: no build Mac OS X meta-driver: yes build i2c based drivers: no enable SSL support: yes (Mozilla NSS) enable libwrap (tcp-wrappers) support: no enable libltdl (Libtool dlopen abstraction) support: yes build nut-scanner: yes build CGI programs: no build and install documentation: man=auto build specific documentation format(s): no build and install the development files: yes build SNMP drivers: no ------------------ Compiler settings: CC :clang CFLAGS : -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -Qunused-arguments -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu99 -ferror-limit=0 -Wno-system-headers -Wall -Wextra -Weverything -Wno-disabled-macro-expansion -Wno-unused-macros -Wno-reserved-id-macro -Wno-padded -Wno-documentation -Wno-cast-qual -pedantic -Wno-float-conversion -Wno-double-promotion -Wno-implicit-float-conversion -Wno-conversion -Wno-incompatible-pointer-types-discards-qualifiers -Wno-error CXX :clang++ CXXFLAGS : -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/nspr -Qunused-arguments -Wno-reserved-identifier -Wno-unknown-warning-option -std=gnu++11 -ferror-limit=0 -Wno-system-headers -Wall -Wextra -Weverything -Wno-disabled-macro-expansion -Wno-unused-macros -Wno-reserved-id-macro -Wno-padded -Wno-documentation -Wno-cast-qual -Wno-c++98-compat-pedantic -Wno-c++98-compat -Wno-error CPP :clang -E CPPFLAGS : -I/opt/pkg/include -I/opt/pkg/include/nspr => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp