=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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.18.24.tar.xz
=> Checksum RMD160 OK for dpkg_1.18.24.tar.xz
=> Checksum SHA512 OK for dpkg_1.18.24.tar.xz
===> Installing dependencies for dpkg-1.18.24
==========================================================================
The following variables will affect the build process of this package,
dpkg-1.18.24.  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 gmake>=3.81: found gmake-4.1nb3
=> Tool dependency perl>=5.26.0: found perl-5.26.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency po4a-[0-9]*: found po4a-0.52
=> Build dependency p5-IO-String-[0-9]*: found p5-IO-String-1.08nb9
=> Build dependency cwrappers>=20150314: found cwrappers-20171108
=> Full dependency patch-[0-9]*: found patch-2.7.5
=> Full dependency gtar-base>=1.13.25: found gtar-base-1.29
=> Full dependency perl>=5.26.0<5.28.0: found perl-5.26.1nb1
===> Overriding tools for dpkg-1.18.24
===> Extracting for dpkg-1.18.24
===> Patching for dpkg-1.18.24
===> Creating toolchain wrappers for dpkg-1.18.24
===> Configuring for dpkg-1.18.24
=> 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 for style of include used by make... GNU
checking whether make supports nested variables... yes
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 /usr/lib/libc.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... 196608
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.14.2... /usr/pkg/bin/perl
checking for gnutar... /bin/tar
configure: error: cannot find a GNU tar program
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/misc/dpkg
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/misc/dpkg