+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opensmtpd-extras-6.7.1_20241022/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opensmtpd-extras-6.7.1_20241022/work.log
=> Checksum BLAKE2s OK for opensmtpd-extras-6.7.1_20241022-82c49af1e69dc2fb158d226e0d6cc70f91c2de0c.tar.gz
=> Checksum SHA512 OK for opensmtpd-extras-6.7.1_20241022-82c49af1e69dc2fb158d226e0d6cc70f91c2de0c.tar.gz
===> Installing dependencies for opensmtpd-extras-6.7.1_20241022
==========================================================================
The supported build options for opensmtpd-extras are:

	ldap mysql perl pgsql python redis sqlite

The currently selected options are:

	ldap sqlite

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

	PKG_OPTIONS.opensmtpd-extras (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
opensmtpd-extras-6.7.1_20241022.  Their current value is shown below:

        * PAM_DEFAULT = openpam
        * 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:

        * PAMBASE (defined, but empty)

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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency opensmtpd-[0-9]*: found opensmtpd-7.6.0p1
=> Full dependency libretls>=3.7.0nb1: found libretls-3.8.1
=> Full dependency sqlite3>=3.47.0nb3: found sqlite3-3.47.2nb1
===> Overriding tools for opensmtpd-extras-6.7.1_20241022
===> Extracting for opensmtpd-extras-6.7.1_20241022
===> Patching for opensmtpd-extras-6.7.1_20241022
=> Applying pkgsrc patches for opensmtpd-extras-6.7.1_20241022
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_filter__api.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_filter__api.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-api_filter__api.c,v 1.1 2024/02/29 20:57:37 vins Exp $
|
|Use seteuid(2) on systems where setresuid() is unsupported 
|
|--- api/filter_api.c.orig	2024-02-29 15:13:00.034082660 +0000
|+++ api/filter_api.c
--------------------------
Patching file api/filter_api.c using Plan A...
Hunk #1 succeeded at 1062.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_queue__api.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_queue__api.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-api_queue__api.c,v 1.1 2024/02/29 20:57:37 vins Exp $
|
|Use seteuid(2) on systems where setresuid() is unsupported
|
|--- api/queue_api.c.orig	2020-04-06 18:36:29.000000000 +0000
|+++ api/queue_api.c
--------------------------
Patching file api/queue_api.c using Plan A...
Hunk #1 succeeded at 421.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_scheduler__api.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_scheduler__api.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-api_scheduler__api.c,v 1.1 2024/02/29 20:57:37 vins Exp $
|
|Use seteuid(2) on systems where setresuid() is unsupported
|
|--- api/scheduler_api.c.orig	2020-04-06 18:36:29.000000000 +0000
|+++ api/scheduler_api.c
--------------------------
Patching file api/scheduler_api.c using Plan A...
Hunk #1 succeeded at 440.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_table__api.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-api_table__api.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-api_table__api.c,v 1.1 2024/02/29 20:57:37 vins Exp $
|
|Use seteuid(2) on systems where setresuid() is unsupported
|
|--- api/table_api.c.orig	2020-04-06 18:36:29.000000000 +0000
|+++ api/table_api.c
--------------------------
Patching file api/table_api.c using Plan A...
Hunk #1 succeeded at 300.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-configure.ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/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.2 2024/03/02 17:53:23 vins Exp $
|
|* Avoid conflicting types for snprintf()
|* Fix testing of OpenSSL linking
|
|--- configure.ac.orig	2024-02-28 09:25:16.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 503.
Hunk #2 succeeded at 607.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-extras_tables_table-ldap_ber.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-extras_tables_table-ldap_ber.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-extras_tables_table-ldap_ber.h,v 1.1 2024/03/09 23:55:46 vins Exp $
|
|Define _BEGIN_DECLS on SunOS
|
|--- extras/tables/table-ldap/ber.h.orig	2024-03-09 22:45:06.596577402 +0000
|+++ extras/tables/table-ldap/ber.h
--------------------------
Patching file extras/tables/table-ldap/ber.h using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-extras_tables_table-socketmap_table__socketmap.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-extras_tables_table-socketmap_table__socketmap.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-extras_tables_table-socketmap_table__socketmap.c,v 1.1 2024/03/09 23:55:46 vins Exp $
|
|Rename local variables to avoid name clash on SmartOS
|
|--- extras/tables/table-socketmap/table_socketmap.c.orig	2024-03-09 22:58:23.569776538 +0000
|+++ extras/tables/table-socketmap/table_socketmap.c
--------------------------
Patching file extras/tables/table-socketmap/table_socketmap.c using Plan A...
Hunk #1 succeeded at 48.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-openbsd-compat_imsg-buffer.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-openbsd-compat_imsg-buffer.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-openbsd-compat_imsg-buffer.c,v 1.1 2024/03/09 23:55:46 vins Exp $
|
|Fix build on SmartOS
|
|--- openbsd-compat/imsg-buffer.c.orig	2024-03-09 21:39:43.809503619 +0000
|+++ openbsd-compat/imsg-buffer.c
--------------------------
Patching file openbsd-compat/imsg-buffer.c using Plan A...
Hunk #1 succeeded at 16.
done
=> Verifying /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-openbsd-compat_imsg.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/mail/opensmtpd-extras/patches/patch-openbsd-compat_imsg.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-openbsd-compat_imsg.c,v 1.1 2024/03/09 23:55:46 vins Exp $
|
|Fix build on SmartOS 
|
|--- openbsd-compat/imsg.c.orig	2024-03-09 21:33:04.519759277 +0000
|+++ openbsd-compat/imsg.c
--------------------------
Patching file openbsd-compat/imsg.c using Plan A...
Hunk #1 succeeded at 16.
done
===> Creating toolchain wrappers for opensmtpd-extras-6.7.1_20241022
===> Configuring for opensmtpd-extras-6.7.1_20241022
=> Replacing hard-coded paths.
cd /home/pbulk/build/mail/opensmtpd-extras/work/OpenSMTPD-extras-82c49af1e69dc2fb158d226e0d6cc70f91c2de0c && /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 /home/pbulk/build/mail/opensmtpd-extras/work/OpenSMTPD-extras-82c49af1e69dc2fb158d226e0d6cc70f91c2de0c && /home/pbulk/build/mail/opensmtpd-extras/work/.tools/bin/aclocal
cd /home/pbulk/build/mail/opensmtpd-extras/work/OpenSMTPD-extras-82c49af1e69dc2fb158d226e0d6cc70f91c2de0c && /home/pbulk/build/mail/opensmtpd-extras/work/.tools/bin/autoconf
configure.ac:27: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:27: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:27: the top level
configure.ac:35: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:35: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:35: the top level
configure.ac:770: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:770: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/types.m4:149: _AC_CHECK_TYPE_NEW is expanded from...
./lib/autoconf/types.m4:233: AC_CHECK_TYPE is expanded from...
m4/aclocal-openssh.m4:143: TYPE_SOCKLEN_T is expanded from...
configure.ac:770: the top level
cd /home/pbulk/build/mail/opensmtpd-extras/work/OpenSMTPD-extras-82c49af1e69dc2fb158d226e0d6cc70f91c2de0c && /home/pbulk/build/mail/opensmtpd-extras/work/.tools/bin/autoheader
cd /home/pbulk/build/mail/opensmtpd-extras/work/OpenSMTPD-extras-82c49af1e69dc2fb158d226e0d6cc70f91c2de0c && /home/pbulk/build/mail/opensmtpd-extras/work/.tools/bin/automake --foreign --add-missing --copy
configure.ac:25: installing './compile'
configure.ac:29: installing './config.guess'
configure.ac:29: installing './config.sub'
configure.ac:34: installing './install-sh'
configure.ac:47: 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 x86_64--netbsd-gcc... cc
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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for vfork.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for x86_64--netbsd-gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... cc -E
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g pbulk
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /home/pbulk/build/mail/opensmtpd-extras/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/mail/opensmtpd-extras/work/.cwrapper/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 /home/pbulk/build/mail/opensmtpd-extras/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-file... no
checking for file... file
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 cc 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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/mail/opensmtpd-extras/work/.cwrapper/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 sed... (cached) /usr/bin/sed
checking for bash... /bin/sh
checking for ksh... (cached) /bin/sh
checking for sh... (cached) /bin/sh
checking for sh... /home/pbulk/build/mail/opensmtpd-extras/work/.tools/bin/sh
checking for groff... /usr/bin/groff
checking for nroff... /usr/bin/nroff
checking for mandoc... /home/pbulk/build/mail/opensmtpd-extras/work/.tools/bin/mandoc
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for inline... inline
checking for cc options needed to detect all undeclared functions... none needed
checking whether LLONG_MAX is declared... yes
checking if cc supports compile flag -Qunused-arguments... no
checking if cc supports compile flag -Wunknown-warning-option... no
checking if cc supports compile flag -Wall... yes
checking if cc supports compile flag -Wpointer-arith... yes
checking if cc supports compile flag -Wuninitialized... yes
checking if cc supports compile flag -Wsign-compare... yes
checking if cc supports compile flag -Wformat-security... yes
checking if cc supports compile flag -Wsizeof-pointer-memaccess... yes
checking if cc supports compile flag -Wpointer-sign... yes
checking if cc supports compile flag -Wunused-result... yes
checking if cc supports compile flag -fno-strict-aliasing... yes
checking gcc version... 10.5.0
checking if cc accepts -fno-builtin-memset... yes
checking if compiler allows __attribute__ on return types... yes
checking for arpa/inet.h... yes
checking for ctype.h... yes
checking for dirent.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for inttypes.h... (cached) yes
checking for limits.h... yes
checking for mach/mach_time.h... no
checking for ndir.h... no
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for pam/pam_appl.h... no
checking for paths.h... yes
checking for security/pam_appl.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/dir.h... yes
checking for sys/ndir.h... no
checking for sys/param.h... yes
checking for sys/pstat.h... no
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/un.h... yes
checking for syslog.h... yes
checking for time.h... yes
checking for ucred.h... no
checking for unistd.h... (cached) yes
checking compiler and flags for sanity... yes
checking for setsockopt... yes
checking if cc supports compile flag -fPIE... yes
checking if /home/pbulk/build/mail/opensmtpd-extras/work/.cwrapper/bin/ld supports link flag -pie... yes
checking whether both -fPIE and -pie are supported... yes
checking for pid_t... yes
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for declarations of fseeko and ftello... yes
checking for GNU libc compatible malloc... yes
checking for GNU libc compatible realloc... yes
checking for arc4random... yes
checking for arc4random_uniform... yes
checking for asprintf... yes
checking for closefrom... yes
checking for dirfd... no
checking for freeaddrinfo... yes
checking for getaddrinfo... yes
checking for getline... yes
checking for gethostname... yes
checking for getnameinfo... yes
checking for getopt... yes
checking for memmove... yes
checking for memchr... yes
checking for memset... yes
checking for regcomp... yes
checking for socketpair... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strtol... yes
checking for strtoumax... yes
checking for strtoull... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strtonum... yes
checking for sysconf... yes
checking for time... yes
checking for tzset... yes
checking for vasprintf... yes
checking for vsnprintf... yes
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 snprintf can declare const char *fmt... yes
checking for (overly) strict mkstemp... no
checking if programs using OpenSSL functions will link... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... (cached) yes
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t... yes
checking for gid_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for long long... yes
checking for unsigned long long... yes
checking size of short int... 2
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking for socklen_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct addrinfo... yes
checking for struct timeval... yes
checking for struct passwd.pw_gecos... yes
checking for ss_family field in struct sockaddr_storage... yes
checking for __ss_family field in struct sockaddr_storage... no
checking for msg_control field in struct msghdr... yes
checking if libc defines __progname... yes
checking pkg-config is at least version 0.9.0... yes
checking if programs using libevent functions will link... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating openbsd-compat/Makefile
config.status: creating extras/Makefile
config.status: creating extras/queues/Makefile
config.status: creating extras/queues/queue-null/Makefile
config.status: creating extras/queues/queue-python/Makefile
config.status: creating extras/queues/queue-ram/Makefile
config.status: creating extras/queues/queue-stub/Makefile
config.status: creating extras/schedulers/Makefile
config.status: creating extras/schedulers/scheduler-python/Makefile
config.status: creating extras/schedulers/scheduler-ram/Makefile
config.status: creating extras/schedulers/scheduler-stub/Makefile
config.status: creating extras/tables/Makefile
config.status: creating extras/tables/table-passwd/Makefile
config.status: creating extras/tables/table-ldap/Makefile
config.status: creating extras/tables/table-mysql/Makefile
config.status: creating extras/tables/table-postgres/Makefile
config.status: creating extras/tables/table-python/Makefile
config.status: creating extras/tables/table-redis/Makefile
config.status: creating extras/tables/table-socketmap/Makefile
config.status: creating extras/tables/table-sqlite/Makefile
config.status: creating extras/tables/table-stub/Makefile
config.status: creating config.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory

OpenSMTPD-extras have been configured with the following options:
                     User binaries: /usr/pkg/bin
                   System binaries: /usr/pkg/sbin
               Configuration files: /usr/pkg/etc/smtpd
                      Manual pages: /usr/pkg/man/manX
  Privilege separation chroot path: /var/empty
                Package libexecdir: /usr/pkg/libexec/opensmtpd
                    Manpage format: man

              Host: x86_64--netbsd
          Compiler: cc
    Compiler flags: -pipe -O2 -D_OPENBSD_SOURCE -DNO_STATIC_MODULES -DNO_STATIC_MODULES -pthread -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include  -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -fPIE
Preprocessor flags: -I/usr/include -I/usr/include -DNO_STATIC_MODULES -DNO_STATIC_MODULES -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include
      Linker flags: -L/usr/lib -R/usr/lib -L/usr/lib -R/usr/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -pie
         Libraries: -levent -lcrypto -lssl -ltls  

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp