=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for postfix-3.5.8.tar.gz => Checksum RMD160 OK for postfix-3.5.8.tar.gz => Checksum SHA512 OK for postfix-3.5.8.tar.gz ===> Installing dependencies for postfix-ldap-3.5.8 ========================================================================== The following variables will affect the build process of this package, postfix-ldap-3.5.8. Their current value is shown below: * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * POSTFIX_DATA_DIR = /opt/pkg/var/db/postfix * POSTFIX_QUEUE_DIR = /opt/pkg/var/spool/postfix * SSLBASE (defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/etc/openssl/private * VARBASE = /opt/pkg/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 their value before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency postfix-3.5.8{,nb[0-9]*}: found postfix-3.5.8 => Full dependency openldap-client>=2.4.48nb1: found openldap-client-2.4.56 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for postfix-ldap-3.5.8 ===> Extracting for postfix-ldap-3.5.8 ===> Patching for postfix-ldap-3.5.8 => Applying pkgsrc patches for postfix-ldap-3.5.8 => Verifying /opt/pkgsrc/mail/postfix-ldap/../../mail/postfix/patches/patch-aa => Applying pkgsrc patch /opt/pkgsrc/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 /opt/pkgsrc/mail/postfix-ldap/../../mail/postfix/patches/patch-ag => Applying pkgsrc patch /opt/pkgsrc/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.40 2019/07/17 13:33:00 triaxx Exp $ | |* Add support for NetBSD 8. |* Only define HAS_DB if it hasn't been defined. |* Add support for FreeBSD 11 and 12. | |--- src/util/sys_defs.h.orig 2019-03-10 16:58:04.000000000 +0000 |+++ src/util/sys_defs.h -------------------------- Patching file src/util/sys_defs.h using Plan A... Hunk #1 succeeded at 30. Hunk #2 succeeded at 46. Hunk #3 succeeded at 1251. done => Verifying /opt/pkgsrc/mail/postfix-ldap/../../mail/postfix/patches/patch-ai => Applying pkgsrc patch /opt/pkgsrc/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.41 2019/07/17 13:33:00 triaxx 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 12. | |--- makedefs.orig 2019-03-10 23:42:59.000000000 +0000 |+++ makedefs -------------------------- Patching file makedefs using Plan A... Hunk #1 succeeded at 311 (offset 13 lines). Hunk #2 succeeded at 348 (offset 13 lines). Hunk #3 succeeded at 427 (offset 13 lines). Hunk #4 succeeded at 468 (offset 13 lines). Hunk #5 succeeded at 569 (offset 13 lines). Hunk #6 succeeded at 599 (offset 13 lines). Hunk #7 succeeded at 648 (offset 13 lines). done => Verifying /opt/pkgsrc/mail/postfix-ldap/../../mail/postfix/patches/patch-src_dns_dns__lookup.c => Applying pkgsrc patch /opt/pkgsrc/mail/postfix-ldap/../../mail/postfix/patches/patch-src_dns_dns__lookup.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_dns_dns__lookup.c,v 1.7 2020/04/26 09:33:26 taca Exp $ | |Fix runtime problem when mysql PKG_OPTIONS is enabled. | |--- src/dns/dns_lookup.c.orig 2019-12-15 16:19:34.000000000 +0000 |+++ src/dns/dns_lookup.c -------------------------- Patching file src/dns/dns_lookup.c using Plan A... Hunk #1 succeeded at 250 (offset 3 lines). Hunk #2 succeeded at 316 (offset 3 lines). Hunk #3 succeeded at 345 (offset 3 lines). Hunk #4 succeeded at 383 (offset 3 lines). Hunk #5 succeeded at 406 (offset 3 lines). Hunk #6 succeeded at 445 (offset 3 lines). Hunk #7 succeeded at 484 (offset 3 lines). done ===> Creating toolchain wrappers for postfix-ldap-3.5.8 ===> Configuring for postfix-ldap-3.5.8 => Checking for portability problems in extracted files cd /opt/work/mail/postfix-ldap/work/postfix-3.5.8 && env USETOOLS=no CC=clang OPT=-O2\ -DLDAP_DEPRECATED\ -I/opt/pkg/include AUXLIBS=\ \ \ -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=\\\"/opt/pkg/var/db/postfix\\\"\ -DDEF_MAILQ_PATH=\\\"/opt/pkg/bin/mailq\\\"\ -DDEF_MANPAGE_DIR=\\\"/opt/pkg/man\\\"\ -DDEF_META_DIR=\\\"/opt/pkg/libexec/postfix\\\"\ -DDEF_NEWALIAS_PATH=\\\"/opt/pkg/bin/newaliases\\\"\ -DDEF_QUEUE_DIR=\\\"/opt/pkg/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 CC=clang CFLAGS=-O2\ -DLDAP_DEPRECATED\ -I/opt/pkg/include CPPFLAGS=-DLDAP_DEPRECATED\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-O2\ -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=-L/usr/lib\ -L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/opt/work/mail/postfix-ldap/work/.cwrapper/bin:/opt/work/mail/postfix-ldap/work/.buildlink/bin:/opt/work/mail/postfix-ldap/work/.tools/bin:/opt/pkg/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/pkg-dev/bin:/opt/pkg-dev/sbin:/opt/pkg/bin:/opt/X11/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc/postfix CXXCPP=clang\ -E HOME=/opt/work/mail/postfix-ldap/work/.home CWRAPPERS_CONFIG_DIR=/opt/work/mail/postfix-ldap/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/X11 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ sjmulder\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ sjmulder\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ sjmulder\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/opt/work/mail/postfix-ldap/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/opt/work/mail/postfix-ldap/work/.buildlink/lib/pkgconfig:/opt/work/mail/postfix-ldap/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/opt/work/mail/postfix-ldap/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/opt/work/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=\"/opt/pkg/var/db/postfix\" -DDEF_MAILQ_PATH=\"/opt/pkg/bin/mailq\" -DDEF_MANPAGE_DIR=\"/opt/pkg/man\" -DDEF_META_DIR=\"/opt/pkg/libexec/postfix\" -DDEF_NEWALIAS_PATH=\"/opt/pkg/bin/newaliases\" -DDEF_QUEUE_DIR=\"/opt/pkg/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= -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