=> 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 avenger-0.8.4.tar.gz
=> Checksum RMD160 OK for avenger-0.8.4.tar.gz
=> Checksum SHA512 OK for avenger-0.8.4.tar.gz
===> Installing dependencies for avenger-0.8.4nb2
==========================================================================
The supported build options for avenger are:

	sasl

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

	PKG_OPTIONS.avenger (not defined)

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

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4

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

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4

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.6nb1
=> Tool dependency perl>=5.0: found perl-5.26.2
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency db4>=4.8.30: found db4-4.8.30
===> Overriding tools for avenger-0.8.4nb2
===> Extracting for avenger-0.8.4nb2
===> Patching for avenger-0.8.4nb2
=> Applying pkgsrc patches for avenger-0.8.4nb2
=> Verifying /data/pkgsrc/mail/avenger/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/mail/avenger/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2012/01/18 14:32:10 adam Exp $
|
|--- configure.orig	2012-01-12 15:53:35.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 19066 (offset 203 lines).
done
=> Verifying /data/pkgsrc/mail/avenger/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/mail/avenger/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2007/11/30 20:09:36 rillig Exp $
|
|On NetBSD, struct ifconf.ifc_buf is a void *.
|
|--- asmtpd/synfp.C.orig	2005-10-19 23:52:26.000000000 +0000
|+++ asmtpd/synfp.C	2007-11-30 20:06:43.000000000 +0000
--------------------------
Patching file asmtpd/synfp.C using Plan A...
Hunk #1 succeeded at 86.
Hunk #2 succeeded at 151.
done
=> Verifying /data/pkgsrc/mail/avenger/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/mail/avenger/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.1 2007/11/30 20:09:37 rillig Exp $
|
|On NetBSD, struct ifconf.ifc_buf is a void *.
|
|--- libasync/myaddrs.C.orig	2006-02-15 09:13:35.000000000 +0000
|+++ libasync/myaddrs.C	2007-11-30 20:03:01.000000000 +0000
--------------------------
Patching file libasync/myaddrs.C using Plan A...
Hunk #1 succeeded at 74.
done
=> Verifying /data/pkgsrc/mail/avenger/patches/patch-libasync_ihash.h
=> Applying pkgsrc patch /data/pkgsrc/mail/avenger/patches/patch-libasync_ihash.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libasync_ihash.h,v 1.2 2014/11/22 03:01:33 mef Exp $
|
|Fix C++ errors
|
|--- libasync/ihash.h.orig	2013-01-21 20:01:04.000000000 +0900
|+++ libasync/ihash.h	2014-11-22 11:47:06.000000000 +0900
--------------------------
Patching file libasync/ihash.h using Plan A...
Hunk #1 succeeded at 235.
Hunk #2 succeeded at 278.
Hunk #3 succeeded at 320.
done
=> Verifying /data/pkgsrc/mail/avenger/patches/patch-util_avutil.h
=> Applying pkgsrc patch /data/pkgsrc/mail/avenger/patches/patch-util_avutil.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-util_avutil.h,v 1.2 2014/11/22 03:01:33 mef Exp $
|
|Fix build on SunOS.
|
|--- util/avutil.h.orig	2008-05-20 20:48:23.000000000 +0200
|+++ util/avutil.h	2012-01-27 11:02:13.469861902 +0100
--------------------------
Patching file util/avutil.h using Plan A...
Hunk #1 succeeded at 70.
done
===> Creating toolchain wrappers for avenger-0.8.4nb2
===> Configuring for avenger-0.8.4nb2
=> 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
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 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 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 ln -s works... yes
checking how to print strings... printf
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 egrep... (cached) /usr/bin/egrep
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 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 /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... no
checking for 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 x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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 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 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 for library containing clock_gettime... none required
checking for logger... /usr/bin/logger
checking for mail.local... /usr/libexec/mail.local
checking for kernel random number generator... /dev/urandom
text: not found
checking for pod2man... /usr/pkg/bin/pod2man
checking for Pod::Man... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether struct tm is in sys/time.h or time.h... time.h
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for clock_gettime... yes
checking for a declaration of clock_gettime... yes
checking for struct timespec... yes
checking size of long... 8
checking size of long long... 8
checking for u_int64_t... yes
checking whether u_int64_t is an unsigned long long... no
checking for ssize_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for mode_t... yes
checking for u_char... yes
checking for u_int... yes
checking for u_long... yes
checking for int64_t... yes
checking for u_int64_t... (cached) yes
checking for socklen_t... yes
checking for rlim_t... yes
checking for 64-bit off_t... yes
checking for setgroups declaration in grp.h... no
checking for a declaration of getrusage... yes
checking for a declaration of bindresvport... yes
checking for strchr... yes
checking for memcpy... yes
checking for strcasecmp... yes
checking for getdtablesize... yes
checking for strerror... yes
checking for inet_aton... yes
checking for bindresvport... yes
checking for issetugid... yes
checking for geteuid... yes
checking for getegid... yes
checking for arc4random... yes
checking for flock... yes
checking for unsetenv... yes
checking for getpeereid... yes
checking for memory.h... (cached) yes
checking for wide select... yes
checking if putenv() copies its argument... no
checking for sa_len in struct sockaddr... yes
checking for fd passing with msg_accrights in msghdr... no
checking for fd passing with struct cmsghdr... yes
checking whether socket buffers > 64k are allowed... yes
checking arpa/nameser_compat.h usability... yes
checking arpa/nameser_compat.h presence... yes
checking for arpa/nameser_compat.h... yes
checking for resolver functions in standard C library... yes
checking for a declaration of res_init... yes
checking for a declaration of res_mkquery... yes
checking for a declaration of dn_skipname... yes
checking for a declaration of dn_expand... yes
checking for __res_ninit... yes
checking for st_atimespec in stat structure... yes
checking for st_mtimespec in stat structure... yes
checking for st_mtim in stat structure... yes
checking for mkdtemp... yes
checking for a declaration of sys_signame... yes
checking type of array argument to getgroups... gid_t
checking if egid is first element of grouplist... no
checking for getspnam... no
checking for setlogin... yes
checking for initgroups... yes
checking for seteuid... yes
checking for pw_expire in struct passwd... yes
checking for pw_class in struct passwd... yes
checking for getgrouplist... yes
checking whether getgrouplist uses int or gid_t... gid_t
checking for setusercontext... no
checking for util in -lsetusercontext... no
checking for a declaration of pread... yes
checking for a declaration of pwrite... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for bpf_u_int32... yes
checking for pcap_freecode... yes
checking for OpenSSL... /usr
checking for library containing dbm_open... none required
checking for BerkeleyDB library... using distribution in /usr/pkg subdirectory
-ldb4
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libasync/Makefile
config.status: creating asmtpd/Makefile
config.status: creating util/Makefile
config.status: creating local/Makefile
config.status: creating doc/Makefile
config.status: creating etc/Makefile
config.status: creating etc/avenger.service
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