Raspbian Package Auto-Building

Build log for simple-tpm-pk11 (0.06-4+b2) on armhf

simple-tpm-pk110.06-4+b2armhf → 2022-06-13 10:52:01

sbuild (Debian sbuild) 0.72.0 (25 Oct 2016) on mb-lxc-02

+==============================================================================+
| simple-tpm-pk11 0.06-4+b2 (armhf)            Mon, 13 Jun 2022 10:43:50 +0000 |
+==============================================================================+

Package: simple-tpm-pk11
Version: 0.06-4+b2
Source Version: 0.06-4
Distribution: bookworm-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/bookworm-staging-armhf-sbuild-588ee45a-8854-4c0d-8d06-a4efdcc24bea' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.4.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private bookworm-staging/main Sources [13.0 MB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf Packages [14.0 MB]
Fetched 27.0 MB in 12s (2307 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
W: http://172.17.4.1/private/dists/bookworm-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'simple-tpm-pk11' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian/simple-tpm-pk11.git
Please use:
git clone https://salsa.debian.org/debian/simple-tpm-pk11.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 36.5 kB of source archives.
Get:1 http://172.17.4.1/private bookworm-staging/main simple-tpm-pk11 0.06-4 (dsc) [2087 B]
Get:2 http://172.17.4.1/private bookworm-staging/main simple-tpm-pk11 0.06-4 (tar) [29.0 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main simple-tpm-pk11 0.06-4 (diff) [5436 B]
Fetched 36.5 kB in 0s (919 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/simple-tpm-pk11-t7LGxR/simple-tpm-pk11-0.06' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/simple-tpm-pk11-t7LGxR' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-jaG5hw/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-jaG5hw/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-jaG5hw/gpg/trustdb.gpg: trustdb created
gpg: key 37145E60F90AF620: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 37145E60F90AF620: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 37145E60F90AF620: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Packages [431 B]
Fetched 2107 B in 1s (3411 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  netbase sensible-utils
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 72 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (57.6 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12621 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper-compat (= 13), libgtest-dev, libopencryptoki-dev, libssl-dev, libtspi-dev
Filtered Build-Depends: debhelper-compat (= 13), libgtest-dev, libopencryptoki-dev, libssl-dev, libtspi-dev
dpkg-deb: building package 'sbuild-build-depends-simple-tpm-pk11-dummy' in '/<<BUILDDIR>>/resolver-jaG5hw/apt_archive/sbuild-build-depends-simple-tpm-pk11-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-simple-tpm-pk11-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Sources [525 B]
Get:5 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ Packages [608 B]
Fetched 2466 B in 1s (4182 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install simple-tpm-pk11 build dependencies (apt-based resolver)
---------------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  netbase
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  googletest groff-base intltool-debian libarchive-zip-perl libdebhelper-perl
  libelf1 libfile-stripnondeterminism-perl libgtest-dev libicu71 libmagic-mgc
  libmagic1 libopencryptoki-dev libopencryptoki0 libpipeline1 libsigsegv2
  libssl-dev libssl3 libsub-override-perl libtool libtspi-dev libtspi1
  libuchardet0 libxml2 m4 man-db po-debconf
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff libssl-doc libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser
  libmail-box-perl
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  googletest groff-base intltool-debian libarchive-zip-perl libdebhelper-perl
  libelf1 libfile-stripnondeterminism-perl libgtest-dev libicu71 libmagic-mgc
  libmagic1 libopencryptoki-dev libopencryptoki0 libpipeline1 libsigsegv2
  libssl-dev libssl3 libsub-override-perl libtool libtspi-dev libtspi1
  libuchardet0 libxml2 m4 man-db po-debconf
  sbuild-build-depends-simple-tpm-pk11-dummy
0 upgraded, 39 newly installed, 0 to remove and 72 not upgraded.
Need to get 25.0 MB of archives.
After this operation, 96.6 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-jaG5hw/apt_archive ./ sbuild-build-depends-simple-tpm-pk11-dummy 0.invalid.0 [892 B]
Get:2 http://172.17.4.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-8 [793 kB]
Get:4 http://172.17.4.1/private bookworm-staging/main armhf bsdextrautils armhf 2.38-4 [137 kB]
Get:5 http://172.17.4.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.6-1 [33.7 kB]
Get:6 http://172.17.4.1/private bookworm-staging/main armhf man-db armhf 2.10.2-1 [1362 kB]
Get:7 http://172.17.4.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.41-4 [295 kB]
Get:8 http://172.17.4.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.41-4 [120 kB]
Get:9 http://172.17.4.1/private bookworm-staging/main armhf file armhf 1:5.41-4 [65.8 kB]
Get:10 http://172.17.4.1/private bookworm-staging/main armhf gettext-base armhf 0.21-6 [171 kB]
Get:11 http://172.17.4.1/private bookworm-staging/main armhf libsigsegv2 armhf 2.14-1 [36.6 kB]
Get:12 http://172.17.4.1/private bookworm-staging/main armhf m4 armhf 1.4.18-5 [186 kB]
Get:13 http://172.17.4.1/private bookworm-staging/main armhf autoconf all 2.71-2 [343 kB]
Get:14 http://172.17.4.1/private bookworm-staging/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get:15 http://172.17.4.1/private bookworm-staging/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get:16 http://172.17.4.1/private bookworm-staging/main armhf autopoint all 0.21-6 [510 kB]
Get:17 http://172.17.4.1/private bookworm-staging/main armhf libdebhelper-perl all 13.7.1 [195 kB]
Get:18 http://172.17.4.1/private bookworm-staging/main armhf libtool all 2.4.7-4 [526 kB]
Get:19 http://172.17.4.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:20 http://172.17.4.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:21 http://172.17.4.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-2 [10.2 kB]
Get:22 http://172.17.4.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.13.0-1 [26.6 kB]
Get:23 http://172.17.4.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.13.0-1 [15.8 kB]
Get:24 http://172.17.4.1/private bookworm-staging/main armhf libelf1 armhf 0.187-1 [175 kB]
Get:25 http://172.17.4.1/private bookworm-staging/main armhf dwz armhf 0.14-1 [83.0 kB]
Get:26 http://172.17.4.1/private bookworm-staging/main armhf libicu71 armhf 71.1-3 [8855 kB]
Get:27 http://172.17.4.1/private bookworm-staging/main armhf libxml2 armhf 2.9.14+dfsg-1 [591 kB]
Get:28 http://172.17.4.1/private bookworm-staging/main armhf gettext armhf 0.21-6 [1214 kB]
Get:29 http://172.17.4.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:30 http://172.17.4.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:31 http://172.17.4.1/private bookworm-staging/main armhf debhelper all 13.7.1 [1071 kB]
Get:32 http://172.17.4.1/private bookworm-staging/main armhf googletest all 1.11.0-3 [535 kB]
Get:33 http://172.17.4.1/private bookworm-staging/main armhf libgtest-dev armhf 1.11.0-3 [1397 kB]
Get:34 http://172.17.4.1/private bookworm-staging/main armhf libssl3 armhf 3.0.3-7 [1645 kB]
Get:35 http://172.17.4.1/private bookworm-staging/main armhf libtspi1 armhf 0.3.15-0.2+b2 [138 kB]
Get:36 http://172.17.4.1/private bookworm-staging/main armhf libopencryptoki0 armhf 3.8.1+dfsg-3.2+b2 [382 kB]
Get:37 http://172.17.4.1/private bookworm-staging/main armhf libopencryptoki-dev armhf 3.8.1+dfsg-3.2+b2 [26.8 kB]
Get:38 http://172.17.4.1/private bookworm-staging/main armhf libssl-dev armhf 3.0.3-7 [2122 kB]
Get:39 http://172.17.4.1/private bookworm-staging/main armhf libtspi-dev armhf 0.3.15-0.2+b2 [635 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 25.0 MB in 4s (7074 kB/s)
Selecting previously unselected package libuchardet0:armhf.
(Reading database ... 12621 files and directories currently installed.)
Preparing to unpack .../00-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../01-groff-base_1.22.4-8_armhf.deb ...
Unpacking groff-base (1.22.4-8) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../02-bsdextrautils_2.38-4_armhf.deb ...
Unpacking bsdextrautils (2.38-4) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.6-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.6-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.10.2-1_armhf.deb ...
Unpacking man-db (2.10.2-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.41-4_armhf.deb ...
Unpacking libmagic-mgc (1:5.41-4) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../06-libmagic1_1%3a5.41-4_armhf.deb ...
Unpacking libmagic1:armhf (1:5.41-4) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.41-4_armhf.deb ...
Unpacking file (1:5.41-4) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.21-6_armhf.deb ...
Unpacking gettext-base (0.21-6) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../09-libsigsegv2_2.14-1_armhf.deb ...
Unpacking libsigsegv2:armhf (2.14-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.18-5_armhf.deb ...
Unpacking m4 (1.4.18-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.71-2_all.deb ...
Unpacking autoconf (2.71-2) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.21-6_all.deb ...
Unpacking autopoint (0.21-6) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_13.7.1_all.deb ...
Unpacking libdebhelper-perl (13.7.1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.4.7-4_all.deb ...
Unpacking libtool (2.4.7-4) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../19-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../21-dh-strip-nondeterminism_1.13.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../22-libelf1_0.187-1_armhf.deb ...
Unpacking libelf1:armhf (0.187-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../23-dwz_0.14-1_armhf.deb ...
Unpacking dwz (0.14-1) ...
Selecting previously unselected package libicu71:armhf.
Preparing to unpack .../24-libicu71_71.1-3_armhf.deb ...
Unpacking libicu71:armhf (71.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../25-libxml2_2.9.14+dfsg-1_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.21-6_armhf.deb ...
Unpacking gettext (0.21-6) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../27-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_13.7.1_all.deb ...
Unpacking debhelper (13.7.1) ...
Selecting previously unselected package googletest.
Preparing to unpack .../30-googletest_1.11.0-3_all.deb ...
Unpacking googletest (1.11.0-3) ...
Selecting previously unselected package libgtest-dev:armhf.
Preparing to unpack .../31-libgtest-dev_1.11.0-3_armhf.deb ...
Unpacking libgtest-dev:armhf (1.11.0-3) ...
Selecting previously unselected package libssl3:armhf.
Preparing to unpack .../32-libssl3_3.0.3-7_armhf.deb ...
Unpacking libssl3:armhf (3.0.3-7) ...
Selecting previously unselected package libtspi1.
Preparing to unpack .../33-libtspi1_0.3.15-0.2+b2_armhf.deb ...
Unpacking libtspi1 (0.3.15-0.2+b2) ...
Selecting previously unselected package libopencryptoki0:armhf.
Preparing to unpack .../34-libopencryptoki0_3.8.1+dfsg-3.2+b2_armhf.deb ...
Unpacking libopencryptoki0:armhf (3.8.1+dfsg-3.2+b2) ...
Selecting previously unselected package libopencryptoki-dev:armhf.
Preparing to unpack .../35-libopencryptoki-dev_3.8.1+dfsg-3.2+b2_armhf.deb ...
Unpacking libopencryptoki-dev:armhf (3.8.1+dfsg-3.2+b2) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../36-libssl-dev_3.0.3-7_armhf.deb ...
Unpacking libssl-dev:armhf (3.0.3-7) ...
Selecting previously unselected package libtspi-dev.
Preparing to unpack .../37-libtspi-dev_0.3.15-0.2+b2_armhf.deb ...
Unpacking libtspi-dev (0.3.15-0.2+b2) ...
Selecting previously unselected package sbuild-build-depends-simple-tpm-pk11-dummy.
Preparing to unpack .../38-sbuild-build-depends-simple-tpm-pk11-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-simple-tpm-pk11-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.5.6-1) ...
Setting up libicu71:armhf (71.1-3) ...
Setting up bsdextrautils (2.38-4) ...
Setting up libmagic-mgc (1:5.41-4) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.7.1) ...
Setting up libssl3:armhf (3.0.3-7) ...
Setting up libmagic1:armhf (1:5.41-4) ...
Setting up gettext-base (0.21-6) ...
Setting up file (1:5.41-4) ...
Setting up googletest (1.11.0-3) ...
Setting up autotools-dev (20220109.1) ...
Setting up libsigsegv2:armhf (2.14-1) ...
Setting up libssl-dev:armhf (3.0.3-7) ...
Setting up autopoint (0.21-6) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libelf1:armhf (0.187-1) ...
Setting up libxml2:armhf (2.9.14+dfsg-1) ...
Setting up libfile-stripnondeterminism-perl (1.13.0-1) ...
Setting up libtspi1 (0.3.15-0.2+b2) ...
Setting up gettext (0.21-6) ...
Setting up libgtest-dev:armhf (1.11.0-3) ...
Setting up libtool (2.4.7-4) ...
Setting up m4 (1.4.18-5) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up libtspi-dev (0.3.15-0.2+b2) ...
Setting up libopencryptoki0:armhf (3.8.1+dfsg-3.2+b2) ...
Setting up autoconf (2.71-2) ...
Setting up dh-strip-nondeterminism (1.13.0-1) ...
Setting up dwz (0.14-1) ...
Setting up groff-base (1.22.4-8) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up po-debconf (1.0.21+nmu1) ...
Setting up man-db (2.10.2-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up dh-autoreconf (20) ...
Setting up libopencryptoki-dev:armhf (3.8.1+dfsg-3.2+b2) ...
Setting up debhelper (13.7.1) ...
Setting up sbuild-build-depends-simple-tpm-pk11-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.33-7+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.15.0-163-generic armhf (armv8l)
Toolchain package versions: binutils_2.38-3+rpi1 dpkg-dev_1.21.7+rpi1 g++-11_11.2.0-20+rpi1 gcc-11_11.2.0-20+rpi1 libc6-dev_2.33-7+rpi1 libstdc++-11-dev_11.2.0-20+rpi1 libstdc++6_12-20220319-1+rpi1 linux-libc-dev_5.16.18-1+rpi1
Package versions: adduser_3.121 apt_2.4.5 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-6 autotools-dev_20220109.1 base-files_12.2+rpi1 base-passwd_3.5.52 bash_5.1-6 binutils_2.38-3+rpi1 binutils-arm-linux-gnueabihf_2.38-3+rpi1 binutils-common_2.38-3+rpi1 bsdextrautils_2.38-4 bsdutils_1:2.38-4 build-essential_12.9 bzip2_1.0.8-5 coreutils_8.32-4.1 cpp_4:11.2.0-2+rpi1 cpp-11_11.2.0-20+rpi1 dash_0.5.11+git20210903+057cd650a4ed-8 debconf_1.5.79 debhelper_13.7.1 debianutils_5.7-0.1 dh-autoreconf_20 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.7-5 dirmngr_2.2.27-3+b1 dpkg_1.21.7+rpi1 dpkg-dev_1.21.7+rpi1 dwz_0.14-1 e2fsprogs_1.46.5-2 fakeroot_1.28-1 file_1:5.41-4 findutils_4.9.0-2 g++_4:11.2.0-2+rpi1 g++-11_11.2.0-20+rpi1 gcc_4:11.2.0-2+rpi1 gcc-11_11.2.0-20+rpi1 gcc-11-base_11.2.0-20+rpi1 gcc-12-base_12-20220319-1+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-6 gettext-base_0.21-6 gnupg_2.2.27-3 gnupg-l10n_2.2.27-3 gnupg-utils_2.2.27-3+b1 googletest_1.11.0-3 gpg_2.2.27-3+b1 gpg-agent_2.2.27-3+b1 gpg-wks-client_2.2.27-3+b1 gpg-wks-server_2.2.27-3+b1 gpgconf_2.2.27-3+b1 gpgsm_2.2.27-3+b1 gpgv_2.2.27-3+b1 grep_3.7-1 groff-base_1.22.4-8 gzip_1.12-1 hostname_3.23 init-system-helpers_1.62 intltool-debian_0.35.0+20060710.5 libacl1_2.3.1-1 libapt-pkg6.0_2.4.5 libarchive-zip-perl_1.68-1 libasan6_11.2.0-20+rpi1 libassuan0_2.5.5-1 libatomic1_12-20220319-1+rpi1 libattr1_1:2.5.1-1 libaudit-common_1:3.0.7-1 libaudit1_1:3.0.7-1+b1 libbinutils_2.38-3+rpi1 libblkid1_2.38-4 libbz2-1.0_1.0.8-5 libc-bin_2.33-7+rpi1 libc-dev-bin_2.33-7+rpi1 libc6_2.33-7+rpi1 libc6-dev_2.33-7+rpi1 libcap-ng0_0.7.9-2.2+b2 libcap2_1:2.44-1 libcc1-0_12-20220319-1+rpi1 libcom-err2_1.46.5-2 libcrypt-dev_1:4.4.27-1.1 libcrypt1_1:4.4.27-1.1 libctf-nobfd0_2.38-3+rpi1 libctf0_2.38-3+rpi1 libdb5.3_5.3.28+dfsg1-0.8 libdebconfclient0_0.262 libdebhelper-perl_13.7.1 libdpkg-perl_1.21.7+rpi1 libelf1_0.187-1 libext2fs2_1.46.5-2 libfakeroot_1.28-1 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libgcc-11-dev_11.2.0-20+rpi1 libgcc-s1_12-20220319-1+rpi1 libgcrypt20_1.10.1-2 libgdbm-compat4_1.23-1 libgdbm6_1.23-1 libgmp10_2:6.2.1+dfsg-3 libgnutls30_3.7.4-2 libgomp1_12-20220319-1+rpi1 libgpg-error0_1.43-3 libgssapi-krb5-2_1.19.2-2+b2 libgtest-dev_1.11.0-3 libhogweed6_3.7.3-1 libicu71_71.1-3 libidn2-0_2.3.2-2 libisl23_0.24-2 libk5crypto3_1.19.2-2+b2 libkeyutils1_1.6.1-3+rpi1 libkrb5-3_1.19.2-2+b2 libkrb5support0_1.19.2-2+b2 libksba8_1.6.0-2 libldap-2.5-0_2.5.11+dfsg-1+rpi1 liblz4-1_1.9.3-2 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmount1_2.38-4 libmpc3_1.2.1-2 libmpfr6_4.1.0-3 libncursesw6_6.3-2 libnettle8_3.7.3-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libopencryptoki-dev_3.8.1+dfsg-3.2+b2 libopencryptoki0_3.8.1+dfsg-3.2+b2 libp11-kit0_0.24.1-1 libpam-modules_1.4.0-11 libpam-modules-bin_1.4.0-11 libpam-runtime_1.4.0-11 libpam0g_1.4.0-11 libpcre2-8-0_10.39-4 libpcre3_2:8.39-14 libperl5.34_5.34.0-4 libpipeline1_1.5.6-1 libreadline8_8.1.2-1.2 libsasl2-2_2.1.28+dfsg-4 libsasl2-modules-db_2.1.28+dfsg-4 libseccomp2_2.5.3-2+rpi1+b1 libselinux1_3.3-1+b1 libsemanage-common_3.3-1 libsemanage2_3.3-1+b1 libsepol1_3.1-1 libsepol2_3.3-1 libsigsegv2_2.14-1 libsmartcols1_2.38-4 libsqlite3-0_3.38.2-1 libss2_1.46.5-2 libssl-dev_3.0.3-7 libssl1.1_1.1.1n-1 libssl3_3.0.3-7 libstdc++-11-dev_11.2.0-20+rpi1 libstdc++6_12-20220319-1+rpi1 libsub-override-perl_0.09-2 libsystemd0_250.4-1+rpi1 libtasn1-6_4.18.0-4 libtinfo6_6.3-2 libtirpc-common_1.3.2-2 libtirpc-dev_1.3.2-2 libtirpc3_1.3.2-2 libtool_2.4.7-4 libtspi-dev_0.3.15-0.2+b2 libtspi1_0.3.15-0.2+b2 libubsan1_12-20220319-1+rpi1 libuchardet0_0.0.7-1 libudev1_250.4-1+rpi1 libunistring2_1.0-1 libuuid1_2.38-4 libxml2_2.9.14+dfsg-1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_5.16.18-1+rpi1 login_1:4.11.1+dfsg1-2 logsave_1.46.5-2 lsb-base_11.1.0+rpi1 m4_1.4.18-5 make_4.3-4.1 man-db_2.10.2-1 mawk_1.3.4.20200120-3 mount_2.38-4 ncurses-base_6.3-2 ncurses-bin_6.3-2 netbase_6.3 passwd_1:4.11.1+dfsg1-2 patch_2.7.6-7 perl_5.34.0-4 perl-base_5.34.0-4 perl-modules-5.34_5.34.0-4 pinentry-curses_1.1.0-4 po-debconf_1.0.21+nmu1 raspbian-archive-keyring_20120528.2 readline-common_8.1.2-1.2 rpcsvc-proto_1.4.2-4 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-simple-tpm-pk11-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 sysvinit-utils_3.03-1 tar_1.34+dfsg-1 tzdata_2022a-1 util-linux_2.37.3-1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-4

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.8FlB6SWI/trustedkeys.kbx': General error
gpgv: Signature made Mon Sep  6 10:40:47 2021 UTC
gpgv:                using RSA key 27793BAC0D180A9964C78819A9C6FAC60D630169
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify signature ./simple-tpm-pk11_0.06-4.dsc
dpkg-source: info: extracting simple-tpm-pk11 in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking simple-tpm-pk11_0.06.orig.tar.gz
dpkg-source: info: unpacking simple-tpm-pk11_0.06-4.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0001-Fix-RSA_set0_key-usage-to-make-verify-work-with-Open.patch
dpkg-source: info: applying 0002-Prevent-segfault-when-C_GetSlotList-is-invoked-with-.patch
dpkg-source: info: applying 0003-Rework-key-enumeration.patch
dpkg-source: info: applying 0004-Session-GetAttributeValue-respond-to-requests-for-CK.patch
dpkg-source: info: applying 0005-Session-GetAttributeValue-respond-to-requests-for-CK.patch
dpkg-source: info: applying 0006-Answer-CKA_LABEL-attribute-request-with-dummy-value.patch

Check disk space
----------------

Sufficient free space for build

Hack binNMU version
-------------------

Created changelog entry for binNMU version 0.06-4+b2

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=112
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-588ee45a-8854-4c0d-8d06-a4efdcc24bea
SCHROOT_UID=107
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package simple-tpm-pk11
dpkg-buildpackage: info: source version 0.06-4+b2
dpkg-buildpackage: info: source distribution bookworm-staging
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary-arch
dh binary-arch
   dh_update_autotools_config -a
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir m4
dh_autoreconf
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'm4'.
libtoolize: copying file 'm4/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:10: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:10: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:10: the top level
configure.ac:7: installing 'm4/compile'
configure.ac:7: installing 'm4/config.guess'
configure.ac:7: installing 'm4/config.sub'
configure.ac:5: installing 'm4/install-sh'
configure.ac:5: installing 'm4/missing'
Makefile.am: installing 'm4/depcomp'
parallel-tests: installing 'm4/test-driver'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_configure -a
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /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 whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert arm-unknown-linux-gnueabihf file names to arm-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert arm-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 ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc 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 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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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 tss/tspi.h... yes
checking for Tspi_GetAttribUint32 in -ltspi... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether optarg is declared... yes
checking whether optind is declared... yes
checking whether optreset is declared... no
checking for BN_new in -lcrypto... yes
checking for opencryptoki/pkcs11.h... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for RSA_get0_key... yes
checking for RSA_set0_key... yes
checking for RSA_get0_factors... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

  simple-tpm-pk11 version 0.06
  Prefix.........: /usr
  Debug Build....: 
  C Compiler.....: gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
  C++ Compiler...: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
  Linker.........: /usr/bin/ld -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi 

   dh_auto_build -a
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in doc
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/keygen.o src/keygen.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common.o src/common.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/tspiwrap.o src/tspiwrap.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/wrap_main.o src/wrap_main.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/sign.o src/sign.cc
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)':
src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |   if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  386 |   RSA_get0_key(rsa.get(), const_cast<const BIGNUM**>(&m), const_cast<const BIGNUM**>(&e), NULL);
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  390 |   RSA_get0_factors(rsa.get(), const_cast<const BIGNUM**>(&p), NULL);
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/exfiltrate.o src/exfiltrate.cc
src/common.cc: In function 'std::string stpm::public_decrypt(const stpm::Key&, const string&)':
src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  806 |   if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent),
      |        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807 |                     NULL)) {
      |                     ~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |   std::vector<unsigned char> d(RSA_size(rsa.get()));
      |                                ~~~~~~~~^~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/common.cc:813:37: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813 |   const int len = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
  814 |       sig.size(),
      |       ~~~~~~~~~~~                    
  815 |       reinterpret_cast<const unsigned char*>(sig.data()),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  816 |       &d[0],
      |       ~~~~~~                         
  817 |       rsa.get(),
      |       ~~~~~~~~~~                     
  818 |       RSA_PKCS1_PADDING);
      |       ~~~~~~~~~~~~~~~~~~             
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]':
src/common.cc:296:14:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
  137 |       throw;
      |       ^~~~~
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]':
src/common.cc:378:11:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/verify.o src/verify.cc
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-pk11.lo `test -f 'src/pk11.cc' || echo './'`src/pk11.cc
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/pk11.cc  -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-pk11.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/session.cc  -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tspiwrap.cc  -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/common.cc  -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-common.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)':
src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |   if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  386 |   RSA_get0_key(rsa.get(), const_cast<const BIGNUM**>(&m), const_cast<const BIGNUM**>(&e), NULL);
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  390 |   RSA_get0_factors(rsa.get(), const_cast<const BIGNUM**>(&p), NULL);
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
src/common.cc: In function 'std::string stpm::public_decrypt(const stpm::Key&, const string&)':
src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  806 |   if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent),
      |        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807 |                     NULL)) {
      |                     ~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |   std::vector<unsigned char> d(RSA_size(rsa.get()));
      |                                ~~~~~~~~^~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/common.cc:813:37: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813 |   const int len = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
  814 |       sig.size(),
      |       ~~~~~~~~~~~                    
  815 |       reinterpret_cast<const unsigned char*>(sig.data()),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  816 |       &d[0],
      |       ~~~~~~                         
  817 |       rsa.get(),
      |       ~~~~~~~~~~                     
  818 |       RSA_PKCS1_PADDING);
      |       ~~~~~~~~~~~~~~~~~~             
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]':
src/common.cc:296:14:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
  137 |       throw;
      |       ^~~~~
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]':
src/common.cc:378:11:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/pk11.cc -o src/libsimple_tpm_pk11_la-pk11.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=link g++  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o  -lcrypto -ltspi 
libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o  -lcrypto -ltspi
/bin/bash ./libtool  --tag=CXX   --mode=link g++  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o  -lcrypto -ltspi 
libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o  -lcrypto -ltspi
/bin/bash ./libtool  --tag=CXX   --mode=link g++  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o  -lcrypto -ltspi 
/bin/bash ./libtool  --tag=CXX   --mode=link g++  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o  -lcrypto -ltspi 
libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o  -lcrypto -ltspi
libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o  -lcrypto -ltspi
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CXX   --mode=link g++  -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/arm-linux-gnueabihf src/libsimple_tpm_pk11_la-pk11.lo src/libsimple_tpm_pk11_la-session.lo src/libsimple_tpm_pk11_la-tspiwrap.lo src/libsimple_tpm_pk11_la-common.lo  -lcrypto -ltspi 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/arm-linux-gnueabihf/11/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/11/crtbeginS.o  src/.libs/libsimple_tpm_pk11_la-pk11.o src/.libs/libsimple_tpm_pk11_la-session.o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o src/.libs/libsimple_tpm_pk11_la-common.o   -lcrypto -ltspi -L/usr/lib/gcc/arm-linux-gnueabihf/11 -L/usr/lib/gcc/arm-linux-gnueabihf/11/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/11/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/arm-linux-gnueabihf/11/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/11/../../../arm-linux-gnueabihf/crtn.o  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libsimple-tpm-pk11.so.0 -o .libs/libsimple-tpm-pk11.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so.0" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so.0")
libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so")
libtool: link: ar cr .libs/libsimple-tpm-pk11.a  src/libsimple_tpm_pk11_la-pk11.o src/libsimple_tpm_pk11_la-session.o src/libsimple_tpm_pk11_la-tspiwrap.o src/libsimple_tpm_pk11_la-common.o
libtool: link: ranlib .libs/libsimple-tpm-pk11.a
libtool: link: ( cd ".libs" && rm -f "libsimple-tpm-pk11.la" && ln -s "../libsimple-tpm-pk11.la" "libsimple-tpm-pk11.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -a
	make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making check in doc
make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make  stpm-keygen_test stpm-sign_test common_test pk11_test stpm-verify_test
make[3]: Entering directory '/<<PKGBUILDDIR>>'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-keygen.o `test -f 'src/keygen.cc' || echo './'`src/keygen.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-keygen_test.o `test -f 'src/keygen_test.cc' || echo './'`src/keygen_test.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)':
src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |   if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  386 |   RSA_get0_key(rsa.get(), const_cast<const BIGNUM**>(&m), const_cast<const BIGNUM**>(&e), NULL);
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  390 |   RSA_get0_factors(rsa.get(), const_cast<const BIGNUM**>(&p), NULL);
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc
src/common.cc: In function 'std::string stpm::public_decrypt(const stpm::Key&, const string&)':
src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  806 |   if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent),
      |        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807 |                     NULL)) {
      |                     ~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |   std::vector<unsigned char> d(RSA_size(rsa.get()));
      |                                ~~~~~~~~^~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/common.cc:813:37: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813 |   const int len = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
  814 |       sig.size(),
      |       ~~~~~~~~~~~                    
  815 |       reinterpret_cast<const unsigned char*>(sig.data()),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  816 |       &d[0],
      |       ~~~~~~                         
  817 |       rsa.get(),
      |       ~~~~~~~~~~                     
  818 |       RSA_PKCS1_PADDING);
      |       ~~~~~~~~~~~~~~~~~~             
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]':
src/common.cc:296:14:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
  137 |       throw;
      |       ^~~~~
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]':
src/common.cc:378:11:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-sign.o `test -f 'src/sign.cc' || echo './'`src/sign.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-sign_test.o `test -f 'src/sign_test.cc' || echo './'`src/sign_test.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)':
src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |   if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  386 |   RSA_get0_key(rsa.get(), const_cast<const BIGNUM**>(&m), const_cast<const BIGNUM**>(&e), NULL);
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  390 |   RSA_get0_factors(rsa.get(), const_cast<const BIGNUM**>(&p), NULL);
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
src/common.cc: In function 'std::string stpm::public_decrypt(const stpm::Key&, const string&)':
src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  806 |   if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent),
      |        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807 |                     NULL)) {
      |                     ~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |   std::vector<unsigned char> d(RSA_size(rsa.get()));
      |                                ~~~~~~~~^~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/common.cc:813:37: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813 |   const int len = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
  814 |       sig.size(),
      |       ~~~~~~~~~~~                    
  815 |       reinterpret_cast<const unsigned char*>(sig.data()),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  816 |       &d[0],
      |       ~~~~~~                         
  817 |       rsa.get(),
      |       ~~~~~~~~~~                     
  818 |       RSA_PKCS1_PADDING);
      |       ~~~~~~~~~~~~~~~~~~             
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]':
src/common.cc:296:14:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
  137 |       throw;
      |       ^~~~~
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]':
src/common.cc:378:11:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-common_test.o `test -f 'src/common_test.cc' || echo './'`src/common_test.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)':
src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |   if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  386 |   RSA_get0_key(rsa.get(), const_cast<const BIGNUM**>(&m), const_cast<const BIGNUM**>(&e), NULL);
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  390 |   RSA_get0_factors(rsa.get(), const_cast<const BIGNUM**>(&p), NULL);
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
src/common.cc: In function 'std::string stpm::public_decrypt(const stpm::Key&, const string&)':
src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  806 |   if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent),
      |        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807 |                     NULL)) {
      |                     ~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |   std::vector<unsigned char> d(RSA_size(rsa.get()));
      |                                ~~~~~~~~^~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/common.cc:813:37: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813 |   const int len = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
  814 |       sig.size(),
      |       ~~~~~~~~~~~                    
  815 |       reinterpret_cast<const unsigned char*>(sig.data()),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  816 |       &d[0],
      |       ~~~~~~                         
  817 |       rsa.get(),
      |       ~~~~~~~~~~                     
  818 |       RSA_PKCS1_PADDING);
      |       ~~~~~~~~~~~~~~~~~~             
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]':
src/common.cc:296:14:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
  137 |       throw;
      |       ^~~~~
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]':
src/common.cc:378:11:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-pk11_test.o `test -f 'src/pk11_test.cc' || echo './'`src/pk11_test.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-pk11.o `test -f 'src/pk11.cc' || echo './'`src/pk11.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)':
src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |   if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  386 |   RSA_get0_key(rsa.get(), const_cast<const BIGNUM**>(&m), const_cast<const BIGNUM**>(&e), NULL);
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  390 |   RSA_get0_factors(rsa.get(), const_cast<const BIGNUM**>(&p), NULL);
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
src/common.cc: In function 'std::string stpm::public_decrypt(const stpm::Key&, const string&)':
src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  806 |   if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent),
      |        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807 |                     NULL)) {
      |                     ~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |   std::vector<unsigned char> d(RSA_size(rsa.get()));
      |                                ~~~~~~~~^~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/common.cc:813:37: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813 |   const int len = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
  814 |       sig.size(),
      |       ~~~~~~~~~~~                    
  815 |       reinterpret_cast<const unsigned char*>(sig.data()),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  816 |       &d[0],
      |       ~~~~~~                         
  817 |       rsa.get(),
      |       ~~~~~~~~~~                     
  818 |       RSA_PKCS1_PADDING);
      |       ~~~~~~~~~~~~~~~~~~             
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]':
src/common.cc:296:14:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
  137 |       throw;
      |       ^~~~~
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]':
src/common.cc:378:11:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-session.o `test -f 'src/session.cc' || echo './'`src/session.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-verify.o `test -f 'src/verify.cc' || echo './'`src/verify.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-verify_test.o `test -f 'src/verify_test.cc' || echo './'`src/verify_test.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:23: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                       ^~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:32: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                ^~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  158 | typedef AutoFree<RSA, RSA_new, RSA_free> RSAWrap;
      |                                        ^
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:293:28: note: declared here
  293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)':
src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |   if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) {
      |        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:260:27: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  386 |   RSA_get0_key(rsa.get(), const_cast<const BIGNUM**>(&m), const_cast<const BIGNUM**>(&e), NULL);
      |   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:217:28: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  390 |   RSA_get0_factors(rsa.get(), const_cast<const BIGNUM**>(&p), NULL);
      |   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:220:28: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
src/common.cc: In function 'std::string stpm::public_decrypt(const stpm::Key&, const string&)':
src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  806 |   if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent),
      |        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807 |                     NULL)) {
      |                     ~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:207:27: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |   std::vector<unsigned char> d(RSA_size(rsa.get()));
      |                                ~~~~~~~~^~~~~~~~~~~
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:204:27: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
src/common.cc:813:37: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  813 |   const int len = RSA_public_decrypt(
      |                   ~~~~~~~~~~~~~~~~~~^
  814 |       sig.size(),
      |       ~~~~~~~~~~~                    
  815 |       reinterpret_cast<const unsigned char*>(sig.data()),
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  816 |       &d[0],
      |       ~~~~~~                         
  817 |       rsa.get(),
      |       ~~~~~~~~~~                     
  818 |       RSA_PKCS1_PADDING);
      |       ~~~~~~~~~~~~~~~~~~             
In file included from src/common.cc:37:
/usr/include/openssl/rsa.h:288:5: note: declared here
  288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]':
src/common.cc:296:14:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
  137 |       throw;
      |       ^~~~~
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree<T, New, Free>::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]':
src/common.cc:378:11:   required from here
src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate]
src/common.cc:137:7: note: in C++11 destructors default to 'noexcept'
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc
g++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o -lpthread  -lcrypto -ltspi 
libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o  -lpthread -lcrypto -ltspi
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread  -lcrypto -ltspi 
libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o  -lpthread -lcrypto -ltspi
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread  -lcrypto -ltspi 
libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o  -lpthread -lcrypto -ltspi
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o -lpthread  -lcrypto -ltspi 
libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o  -lpthread -lcrypto -ltspi
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o -lpthread  -lcrypto -ltspi 
libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o  -lpthread -lcrypto -ltspi
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make  check-TESTS
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
PASS: stpm-sign_test
PASS: common_test
PASS: pk11_test
PASS: stpm-verify_test
PASS: stpm-keygen_test
============================================================================
Testsuite summary for simple-tpm-pk11 0.06
============================================================================
# TOTAL: 5
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep -a
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
	make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/simple-tpm-pk11 AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making install in doc
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Entering directory '/<<PKGBUILDDIR>>/doc'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/share/man/man1'
 /usr/bin/install -c -m 644 stpm-keygen.1 stpm-sign.1 stpm-verify.1 stpm-exfiltrate.1 '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/share/man/man1'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/share/man/man7'
 /usr/bin/install -c -m 644 simple-tpm-pk11.7 '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/share/man/man7'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsimple-tpm-pk11.la '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf'
libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.so.0.0.0
libtool: install: (cd /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf && { ln -s -f libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so.0 || { rm -f libsimple-tpm-pk11.so.0 && ln -s libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so.0; }; })
libtool: install: (cd /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf && { ln -s -f libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so || { rm -f libsimple-tpm-pk11.so && ln -s libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so; }; })
libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.lai /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.la
libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.a /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.a
libtool: install: chmod 644 /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.a
libtool: install: ranlib /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.a
libtool: warning: remember to run 'libtool --finish /usr/lib/arm-linux-gnueabihf'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/bin'
libtool: install: /usr/bin/install -c stpm-keygen /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/bin/stpm-keygen
libtool: install: /usr/bin/install -c stpm-sign /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/bin/stpm-sign
libtool: install: /usr/bin/install -c stpm-exfiltrate /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate
libtool: install: /usr/bin/install -c stpm-verify /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/bin/stpm-verify
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.la
rm /<<PKGBUILDDIR>>/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.a
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installman -a
   dh_lintian -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_missing -a
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
dpkg-shlibdeps: warning: debian/simple-tpm-pk11/usr/bin/stpm-sign contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: debian/simple-tpm-pk11/usr/bin/stpm-keygen contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: symbol __aeabi_atexit@CXXABI_ARM_1.3.3 used by debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: debian/simple-tpm-pk11/usr/bin/stpm-verify contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-4+b2_armhf.deb'.
dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-4+b2_armhf.deb'.
 dpkg-genbuildinfo --build=any -O../simple-tpm-pk11_0.06-4+b2_armhf.buildinfo
 dpkg-genchanges --build=any -mRaspbian mythic lxc autobuilder 1 <root@raspbian.org> -O../simple-tpm-pk11_0.06-4+b2_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2022-06-13T10:51:57Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


simple-tpm-pk11_0.06-4+b2_armhf.changes:
----------------------------------------

Format: 1.8
Date: Mon, 06 Sep 2021 12:33:45 +0200
Source: simple-tpm-pk11 (0.06-4)
Binary: simple-tpm-pk11 simple-tpm-pk11-dbgsym
Binary-Only: yes
Architecture: armhf
Version: 0.06-4+b2
Distribution: bookworm-staging
Urgency: low
Maintainer: Raspbian mythic lxc autobuilder 1 <root@raspbian.org>
Changed-By: Raspbian mythic lxc autobuilder 1 <root@raspbian.org>
Description:
 simple-tpm-pk11 - simple library for using the TPM chip to secure SSH keys
Changes:
 simple-tpm-pk11 (0.06-4+b2) bookworm-staging; urgency=low, binary-only=yes
 .
   * Binary-only non-maintainer upload for armhf; no source changes.
   * rebuild due to debcheck failure
Checksums-Sha1:
 ff9fc40c734e5aed98f2ba04277ada819db65565 1666616 simple-tpm-pk11-dbgsym_0.06-4+b2_armhf.deb
 c999b2925fe2390adab112abf0ad6123e2c983bf 5854 simple-tpm-pk11_0.06-4+b2_armhf.buildinfo
 830ca700106e02b51e922b8e9e160481d9a386c6 80036 simple-tpm-pk11_0.06-4+b2_armhf.deb
Checksums-Sha256:
 2f06bec94480b7dc10af0cff2bb9fdbac2008a5836647cfd56155c86382de58c 1666616 simple-tpm-pk11-dbgsym_0.06-4+b2_armhf.deb
 8812b55ad217469b29da1ada54fa228b71b1570252f04e9197056fd461805c9e 5854 simple-tpm-pk11_0.06-4+b2_armhf.buildinfo
 10b907e4d0dd90d81ff5d130bac65f99b063a9c4b1262447147293216a189d7e 80036 simple-tpm-pk11_0.06-4+b2_armhf.deb
Files:
 5364a2370401a4419798f23bc0014e04 1666616 debug optional simple-tpm-pk11-dbgsym_0.06-4+b2_armhf.deb
 e50d91957b7bf8e3429e205b7d890ef4 5854 net optional simple-tpm-pk11_0.06-4+b2_armhf.buildinfo
 3e101556e1b83b9960b6c76bc88bbe0d 80036 net optional simple-tpm-pk11_0.06-4+b2_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


simple-tpm-pk11-dbgsym_0.06-4+b2_armhf.deb
------------------------------------------

 new Debian package, version 2.0.
 size 1666616 bytes: control archive=800 bytes.
     548 bytes,    12 lines      control              
     625 bytes,     6 lines      md5sums              
 Package: simple-tpm-pk11-dbgsym
 Source: simple-tpm-pk11 (0.06-4)
 Version: 0.06-4+b2
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 1948
 Depends: simple-tpm-pk11 (= 0.06-4+b2)
 Section: debug
 Priority: optional
 Description: debug symbols for simple-tpm-pk11
 Build-Ids: 2fde02fc1da534487bb8d70e668ccb036cacc0a2 4429054aa1e8deb63093a71f9391c32c1a7d8dbd 8abf7fb9a01b705b34a30b8558de75cca717a730 94ed0b6b7846555f6c82750abe9ac1be981ca075 c981615a2274b4124a3d4d1ee80ea31be2122efd

drwxr-xr-x root/root         0 2021-09-06 10:33 ./
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.build-id/2f/
-rw-r--r-- root/root    587108 2021-09-06 10:33 ./usr/lib/debug/.build-id/2f/de02fc1da534487bb8d70e668ccb036cacc0a2.debug
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.build-id/44/
-rw-r--r-- root/root    321628 2021-09-06 10:33 ./usr/lib/debug/.build-id/44/29054aa1e8deb63093a71f9391c32c1a7d8dbd.debug
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.build-id/8a/
-rw-r--r-- root/root    314168 2021-09-06 10:33 ./usr/lib/debug/.build-id/8a/bf7fb9a01b705b34a30b8558de75cca717a730.debug
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.build-id/94/
-rw-r--r-- root/root    322752 2021-09-06 10:33 ./usr/lib/debug/.build-id/94/ed0b6b7846555f6c82750abe9ac1be981ca075.debug
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.build-id/c9/
-rw-r--r-- root/root    342580 2021-09-06 10:33 ./usr/lib/debug/.build-id/c9/81615a2274b4124a3d4d1ee80ea31be2122efd.debug
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.dwz/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/
-rw-r--r-- root/root     86100 2021-09-06 10:33 ./usr/lib/debug/.dwz/arm-linux-gnueabihf/simple-tpm-pk11.debug
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/doc/
lrwxrwxrwx root/root         0 2021-09-06 10:33 ./usr/share/doc/simple-tpm-pk11-dbgsym -> simple-tpm-pk11


simple-tpm-pk11_0.06-4+b2_armhf.deb
-----------------------------------

 new Debian package, version 2.0.
 size 80036 bytes: control archive=1344 bytes.
     706 bytes,    15 lines      control              
    1219 bytes,    17 lines      md5sums              
      47 bytes,     1 lines      shlibs               
      67 bytes,     2 lines      triggers             
 Package: simple-tpm-pk11
 Source: simple-tpm-pk11 (0.06-4)
 Version: 0.06-4+b2
 Architecture: armhf
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Installed-Size: 454
 Depends: trousers, libc6 (>= 2.32), libgcc-s1 (>= 3.5), libssl3 (>= 3.0.0), libstdc++6 (>= 5.2), libtspi1 (>= 0.3.1)
 Recommends: openssh-client
 Section: net
 Priority: optional
 Homepage: https://github.com/ThomasHabets/simple-tpm-pk11
 Description: simple library for using the TPM chip to secure SSH keys
  simple-tpm-pk11 provides tools to create a key in your TPM (Trusted Platform
  Module) chip which can then be used with SSH. The package comes with a library
  that you can use as “PKCS11Provider” in your SSH configuration file.

drwxr-xr-x root/root         0 2021-09-06 10:33 ./
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/bin/
-rwxr-xr-x root/root     75420 2021-09-06 10:33 ./usr/bin/stpm-exfiltrate
-rwxr-xr-x root/root     75420 2021-09-06 10:33 ./usr/bin/stpm-keygen
-rwxr-xr-x root/root     75420 2021-09-06 10:33 ./usr/bin/stpm-sign
-rwxr-xr-x root/root     71324 2021-09-06 10:33 ./usr/bin/stpm-verify
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/lib/arm-linux-gnueabihf/
lrwxrwxrwx root/root         0 2021-09-06 10:33 ./usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.so -> libsimple-tpm-pk11.so.0.0.0
lrwxrwxrwx root/root         0 2021-09-06 10:33 ./usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.so.0 -> libsimple-tpm-pk11.so.0.0.0
-rw-r--r-- root/root    128556 2021-09-06 10:33 ./usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.so.0.0.0
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/doc/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/doc/simple-tpm-pk11/
-rw-r--r-- root/root       296 2016-10-30 15:49 ./usr/share/doc/simple-tpm-pk11/FAQ
-rw-r--r-- root/root      2165 2016-10-30 15:49 ./usr/share/doc/simple-tpm-pk11/README.md.gz
-rw-r--r-- root/root      1703 2016-10-30 15:49 ./usr/share/doc/simple-tpm-pk11/TPM-TROUBLESHOOTING
-rw-r--r-- root/root       226 2021-09-06 10:33 ./usr/share/doc/simple-tpm-pk11/changelog.Debian.armhf.gz
-rw-r--r-- root/root      1147 2021-09-06 10:33 ./usr/share/doc/simple-tpm-pk11/changelog.Debian.gz
-rw-r--r-- root/root      1003 2021-09-06 10:33 ./usr/share/doc/simple-tpm-pk11/copyright
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/lintian/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       363 2021-09-06 10:33 ./usr/share/lintian/overrides/simple-tpm-pk11
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/man/
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/man/man1/
-rw-r--r-- root/root       834 2021-09-06 10:33 ./usr/share/man/man1/stpm-exfiltrate.1.gz
-rw-r--r-- root/root      1136 2021-09-06 10:33 ./usr/share/man/man1/stpm-keygen.1.gz
-rw-r--r-- root/root       911 2021-09-06 10:33 ./usr/share/man/man1/stpm-sign.1.gz
-rw-r--r-- root/root       738 2021-09-06 10:33 ./usr/share/man/man1/stpm-verify.1.gz
drwxr-xr-x root/root         0 2021-09-06 10:33 ./usr/share/man/man7/
-rw-r--r-- root/root      1073 2021-09-06 10:33 ./usr/share/man/man7/simple-tpm-pk11.7.gz


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 104912
Build-Time: 308
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 157
Job: simple-tpm-pk11_0.06-4
Machine Architecture: armhf
Package: simple-tpm-pk11
Package-Time: 487
Source-Version: 0.06-4
Space: 104912
Status: successful
Version: 0.06-4+b2
--------------------------------------------------------------------------------
Finished at 2022-06-13T10:51:57Z
Build needed 00:08:07, 104912k disk space