=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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 libstatgrab-0.92.tar.gz
=> Checksum RMD160 OK for libstatgrab-0.92.tar.gz
=> Checksum SHA512 OK for libstatgrab-0.92.tar.gz
===> Installing dependencies for libstatgrab-0.92
==========================================================================
The supported build options for libstatgrab are:

	saidar statgrab

The currently selected options are:

	saidar statgrab

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.libstatgrab (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
libstatgrab-0.92.  Their current value is shown below:

        * CURSES_DEFAULT = curses

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency perl>=5.0: found perl-5.30.2
=> Full dependency log4cplus>=2.0.3: found log4cplus-2.0.3
===> Overriding tools for libstatgrab-0.92
===> Extracting for libstatgrab-0.92
===> Patching for libstatgrab-0.92
=> Applying pkgsrc patches for libstatgrab-0.92
=> Verifying /data/pkgsrc/devel/libstatgrab/patches/patch-src_libstatgrab_tools.h
=> Applying pkgsrc patch /data/pkgsrc/devel/libstatgrab/patches/patch-src_libstatgrab_tools.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libstatgrab_tools.h,v 1.1 2017/07/05 19:43:53 wiedi Exp $
|
|Add include for LOCK_SH
|--- src/libstatgrab/tools.h.orig	2014-06-19 11:41:10.000000000 +0000
|+++ src/libstatgrab/tools.h
--------------------------
Patching file src/libstatgrab/tools.h using Plan A...
Hunk #1 succeeded at 36.
done
===> Creating toolchain wrappers for libstatgrab-0.92
===> Configuring for libstatgrab-0.92
=> 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
=> Replacing Perl interpreter in src/statgrab/statgrab-make-mrtg-config.in src/statgrab/statgrab-make-mrtg-index.in.
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
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 whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for x86_64--netbsd-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking dependency style of clang... (cached) gcc3
checking for clang option to accept ISO C99... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking dependency style of clang++... (cached) gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for x86_64--netbsd-ar... no
checking for x86_64--netbsd-lib... no
checking for x86_64--netbsd-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... clang -E
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... 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 for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for uid_t in sys/types.h... (cached) yes
checking for time_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking whether _AIX is declared... no
checking whether __linux is declared... no
checking whether __sun is declared... no
checking whether __hpux is declared... no
checking which _XOPEN_SOURCE macro must be defined... none (XPG6)
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for malloc... yes
checking for realloc... yes
checking for library containing getmntent... no
checking for atoll... yes
checking for bzero... yes
checking for fcntl... yes
checking for flock... yes
checking for getloadavg... yes
checking for getmntent... (cached) no
checking for getmntent_r... no
checking for seteuid... yes
checking for setegid... yes
checking for setresuid... no
checking for setresgid... no
checking for setvbuf... yes
checking for statfs... yes
checking for statvfs... yes
checking for statvfs64... no
checking for strerror_r... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strndup... yes
checking for strnlen... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking whether strlcat is declared... yes
checking whether strlcpy is declared... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/unistd.h usability... yes
checking sys/unistd.h presence... yes
checking for sys/unistd.h... yes
checking whether F_SETLK is declared... yes
checking whether compiling for native Win32... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking libdevinfo.h usability... no
checking libdevinfo.h presence... no
checking for libdevinfo.h... no
checking mach/machine.h usability... no
checking mach/machine.h presence... no
checking for mach/machine.h... no
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/fstyp.h usability... no
checking sys/fstyp.h presence... no
checking for sys/fstyp.h... no
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/mnttent.h usability... no
checking sys/mnttent.h presence... no
checking for sys/mnttent.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking for sys/proc.h... yes
checking for sys/swap.h... yes
checking for sys/sysctl.h... yes
checking for sys/systeminfo.h... no
checking for sys/user.h... no
checking for arpa/inet.h... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking for netinet/if_ether.h... yes
checking for sys/sar.h... no
checking for sys/sysinfo.h... no
checking for strncpy... yes
checking for format string for pid_t... %d
checking for format string for uid_t... %u
checking for format string for gid_t... %u
checking for format string for time_t... %ld
checking for format string for size_t... %zu
checking for format string for ssize_t... %zd
checking whether struct sg_vector needs alignment helper... no
checking for unspecified array size for last struct member... yes
checking for array length of 0... yes
checking for struct statvfs... yes
checking for struct statvfs.f_fstypename... yes
checking for struct statvfs.f_basetype... no
checking for struct statvfs.f_iosize... yes
checking for struct statvfs.f_frsize... yes
checking for struct statvfs64... no
checking for sysfs... no
checking for getutxent... yes
checking for setutxent... yes
checking for endutxent... yes
checking whether getutxent is declared... yes
checking whether setutxent is declared... yes
checking whether endutxent is declared... yes
checking for struct utmpx... yes
checking for struct utmpx.ut_type... yes
checking for struct utmpx.ut_host... yes
checking for struct utmpx.ut_syslen... no
checking size of utmpx.ut_id... 0
checking for setutent... yes
checking for endutent... yes
checking for getutent... yes
checking whether getutent is declared... yes
checking whether setutent is declared... yes
checking whether endutent is declared... yes
checking for struct utmp... yes
checking for struct utmp.ut_line... yes
checking for struct utmp.ut_type... no
checking for struct utmp.ut_name... yes
checking for struct utmp.ut_user... no
checking for struct utmp.ut_host... yes
checking for struct utmp.ut_pid... no
checking for struct utmp.ut_id... no
checking for struct utmp.ut_time... yes
checking size of utmp.ut_id... 0
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for vaddr_t... yes
checking for BSD specific features... 
checking for ifaddrs.h... yes
checking for kinfo.h... no
checking for libproc.h... yes
checking for net/if_media.h... yes
checking for sys/dkstat.h... yes
checking for sys/disk.h... yes
checking for sys/iostat.h... yes
checking for sys/resource.h... yes
checking for sys/sched.h... yes
checking for sys/ucred.h... yes
checking for sys/user.h... (cached) no
checking for uvm/uvm.h... no
checking for sys/vmmeter.h... yes
checking for vm/vm_param.h... no
checking for devstat_getnumdevs in -ldevstat... no
checking for getnumdevs in -ldevstat... no
checking for devstat.h... no
checking for kinfo_get_sched_cputime in -lkinfo... no
checking for getfsstat... yes
checking for devstat_getdevs... no
checking for devstat_selectdevs... no
checking for getdevs... no
checking for kinfo_get_sched_cputime... no
checking for selectdevs... no
checking for sysctlbyname... yes
checking for properly declared and callable getvfsstat... yes
checking for struct kinfo_proc... no
checking for struct kinfo_proc2... yes
checking for struct io_sysctl... yes
checking for struct diskstats... no
checking for struct disk_sysctl... no
checking for struct devstat... no
checking for struct statinfo... no
checking for struct kinfo_cputime... no
checking for struct io_sysctl.name... yes
checking for struct kinfo_proc.kp_pid... no
checking for struct kinfo_proc.p_pid... no
checking for proc_pidinfo... no
checking for struct uvmexp_sysctl... no
checking for struct uvmexp... no
checking for struct vmtotal... yes
checking for struct vmmeter... no
checking for struct vmmeter.v_cache_count... no
checking for struct xswdev... no
checking for struct xsw_usage... no
checking for struct xvfsconf... no
checking for struct vfsconf... no
checking for struct statfs... no
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking how to print strings... printf
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to control symbol visibility... unknown
checking for isnan in -lm... yes
checking for fabs in -lm... yes
checking for working ncurses... curses.h
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking whether to build examples... no
checking for applicable docbook2man... none
checking for applicable perl5 interpreter... /data/scratch/devel/libstatgrab/work/.tools/bin/perl 
configure: enabling build of test automation using /data/scratch/devel/libstatgrab/work/.tools/bin/perl 
checking return type of strerror_r... int
checking whether compiling for native Win32... (cached) no
checking whether clang is Clang... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether PTHREAD_ONCE_INIT needs braces... no
checking whether PTHREAD_MUTEX_INITIALIZER needs braces... no
checking for library containing sem_init... none required
checking if liblog4cplus is wanted... check
checking if liblog4cplus wants a prefix... no
checking pkg-config is at least version 0.9.0... 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 how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for 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 x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libstatgrab/Makefile
config.status: creating src/statgrab/Makefile
config.status: creating src/saidar/Makefile
config.status: creating docs/Makefile
config.status: creating docs/libstatgrab/Makefile
config.status: creating docs/statgrab/Makefile
config.status: creating docs/saidar/Makefile
config.status: creating tests/Makefile
config.status: creating tests/testlib/Makefile
config.status: creating tests/single_threaded/Makefile
config.status: creating tests/multi_threaded/Makefile
config.status: creating examples/Makefile
config.status: creating libstatgrab.pc
config.status: creating src/statgrab/statgrab-make-mrtg-config
config.status: creating src/statgrab/statgrab-make-mrtg-index
config.status: creating src/libstatgrab/statgrab.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp