=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for nut-2.6.5.tar.gz => Checksum RMD160 OK for nut-2.6.5.tar.gz ===> Installing dependencies for ups-nut-snmp-2.6.5 ========================================================================== The following variables will affect the build process of this package, ups-nut-snmp-2.6.5. Their current value is shown below: * NUT_STATEDIR = /var/db/nut 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.2.6bnb3: found libtool-base-2.4.2nb2 => Full dependency ups-nut-2.*: found ups-nut-2.6.5 => Full dependency net-snmp>=5.2.1.2: found net-snmp-5.7.2nb2 ===> Overriding tools for ups-nut-snmp-2.6.5 ===> Extracting for ups-nut-snmp-2.6.5 ===> Patching for ups-nut-snmp-2.6.5 => Applying pkgsrc patches for ups-nut-snmp-2.6.5 ===> Creating toolchain wrappers for ups-nut-snmp-2.6.5 ===> Configuring for ups-nut-snmp-2.6.5 => 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 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... 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 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 dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... no checking whether c++ accepts -g... no checking dependency style of c++... 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... 5.7.2 found checking for Net-SNMP cflags... -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -Dnetbsd1 -Unetbsd -Dnetbsd=netbsd -O2 -pthread -fno-strict-aliasing -pipe -fstack-protector -I/usr/pkg/lib/perl5/5.16.0/x86_64-netbsd-thread-multi/CORE -I/usr/pkg/include checking for Net-SNMP libs... -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lnetsnmp -lelf -ldes -lm checking for net-snmp/net-snmp-config.h... yes checking for init_snmp... yes 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... 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... 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... yes checking whether to enable SSL development code... yes 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 -I/usr/pkg/include -I/usr/include -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 gcc... /scratch/sysutils/ups-nut-snmp/work/.wrapper/bin/ld checking if the linker (/scratch/sysutils/ups-nut-snmp/work/.wrapper/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 /scratch/sysutils/ups-nut-snmp/work/.wrapper/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 gcc 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/scratch/sysutils/ups-nut-snmp/work/.wrapper/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... cpp checking whether the c++ linker (/scratch/sysutils/ups-nut-snmp/work/.wrapper/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 c++ option to produce PIC... -DPIC checking if c++ PIC flag -DPIC works... no checking if c++ static flag works... no checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory no checking if c++ supports -c -o file.o... (cached) no checking whether the c++ linker (/scratch/sysutils/ups-nut-snmp/work/.wrapper/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/run 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: 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: no enable SSL development code: yes 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 WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.