=> Bootstrap dependency digest>=20010302: found digest-20160304
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 cyrus-imapd-2.2.13p1.tar.gz
=> Checksum RMD160 OK for cyrus-imapd-2.2.13p1.tar.gz
=> Checksum SHA512 OK for cyrus-imapd-2.2.13p1.tar.gz
===> Installing dependencies for cyrus-imapd-2.2.13p1nb16
==========================================================================
The supported build options for cyrus-imapd are:

	gssapi kerberos kerberos4 ldap

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

	PKG_OPTIONS.cyrus-imapd (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
cyrus-imapd-2.2.13p1nb16.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * CYRUS_IDLE = poll
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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 perl>=5.26.0: found perl-5.26.2
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency perl>=5.26.0<5.28.0: found perl-5.26.2
=> Full dependency cyrus-sasl>=2.1.26: found cyrus-sasl-2.1.27
=> Full dependency db4>=4.8.30: found db4-4.8.30
===> Overriding tools for cyrus-imapd-2.2.13p1nb16
===> Extracting for cyrus-imapd-2.2.13p1nb16
===> Patching for cyrus-imapd-2.2.13p1nb16
=> Applying pkgsrc patches for cyrus-imapd-2.2.13p1nb16
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.6 2006/10/04 12:18:14 obache Exp $
|
|--- tools/config2header.orig	2005-04-19 20:54:32.000000000 +0200
|+++ tools/config2header
--------------------------
Patching file tools/config2header using Plan A...
Hunk #1 succeeded at 77.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.4 2005/05/21 03:31:26 rh Exp $
|
|--- sieve/sievec.c.orig	2004-03-12 01:23:20.000000000 +1000
|+++ sieve/sievec.c
--------------------------
Patching file sieve/sievec.c using Plan A...
Hunk #1 succeeded at 63.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.4 2005/05/21 03:31:26 rh Exp $
|
|--- sieve/sieved.c.orig	2004-06-30 06:05:32.000000000 +1000
|+++ sieve/sieved.c
--------------------------
Patching file sieve/sieved.c using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.4 2005/05/21 06:58:03 rh Exp $
|
|--- imap/message.c.orig	2004-09-17 03:58:54.000000000 +1000
|+++ imap/message.c
--------------------------
Patching file imap/message.c using Plan A...
Hunk #1 succeeded at 72.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.6 2006/10/09 12:46:01 obache Exp $
|
|--- imap/backend.c.orig	2006-02-08 05:57:27.000000000 +0900
|+++ imap/backend.c
--------------------------
Patching file imap/backend.c using Plan A...
Hunk #1 succeeded at 264.
Hunk #2 succeeded at 315.
Hunk #3 succeeded at 366.
Hunk #4 succeeded at 384.
Hunk #5 succeeded at 399.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-af
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.10 2013/02/26 11:07:52 joerg Exp $
|
|--- configure.orig	2009-09-09 13:23:09.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3361.
Hunk #2 succeeded at 3369.
Hunk #3 succeeded at 7700.
Hunk #4 succeeded at 13459.
Hunk #5 succeeded at 15340.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ag
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.5 2010/06/02 12:56:39 adam Exp $
|
|--- lib/cyrusdb_berkeley.c.orig	2006-03-17 16:12:32.000000000 +0000
|+++ lib/cyrusdb_berkeley.c
--------------------------
Patching file lib/cyrusdb_berkeley.c using Plan A...
Hunk #1 succeeded at 104.
Hunk #2 succeeded at 160.
Hunk #3 succeeded at 173.
Hunk #4 succeeded at 278.
Hunk #5 succeeded at 286.
Hunk #6 succeeded at 401.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-al
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-al
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-al,v 1.3 2007/03/09 14:46:08 obache Exp $
|
|--- imtest/imtest.c.orig	2006-01-21 05:31:23.000000000 +0900
|+++ imtest/imtest.c
--------------------------
Patching file imtest/imtest.c using Plan A...
Hunk #1 succeeded at 47.
Hunk #2 succeeded at 74.
Hunk #3 succeeded at 892.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-am
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-am,v 1.3 2009/09/10 05:13:56 obache Exp $
|
|--- configure.in.orig	2005-10-13 19:56:14.000000000 +0000
|+++ configure.in
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 939.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ap
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ap
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ap,v 1.1 2005/03/02 21:42:48 wiz Exp $
|
|--- imap/Makefile.in.orig	2004-05-28 14:03:02.000000000 -0400
|+++ imap/Makefile.in
--------------------------
Patching file imap/Makefile.in using Plan A...
Hunk #1 succeeded at 185.
Hunk #2 succeeded at 244.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-aq
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-aq
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aq,v 1.4 2009/05/15 23:29:01 obache Exp $
|
|--- imap/fetchnews.c.orig	2005-03-23 00:40:11.000000000 +0000
|+++ imap/fetchnews.c
--------------------------
Patching file imap/fetchnews.c using Plan A...
Hunk #1 succeeded at 268.
Hunk #2 succeeded at 371.
Hunk #3 succeeded at 417.
Hunk #4 succeeded at 437.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ba
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ba
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ba,v 1.1 2005/03/02 21:42:48 wiz Exp $
|
|--- imap/mboxlist.c.orig	Sun Nov 28 15:04:44 2004
|+++ imap/mboxlist.c	Sun Nov 28 15:05:06 2004
--------------------------
Patching file imap/mboxlist.c using Plan A...
Hunk #1 succeeded at 60.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-bb
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-bb
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-bb,v 1.1 2005/03/02 21:42:48 wiz Exp $
|
|--- imap/cvt_cyrusdb.c.orig	Sun Nov 28 15:09:29 2004
|+++ imap/cvt_cyrusdb.c	Sun Nov 28 15:10:33 2004
--------------------------
Patching file imap/cvt_cyrusdb.c using Plan A...
Hunk #1 succeeded at 60.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-bc
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-bc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-bc,v 1.1 2005/03/02 21:42:48 wiz Exp $
|
|--- perl/sieve/lib/request.c.orig	Sun Nov 28 15:14:46 2004
|+++ perl/sieve/lib/request.c	Sun Nov 28 15:14:47 2004
--------------------------
Patching file perl/sieve/lib/request.c using Plan A...
Hunk #1 succeeded at 51.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-ca
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-ca
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ca,v 1.1 2005/08/08 16:50:59 jlam Exp $
|
|--- perl/Makefile.in.orig	2003-10-22 14:50:17.000000000 -0400
|+++ perl/Makefile.in
--------------------------
Patching file perl/Makefile.in using Plan A...
Hunk #1 succeeded at 82.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-cb
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-cb
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cb,v 1.1 2005/08/08 16:50:59 jlam Exp $
|
|--- perl/sieve/Makefile.in.orig	2003-10-22 14:50:24.000000000 -0400
|+++ perl/sieve/Makefile.in
--------------------------
Patching file perl/sieve/Makefile.in using Plan A...
Hunk #1 succeeded at 84.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-cc
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cc,v 1.1 2005/11/19 11:50:56 rillig Exp $
|
|The SunPro compiler does not like non-static inline functions.
|
|--- sieve/bc_emit.c.orig	Wed Oct 22 20:03:24 2003
|+++ sieve/bc_emit.c	Sat Nov 19 12:48:06 2005
--------------------------
Patching file sieve/bc_emit.c using Plan A...
Hunk #1 succeeded at 45.
done
=> Verifying /data/pkgsrc/mail/cyrus-imapd/patches/patch-perl_imap_IMAP.xs
=> Applying pkgsrc patch /data/pkgsrc/mail/cyrus-imapd/patches/patch-perl_imap_IMAP.xs
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-perl_imap_IMAP.xs,v 1.1 2011/10/15 07:17:00 obache Exp $
|
|* fix compilation on perl 5.14, from cyrus-imapd-2.4 branch.
|
|--- perl/imap/IMAP.xs.orig	2003-11-25 21:28:23.000000000 +0000
|+++ perl/imap/IMAP.xs
--------------------------
Patching file perl/imap/IMAP.xs using Plan A...
Hunk #1 succeeded at 122.
Hunk #2 succeeded at 389.
Hunk #3 succeeded at 411.
Hunk #4 succeeded at 474.
Hunk #5 succeeded at 485.
Hunk #6 succeeded at 612.
Hunk #7 succeeded at 647.
done
cd /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/man;						 set --	deliver 8 fetchnews 8 idled 8 imapd 8 lmtpd 8 master 8	 nntpd 8	notifyd 8 pop3d 8 quota 8;			 while [ $# -gt 0 ]; do						 man=$1.$2;						 for file in Makefile.in *.[0-9]; do			 /usr/bin/sed	-e "s|\(\$(srcdir)/\)\($man\)|\1cyrus-\2|g"  -e "s|\(\\\fB\)\($1($2)\\\fR\)|\1cyrus-\2|g"  $file > $file.fixed;			 /bin/mv -f $file.fixed $file;			 done;							 if [ -f $man ]; then					 /bin/mv $man cyrus-$man;			 fi;							 shift 2;						 done
/usr/bin/find /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1 -type f -print |				 /usr/bin/xargs -n 1 /usr/bin/grep -l -e /etc/imapd\.conf -e /etc/cyrus\.conf |  while read file; do						 /usr/bin/sed	-e "s|/etc/\(cyrus\.conf\)|/usr/pkg/etc/\1|g"  -e "s|/etc/\(imapd\.conf\)|/usr/pkg/etc/\1|g"  $file > $file.fixed;				 /bin/mv -f $file.fixed $file;				 done
===> Creating toolchain wrappers for cyrus-imapd-2.2.13p1nb16
===> Configuring for cyrus-imapd-2.2.13p1nb16
=> 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
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./depot/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./et/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./imap/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./imtest/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./installsieve/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./lib/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./makedepend/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./man/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./master/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./netnews/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./notifyd/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./perl/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./perl/sieve/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./perl/sieve/lib/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./ptclient/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./sieve/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./syslog/Makefile.in.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./timsieved/Makefile.in.
=> Checking for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for makedepend... /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/tools/not-mkdep
configure: WARNING: Makedepend is not installed on this system.  You should compile and install the version from the makedepend subdirectory.
checking for x86_64--netbsd-gcc... clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking how to run the C preprocessor... clang -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for gawk... /usr/bin/awk
checking for an ANSI C-conforming const... yes
checking for long file names... yes
checking for inline... inline
checking for __attribute__... yes
checking if compiler supports -fPIC... 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 long... yes
checking size of long... 8
checking for runpath switch... (cached) -Wl,-R
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for connect... yes
checking for res_search... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for getnameinfo... yes
checking whether you have ss_family in struct sockaddr_storage... yes
checking whether you have sa_len in struct sockaddr... yes
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 whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for vprintf... yes
checking for _doprnt... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for bison... no
checking for byacc... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for main in -lfl... yes
checking for library containing regcomp... none required
checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
checking for strerror... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for daemon... yes
checking for setsid... yes
checking for shutdown... yes
checking for setproctitle... yes
checking nonblocking method... fcntl
checking timezone GMT offset method... tm
checking for shared mmap... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for sigvec... yes
checking for res_search in -lresolv... yes
checking krb.h usability... no
checking krb.h presence... no
checking for krb.h... no
configure: WARNING: No Kerberos V4 found
checking for openssl... /usr
checking for modern syslog... yes
checking which syslog facility to use... LOG_LOCAL6
checking for getdtablesize... yes
checking to use old sieve service name... no
checking for dlopen... yes
checking for crypt... yes
checking GSSAPI... disabled
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking sasl/saslutil.h usability... yes
checking sasl/saslutil.h presence... yes
checking for sasl/saslutil.h... yes
checking for prop_get in -lsasl2... yes
checking for sasl_checkapop in -lsasl2... yes
checking for /usr/pkg/bin/perl... /usr/pkg/bin/perl
checking for MD5Init... yes
checking for long... (cached) yes
checking size of long... (cached) 8
checking what directory libraries are found in... lib
checking for request_init in -lwrap... (cached) yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking libwrap support... /usr
checking for yp_get_default_domain in -lnsl... no
configure: creating ./config.status
config.status: creating man/Makefile
config.status: creating master/Makefile
config.status: creating lib/Makefile
config.status: creating imap/Makefile
config.status: creating imtest/Makefile
config.status: creating netnews/Makefile
config.status: creating perl/Makefile
config.status: creating sieve/Makefile
config.status: creating et/Makefile
config.status: creating timsieved/Makefile
config.status: creating notifyd/Makefile
config.status: creating perl/sieve/Makefile
config.status: creating perl/sieve/lib/Makefile
config.status: creating Makefile
config.status: creating config.h