=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for postfix-3.8.5.tar.gz
=> Checksum SHA512 OK for postfix-3.8.5.tar.gz
===> Installing dependencies for postfix-ldap-3.8.5
==========================================================================
The following variables will affect the build process of this package,
postfix-ldap-3.8.5.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * POSTFIX_DATA_DIR = /var/db/postfix
        * POSTFIX_QUEUE_DIR = /var/spool/postfix
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private
        * VARBASE = /var

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

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency postfix-3.8.5{,nb[0-9]*}: found postfix-3.8.5
=> Full dependency openldap-client>=2.6.6nb1: found openldap-client-2.6.7
===> Overriding tools for postfix-ldap-3.8.5
===> Extracting for postfix-ldap-3.8.5
===> Patching for postfix-ldap-3.8.5
=> Applying pkgsrc patches for postfix-ldap-3.8.5
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-aa
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.25 2017/04/11 09:33:30 adam Exp $
|
|Define LD_LIBRARY_PATH in this script as it is not propagated from outside.
|Make this pkgsrc friendly.
|
|--- postfix-install.orig	2016-01-03 00:25:23.000000000 +0000
|+++ postfix-install
--------------------------
Patching file postfix-install using Plan A...
Hunk #1 succeeded at 203 (offset 4 lines).
Hunk #2 succeeded at 453 (offset 5 lines).
Hunk #3 succeeded at 854 (offset 4 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-ag
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.42 2022/07/21 15:08:39 taca Exp $
|
|* Add common support for NetBSD.
|* Only define HAS_DB if it hasn't been defined.
|* Add support for FreeBSD 11 and 12.
|
|--- src/util/sys_defs.h.orig	2021-12-05 18:59:27.000000000 +0000
|+++ src/util/sys_defs.h
--------------------------
Patching file src/util/sys_defs.h using Plan A...
Hunk #1 succeeded at 35.
Hunk #2 succeeded at 48.
Hunk #3 succeeded at 1261 (offset 5 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-ai
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.46 2023/01/28 09:28:30 taca Exp $
|
|1) Add shlib definitions for NetBSD 5; the build system must be
|hard-coded per OS per version.  Not yet reported upstream.
|
|2) Make this pkgsrc friendly.
|
|3) Add support for FreeBSD 13.
|
|4) Add blocklist(3) support.
|
|--- makedefs.orig	2023-01-15 23:29:39.000000000 +0000
|+++ makedefs
--------------------------
Patching file makedefs using Plan A...
Hunk #1 succeeded at 343 (offset 4 lines).
Hunk #2 succeeded at 389 (offset 4 lines).
Hunk #3 succeeded at 464 (offset 4 lines).
Hunk #4 succeeded at 505 (offset 4 lines).
Hunk #5 succeeded at 603 (offset 1 line).
Hunk #6 succeeded at 636 (offset 4 lines).
Hunk #7 succeeded at 688 (offset 1 line).
Hunk #8 succeeded at 720 (offset 4 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_Makefile.in
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_smtpd_Makefile.in,v 1.1 2021/07/26 15:38:10 taca Exp $
|
|Add blocklist(3) support.
|
|--- src/smtpd/Makefile.in.orig	2021-04-18 20:45:05.000000000 +0000
|+++ src/smtpd/Makefile.in
--------------------------
Patching file src/smtpd/Makefile.in using Plan A...
Hunk #1 succeeded at 2.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_pfilter.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_pfilter.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_smtpd_pfilter.c,v 1.1 2021/07/26 15:38:10 taca Exp $
|
|Add blocklist(3) support.
|
|--- src/smtpd/pfilter.c.orig	2021-07-26 14:19:11.410358217 +0000
|+++ src/smtpd/pfilter.c
--------------------------
(Creating file src/smtpd/pfilter.c...)
Patching file src/smtpd/pfilter.c using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_pfilter.h
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_pfilter.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_smtpd_pfilter.h,v 1.1 2021/07/26 15:38:10 taca Exp $
|
|Add blocklist(3) support.
|
|--- src/smtpd/pfilter.h.orig	2021-07-26 14:19:32.266525421 +0000
|+++ src/smtpd/pfilter.h
--------------------------
(Creating file src/smtpd/pfilter.h...)
Patching file src/smtpd/pfilter.h using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_smtpd.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/postfix-ldap/../../mail/postfix/patches/patch-src_smtpd_smtpd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_smtpd_smtpd.c,v 1.3 2022/10/15 20:34:57 triaxx Exp $
|
|Add blocklist(3) support.
|
|--- src/smtpd/smtpd.c.orig	2021-07-24 21:43:57.000000000 +0000
|+++ src/smtpd/smtpd.c
--------------------------
Patching file src/smtpd/smtpd.c using Plan A...
Hunk #1 succeeded at 1331 (offset 39 lines).
Hunk #2 succeeded at 5973 (offset 106 lines).
done
===> Creating toolchain wrappers for postfix-ldap-3.8.5
===> Configuring for postfix-ldap-3.8.5
=> Checking for portability problems in extracted files
cd /Users/pbulk/build/mail/postfix-ldap/work/postfix-3.8.5 &&							 env USETOOLS=no GOTMPDIR=/Users/pbulk/build CC=clang OPT=\ -pipe\ -Os\ -DLDAP_DEPRECATED\ -I/opt/pkg/include AUXLIBS=\ \ -headerpad_max_install_names\ \ -L/usr/lib\ -L/opt/pkg/lib\  CCARGS=\ -DUSE_SASL_AUTH\ -DHAS_DB\ -DNO_CDB\ -DNO_LDAP\ -DNO_LMDB\ -DNO_MYSQL\ -DNO_PCRE\ -DNO_PGSQL\ -DNO_SQLITE\ -DDEF_COMMAND_DIR=\\\"/opt/pkg/sbin\\\"\ -DDEF_CONFIG_DIR=\\\"/opt/pkg/etc/postfix\\\"\ -DDEF_DAEMON_DIR=\\\"/opt/pkg/libexec/postfix\\\"\ -DDEF_DATA_DIR=\\\"/var/db/postfix\\\"\ -DDEF_MAILQ_PATH=\\\"/opt/pkg/bin/mailq\\\"\ -DDEF_MANPAGE_DIR=\\\"/opt/pkg/share/man\\\"\ -DDEF_META_DIR=\\\"/opt/pkg/libexec/postfix\\\"\ -DDEF_NEWALIAS_PATH=\\\"/opt/pkg/bin/newaliases\\\"\ -DDEF_QUEUE_DIR=\\\"/var/spool/postfix\\\"\ -DDEF_README_DIR=\\\"/opt/pkg/share/doc/postfix\\\"\ -DDEF_SAMPLE_DIR=\\\"/opt/pkg/share/examples/postfix\\\"\ -DDEF_SENDMAIL_PATH=\\\"/opt/pkg/sbin/sendmail\\\"\ -DDEF_SHLIB_DIR=\\\"/opt/pkg/lib/postfix\\\"\ -DHAS_LDAP\ -I/opt/pkg/include DEBUG= AUXLIBS_LDAP=-L/opt/pkg/lib\ -lldap\ -llber\	\ -L/opt/pkg/lib DL_CFLAGS= DL_LDFLAGS= DL_LIBS= MACOSX_DEPLOYMENT_TARGET=12.3 CC=clang CFLAGS=-pipe\ -Os\ -DLDAP_DEPRECATED\ -I/opt/pkg/include CPPFLAGS=-DLDAP_DEPRECATED\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-pipe\ -Os\ -DLDAP_DEPRECATED\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-headerpad_max_install_names\ -L/usr/lib\ -L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/mail/postfix-ldap/work/.cwrapper/bin:/Users/pbulk/build/mail/postfix-ldap/work/.buildlink/bin:/Users/pbulk/build/mail/postfix-ldap/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc/postfix CXXCPP=clang\ -E HOME=/Users/pbulk/build/mail/postfix-ldap/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/mail/postfix-ldap/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/mail/postfix-ldap/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/mail/postfix-ldap/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/mail/postfix-ldap/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/mail/postfix-ldap/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/mail/postfix-ldap/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/mail/postfix-ldap/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/mail/postfix-ldap/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/mail/postfix-ldap/work/.cwrapper/config /opt/pkg/bin/bmake -f Makefile.init makefiles		 'CCARGS= -DUSE_SASL_AUTH -DHAS_DB -DNO_CDB -DNO_LDAP -DNO_LMDB -DNO_MYSQL -DNO_PCRE -DNO_PGSQL -DNO_SQLITE -DDEF_COMMAND_DIR=\"/opt/pkg/sbin\" -DDEF_CONFIG_DIR=\"/opt/pkg/etc/postfix\" -DDEF_DAEMON_DIR=\"/opt/pkg/libexec/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAILQ_PATH=\"/opt/pkg/bin/mailq\" -DDEF_MANPAGE_DIR=\"/opt/pkg/share/man\" -DDEF_META_DIR=\"/opt/pkg/libexec/postfix\" -DDEF_NEWALIAS_PATH=\"/opt/pkg/bin/newaliases\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_README_DIR=\"/opt/pkg/share/doc/postfix\" -DDEF_SAMPLE_DIR=\"/opt/pkg/share/examples/postfix\" -DDEF_SENDMAIL_PATH=\"/opt/pkg/sbin/sendmail\" -DDEF_SHLIB_DIR=\"/opt/pkg/lib/postfix\" -DHAS_LDAP -I/opt/pkg/include' 'AUXLIBS=  -headerpad_max_install_names  -L/usr/lib -L/opt/pkg/lib '			 shared=yes dynamicmaps=yes
/opt/pkg/bin/bmake -f Makefile.in MAKELEVEL= Makefiles
(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
set +e; if cmp makedefs.tmp conf/makedefs.out; then rm makedefs.tmp;  else mv makedefs.tmp conf/makedefs.out; fi >/dev/null 2>/dev/null
set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter  src/postfix src/fsstone src/smtpstone  src/sendmail src/error src/pickup src/cleanup src/smtpd src/local  src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce  src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop  src/postkick src/postlock src/postlog src/postmap src/postqueue  src/postsuper src/qmqpd src/spawn src/flush src/verify  src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr  src/postmulti src/postscreen src/dnsblog src/tlsproxy  src/posttls-finger src/postlogd; do  (set -e; echo "[$i]"; cd $i; rm -f Makefile;  /opt/pkg/bin/bmake -f Makefile.in Makefile MAKELEVEL=) || exit 1;  done
[src/util]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/global]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/dns]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/tls]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/xsasl]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/master]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/milter]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postfix]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/fsstone]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/smtpstone]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/sendmail]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/error]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/pickup]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/cleanup]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/smtpd]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/local]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/trivial-rewrite]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/qmgr]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/oqmgr]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/smtp]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/bounce]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/pipe]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/showq]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postalias]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postcat]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postconf]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postdrop]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postkick]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postlock]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postlog]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postmap]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postqueue]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postsuper]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/qmqpd]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/spawn]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/flush]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/verify]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/virtual]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/proxymap]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/anvil]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/scache]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/discard]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/tlsmgr]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postmulti]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postscreen]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/dnsblog]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/tlsproxy]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/posttls-finger]
cat ../../conf/makedefs.out Makefile.in >Makefile
[src/postlogd]
cat ../../conf/makedefs.out Makefile.in >Makefile
=> Substituting "postfix" in conf/main.cf src/global/mail_params.h