+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent MYSQL_VERSION_REQD=mariadb1011 WRKLOG=/tmp/bulklog/cy2-sql-2.1.28nb8/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent MYSQL_VERSION_REQD=mariadb1011 WRKLOG=/tmp/bulklog/cy2-sql-2.1.28nb8/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for cyrus-sasl-2.1.28.tar.gz
=> Checksum SHA512 OK for cyrus-sasl-2.1.28.tar.gz
===> Installing dependencies for cy2-sql-2.1.28nb8
==========================================================================
The supported build options for cy2-sql are:

	mysql pgsql sqlite sqlite3

The currently selected options are:

	mysql

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

	PKG_OPTIONS.cy2-sql (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
cy2-sql-2.1.28nb8.  Their current value is shown below:

        * MYSQL_VERSION_DEFAULT = mariadb1011
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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

        * MYSQL_VERSION = mariadb1011

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 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 cyrus-sasl>=2.1.28nb1: found cyrus-sasl-2.1.28nb1
=> Full dependency mariadb-client>=10.11.4nb1<10.12.0: found mariadb-client-10.11.9nb3
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for cy2-sql-2.1.28nb8
===> Extracting for cy2-sql-2.1.28nb8
===> Patching for cy2-sql-2.1.28nb8
=> Applying pkgsrc patches for cy2-sql-2.1.28nb8
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/cy2-sql/../../security/cyrus-sasl/patches/patch-common_crypto-compat
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/cy2-sql/../../security/cyrus-sasl/patches/patch-common_crypto-compat
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-common_crypto-compat,v 1.1 2018/07/25 01:16:04 manu Exp $
|
|Build with OpenSSL < 1.1.0 that was patched to include EVP_CIPHER_CTX_iv
|
|--- common/crypto-compat.h.orig	2018-07-25 01:04:30.167508411 +0000
|+++ common/crypto-compat.h	2018-07-25 01:05:02.861593517 +0000
--------------------------
Patching file common/crypto-compat.h using Plan A...
Hunk #1 succeeded at 40 (offset 1 line).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- common/crypto-compat.c.orig	2018-07-25 01:04:22.770573257 +0000
|+++ common/crypto-compat.c	2018-07-25 01:04:51.178733049 +0000
--------------------------
Patching file common/crypto-compat.c using Plan A...
Hunk #1 succeeded at 305 (offset -1 lines).
Hunk #2 succeeded at 315 (offset -1 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/cy2-sql/../../security/cyrus-sasl/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/cy2-sql/../../security/cyrus-sasl/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2018/04/17 01:57:18 christos Exp $
|
|--- configure.orig	2018-01-19 09:14:17.000000000 -0500
|+++ configure	2018-04-16 20:43:13.559772861 -0400
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 6225 (offset 6 lines).
Hunk #2 succeeded at 6240 (offset 6 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/cy2-sql/../../security/cyrus-sasl/patches/patch-plugins_otp.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/security/cy2-sql/../../security/cyrus-sasl/patches/patch-plugins_otp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_otp.c,v 1.2 2018/04/17 01:57:18 christos Exp $
|
|Fix the OTP plugin on 32 bit machines and add SHA2 support
|Submitted upstream as https://bugzilla.cyrusimap.org/show_bug.cgi?id=3914
|
|--- plugins/otp.c.orig	2016-12-10 10:54:27.000000000 -0500
|+++ plugins/otp.c	2018-04-16 20:09:59.910785912 -0400
--------------------------
Patching file plugins/otp.c using Plan A...
Hunk #1 succeeded at 91.
Hunk #2 succeeded at 710.
done
===> Creating toolchain wrappers for cy2-sql-2.1.28nb8
===> Configuring for cy2-sql-2.1.28nb8
=> 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
=> Adding run-time search paths to pkg-config files.
configure: WARNING: unrecognized options: --disable-java
configure: creating cache ./config.cache
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/security/cy2-sql/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '500' is supported by ustar format... yes
checking whether GID '500' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for x86_64-redhat-linux-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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking how to run the C preprocessor... cc -E
checking for gawk... (cached) /bin/gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for runpath switch... -Wl,-rpath,
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/security/cy2-sql/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/security/cy2-sql/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 2097152
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/security/cy2-sql/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /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-redhat-linux-mt... no
checking for mt... no
checking if : 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... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove '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/security/cy2-sql/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.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... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking for socket... yes
checking for connect... yes
checking for res_search... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking DB path to use... /etc/sasldb2
checking DB library to use... none
configure: WARNING: Disabling SASL authentication database support
checking if DB handle is kept open in SASLDB... no
checking for dlopen in -ldl... yes
checking PRNG to use... /dev/urandom
checking for nm... /bin/nm -B
checking for underscore before symbols... no
checking for syslog... yes
checking if I should include saslauthd... no
checking to include Courier authdaemond support... /dev/null
checking if I should include pwcheck... no
checking if I should include the alwaystrue verifier... no
checking if we should enable sasl_checkapop... disabled
checking CRAM-MD5... disabled
checking size of long... 8
checking what directory libraries are found in... lib64
checking for OpenSSL... no
checking for des_cbc_encrypt in -ldes... no
checking for des_cbc_encrypt in -ldes425... no
checking for des_cbc_encrypt in -ldes524... no
checking for RSAPublicEncrypt in -lrsaref... no
checking for des_cbc_encrypt in -lcrypto... no
checking DIGEST-MD5... disabled
configure: WARNING: OpenSSL not found -- SCRAM will be disabled
checking SCRAM... disabled
configure: WARNING: OpenSSL not found -- OTP will be disabled
checking OTP... disabled
configure: WARNING: OpenSSL not found -- SRP will be disabled
checking SRP... disabled
checking KERBEROS_V4... disabled
checking for crypt... no
checking for crypt in -lcrypt... yes
checking GSSAPI... disabled
checking for crypt... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for PAM support... no
checking PLAIN... disabled
checking ANONYMOUS... disabled
checking LOGIN... disabled
configure: WARNING: OpenSSL not found -- NTLM will be disabled
checking NTLM... disabled
configure: WARNING: OpenSSL not found -- PASSDSS will be disabled
checking PASSDSS... disabled
checking to include LDAP support... no
checking SQL... enabled
checking for mysql_select_db in -lmysqlclient... yes
checking LDAPDB... disabled
checking for dmalloc library... no
checking for sfio library... no
checking for getsubopt... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for inet_aton in -lresolv... yes
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for getnameinfo... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for pid_t... yes
checking for sys/time.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking des.h usability... no
checking des.h presence... no
checking for des.h... no
checking for dlfcn.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/time.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking krb5.h usability... no
checking krb5.h presence... no
checking for krb5.h... no
checking whether you have ss_family in struct sockaddr_storage... yes
checking whether you have sa_len in struct sockaddr... no
checking for socklen_t... yes
checking for gethostname... yes
checking for getdomainname... yes
checking for getpwnam... yes
checking for getspnam... yes
checking for gettimeofday... yes
checking for inet_aton... yes
checking for memcpy... yes
checking for memmem... yes
checking for mkdir... yes
checking for select... yes
checking for socket... (cached) yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for jrand48... yes
checking for getpassphrase... no
checking for asprintf... yes
checking for strlcat... no
checking for strlcpy... no
checking if getpwnam_r/getspnam_r take 5 arguments... yes
checking for sphinx-build... no
configure: WARNING: No sphinx-build, won't be able to regenerate docs
checking for perl... perl
checking for perl module Pod::POM::View::Restructured... no
configure: WARNING: No Pod::POM::View::Restructured, won't be able to regenerate docs
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsasl2.pc
config.status: creating include/Makefile
config.status: creating saslauthd/Makefile
config.status: creating sasldb/Makefile
config.status: creating common/Makefile
config.status: creating plugins/Makefile
config.status: creating lib/Makefile
config.status: creating utils/Makefile
config.status: creating sample/Makefile
config.status: creating pwcheck/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
configure: WARNING: unrecognized options: --disable-java
configure:

cyrus-sasl - 2.1.28

• Prefix: /usr/pkg
• Plugins:  libsql.la

Now type 'make' to build cyrus-sasl

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