=> Checksum BLAKE2s OK for swtpm-0.10.0.tar.gz
=> Checksum SHA512 OK for swtpm-0.10.0.tar.gz
===> Installing dependencies for swtpm-0.10.0
==========================================================================
The following variables will affect the build process of this package,
swtpm-0.10.0.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private
        * VARBASE = /var

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 tcl-expect-[0-9]*: found tcl-expect-5.45.0nb6
=> Tool dependency socat-[0-9]*: found socat-1.8.0.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> 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 gawk>=3.1.1: found gawk-5.3.0
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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 gnutls>=3.8.8nb2: found gnutls-3.8.8nb2
=> Full dependency json-glib>=1.6.2nb3: found json-glib-1.8.0
=> Full dependency libtasn1>=0.3.0: found libtasn1-4.19.0
=> Full dependency libtpms>=0.9.0: found libtpms-0.10.0
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> Full dependency gmp>=6.0: found gmp-6.3.0
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency nettle>=3.4.1: found nettle-3.10
=> Full dependency p11-kit>=0.23: found p11-kit-0.25.5
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for swtpm-0.10.0
===> Extracting for swtpm-0.10.0
===> Patching for swtpm-0.10.0
=> Applying pkgsrc patches for swtpm-0.10.0
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/swtpm/patches/patch-configure.ac
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/swtpm/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.1 2022/02/05 03:13:12 ryoon Exp $
|
|* Use VARBASE for pkgsrc.
|
|--- configure.ac.orig	2021-09-20 11:26:56.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 123 (offset 4 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/swtpm/patches/patch-samples_Makefile.am
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/swtpm/patches/patch-samples_Makefile.am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-samples_Makefile.am,v 1.1 2022/02/05 03:13:12 ryoon Exp $
|
|* Install config files into under ${PREFIX}/share/examples/swtpm for pkgsrc.
|
|--- samples/Makefile.am.orig	2021-11-09 15:49:45.000000000 +0000
|+++ samples/Makefile.am
--------------------------
Patching file samples/Makefile.am using Plan A...
Hunk #1 succeeded at 5.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/swtpm/patches/patch-tests_sed-inplace
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/swtpm/patches/patch-tests_sed-inplace
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tests_sed-inplace,v 1.1 2024/12/09 13:48:40 ryoon Exp $
|
|--- tests/sed-inplace.orig	2024-12-04 15:21:18.719762588 +0000
|+++ tests/sed-inplace
--------------------------
Patching file tests/sed-inplace using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for swtpm-0.10.0
===> Configuring for swtpm-0.10.0
=> Use VARBASE
=> 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
=> Replacing bash interpreter in samples/* tests/*.
INFO: [replace-interpreter] Nothing changed in samples/Makefile.am.
INFO: [replace-interpreter] Nothing changed in samples/Makefile.am.orig.
INFO: [replace-interpreter] Nothing changed in samples/swtpm-localca.conf.in.
INFO: [replace-interpreter] Nothing changed in samples/swtpm-localca.options.
INFO: [replace-interpreter] Nothing changed in samples/swtpm_setup.conf.in.
INFO: [replace-interpreter] Nothing changed in tests/Makefile.am.
INFO: [replace-interpreter] Nothing changed in tests/Readme.md.
INFO: [replace-interpreter] Nothing changed in tests/_test_encrypted_state.
INFO: [replace-interpreter] Nothing changed in tests/_test_getcap.
INFO: [replace-interpreter] Nothing changed in tests/_test_hashing.
INFO: [replace-interpreter] Nothing changed in tests/_test_hashing2.
INFO: [replace-interpreter] Nothing changed in tests/_test_init.
INFO: [replace-interpreter] Nothing changed in tests/_test_locality.
INFO: [replace-interpreter] Nothing changed in tests/_test_migration_key.
INFO: [replace-interpreter] Nothing changed in tests/_test_migration_key_2.
INFO: [replace-interpreter] Nothing changed in tests/_test_print_capabilities.
INFO: [replace-interpreter] Nothing changed in tests/_test_print_states.
INFO: [replace-interpreter] Nothing changed in tests/_test_resume_volatile.
INFO: [replace-interpreter] Nothing changed in tests/_test_save_load_encrypted_state.
INFO: [replace-interpreter] Nothing changed in tests/_test_save_load_state.
INFO: [replace-interpreter] Nothing changed in tests/_test_setbuffersize.
INFO: [replace-interpreter] Nothing changed in tests/_test_swtpm_bios.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_avoid_da_lockout.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_derived_keys.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_encrypted_state.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_file_permissions.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_getcap.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_hashing.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_hashing2.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_hashing3.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_init.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_locality.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_migration_key.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_print_capabilities.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_print_states.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_probe.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_resume_volatile.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_save_load_encrypted_state.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_save_load_state.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_save_load_state_da_timeout.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_save_load_state_locking.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_savestate.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_setbuffersize.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_swtpm_bios.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_volatilestate.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm2_wrongorder.
INFO: [replace-interpreter] Nothing changed in tests/_test_tpm_probe.
INFO: [replace-interpreter] Nothing changed in tests/_test_volatilestate.
INFO: [replace-interpreter] Nothing changed in tests/_test_wrongorder.
INFO: [replace-interpreter] Nothing changed in tests/common.
INFO: [replace-interpreter] Nothing changed in tests/load_vtpm_proxy.
INFO: [replace-interpreter] Nothing changed in tests/swtpm_setup.conf.
INFO: [replace-interpreter] Nothing changed in tests/test_clientfds.py.
INFO: [replace-interpreter] Nothing changed in tests/test_common.
INFO: [replace-interpreter] Nothing changed in tests/test_config.in.
INFO: [replace-interpreter] Nothing changed in tests/test_cuse.
INFO: [replace-interpreter] Nothing changed in tests/test_setdatafd.py.
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
rm: ./ltmain.sh: No such file or directory
rm: ./ltmain.sh: No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
rm: m4/libtool.m4: No such file or directory
rm: m4/libtool.m4: No such file or directory
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
rm: m4/ltoptions.m4: No such file or directory
rm: m4/ltoptions.m4: No such file or directory
libtoolize: copying file 'm4/ltoptions.m4'
rm: m4/ltsugar.m4: No such file or directory
rm: m4/ltsugar.m4: No such file or directory
libtoolize: copying file 'm4/ltsugar.m4'
rm: m4/ltversion.m4: No such file or directory
rm: m4/ltversion.m4: No such file or directory
libtoolize: copying file 'm4/ltversion.m4'
rm: m4/lt~obsolete.m4: No such file or directory
rm: m4/lt~obsolete.m4: No such file or directory
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /opt/pkg/bin/autoconf --force
autoreconf: running: /opt/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:40: installing './compile'
configure.ac:43: installing './config.guess'
configure.ac:43: installing './config.sub'
configure.ac:41: installing './install-sh'
configure.ac:48: installing './missing'
src/swtpm/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '.'
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for aarch64-apple-darwin23-gcc... clang
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 clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff
checking whether ln -s works... yes
checking build system type... aarch64-apple-darwin23
checking host system type... aarch64-apple-darwin23
checking how to print strings... print -r
checking for a sed that does not truncate output... /opt/pkg/bin/gsed
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 clang... /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
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 the maximum length of command line arguments... (cached) 1048576
checking how to convert aarch64-apple-darwin23 file names to aarch64-apple-darwin23 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for aarch64-apple-darwin23-file... no
checking for file... file
checking for aarch64-apple-darwin23-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-apple-darwin23-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for aarch64-apple-darwin23-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for aarch64-apple-darwin23-strip... no
checking for strip... strip
checking for aarch64-apple-darwin23-ranlib... no
checking for ranlib... ranlib
checking for gawk... /opt/pkg/bin/gawk
checking command to parse /usr/bin/nm -B output from clang 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 aarch64-apple-darwin23-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for aarch64-apple-darwin23-dsymutil... no
checking for dsymutil... dsymutil
checking for aarch64-apple-darwin23-nmedit... no
checking for nmedit... nmedit
checking for aarch64-apple-darwin23-lipo... no
checking for lipo... lipo
checking for aarch64-apple-darwin23-otool... no
checking for otool... otool
checking for aarch64-apple-darwin23-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... 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 dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23 dyld
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 target system type... aarch64-apple-darwin23
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 the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of clang... gcc3
checking whether make supports nested variables... (cached) yes
checking for clang option to enable large file support... none needed
checking for debug-enabled build... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for aarch64-apple-darwin23-gcc... (cached) clang
checking whether the compiler supports GNU C... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to enable C11 features... (cached) none needed
checking whether clang understands -c and -o together... (cached) yes
checking for semodule... no
checking for AES_set_encrypt_key in -lcrypto... yes
checking for openssl/aes.h... yes
Building with openssl crypto library
checking for openssl/fips.h... no
checking for FIPS_mode_set in -lcrypto... no
checking pkg-config is at least version 0.9.0... yes
checking for libtpms >= 0.10... yes
checking for clock_gettime in -lc... yes
checking for whether to build with CUSE interface... no
checking for whether to build with chardev interface... no
checking for certtool... /opt/pkg/bin/certtool
checking for gnutls 3.4.0 or later... yes
checking for gnutls_load_file in -lgnutls... yes
checking for gnutls/abstract.h... yes
checking for bash... yes
checking which PCR banks to activate by default... sha256
checking for a Python interpreter with version >= 3.3... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.8
checking for python3 platform... darwin
checking for GNU default python3 prefix... ${prefix}
checking for GNU default python3 exec_prefix... ${exec_prefix}
checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.8/site-packages
checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.8/site-packages
checking pkg-config is at least version 0.9.0... yes
checking Checking the crypto library libtpms is linked to... openssl
checking for whether to build with seccomp profile... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating debian/swtpm-tools.postinst
config.status: creating swtpm.spec
config.status: creating samples/Makefile
config.status: creating samples/swtpm-localca.conf
config.status: creating samples/swtpm-create-user-config-files
config.status: creating samples/swtpm_setup.conf
config.status: creating include/Makefile
config.status: creating include/swtpm/Makefile
config.status: creating include/swtpm.h
config.status: creating src/Makefile
config.status: creating src/selinux/Makefile
config.status: creating src/selinux/swtpm.fc
config.status: creating src/selinux/swtpmcuse.fc
config.status: creating src/swtpm/Makefile
config.status: creating src/swtpm_bios/Makefile
config.status: creating src/swtpm_cert/Makefile
config.status: creating src/swtpm_ioctl/Makefile
config.status: creating src/swtpm_localca/Makefile
config.status: creating src/swtpm_setup/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/swtpm_conf.h
config.status: creating man/Makefile
config.status: creating man/man3/Makefile
config.status: creating man/man5/Makefile
config.status: creating man/man8/Makefile
config.status: creating tests/Makefile
config.status: creating tests/test_config
config.status: creating samples/swtpm-localca
config.status: creating config.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-libiconv-prefix

with_gnutls     :   yes  (no = swtpm_cert will NOT be built)
with_selinux    :    no  (no = SELinux policy extensions will NOT be built)
with_cuse       :    no  (no = no CUSE interface)
with_chardev    :    no  (no = no chardev interface)
with_vtpm_proxy :    no  (no = no vtpm proxy support; Linux only)
with_seccomp    :    no  (no = no seccomp profile; Linux only)
enable_tests    :    no  (no = no tests will run)

active PCR banks      : sha256
TPM 2 profile support : yes

Version to build  : 0.10.0
Crypto library    : openssl

        MY_CFLAGS = -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -Wshadow -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1  
 HARDENING_CFLAGS = 
HARDENING_LDFLAGS = 
       MY_LDFLAGS = -L/opt/pkg/lib -L/opt/pkg/lib -ltpms  
  LIBSECCOMP_LIBS = 
 JSON_GLIB_CFLAGS = -I/opt/pkg/include/json-glib-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include
   JSON_GLIB_LIBS = -L/opt/pkg/lib -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
      GLIB_CFLAGS = -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include
        GLIB_LIBS = -L/opt/pkg/lib -lglib-2.0 -lintl
      GNUTLS_LIBS = -L/opt/pkg/lib -lgnutls
         GMP_LIBS = -L/opt/pkg/lib -lgmp
       GMP_CFLAGS = -I/opt/pkg/include

TSS_USER=root
TSS_GROUP=wheel

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