=> 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 dpkg_1.20.0.tar.xz
=> Checksum RMD160 OK for dpkg_1.20.0.tar.xz
=> Checksum SHA512 OK for dpkg_1.20.0.tar.xz
===> Installing dependencies for dpkg-1.20.0
==========================================================================
The following variables will affect the build process of this package,
dpkg-1.20.0.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * VARBASE = /var

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 gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency perl>=5.30.0: found perl-5.30.2
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency po4a-[0-9]*: found po4a-0.57
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency patch-[0-9]*: found patch-2.7.6nb1
=> Full dependency gtar-base>=1.13.25: found gtar-base-1.32nb1
=> Full dependency perl>=5.30.0<5.32.0: found perl-5.30.2
===> Overriding tools for dpkg-1.20.0
===> Extracting for dpkg-1.20.0
===> Patching for dpkg-1.20.0
=> Applying pkgsrc patches for dpkg-1.20.0
=> Verifying /data/pkgsrc/misc/dpkg/patches/patch-utils_start-stop-daemon.c
=> Applying pkgsrc patch /data/pkgsrc/misc/dpkg/patches/patch-utils_start-stop-daemon.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-utils_start-stop-daemon.c,v 1.1 2020/04/11 11:53:43 adam Exp $
|
|Fix for systems without SOCK_NONBLOCK.
|
|--- utils/start-stop-daemon.c.orig	2020-04-11 11:04:32.000000000 +0000
|+++ utils/start-stop-daemon.c
--------------------------
Patching file utils/start-stop-daemon.c using Plan A...
Hunk #1 succeeded at 605.
done
===> Creating toolchain wrappers for dpkg-1.20.0
===> Configuring for dpkg-1.20.0
=> 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 scripts/*.pl.
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
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 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 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... build-aux/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of clang... gcc3
checking whether make supports nested variables... (cached) yes
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /data/scratch/misc/dpkg/work/.tools/bin/msgfmt
checking for gmsgfmt... /data/scratch/misc/dpkg/work/.tools/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking for msgmerge... /usr/pkg/bin/msgmerge
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/pkg/lib/libintl.so -Wl,-rpath -Wl,/usr/pkg/lib
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 print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/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 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 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... no
checking whether to build static libraries... yes
checking for --as-needed linker flag... yes
checking for --version-script linker flag... yes
checking whether to build dselect... yes
checking whether to build start-stop-daemon... yes
checking whether to build update-alternatives... yes
checking for perl >= 5.24.1... /usr/pkg/bin/perl
checking for gnutar... /usr/pkg/bin/gtar
checking for x86_64--netbsd-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 whether clang supports C99 features... yes
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... 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 dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether clang++ supports C++11... yes
checking for gpatch... /usr/pkg/bin/gpatch
checking for doxygen... no
checking for dot... NO
checking for po4a... po4a
checking for perl >= 5.24.1... (cached) /usr/pkg/bin/perl
checking for pod2man... pod2man
checking whether to build with code coverage... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking for library containing MD5Init... none required
checking for gzdopen in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BZ2_bzdopen in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for lzma_alone_decoder in -llzma... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for lzma_stream_encoder_mt in -llzma... yes
checking for SELINUX... no
checking whether Unicode is requested... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses/term.h usability... no
checking ncurses/term.h presence... no
checking for ncurses/term.h... no
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking ncursesw/ncurses.h usability... no
checking ncursesw/ncurses.h presence... no
checking for ncursesw/ncurses.h... no
checking ncursesw/term.h usability... no
checking ncursesw/term.h presence... no
checking for ncursesw/term.h... no
checking for initscr in -lncursesw... no
checking for initscr in -lncurses... no
checking for initscr in -lcurses... yes
checking for proc_stat_list_create in -lps... no
checking for kvm_openfiles in -lkvm... yes
checking for ANSI C header files... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking error.h usability... no
checking error.h presence... no
checking for error.h... no
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking kvm.h usability... yes
checking kvm.h presence... yes
checking for kvm.h... yes
checking sys/sysmacros.h usability... no
checking sys/sysmacros.h presence... no
checking for sys/sysmacros.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/user.h usability... no
checking sys/user.h presence... no
checking for sys/user.h... no
checking sys/procfs.h usability... no
checking sys/procfs.h presence... no
checking for sys/procfs.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking linux/fiemap.h usability... no
checking linux/fiemap.h presence... no
checking for linux/fiemap.h... no
checking for sys/proc.h... yes
checking cxxabi.h usability... yes
checking cxxabi.h presence... yes
checking for cxxabi.h... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for unistd.h... (cached) yes
checking whether sys_siglist is declared... yes
checking whether sys_errlist is declared... yes
checking whether sys_nerr is declared... yes
checking for va_copy... yes
checking for C99 snprintf functions... yes
checking whether offsetof is declared... yes
checking whether makedev is declared... yes
checking whether WCOREDUMP is declared... yes
checking whether TIOCNOTTY is declared... yes
checking whether O_NOFOLLOW is declared... yes
checking whether F_ALLOCSP64 is declared... no
checking whether F_PREALLOCATE is declared... no
checking whether P_tmpdir is declared... yes
checking for program_invocation_short_name... no
checking for __progname... yes
checking for getopt... yes
checking for getopt_long... yes
checking for obstack_free... no
checking for strchrnul... yes
checking for strnlen... yes
checking for strndup... yes
checking for strerror... yes
checking for strsignal... yes
checking for asprintf... yes
checking for scandir... yes
checking for alphasort... yes
checking for unsetenv... yes
checking for memcpy... yes
checking for lchown... yes
checking for strtoimax... yes
checking for isascii... yes
checking for setsid... yes
checking for getdtablesize... yes
checking for getprogname... yes
checking for getexecname... no
checking for lutimes... yes
checking for fallocate... no
checking for posix_fallocate... yes
checking for posix_fadvise... yes
checking for uselocale... no
checking for __cxa_pure_virtual... yes
checking whether clang accepts -Wall... yes
checking whether clang accepts -Wextra... yes
checking whether clang accepts -Wcast-align... yes
checking whether clang accepts -Wdocumentation... yes
checking whether clang accepts -Wduplicated-branches... no
checking whether clang accepts -Wduplicated-cond... no
checking whether clang accepts -Wformat -Wformat-security... yes
checking whether clang accepts -Wformat=2... yes
checking whether clang accepts -Winit-self... yes
checking whether clang accepts -Wlogical-not-parentheses... yes
checking whether clang accepts -Wlogical-op... no
checking whether clang accepts -Wmissing-declarations... yes
checking whether clang accepts -Wmissing-format-attribute... yes
checking whether clang accepts -Wno-missing-field-initializers... yes
checking whether clang accepts -Wno-nonnull-compare... no
checking whether clang accepts -Wno-tautological-constant-out-of-range-compare... yes
checking whether clang accepts -Wno-unused-parameter... yes
checking whether clang accepts -Wnull-dereference... yes
checking whether clang accepts -Wpointer-arith... yes
checking whether clang accepts -Wredundant-decls... yes
checking whether clang accepts -Wregister... yes
checking whether clang accepts -Wrestrict... no
checking whether clang accepts -Wshadow... yes
checking whether clang accepts -Wshift-negative-value... yes
checking whether clang accepts -Wsizeof-array-argument... yes
checking whether clang accepts -Wswitch-bool... yes
checking whether clang accepts -Wvla... yes
checking whether clang accepts -Wwrite-strings... yes
checking whether clang accepts -Wbad-function-cast... yes
checking whether clang accepts -Wc99-c11-compat... no
checking whether clang accepts -Wdeclaration-after-statement... yes
checking whether clang accepts -Wmissing-prototypes... yes
checking whether clang accepts -Wnested-externs... yes
checking whether clang accepts -Wold-style-definition... yes
checking whether clang accepts -Wstrict-prototypes... yes
checking whether clang++ accepts -Wall... yes
checking whether clang++ accepts -Wextra... yes
checking whether clang++ accepts -Wcast-align... yes
checking whether clang++ accepts -Wdocumentation... yes
checking whether clang++ accepts -Wduplicated-branches... no
checking whether clang++ accepts -Wduplicated-cond... no
checking whether clang++ accepts -Wformat -Wformat-security... yes
checking whether clang++ accepts -Wformat=2... yes
checking whether clang++ accepts -Winit-self... yes
checking whether clang++ accepts -Wlogical-not-parentheses... yes
checking whether clang++ accepts -Wlogical-op... no
checking whether clang++ accepts -Wmissing-declarations... yes
checking whether clang++ accepts -Wmissing-format-attribute... yes
checking whether clang++ accepts -Wno-missing-field-initializers... yes
checking whether clang++ accepts -Wno-nonnull-compare... no
checking whether clang++ accepts -Wno-tautological-constant-out-of-range-compare... yes
checking whether clang++ accepts -Wno-unused-parameter... yes
checking whether clang++ accepts -Wnull-dereference... yes
checking whether clang++ accepts -Wpointer-arith... yes
checking whether clang++ accepts -Wredundant-decls... yes
checking whether clang++ accepts -Wregister... yes
checking whether clang++ accepts -Wrestrict... no
checking whether clang++ accepts -Wshadow... yes
checking whether clang++ accepts -Wshift-negative-value... yes
checking whether clang++ accepts -Wsizeof-array-argument... yes
checking whether clang++ accepts -Wswitch-bool... yes
checking whether clang++ accepts -Wvla... yes
checking whether clang++ accepts -Wwrite-strings... yes
checking whether clang++ accepts -Wc++11-compat... yes
checking whether clang++ accepts -Wcast-qual... yes
checking whether clang++ accepts -Wold-style-cast... yes
checking whether clang++ accepts -Wzero-as-null-pointer-constant... yes
checking dpkg cpu type... amd64
checking dpkg operating system type... netbsd
checking dpkg architecture name... netbsd-amd64
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating t-func/Makefile
config.status: creating t-func/atlocal
config.status: creating dpkg-deb/Makefile
config.status: creating dpkg-split/Makefile
config.status: creating dselect/Makefile
config.status: creating dselect/methods/Makefile
config.status: creating dselect/po/Makefile.in
config.status: creating lib/Makefile
config.status: creating lib/compat/Makefile
config.status: creating lib/dpkg/Makefile
config.status: creating lib/dpkg/libdpkg.pc
config.status: creating lib/dpkg/t/Makefile
config.status: creating doc/Doxyfile
config.status: creating man/Makefile
config.status: creating po/Makefile.in
config.status: creating scripts/Build.PL
config.status: creating scripts/Makefile
config.status: creating scripts/mk/Makefile
config.status: creating scripts/po/Makefile.in
config.status: creating src/Makefile
config.status: creating utils/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating dselect/po/POTFILES
config.status: creating dselect/po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating scripts/po/POTFILES
config.status: creating scripts/po/Makefile
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing t-func/atconfig commands

Configuration:
  Features:
    native language support . . . : yes
    unicode support . . . . . . . : yes
    development documentation . . : yes
    code coverage . . . . . . . . : no
    build shared libraries  . . . : no
    mmap loaders  . . . . . . . . : no
    disk pre-allocation . . . . . : no
    default dpkg-deb compressor . : xz

  Paths:
    devlibdir . . . . . . . . . . : ${exec_prefix}/lib
    pkgconfdir  . . . . . . . . . : /usr/pkg/share/dpkg/dpkg
    admindir  . . . . . . . . . . : /var/db/dpkg
    logdir  . . . . . . . . . . . : ${prefix}/var/log
    perl interpreter  . . . . . . : /usr/pkg/bin/perl
    perl libdir . . . . . . . . . : $(prefix)/lib/perl5/vendor_perl/5.30.0

  Programs:
    update-alternatives . . . . . : yes
    start-stop-daemon . . . . . . : yes
    dselect . . . . . . . . . . . : yes

  System Libraries:
    libps . . . . . . . . . . . . : no
    libkvm  . . . . . . . . . . . : yes
    libselinux  . . . . . . . . . : no
    libmd . . . . . . . . . . . . : builtin
    libz  . . . . . . . . . . . . : yes
    liblzma . . . . . . . . . . . : yes
    libbz2  . . . . . . . . . . . : yes
    libcurses . . . . . . . . . . : yes
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp