=> Bootstrap dependency digest>=20010302: found digest-20180917
===> 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 opensmtpd-5.7.3p2.tar.gz
=> Checksum RMD160 OK for opensmtpd-5.7.3p2.tar.gz
=> Checksum SHA512 OK for opensmtpd-5.7.3p2.tar.gz
===> Installing dependencies for opensmtpd-5.7.3p2
==========================================================================
The following variables will affect the build process of this package,
opensmtpd-5.7.3p2.  Their current value is shown below:

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

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 automake>=1.9: found automake-1.16.1
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb8
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency db5>=5.3.15: found db5-5.3.28nb1
=> Full dependency libasr>=1.0.2: found libasr-1.0.2
===> Overriding tools for opensmtpd-5.7.3p2
===> Extracting for opensmtpd-5.7.3p2
cp /data/pkgsrc/mail/opensmtpd/files/mailer.conf /data/scratch/mail/opensmtpd/work/mailer.conf
===> Patching for opensmtpd-5.7.3p2
=> Applying pkgsrc patches for opensmtpd-5.7.3p2
=> Verifying /data/pkgsrc/mail/opensmtpd/patches/patch-configure.ac
=> Applying pkgsrc patch /data/pkgsrc/mail/opensmtpd/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.3 2016/06/01 11:47:06 wiz Exp $
|
|Add sys/statvfs for NetBSD.
|
|--- configure.ac.orig	2016-02-02 07:40:06.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 338.
Hunk #2 succeeded at 702.
done
=> Verifying /data/pkgsrc/mail/opensmtpd/patches/patch-mk_makemap_Makefile.am
=> Applying pkgsrc patch /data/pkgsrc/mail/opensmtpd/patches/patch-mk_makemap_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mk_makemap_Makefile.am,v 1.1 2016/05/31 21:33:15 joerg Exp $
|
|--- mk/makemap/Makefile.am.orig	2016-05-07 12:20:44.083460074 +0000
|+++ mk/makemap/Makefile.am
--------------------------
Patching file mk/makemap/Makefile.am using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/pkgsrc/mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am
=> Applying pkgsrc patch /data/pkgsrc/mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mk_smtpd_Makefile.am,v 1.1 2016/05/01 05:56:40 mef Exp $
|
|Install the configuration file in the example directory.
|
|--- mk/smtpd/Makefile.am.orig	2016-02-02 07:40:06.000000000 +0000
|+++ mk/smtpd/Makefile.am
--------------------------
Patching file mk/smtpd/Makefile.am using Plan A...
Hunk #1 succeeded at 151.
done
=> Verifying /data/pkgsrc/mail/opensmtpd/patches/patch-smtpd_queue__fs.c
=> Applying pkgsrc patch /data/pkgsrc/mail/opensmtpd/patches/patch-smtpd_queue__fs.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-smtpd_queue__fs.c,v 1.1 2016/05/01 05:56:40 mef Exp $
|
|NetBSD use statvfs, not statfs.
|
|--- smtpd/queue_fs.c.orig	2016-02-02 07:40:06.000000000 +0000
|+++ smtpd/queue_fs.c
--------------------------
Patching file smtpd/queue_fs.c using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/pkgsrc/mail/opensmtpd/patches/patch-smtpd_smtp__session.c
=> Applying pkgsrc patch /data/pkgsrc/mail/opensmtpd/patches/patch-smtpd_smtp__session.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-smtpd_smtp__session.c,v 1.1 2016/05/01 05:56:40 mef Exp $
|
|Add a patch to handle long usernames during SMTP authentication,
|e.g. often username exceeds the limit when it contains @host.name
|part.
|
|From FreeBSD's ports.
|
|cf.http://svnweb.freebsd.org/ports?view=revision&revision=394424
|
|--- smtpd/smtp_session.c.orig	2016-02-02 07:40:06.000000000 +0000
|+++ smtpd/smtp_session.c
--------------------------
Patching file smtpd/smtp_session.c using Plan A...
Hunk #1 succeeded at 84.
Hunk #2 succeeded at 134.
Hunk #3 succeeded at 987.
Hunk #4 succeeded at 1935.
Hunk #5 succeeded at 1975.
done
===> Creating toolchain wrappers for opensmtpd-5.7.3p2
===> Configuring for opensmtpd-5.7.3p2
=> Substituting "paths" in /data/scratch/mail/opensmtpd/work/mailer.conf
=> Fixing exampledir path
cd /data/scratch/mail/opensmtpd/work/opensmtpd-5.7.3p2 && /usr/pkg/bin/libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
cd /data/scratch/mail/opensmtpd/work/opensmtpd-5.7.3p2 && /data/scratch/mail/opensmtpd/work/.tools/bin/aclocal
cd /data/scratch/mail/opensmtpd/work/opensmtpd-5.7.3p2 && /data/scratch/mail/opensmtpd/work/.tools/bin/autoconf
cd /data/scratch/mail/opensmtpd/work/opensmtpd-5.7.3p2 && /data/scratch/mail/opensmtpd/work/.tools/bin/autoheader
cd /data/scratch/mail/opensmtpd/work/opensmtpd-5.7.3p2 && /data/scratch/mail/opensmtpd/work/.tools/bin/automake --foreign --add-missing --copy
configure.ac:24: installing './compile'
configure.ac:46: installing './missing'
=> Generating pkg-config files for builtin libevent package.
=> 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 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 build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
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 whether byte ordering is bigendian... no
checking how to run the C preprocessor... clang -E
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
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 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... 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 for gawk... /usr/bin/awk
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 for ar... /usr/bin/ar
checking for cat... (cached) /bin/cat
checking for zcat... /usr/bin/zcat
checking for sed... (cached) /usr/bin/sed
checking for bash... no
checking for ksh... /bin/ksh
checking for sh... (cached) /bin/ksh
checking for sh... /data/scratch/mail/opensmtpd/work/.tools/bin/sh
checking for groff... /usr/bin/groff
checking for nroff... /usr/bin/nroff
checking for mandoc... /usr/bin/mandoc
checking for bison... /usr/bin/yacc
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for inline... inline
checking whether LLONG_MAX is declared... yes
checking if clang supports compile flag -Qunused-arguments... yes
checking if clang supports compile flag -Wunknown-warning-option... yes
checking if clang supports compile flag -Wall... yes
checking if clang supports compile flag -Wpointer-arith... yes
checking if clang supports compile flag -Wuninitialized... yes
checking if clang supports compile flag -Wsign-compare... yes
checking if clang supports compile flag -Wformat-security... yes
checking if clang supports compile flag -Wsizeof-pointer-memaccess... yes
checking if clang supports compile flag -Wpointer-sign... yes
checking if clang supports compile flag -Wunused-result... yes
checking if clang supports compile flag -fno-strict-aliasing... yes
checking gcc version... 
checking if clang accepts -fno-builtin-memset... yes
checking if compiler allows __attribute__ on return types... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking mach/mach_time.h usability... no
checking mach/mach_time.h presence... no
checking for mach/mach_time.h... no
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking vis.h usability... yes
checking vis.h presence... yes
checking for vis.h... yes
checking for login_cap.h... yes
checking for sys/mount.h... (cached) yes
checking compiler and flags for sanity... yes
checking for yp_match... yes
checking for setsockopt... yes
checking for dirname... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for library containing basename... none required
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking for possibly buggy zlib... no
checking for strcasecmp... yes
checking for utimes... yes
checking bsd/libutil.h usability... no
checking bsd/libutil.h presence... no
checking for bsd/libutil.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for library containing fmt_scaled... no
checking for library containing scan_scaled... no
checking for fmt_scaled... no
checking for scan_scaled... no
checking whether struct dirent allocates space for d_name... yes
checking for /proc/pid/fd directory... yes
checking for arc4random... yes
checking for arc4random_buf... yes
checking for arc4random_stir... yes
checking for arc4random_uniform... yes
checking for asprintf... yes
checking for b64_ntop... no
checking for __b64_ntop... yes
checking for b64_pton... no
checking for __b64_pton... yes
checking for bcopy... yes
checking for chflags... yes
checking for closefrom... yes
checking for dirfd... no
checking for dirname... (cached) yes
checking for endgrent... yes
checking for explicit_bzero... no
checking for fchflags... yes
checking for fgetln... yes
checking for freeaddrinfo... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for getopt... yes
checking for getpeereid... yes
checking for getspnam... no
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for isblank... yes
checking for memmove... yes
checking for nsleep... no
checking for pidfile... no
checking for pw_dup... no
checking for reallocarray... yes
checking for setenv... yes
checking for setlinebuf... yes
checking for setproctitle... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for sigaction... yes
checking for snprintf... yes
checking for socketpair... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strnvis... yes
checking for strmode... yes
checking for strtonum... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for truncate... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for library containing clock_gettime... none required
checking whether strsep is declared... yes
checking for strsep... yes
checking whether O_NONBLOCK is declared... yes
checking whether writev is declared... yes
checking whether MAXSYMLINKS is declared... yes
checking whether offsetof is declared... yes
checking whether howmany is declared... yes
checking whether NFDBITS is declared... yes
checking for fd_mask... yes
checking for setresuid... no
checking for setresgid... no
checking for gettimeofday... yes
checking for time... yes
checking for daemon... yes
checking for fparseln... yes
checking for library containing res_9_b64_ntop... no
checking whether snprintf correctly terminates long strings... yes
checking whether snprintf can declare const char *fmt... yes
checking LibreSSL header version... 1010101f (OpenSSL 1.1.1a  20 Nov 2018)
checking LibreSSL library version... 1010101f (OpenSSL 1.1.1a  20 Nov 2018)
checking whether LibreSSL's headers match the library... no
configure: error: Your LibreSSL headers do not match your
library. Check config.log for details.
If you are sure your installation is consistent, you can disable the check
by running "./configure --without-openssl-header-check".
Also see contrib/findssl.sh for help identifying header/library mismatches.

*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/mail/opensmtpd
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/mail/opensmtpd