=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for postfix-3.6.2.tar.gz => Checksum SHA512 OK for postfix-3.6.2.tar.gz ===> Installing dependencies for postfix-mysql-3.6.2 ========================================================================== The following variables will affect the build process of this package, postfix-mysql-3.6.2. Their current value is shown below: * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * MYSQL_VERSION_DEFAULT = mariadb106 * POSTFIX_DATA_DIR = /var/db/postfix * POSTFIX_QUEUE_DIR = /var/spool/postfix * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /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 * MYSQL_VERSION = mariadb106 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency postfix-3.6.2{,nb[0-9]*}: found postfix-3.6.2nb2 => Full dependency mariadb-client>=10.6.0<10.7.0: found mariadb-client-10.6.4nb2 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for postfix-mysql-3.6.2 ===> Extracting for postfix-mysql-3.6.2 ===> Patching for postfix-mysql-3.6.2 => Applying pkgsrc patches for postfix-mysql-3.6.2 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../mail/postfix/patches/patch-aa => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../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 /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../mail/postfix/patches/patch-ag => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../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.41 2021/06/02 15:29:57 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 2020-05-21 13:34:23.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 /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../mail/postfix/patches/patch-ai => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../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.43 2021/08/14 08:58:20 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 12. | |4) Add blocklist(3) support. | |--- makedefs.orig 2021-04-24 20:49:37.000000000 +0000 |+++ makedefs -------------------------- Patching file makedefs using Plan A... Hunk #1 succeeded at 309. Hunk #2 succeeded at 346. Hunk #3 succeeded at 425. Hunk #4 succeeded at 466. Hunk #5 succeeded at 567. Hunk #6 succeeded at 597. Hunk #7 succeeded at 646. Hunk #8 succeeded at 675. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../mail/postfix/patches/patch-src_smtpd_Makefile.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../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 /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../mail/postfix/patches/patch-src_smtpd_pfilter.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../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 /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../mail/postfix/patches/patch-src_smtpd_pfilter.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../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 /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../mail/postfix/patches/patch-src_smtpd_smtpd.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/mail/postfix-mysql/../../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.2 2021/08/14 08:58:20 taca 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 1263. Hunk #2 succeeded at 5806. done ===> Creating toolchain wrappers for postfix-mysql-3.6.2 ===> Configuring for postfix-mysql-3.6.2 => Checking for portability problems in extracted files cd /tmp/mail/postfix-mysql/work/postfix-3.6.2 && env USETOOLS=no CC=gcc OPT=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/mysql AUXLIBS=\ \ -Wl,-zrelro\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/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=\\\"/usr/pkg/sbin\\\"\ -DDEF_CONFIG_DIR=\\\"/usr/pkg/etc/postfix\\\"\ -DDEF_DAEMON_DIR=\\\"/usr/pkg/libexec/postfix\\\"\ -DDEF_DATA_DIR=\\\"/var/db/postfix\\\"\ -DDEF_MAILQ_PATH=\\\"/usr/pkg/bin/mailq\\\"\ -DDEF_MANPAGE_DIR=\\\"/usr/pkg/man\\\"\ -DDEF_META_DIR=\\\"/usr/pkg/libexec/postfix\\\"\ -DDEF_NEWALIAS_PATH=\\\"/usr/pkg/bin/newaliases\\\"\ -DDEF_QUEUE_DIR=\\\"/var/spool/postfix\\\"\ -DDEF_README_DIR=\\\"/usr/pkg/share/doc/postfix\\\"\ -DDEF_SAMPLE_DIR=\\\"/usr/pkg/share/examples/postfix\\\"\ -DDEF_SENDMAIL_PATH=\\\"/usr/pkg/sbin/sendmail\\\"\ -DDEF_SHLIB_DIR=\\\"/usr/pkg/lib/postfix\\\"\ -DHAS_MYSQL\ -I/usr/pkg/include DEBUG= AUXLIBS_MYSQL=-L/usr/pkg/lib\ -lmysqlclient\ \ -Wl,-R/usr/pkg/lib CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/mysql CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/mysql CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/mysql COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran 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=-Wl,-zrelro\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/mail/postfix-mysql/work/.cwrapper/bin:/tmp/mail/postfix-mysql/work/.buildlink/bin:/tmp/mail/postfix-mysql/work/.gcc/bin:/tmp/mail/postfix-mysql/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc/postfix CXXCPP=cpp HOME=/tmp/mail/postfix-mysql/work/.home CWRAPPERS_CONFIG_DIR=/tmp/mail/postfix-mysql/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/mail/postfix-mysql/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/mail/postfix-mysql/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/mail/postfix-mysql/work/.tools/bin/gdbus-codegen PKG_CONFIG= PKG_CONFIG_LIBDIR=/tmp/mail/postfix-mysql/work/.buildlink/lib/pkgconfig:/tmp/mail/postfix-mysql/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/mail/postfix-mysql/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/mail/postfix-mysql/work/.cwrapper/config /usr/bin/make -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=\"/usr/pkg/sbin\" -DDEF_CONFIG_DIR=\"/usr/pkg/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/pkg/libexec/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAILQ_PATH=\"/usr/pkg/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/pkg/man\" -DDEF_META_DIR=\"/usr/pkg/libexec/postfix\" -DDEF_NEWALIAS_PATH=\"/usr/pkg/bin/newaliases\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_README_DIR=\"/usr/pkg/share/doc/postfix\" -DDEF_SAMPLE_DIR=\"/usr/pkg/share/examples/postfix\" -DDEF_SENDMAIL_PATH=\"/usr/pkg/sbin/sendmail\" -DDEF_SHLIB_DIR=\"/usr/pkg/lib/postfix\" -DHAS_MYSQL -I/usr/pkg/include' 'AUXLIBS= -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib ' shared=yes dynamicmaps=yes /usr/bin/make -f Makefile.in MAKELEVEL= Makefiles (echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp Using built-in specs. COLLECT_GCC=/tmp/mail/postfix-mysql/work/.gcc/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper Target: x86_64--netbsd Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=x86_64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb3 20190319' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-tune=nocona --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/x86_64 --enable-tls --disable-multilib --disable-libstdcxx-pch --build=x86_64--netbsd --host=x86_64--netbsd --with-sysroot=/var/obj/mknative/amd64-x86_64/usr/src/destdir.amd64 Thread model: posix gcc version 7.4.0 (nb3 20190319) 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; /usr/bin/make -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