==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: swtpm 0.10.1-1 (Sun May 11 01:11:13 2025)
==> Retrieving sources...
  -> Cloning swtpm git repo...
Cloning into bare repository '/home/leming/work/swtpm/swtpm'...
  -> Found swtpm.sysusers
  -> Found swtpm.tmpfiles
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    swtpm ... Skipped
    swtpm.sysusers ... Passed
    swtpm.tmpfiles ... Passed
==> Making package: swtpm 0.10.1-1 (Sun May 11 01:11:35 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) fuse-common-3.17.1-1  fuse2-2.9.9-5  json-glib-1.10.6-1
             libtpms-0.10.0-1

Total Download Size:   0.56 MiB
Total Installed Size:  2.25 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libtpms-0.10.0-1-armv7h downloading...
 json-glib-1.10.6-1-armv7h downloading...
 fuse2-2.9.9-5-armv7h downloading...
 fuse-common-3.17.1-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing fuse-common...
installing fuse2...
installing json-glib...
installing libtpms...
:: Running post-transaction hooks...
(1/2) Reloading device manager configuration...
  Skipped: Device manager is not running.
(2/2) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
:: There are 2 providers available for libxtables.so=12-32:
:: Repository core
   1) iptables  2) iptables-nft

Enter a number (default=1): 
looking for conflicting packages...

Packages (16) iptables-1:1.8.11-2  libbpf-1.5.0-1  libmnl-1.0.5-2
              libnetfilter_conntrack-1.0.9-2  libnfnetlink-1.0.2-2
              libnftnl-1.2.9-1  libnl-3.11.0-1  libpcap-1.10.5-2
              perl-error-0.17030-1  perl-mailtools-2.22-1  perl-timedate-2.33-7
              tcl-8.6.16-1  expect-5.45.4-5  git-2.49.0-1  iproute2-6.14.0-1
              socat-1.8.0.3-1

Total Download Size:   11.38 MiB
Total Installed Size:  55.55 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 git-2.49.0-1-armv7h downloading...
 tcl-8.6.16-1-armv7h downloading...
 iproute2-6.14.0-1-armv7h downloading...
 iptables-1:1.8.11-2-armv7h downloading...
 libnl-3.11.0-1-armv7h downloading...
 libpcap-1.10.5-2-armv7h downloading...
 libbpf-1.5.0-1-armv7h downloading...
 socat-1.8.0.3-1-armv7h downloading...
 expect-5.45.4-5-armv7h downloading...
 perl-mailtools-2.22-1-any downloading...
 libnftnl-1.2.9-1-armv7h downloading...
 libnetfilter_conntrack-1.0.9-2-armv7h downloading...
 perl-timedate-2.33-7-any downloading...
 perl-error-0.17030-1-any downloading...
 libnfnetlink-1.0.2-2-armv7h downloading...
 libmnl-1.0.5-2-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing tcl...
installing expect...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing libmnl...
installing libnftnl...
installing libnl...
installing libpcap...
installing libnfnetlink...
installing libnetfilter_conntrack...
installing iptables...
installing libbpf...
installing iproute2...
Optional dependencies for iproute2
    db5.3: userspace arp daemon [installed]
    linux-atm: ATM support
    python: for routel [installed]
installing socat...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Checking for old perl modules...
[?25h==> Retrieving sources...
  -> Found swtpm.sysusers
  -> Found swtpm.tmpfiles
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of swtpm git repo...
Cloning into 'swtpm'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
aclocal: warning: couldn't open directory 'm4': No such file or directory
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'
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'
==> Starting build()...
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
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... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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 the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ranlib... ranlib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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... yes
checking target system type... armv7l-unknown-linux-gnueabihf
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/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 xargs -n works... yes
checking dependency style of gcc... gcc3
checking for gcc option to enable large file support... -D_FILE_OFFSET_BITS=64
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 gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc 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 for pkg-config... /usr/bin/pkg-config
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... yes
checking for whether to build with chardev interface... yes
checking for certtool... /usr/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 netstat... no
checking for ss... /usr/bin/ss
checking for tcsd... no
configure: WARNING: tcsd could not be found; typically need it for tss user account and tests
checking for expect... /usr/bin/expect
checking for gawk... /usr/bin/gawk
checking for socat... /usr/bin/socat
checking for base64... /usr/bin/base64
checking for cp... /usr/bin/cp
checking for a Python interpreter with version >= 3.3... python
checking for python... /usr/bin/python
checking for python version... 3.13
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.13/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages
checking whether linker supports -Wl,-z,relro... yes
checking whether linker supports -Wl,-z,now... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
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... yes
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
config.status: executing depfiles commands

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

active PCR banks      : sha256
TPM 2 profile support : yes

Version to build  : 0.10.1
Crypto library    : openssl

        MY_CFLAGS = -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -Wshadow -I/usr/include/p11-kit-1  
 HARDENING_CFLAGS = -fstack-protector-strong -Wstack-protector
HARDENING_LDFLAGS =  -Wl,-z,relro -Wl,-z,now
       MY_LDFLAGS = -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -ltpms  
  LIBSECCOMP_LIBS = -lseccomp
 JSON_GLIB_CFLAGS = -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread
   JSON_GLIB_LIBS = -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
      GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread
        GLIB_LIBS = -lglib-2.0
      GNUTLS_LIBS = -lgnutls
         GMP_LIBS = -lgmp
       GMP_CFLAGS = 

TSS_USER=tss
TSS_GROUP=tss

make  all-recursive
make[1]: Entering directory '/build/swtpm/src/swtpm'
Making all in include
make[2]: Entering directory '/build/swtpm/src/swtpm/include'
Making all in swtpm
make[3]: Entering directory '/build/swtpm/src/swtpm/include/swtpm'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/include/swtpm'
make[3]: Entering directory '/build/swtpm/src/swtpm/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/include'
make[2]: Leaving directory '/build/swtpm/src/swtpm/include'
Making all in man
make[2]: Entering directory '/build/swtpm/src/swtpm/man'
Making all in man3
make[3]: Entering directory '/build/swtpm/src/swtpm/man/man3'
make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man3'
Making all in man5
make[3]: Entering directory '/build/swtpm/src/swtpm/man/man5'
make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man5'
Making all in man8
make[3]: Entering directory '/build/swtpm/src/swtpm/man/man8'
make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man8'
make[3]: Entering directory '/build/swtpm/src/swtpm/man'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/man'
make[2]: Leaving directory '/build/swtpm/src/swtpm/man'
Making all in samples
make[2]: Entering directory '/build/swtpm/src/swtpm/samples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/swtpm/src/swtpm/samples'
Making all in src
make[2]: Entering directory '/build/swtpm/src/swtpm/src'
Making all in utils
make[3]: Entering directory '/build/swtpm/src/swtpm/src/utils'
  CC       libswtpm_utils_la-swtpm_utils.lo
  CCLD     libswtpm_utils.la
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/utils'
Making all in swtpm
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm'
  CC       swtpm-main.o
  CC       swtpm-daemonize.o
  CC       swtpm-swtpm.o
  CC       swtpm-swtpm_chardev.o
  CC       swtpm-cuse_tpm.o
  CC       libswtpm_libtpms_la-capabilities.lo
  CC       libswtpm_libtpms_la-common.lo
  CC       libswtpm_libtpms_la-check_algos.lo
  CC       libswtpm_libtpms_la-ctrlchannel.lo
  CC       libswtpm_libtpms_la-fips.lo
  CC       libswtpm_libtpms_la-key.lo
  CC       libswtpm_libtpms_la-logging.lo
  CC       libswtpm_libtpms_la-mainloop.lo
  CC       libswtpm_libtpms_la-options.lo
  CC       libswtpm_libtpms_la-pidfile.lo
  CC       libswtpm_libtpms_la-profile.lo
  CC       libswtpm_libtpms_la-seccomp_profile.lo
  CC       libswtpm_libtpms_la-server.lo
  CC       libswtpm_libtpms_la-swtpm_aes.lo
  CC       libswtpm_libtpms_la-swtpm_debug.lo
  CC       libswtpm_libtpms_la-swtpm_io.lo
  CC       libswtpm_libtpms_la-swtpm_nvstore.lo
  CC       libswtpm_libtpms_la-swtpm_nvstore_dir.lo
  CC       libswtpm_libtpms_la-swtpm_nvstore_linear.lo
  CC       libswtpm_libtpms_la-swtpm_nvstore_linear_file.lo
  CC       libswtpm_libtpms_la-tlv.lo
  CC       libswtpm_libtpms_la-tpmlib.lo
  CC       libswtpm_libtpms_la-tpmstate.lo
  CC       libswtpm_libtpms_la-utils.lo
  CC       libswtpm_libtpms_la-threadpool.lo
  CC       swtpm_cuse-cuse_tpm.o
  CCLD     libswtpm_libtpms.la
  CCLD     swtpm
  CCLD     swtpm_cuse
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm'
Making all in swtpm_bios
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_bios'
  CC       swtpm_bios-tpm_bios.o
  CCLD     swtpm_bios
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_bios'
Making all in swtpm_cert
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_cert'
  CC       swtpm_cert-ek-cert.o
  CCLD     swtpm_cert
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_cert'
Making all in swtpm_ioctl
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_ioctl'
  CC       swtpm_ioctl-tpm_ioctl.o
  CCLD     swtpm_ioctl
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_ioctl'
Making all in swtpm_localca
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_localca'
  CC       swtpm_localca-swtpm_localca.o
  CC       swtpm_localca-swtpm_localca_utils.o
  CCLD     swtpm_localca
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_localca'
Making all in swtpm_setup
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_setup'
  CC       swtpm_setup-profile.o
  CC       swtpm_setup-swtpm.o
  CC       swtpm_setup-swtpm_setup.o
  CC       swtpm_setup-swtpm_setup_utils.o
  CC       swtpm_setup-swtpm_backend_dir.o
  CC       swtpm_setup-swtpm_backend_file.o
  CCLD     swtpm_setup
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_setup'
make[3]: Entering directory '/build/swtpm/src/swtpm/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/src'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src'
Making all in tests
make[2]: Entering directory '/build/swtpm/src/swtpm/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/swtpm/src/swtpm/tests'
make[2]: Entering directory '/build/swtpm/src/swtpm'
make[2]: Leaving directory '/build/swtpm/src/swtpm'
make[1]: Leaving directory '/build/swtpm/src/swtpm'
==> Entering fakeroot environment...
==> Starting package()...
Making install in include
make[1]: Entering directory '/build/swtpm/src/swtpm/include'
Making install in swtpm
make[2]: Entering directory '/build/swtpm/src/swtpm/include/swtpm'
make[3]: Entering directory '/build/swtpm/src/swtpm/include/swtpm'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/include/swtpm'
 /usr/bin/install -c -m 644 tpm_ioctl.h '/build/swtpm/pkg/swtpm/usr/include/swtpm'
make[3]: Leaving directory '/build/swtpm/src/swtpm/include/swtpm'
make[2]: Leaving directory '/build/swtpm/src/swtpm/include/swtpm'
make[2]: Entering directory '/build/swtpm/src/swtpm/include'
make[3]: Entering directory '/build/swtpm/src/swtpm/include'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/include'
make[2]: Leaving directory '/build/swtpm/src/swtpm/include'
make[1]: Leaving directory '/build/swtpm/src/swtpm/include'
Making install in man
make[1]: Entering directory '/build/swtpm/src/swtpm/man'
Making install in man3
make[2]: Entering directory '/build/swtpm/src/swtpm/man/man3'
make[3]: Entering directory '/build/swtpm/src/swtpm/man/man3'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/share/man/man3'
 /usr/bin/install -c -m 644 swtpm_ioctls.3 '/build/swtpm/pkg/swtpm/usr/share/man/man3'
make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man3'
make[2]: Leaving directory '/build/swtpm/src/swtpm/man/man3'
Making install in man5
make[2]: Entering directory '/build/swtpm/src/swtpm/man/man5'
make[3]: Entering directory '/build/swtpm/src/swtpm/man/man5'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/share/man/man5'
 /usr/bin/install -c -m 644 swtpm_setup.conf.5 swtpm-localca.options.5 swtpm-localca.conf.5 '/build/swtpm/pkg/swtpm/usr/share/man/man5'
make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man5'
make[2]: Leaving directory '/build/swtpm/src/swtpm/man/man5'
Making install in man8
make[2]: Entering directory '/build/swtpm/src/swtpm/man/man8'
make[3]: Entering directory '/build/swtpm/src/swtpm/man/man8'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/share/man/man8'
 /usr/bin/install -c -m 644 swtpm.8 swtpm_bios.8 swtpm_cert.8 swtpm_ioctl.8 swtpm_localca.8 swtpm_setup.8 swtpm-create-tpmca.8 swtpm-localca.8 swtpm_cuse.8 '/build/swtpm/pkg/swtpm/usr/share/man/man8'
make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man8'
make[2]: Leaving directory '/build/swtpm/src/swtpm/man/man8'
make[2]: Entering directory '/build/swtpm/src/swtpm/man'
make[3]: Entering directory '/build/swtpm/src/swtpm/man'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/man'
make[2]: Leaving directory '/build/swtpm/src/swtpm/man'
make[1]: Leaving directory '/build/swtpm/src/swtpm/man'
Making install in samples
make[1]: Entering directory '/build/swtpm/src/swtpm/samples'
make[2]: Entering directory '/build/swtpm/src/swtpm/samples'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p /build/swtpm/pkg/swtpm/var/lib/swtpm-localca
if test -z /build/swtpm/pkg/swtpm; then \
	chown -R tss:root /build/swtpm/pkg/swtpm/var/lib/swtpm-localca || true; \
	chmod 0750 /build/swtpm/pkg/swtpm/var/lib/swtpm-localca || true; \
fi
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/share/swtpm'
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/etc'
 /usr/bin/install -c -m 644 swtpm-localca.conf swtpm-localca.options swtpm_setup.conf '/build/swtpm/pkg/swtpm/etc'
 /usr/bin/install -c swtpm-create-tpmca swtpm-create-user-config-files swtpm-localca '/build/swtpm/pkg/swtpm/usr/share/swtpm'
make[2]: Leaving directory '/build/swtpm/src/swtpm/samples'
make[1]: Leaving directory '/build/swtpm/src/swtpm/samples'
Making install in src
make[1]: Entering directory '/build/swtpm/src/swtpm/src'
Making install in utils
make[2]: Entering directory '/build/swtpm/src/swtpm/src/utils'
make[3]: Entering directory '/build/swtpm/src/swtpm/src/utils'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/utils'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src/utils'
Making install in swtpm
make[2]: Entering directory '/build/swtpm/src/swtpm/src/swtpm'
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm'
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/bin'
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/lib/swtpm'
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libswtpm_libtpms.la '/build/swtpm/pkg/swtpm/usr/lib/swtpm'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c swtpm swtpm_cuse '/build/swtpm/pkg/swtpm/usr/bin'
libtool: install: /usr/bin/install -c .libs/libswtpm_libtpms.so.0.0.0 /build/swtpm/pkg/swtpm/usr/lib/swtpm/libswtpm_libtpms.so.0.0.0
libtool: install: (cd /build/swtpm/pkg/swtpm/usr/lib/swtpm && { ln -s -f libswtpm_libtpms.so.0.0.0 libswtpm_libtpms.so.0 || { rm -f libswtpm_libtpms.so.0 && ln -s libswtpm_libtpms.so.0.0.0 libswtpm_libtpms.so.0; }; })
libtool: install: (cd /build/swtpm/pkg/swtpm/usr/lib/swtpm && { ln -s -f libswtpm_libtpms.so.0.0.0 libswtpm_libtpms.so || { rm -f libswtpm_libtpms.so && ln -s libswtpm_libtpms.so.0.0.0 libswtpm_libtpms.so; }; })
libtool: install: /usr/bin/install -c .libs/libswtpm_libtpms.lai /build/swtpm/pkg/swtpm/usr/lib/swtpm/libswtpm_libtpms.la
libtool: install: /usr/bin/install -c .libs/libswtpm_libtpms.a /build/swtpm/pkg/swtpm/usr/lib/swtpm/libswtpm_libtpms.a
libtool: install: chmod 644 /build/swtpm/pkg/swtpm/usr/lib/swtpm/libswtpm_libtpms.a
libtool: install: ranlib /build/swtpm/pkg/swtpm/usr/lib/swtpm/libswtpm_libtpms.a
libtool: warning: 'libswtpm_libtpms.la' has not been installed in '/usr/lib/swtpm'
libtool: install: /usr/bin/install -c .libs/swtpm /build/swtpm/pkg/swtpm/usr/bin/swtpm
libtool: warning: remember to run 'libtool --finish /usr/lib/swtpm'
libtool: warning: 'libswtpm_libtpms.la' has not been installed in '/usr/lib/swtpm'
libtool: install: /usr/bin/install -c .libs/swtpm_cuse /build/swtpm/pkg/swtpm/usr/bin/swtpm_cuse
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm'
Making install in swtpm_bios
make[2]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_bios'
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_bios'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c swtpm_bios '/build/swtpm/pkg/swtpm/usr/bin'
libtool: install: /usr/bin/install -c swtpm_bios /build/swtpm/pkg/swtpm/usr/bin/swtpm_bios
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_bios'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_bios'
Making install in swtpm_cert
make[2]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_cert'
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_cert'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c swtpm_cert '/build/swtpm/pkg/swtpm/usr/bin'
libtool: install: /usr/bin/install -c swtpm_cert /build/swtpm/pkg/swtpm/usr/bin/swtpm_cert
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_cert'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_cert'
Making install in swtpm_ioctl
make[2]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_ioctl'
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_ioctl'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c swtpm_ioctl '/build/swtpm/pkg/swtpm/usr/bin'
libtool: install: /usr/bin/install -c swtpm_ioctl /build/swtpm/pkg/swtpm/usr/bin/swtpm_ioctl
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_ioctl'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_ioctl'
Making install in swtpm_localca
make[2]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_localca'
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_localca'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c swtpm_localca '/build/swtpm/pkg/swtpm/usr/bin'
libtool: install: /usr/bin/install -c swtpm_localca /build/swtpm/pkg/swtpm/usr/bin/swtpm_localca
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_localca'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_localca'
Making install in swtpm_setup
make[2]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_setup'
make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_setup'
make[3]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/swtpm/pkg/swtpm/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c swtpm_setup '/build/swtpm/pkg/swtpm/usr/bin'
libtool: install: /usr/bin/install -c swtpm_setup /build/swtpm/pkg/swtpm/usr/bin/swtpm_setup
make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_setup'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_setup'
make[2]: Entering directory '/build/swtpm/src/swtpm/src'
make[3]: Entering directory '/build/swtpm/src/swtpm/src'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/build/swtpm/src/swtpm/src'
make[2]: Leaving directory '/build/swtpm/src/swtpm/src'
make[1]: Leaving directory '/build/swtpm/src/swtpm/src'
Making install in tests
make[1]: Entering directory '/build/swtpm/src/swtpm/tests'
make[2]: Entering directory '/build/swtpm/src/swtpm/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make  install-data-hook
make[3]: Entering directory '/build/swtpm/src/swtpm/tests'
mkdir -p /build/swtpm/pkg/swtpm/usr/lib/installed-tests/swtpm
cd . && for file in test_config test_vtpm_proxy test_tpm2_vtpm_proxy test_commandline test_ctrlchannel test_ctrlchannel2 test_ctrlchannel3 test_ctrlchannel4 test_encrypted_state test_getcap test_hashing test_hashing2 test_init test_locality test_migration_key test_parameters test_resume_volatile test_save_load_encrypted_state test_save_load_state test_setbuffersize test_volatilestate test_swtpm_bios test_tpm_probe test_tpm12 test_wrongorder test_print_capabilities test_print_states test_swtpm_setup_overwrite test_swtpm_setup_file_backend test_swtpm_setup_misc test_tpm2_avoid_da_lockout test_tpm2_chroot_socket test_tpm2_chroot_chardev test_tpm2_chroot_cuse test_tpm2_ctrlchannel2 test_tpm2_ctrlchannel3 test_tpm2_derived_keys test_tpm2_encrypted_state test_tpm2_init test_tpm2_file_permissions test_tpm2_getcap test_tpm2_locality test_tpm2_hashing test_tpm2_hashing2 test_tpm2_hashing3 test_tpm2_migration_key test_tpm2_partial_reads test_tpm2_print_capabilities test_tpm2_print_states test_tpm2_resume_volatile test_tpm2_savestate test_tpm2_save_load_encrypted_state test_tpm2_save_load_state test_tpm2_save_load_state_2 test_tpm2_save_load_state_2_linear test_tpm2_save_load_state_2_block test_tpm2_save_load_state_3 test_tpm2_save_load_state_da_timeout test_tpm2_save_load_state_locking test_tpm2_setbuffersize test_tpm2_volatilestate test_tpm2_wrongorder test_tpm2_probe test_tpm2_swtpm_bios test_tpm2_ibmtss2 test_tpm2_swtpm_setup_overwrite test_tpm2_swtpm_setup_profile test_tpm2_swtpm_setup_profile_name test_tpm2_libtpms_versions_profiles test_samples_create_tpmca test_swtpm_cert test_swtpm_setup_create_cert test_tpm2_parameters test_tpm2_swtpm_cert test_tpm2_swtpm_cert_ecc test_tpm2_swtpm_localca test_tpm2_swtpm_localca_pkcs11.test test_tpm2_swtpm_setup_create_cert  common load_vtpm_proxy test_common test_cuse swtpm_setup.conf create_certs.sh data/ecpubek.pem data/ecprivek.pem data/issuercert.pem data/pubek.pem data/signkey.pem data/signkey-encrypted.pem data/keyfile.txt data/keyfile256bit.txt data/pwdfile.txt data/migkey1/tpm2-volatilestate.bin data/migkey1/volatilestate.bin data/tpmstate1/tpm-00.permall data/tpmstate1/tpm-00.volatilestate data/tpmstate1/README data/tpmstate2/tpm-00.permall data/tpmstate2/tpm-00.volatilestate data/tpmstate2/pwdfile.txt data/tpmstate2/README data/tpmstate2b/tpm-00.permall data/tpmstate2b/tpm-00.volatilestate data/tpmstate2b/pwdfile.txt data/tpm2state1/tpm2-00.permall data/tpm2state1/tpm2-00.volatilestate data/tpm2state2/tpm2-00.permall data/tpm2state2/tpm2-00.volatilestate data/tpm2state2b/pwdfile.txt data/tpm2state2b/tpm2-00.permall data/tpm2state2b/tpm2-00.volatilestate data/tpm2state2/pwdfile.txt data/tpm2state3/hkey.priv data/tpm2state3/hkey.pub data/tpm2state3/signature.bin data/tpm2state3/tpm2-00.permall data/tpm2state3c/tpm2-00.volatilestate data/tpm2state3c/tpm2-00.permall data/tpm2state3d/tpm2-00.volatilestate data/tpm2state3d/signature2.bin data/tpm2state3d/tpm2-00.permall data/tpm2state3b/h81000000.bin data/tpm2state3b/h02000000.bin data/tpm2state3b/tpm2-00.volatilestate data/tpm2state3b/tpm2-00.permall data/tpm2state4/tpm2-00.volatilestate data/tpm2state4/tpm2-00.permall data/tpm2state5/signature.bin data/tpm2state5/tpm2-00.permall data/tpm2state6/tpm2-00.permall fileinstall patches/0001-Deactivate-test-cases-accessing-rootcerts.txt.patch patches/0002-Implement-powerup-for-swtpm.patch patches/0003-Set-CRYPTOLIBRARY-to-openssl.patch patches/0004-Store-and-restore-volatile-state-at-every-step.patch patches/0005-Disable-tests-related-to-events.patch patches/0010-Adjust-test-cases-for-OpenSSL-3.patch patches/0012-Disable-Nuvoton-commands.patch patches/libtpm.patch sed-inplace softhsm_setup test_clientfds.py test_setdatafd.py test_swtpm_cert _test_encrypted_state _test_getcap _test_hashing _test_hashing2 _test_init _test_locality _test_migration_key _test_migration_key_2 _test_print_capabilities _test_print_states _test_resume_volatile _test_save_load_encrypted_state _test_save_load_state _test_setbuffersize _test_swtpm_bios _test_tpm_probe _test_tpm2_avoid_da_lockout _test_tpm2_derived_keys _test_tpm2_encrypted_state _test_tpm2_file_permissions _test_tpm2_getcap _test_tpm2_hashing _test_tpm2_hashing2 _test_tpm2_hashing3 _test_tpm2_init _test_tpm2_locality _test_tpm2_migration_key _test_tpm2_print_capabilities _test_tpm2_print_states _test_tpm2_probe _test_tpm2_resume_volatile _test_tpm2_savestate _test_tpm2_save_load_encrypted_state _test_tpm2_save_load_state _test_tpm2_save_load_state_da_timeout _test_tpm2_save_load_state_locking _test_tpm2_setbuffersize _test_tpm2_swtpm_bios _test_tpm2_volatilestate _test_tpm2_wrongorder _test_volatilestate _test_wrongorder installed-runner.sh; do ./fileinstall "$file" "/build/swtpm/pkg/swtpm/usr/lib/installed-tests/swtpm/$file" ; done
echo "test_vtpm_proxy test_tpm2_vtpm_proxy test_commandline test_ctrlchannel test_ctrlchannel2 test_ctrlchannel3 test_ctrlchannel4 test_encrypted_state test_getcap test_hashing test_hashing2 test_init test_locality test_migration_key test_parameters test_resume_volatile test_save_load_encrypted_state test_save_load_state test_setbuffersize test_volatilestate test_swtpm_bios test_tpm_probe test_tpm12 test_wrongorder test_print_capabilities test_print_states test_swtpm_setup_overwrite test_swtpm_setup_file_backend test_swtpm_setup_misc test_tpm2_avoid_da_lockout test_tpm2_chroot_socket test_tpm2_chroot_chardev test_tpm2_chroot_cuse test_tpm2_ctrlchannel2 test_tpm2_ctrlchannel3 test_tpm2_derived_keys test_tpm2_encrypted_state test_tpm2_init test_tpm2_file_permissions test_tpm2_getcap test_tpm2_locality test_tpm2_hashing test_tpm2_hashing2 test_tpm2_hashing3 test_tpm2_migration_key test_tpm2_partial_reads test_tpm2_print_capabilities test_tpm2_print_states test_tpm2_resume_volatile test_tpm2_savestate test_tpm2_save_load_encrypted_state test_tpm2_save_load_state test_tpm2_save_load_state_2 test_tpm2_save_load_state_2_linear test_tpm2_save_load_state_2_block test_tpm2_save_load_state_3 test_tpm2_save_load_state_da_timeout test_tpm2_save_load_state_locking test_tpm2_setbuffersize test_tpm2_volatilestate test_tpm2_wrongorder test_tpm2_probe test_tpm2_swtpm_bios test_tpm2_ibmtss2 test_tpm2_swtpm_setup_overwrite test_tpm2_swtpm_setup_profile test_tpm2_swtpm_setup_profile_name test_tpm2_libtpms_versions_profiles test_samples_create_tpmca test_swtpm_cert test_swtpm_setup_create_cert test_tpm2_parameters test_tpm2_swtpm_cert test_tpm2_swtpm_cert_ecc test_tpm2_swtpm_localca test_tpm2_swtpm_localca_pkcs11.test test_tpm2_swtpm_setup_create_cert " > /build/swtpm/pkg/swtpm/usr/lib/installed-tests/swtpm/tests
./sed-inplace '/SWTPM_TEST_UNINSTALLED=1/d' /build/swtpm/pkg/swtpm/usr/lib/installed-tests/swtpm/common
make[3]: Leaving directory '/build/swtpm/src/swtpm/tests'
make[2]: Leaving directory '/build/swtpm/src/swtpm/tests'
make[1]: Leaving directory '/build/swtpm/src/swtpm/tests'
make[1]: Entering directory '/build/swtpm/src/swtpm'
make[2]: Entering directory '/build/swtpm/src/swtpm'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/swtpm/src/swtpm'
make[1]: Leaving directory '/build/swtpm/src/swtpm'
mode of '/build/swtpm/pkg/swtpm/var/lib/swtpm-localca' changed from 0755 (rwxr-xr-x) to 0750 (rwxr-x---)
install: creating directory '/build/swtpm/pkg/swtpm/usr/share/licenses'
install: creating directory '/build/swtpm/pkg/swtpm/usr/share/licenses/swtpm'
'LICENSE' -> '/build/swtpm/pkg/swtpm/usr/share/licenses/swtpm/LICENSE'
install: creating directory '/build/swtpm/pkg/swtpm/usr/lib/sysusers.d'
'/build/swtpm/src/swtpm.sysusers' -> '/build/swtpm/pkg/swtpm/usr/lib/sysusers.d/swtpm.conf'
install: creating directory '/build/swtpm/pkg/swtpm/usr/lib/tmpfiles.d'
'/build/swtpm/src/swtpm.tmpfiles' -> '/build/swtpm/pkg/swtpm/usr/lib/tmpfiles.d/swtpm.conf'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "swtpm"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: swtpm 0.10.1-1 (Sun May 11 01:13:07 2025)
==> Cleaning up...