Running as unit: rb-build-arm64_4-37613.service ==================================================================================== Sat Sep 28 07:25:13 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_arm64_4) on jenkins, called using "codethink02-arm64 codethink01-arm64" as arguments. Sat Sep 28 07:25:13 UTC 2024 - actually running "reproducible_build.sh" (md5sum 79f74068471242981be9b3b00196cbfb) as "/tmp/jenkins-script-m3nD48By" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sat Sep 28 07:25:13 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink02-arm64.debian.net is marked as down. Sat Sep 28 07:25:13 UTC 2024 - checking via ssh if codethink02-arm64.debian.net is up. removed '/tmp/read-only-fs-test-znDL0T' Sat Sep 28 07:25:14 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink01-arm64.debian.net is marked as down. Sat Sep 28 07:25:14 UTC 2024 - checking via ssh if codethink01-arm64.debian.net is up. removed '/tmp/read-only-fs-test-i6kVuB' ok, let's check if simple-tpm-pk11 is building anywhere yet… ok, simple-tpm-pk11 is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of simple-tpm-pk11 in trixie on arm64 on jenkins now. 1st build will be done on codethink02-arm64.debian.net. 2nd build will be done on codethink01-arm64.debian.net. ============================================================================= Sat Sep 28 07:25:36 UTC 2024 I: starting to build simple-tpm-pk11/trixie/arm64 on jenkins on '2024-09-28 07:25' Sat Sep 28 07:25:36 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_4/37613/console.log 1727508336 arm64 trixie simple-tpm-pk11 Sat Sep 28 07:25:36 UTC 2024 I: Downloading source for trixie/simple-tpm-pk11=0.06-5 --2024-09-28 07:25:37-- http://deb.debian.org/debian/pool/main/s/simple-tpm-pk11/simple-tpm-pk11_0.06-5.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1817 (1.8K) [text/prs.lines.tag] Saving to: ‘simple-tpm-pk11_0.06-5.dsc’ 0K . 100% 280M=0s 2024-09-28 07:25:37 (280 MB/s) - ‘simple-tpm-pk11_0.06-5.dsc’ saved [1817/1817] --2024-09-28 07:25:37-- http://deb.debian.org/debian/pool/main/s/simple-tpm-pk11/simple-tpm-pk11_0.06-5.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1817 (1.8K) [text/prs.lines.tag] Saving to: ‘simple-tpm-pk11_0.06-5.dsc’ 0K . 100% 280M=0s 2024-09-28 07:25:37 (280 MB/s) - ‘simple-tpm-pk11_0.06-5.dsc’ saved [1817/1817] Sat Sep 28 07:25:37 UTC 2024 I: simple-tpm-pk11_0.06-5.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: simple-tpm-pk11 Binary: simple-tpm-pk11 Architecture: any Version: 0.06-5 Maintainer: Debian QA Group Homepage: https://github.com/ThomasHabets/simple-tpm-pk11 Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/debian/simple-tpm-pk11 Vcs-Git: https://salsa.debian.org/debian/simple-tpm-pk11.git Build-Depends: debhelper-compat (= 13), libgtest-dev, libopencryptoki-dev, libssl-dev, libtspi-dev Package-List: simple-tpm-pk11 deb net optional arch=any Checksums-Sha1: 0d7d517ebca4a8fbeafb4d538450715b0d7c642f 28993 simple-tpm-pk11_0.06.orig.tar.gz 7302ffcce112f1673cd63d4c66a16794362216f2 5548 simple-tpm-pk11_0.06-5.debian.tar.xz Checksums-Sha256: 8ecdb2a64e046e04bb18d464fd15332c99be82084eb2bd3d340a5ff0e738dcea 28993 simple-tpm-pk11_0.06.orig.tar.gz b3ec739b46fc1257704ecd16bd65c0d624074028a2795bc1f90cb6b3efb5154e 5548 simple-tpm-pk11_0.06-5.debian.tar.xz Files: 121ec3d4b6484b7f00bd38e866118547 28993 simple-tpm-pk11_0.06.orig.tar.gz ac88f483054306ad61d00a665b8c2d7c 5548 simple-tpm-pk11_0.06-5.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmTfFF4QHGJhZ2VAZGVi aWFuLm9yZwAKCRAfXHqLRVZDFMrNC/4vPJ7rSM4XOLga+h2tyOEb99KBY9wJz7bf b+8E+7Oe4/Wq1zy3d1GogU0Eyp2ebuIEsnfSvYXQSkVxkwggNLJqrBHmH54HiCXG Il3eRVKi8SBBiGbyYJzp2kPwWdRxTaIJK9xVx8sxIlE6HiCEaa6KpW0i5dvI8e5O QyBzjQate4n5VyAeTMzFMh5hCGNe7FhEnlQXz5Y4G8V839+DWDFoxSMiOAQtOPAA ItuvNUBDMuJH1tcT1ylkN4F1DMq5y5HnOtM1oBcA+Wat/wj2IaDhsv7kkOVQY+9d FZnyqwMkNDaRL7qZq520m8nkQY0pzU3GMYT7/ywwdbMWS5mbhryzraSJ6saT05Mi k5AfwFuPSPhfrvIpQUTCWjFYw5l3ByNXNpAjtFE6F+Uu9/Q65pKakB6h30pgJq2E NGBSNdB2UTIpS1rmn9Anggy2kIjmI865/bpQ183QA8wPRyvOw5s1QOCJ9LiwgP7L uuFd1ZrVAI9kj/grksMzobz4TEUE3wA= =ivss -----END PGP SIGNATURE----- Sat Sep 28 07:25:37 UTC 2024 I: Checking whether the package is not for us Sat Sep 28 07:25:37 UTC 2024 I: Starting 1st build on remote node codethink02-arm64.debian.net. Sat Sep 28 07:25:37 UTC 2024 I: Preparing to do remote build '1' on codethink02-arm64.debian.net. Sat Sep 28 07:25:37 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink02-arm64.debian.net is marked as down. Sat Sep 28 07:25:37 UTC 2024 - checking via ssh if codethink02-arm64.debian.net is up. removed '/tmp/read-only-fs-test-Fgjw57' ==================================================================================== Sat Sep 28 07:25:38 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on codethink02-arm64, called using "1 simple-tpm-pk11 trixie /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23 0.06-5" as arguments. Sat Sep 28 07:25:38 UTC 2024 - actually running "reproducible_build.sh" (md5sum 79f74068471242981be9b3b00196cbfb) as "/tmp/jenkins-script-hXc8KBrT" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Sat Sep 28 07:25:39 UTC 2024 I: Downloading source for trixie/simple-tpm-pk11=0.06-5 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.4 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (dsc) [1817 B] Get:2 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (tar) [29.0 kB] Get:3 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (diff) [5548 B] Fetched 36.4 kB in 0s (374 kB/s) Download complete and in download only mode 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.4 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (dsc) [1817 B] Get:2 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (tar) [29.0 kB] Get:3 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (diff) [5548 B] Fetched 36.4 kB in 0s (374 kB/s) Download complete and in download only mode ============================================================================= Building simple-tpm-pk11 in trixie on arm64 on codethink02-arm64 now. Date: Sat Sep 28 08:25:39 BST 2024 Date UTC: Sat Sep 28 07:25:39 UTC 2024 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Fri Sep 27 19:25:39 -12 2024 I: pbuilder-time-stamp: 1727508339 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [simple-tpm-pk11_0.06-5.dsc] I: copying [./simple-tpm-pk11_0.06.orig.tar.gz] I: copying [./simple-tpm-pk11_0.06-5.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Aug 18 06:49:02 2023 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./simple-tpm-pk11_0.06-5.dsc: no acceptable signature found dpkg-source: info: extracting simple-tpm-pk11 in simple-tpm-pk11-0.06 dpkg-source: info: unpacking simple-tpm-pk11_0.06.orig.tar.gz dpkg-source: info: unpacking simple-tpm-pk11_0.06-5.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 I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/831366/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='e138066e40d942d5a2e9c58ca340be68' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='831366' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/pbuilderrc_sHUy --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b1 --logfile b1/build.log simple-tpm-pk11_0.06-5.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink02-arm64 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/831366/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libgtest-dev, libopencryptoki-dev, libssl-dev, libtspi-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19900 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libgtest-dev; however: Package libgtest-dev is not installed. pbuilder-satisfydepends-dummy depends on libopencryptoki-dev; however: Package libopencryptoki-dev is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. pbuilder-satisfydepends-dummy depends on libtspi-dev; however: Package libtspi-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} googletest{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libgtest-dev{a} libicu72{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1t64{a} libopencryptoki-dev{a} libopencryptoki0{a} libpipeline1{a} libsasl2-2{a} libsasl2-modules-db{a} libssl-dev{a} libtool{a} libtspi-dev{a} libtspi1{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libldap-common libltdl-dev libmail-sendmail-perl libsasl2-modules lynx wget 0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded. Need to get 25.0 MB of archives. After unpacking 105 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main arm64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.45-3 [100 kB] Get: 4 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.45-3 [43.0 kB] Get: 5 http://deb.debian.org/debian trixie/main arm64 gettext-base arm64 0.22.5-2 [198 kB] Get: 6 http://deb.debian.org/debian trixie/main arm64 libuchardet0 arm64 0.0.8-1+b1 [69.0 kB] Get: 7 http://deb.debian.org/debian trixie/main arm64 groff-base arm64 1.23.0-5 [1129 kB] Get: 8 http://deb.debian.org/debian trixie/main arm64 bsdextrautils arm64 2.40.2-8 [96.6 kB] Get: 9 http://deb.debian.org/debian trixie/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian trixie/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian trixie/main arm64 m4 arm64 1.4.19-4 [277 kB] Get: 12 http://deb.debian.org/debian trixie/main arm64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main arm64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main arm64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main arm64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main arm64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main arm64 libelf1t64 arm64 0.191-2 [188 kB] Get: 23 http://deb.debian.org/debian trixie/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 24 http://deb.debian.org/debian trixie/main arm64 libicu72 arm64 72.1-5 [9224 kB] Get: 25 http://deb.debian.org/debian trixie/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.1 [630 kB] Get: 26 http://deb.debian.org/debian trixie/main arm64 gettext arm64 0.22.5-2 [1532 kB] Get: 27 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 googletest all 1.15.2-1 [514 kB] Get: 31 http://deb.debian.org/debian trixie/main arm64 libgtest-dev arm64 1.15.2-1 [245 kB] Get: 32 http://deb.debian.org/debian trixie/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg1-8 [20.0 kB] Get: 33 http://deb.debian.org/debian trixie/main arm64 libsasl2-2 arm64 2.1.28+dfsg1-8 [55.4 kB] Get: 34 http://deb.debian.org/debian trixie/main arm64 libldap-2.5-0 arm64 2.5.18+dfsg-3 [174 kB] Get: 35 http://deb.debian.org/debian trixie/main arm64 libtspi1 arm64 0.3.15-0.4 [153 kB] Get: 36 http://deb.debian.org/debian trixie/main arm64 libopencryptoki0 arm64 3.23.0+dfsg-0.3 [566 kB] Get: 37 http://deb.debian.org/debian trixie/main arm64 libopencryptoki-dev arm64 3.23.0+dfsg-0.3 [33.3 kB] Get: 38 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-1 [3185 kB] Get: 39 http://deb.debian.org/debian trixie/main arm64 libtspi-dev arm64 0.3.15-0.4 [631 kB] Fetched 25.0 MB in 0s (90.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19900 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_arm64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_arm64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_arm64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_arm64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-8_arm64.deb ... Unpacking bsdextrautils (2.40.2-8) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_arm64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... 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.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.191-2_arm64.deb ... Unpacking libelf1t64:arm64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../23-libicu72_72.1-5_arm64.deb ... Unpacking libicu72:arm64 (72.1-5) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_arm64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package googletest. Preparing to unpack .../29-googletest_1.15.2-1_all.deb ... Unpacking googletest (1.15.2-1) ... Selecting previously unselected package libgtest-dev:arm64. Preparing to unpack .../30-libgtest-dev_1.15.2-1_arm64.deb ... Unpacking libgtest-dev:arm64 (1.15.2-1) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../31-libsasl2-modules-db_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../32-libsasl2-2_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:arm64. Preparing to unpack .../33-libldap-2.5-0_2.5.18+dfsg-3_arm64.deb ... Unpacking libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Selecting previously unselected package libtspi1. Preparing to unpack .../34-libtspi1_0.3.15-0.4_arm64.deb ... Unpacking libtspi1 (0.3.15-0.4) ... Selecting previously unselected package libopencryptoki0:arm64. Preparing to unpack .../35-libopencryptoki0_3.23.0+dfsg-0.3_arm64.deb ... Unpacking libopencryptoki0:arm64 (3.23.0+dfsg-0.3) ... Selecting previously unselected package libopencryptoki-dev:arm64. Preparing to unpack .../36-libopencryptoki-dev_3.23.0+dfsg-0.3_arm64.deb ... Unpacking libopencryptoki-dev:arm64 (3.23.0+dfsg-0.3) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../37-libssl-dev_3.3.2-1_arm64.deb ... Unpacking libssl-dev:arm64 (3.3.2-1) ... Selecting previously unselected package libtspi-dev. Preparing to unpack .../38-libtspi-dev_0.3.15-0.4_arm64.deb ... Unpacking libtspi-dev (0.3.15-0.4) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up libtspi1 (0.3.15-0.4) ... Setting up libicu72:arm64 (72.1-5) ... Setting up bsdextrautils (2.40.2-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:arm64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up googletest (1.15.2-1) ... Setting up libelf1t64:arm64 (0.191-2) ... Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:arm64 (3.3.2-1) ... Setting up autopoint (0.22.5-2) ... Setting up libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:arm64 (0.0.8-1+b1) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.1) ... 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 libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libgtest-dev:arm64 (1.15.2-1) ... Setting up libtool (2.4.7-7) ... Setting up libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libtspi-dev (0.3.15-0.4) ... Setting up libopencryptoki0:arm64 (3.23.0+dfsg-0.3) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libopencryptoki-dev:arm64 (3.23.0+dfsg-0.3) ... Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/simple-tpm-pk11-0.06/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../simple-tpm-pk11_0.06-5_source.changes dpkg-buildpackage: info: source package simple-tpm-pk11 dpkg-buildpackage: info: source version 0.06-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bastian Germann dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config debian/rules override_dh_autoreconf make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' 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 '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_configure ./configure --build=aarch64-linux-gnu --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/aarch64-linux-gnu --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... /usr/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... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu 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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu 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... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 C++ Compiler...: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wdate-time -D_FORTIFY_SOURCE=2 Linker.........: /usr/bin/ld -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi dh_auto_build make -j12 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make all-recursive make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making all in doc make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/sign.o src/sign.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/exfiltrate.o src/exfiltrate.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/common.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-common.o src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/aarch64-linux-gnu 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/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/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/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -mbranch-protection=standard -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 '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_test make -j12 check "TESTSUITEFLAGS=-j12 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making check in doc make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make stpm-keygen_test stpm-sign_test common_test pk11_test stpm-verify_test make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_keygen_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_keygen_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_sign_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-session.o `test -f 'src/session.cc' || echo './'`src/session.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 '/build/reproducible-path/simple-tpm-pk11-0.06' make check-TESTS make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' PASS: common_test PASS: stpm-verify_test PASS: stpm-sign_test PASS: pk11_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 '/build/reproducible-path/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_install make -j1 install DESTDIR=/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11 AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making install in doc make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/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 '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man1' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' /usr/bin/install -c -m 644 simple-tpm-pk11.7 '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' make[4]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' /bin/bash ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.so.0.0.0 libtool: install: (cd /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.la libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.a /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: install: chmod 644 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: install: ranlib /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' /bin/bash ./libtool --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' libtool: install: /usr/bin/install -c stpm-keygen /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-keygen libtool: install: /usr/bin/install -c stpm-sign /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-sign libtool: install: /usr/bin/install -c stpm-exfiltrate /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate libtool: install: /usr/bin/install -c stpm-verify /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-verify make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' rm /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.la rm /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.a make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_installdocs dh_installchangelogs dh_installman dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-5_arm64.deb'. dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-5_arm64.deb'. dpkg-genbuildinfo --build=binary -O../simple-tpm-pk11_0.06-5_arm64.buildinfo dpkg-genchanges --build=binary -O../simple-tpm-pk11_0.06-5_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/831366 and its subdirectories I: Current time: Fri Sep 27 19:26:51 -12 2024 I: pbuilder-time-stamp: 1727508411 Sat Sep 28 07:26:51 UTC 2024 I: Signing ./b1/simple-tpm-pk11_0.06-5_arm64.buildinfo as simple-tpm-pk11_0.06-5_arm64.buildinfo.asc Sat Sep 28 07:26:51 UTC 2024 I: Signed ./b1/simple-tpm-pk11_0.06-5_arm64.buildinfo as ./b1/simple-tpm-pk11_0.06-5_arm64.buildinfo.asc Sat Sep 28 07:26:51 UTC 2024 - build #1 for simple-tpm-pk11/trixie/arm64 on codethink02-arm64 done. Starting cleanup. All cleanup done. Sat Sep 28 07:26:51 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-hXc8KBrT, removing. /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 07:26 b1 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 07:25 b2 -rw------- 1 jenkins jenkins 2973 Sep 28 07:25 rbuildlog.SWluWE5 -rw-r--r-- 1 jenkins jenkins 1817 Aug 18 2023 simple-tpm-pk11_0.06-5.dsc /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b1: total 1908 -rw-r--r-- 1 jenkins jenkins 101370 Sep 28 07:26 build.log -rw-r--r-- 1 jenkins jenkins 1728188 Sep 28 07:26 simple-tpm-pk11-dbgsym_0.06-5_arm64.deb -rw-r--r-- 1 jenkins jenkins 5548 Sep 28 07:26 simple-tpm-pk11_0.06-5.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1817 Sep 28 07:26 simple-tpm-pk11_0.06-5.dsc -rw-r--r-- 1 jenkins jenkins 5433 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 6315 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1457 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.changes -rw-r--r-- 1 jenkins jenkins 84404 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.deb -rw-r--r-- 1 jenkins jenkins 1281 Sep 28 07:26 simple-tpm-pk11_0.06-5_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b2: total 0 Sat Sep 28 07:26:52 UTC 2024 I: Deleting $TMPDIR on codethink02-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Fri Sep 27 19:25:39 -12 2024 I: pbuilder-time-stamp: 1727508339 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [simple-tpm-pk11_0.06-5.dsc] I: copying [./simple-tpm-pk11_0.06.orig.tar.gz] I: copying [./simple-tpm-pk11_0.06-5.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Aug 18 06:49:02 2023 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./simple-tpm-pk11_0.06-5.dsc: no acceptable signature found dpkg-source: info: extracting simple-tpm-pk11 in simple-tpm-pk11-0.06 dpkg-source: info: unpacking simple-tpm-pk11_0.06.orig.tar.gz dpkg-source: info: unpacking simple-tpm-pk11_0.06-5.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 I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/831366/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='arm64' IFS=' ' INVOCATION_ID='e138066e40d942d5a2e9c58ca340be68' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='831366' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/pbuilderrc_sHUy --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b1 --logfile b1/build.log simple-tpm-pk11_0.06-5.dsc' SUDO_GID='109' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.4:3128' I: uname -a Linux codethink02-arm64 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/831366/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libgtest-dev, libopencryptoki-dev, libssl-dev, libtspi-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19900 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libgtest-dev; however: Package libgtest-dev is not installed. pbuilder-satisfydepends-dummy depends on libopencryptoki-dev; however: Package libopencryptoki-dev is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. pbuilder-satisfydepends-dummy depends on libtspi-dev; however: Package libtspi-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} googletest{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libgtest-dev{a} libicu72{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1t64{a} libopencryptoki-dev{a} libopencryptoki0{a} libpipeline1{a} libsasl2-2{a} libsasl2-modules-db{a} libssl-dev{a} libtool{a} libtspi-dev{a} libtspi1{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libldap-common libltdl-dev libmail-sendmail-perl libsasl2-modules lynx wget 0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded. Need to get 25.0 MB of archives. After unpacking 105 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main arm64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.45-3 [100 kB] Get: 4 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.45-3 [43.0 kB] Get: 5 http://deb.debian.org/debian trixie/main arm64 gettext-base arm64 0.22.5-2 [198 kB] Get: 6 http://deb.debian.org/debian trixie/main arm64 libuchardet0 arm64 0.0.8-1+b1 [69.0 kB] Get: 7 http://deb.debian.org/debian trixie/main arm64 groff-base arm64 1.23.0-5 [1129 kB] Get: 8 http://deb.debian.org/debian trixie/main arm64 bsdextrautils arm64 2.40.2-8 [96.6 kB] Get: 9 http://deb.debian.org/debian trixie/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian trixie/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian trixie/main arm64 m4 arm64 1.4.19-4 [277 kB] Get: 12 http://deb.debian.org/debian trixie/main arm64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main arm64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main arm64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main arm64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main arm64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main arm64 libelf1t64 arm64 0.191-2 [188 kB] Get: 23 http://deb.debian.org/debian trixie/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 24 http://deb.debian.org/debian trixie/main arm64 libicu72 arm64 72.1-5 [9224 kB] Get: 25 http://deb.debian.org/debian trixie/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.1 [630 kB] Get: 26 http://deb.debian.org/debian trixie/main arm64 gettext arm64 0.22.5-2 [1532 kB] Get: 27 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 googletest all 1.15.2-1 [514 kB] Get: 31 http://deb.debian.org/debian trixie/main arm64 libgtest-dev arm64 1.15.2-1 [245 kB] Get: 32 http://deb.debian.org/debian trixie/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg1-8 [20.0 kB] Get: 33 http://deb.debian.org/debian trixie/main arm64 libsasl2-2 arm64 2.1.28+dfsg1-8 [55.4 kB] Get: 34 http://deb.debian.org/debian trixie/main arm64 libldap-2.5-0 arm64 2.5.18+dfsg-3 [174 kB] Get: 35 http://deb.debian.org/debian trixie/main arm64 libtspi1 arm64 0.3.15-0.4 [153 kB] Get: 36 http://deb.debian.org/debian trixie/main arm64 libopencryptoki0 arm64 3.23.0+dfsg-0.3 [566 kB] Get: 37 http://deb.debian.org/debian trixie/main arm64 libopencryptoki-dev arm64 3.23.0+dfsg-0.3 [33.3 kB] Get: 38 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-1 [3185 kB] Get: 39 http://deb.debian.org/debian trixie/main arm64 libtspi-dev arm64 0.3.15-0.4 [631 kB] Fetched 25.0 MB in 0s (90.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19900 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_arm64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_arm64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_arm64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_arm64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-8_arm64.deb ... Unpacking bsdextrautils (2.40.2-8) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_arm64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... 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.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.191-2_arm64.deb ... Unpacking libelf1t64:arm64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../23-libicu72_72.1-5_arm64.deb ... Unpacking libicu72:arm64 (72.1-5) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_arm64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package googletest. Preparing to unpack .../29-googletest_1.15.2-1_all.deb ... Unpacking googletest (1.15.2-1) ... Selecting previously unselected package libgtest-dev:arm64. Preparing to unpack .../30-libgtest-dev_1.15.2-1_arm64.deb ... Unpacking libgtest-dev:arm64 (1.15.2-1) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../31-libsasl2-modules-db_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../32-libsasl2-2_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:arm64. Preparing to unpack .../33-libldap-2.5-0_2.5.18+dfsg-3_arm64.deb ... Unpacking libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Selecting previously unselected package libtspi1. Preparing to unpack .../34-libtspi1_0.3.15-0.4_arm64.deb ... Unpacking libtspi1 (0.3.15-0.4) ... Selecting previously unselected package libopencryptoki0:arm64. Preparing to unpack .../35-libopencryptoki0_3.23.0+dfsg-0.3_arm64.deb ... Unpacking libopencryptoki0:arm64 (3.23.0+dfsg-0.3) ... Selecting previously unselected package libopencryptoki-dev:arm64. Preparing to unpack .../36-libopencryptoki-dev_3.23.0+dfsg-0.3_arm64.deb ... Unpacking libopencryptoki-dev:arm64 (3.23.0+dfsg-0.3) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../37-libssl-dev_3.3.2-1_arm64.deb ... Unpacking libssl-dev:arm64 (3.3.2-1) ... Selecting previously unselected package libtspi-dev. Preparing to unpack .../38-libtspi-dev_0.3.15-0.4_arm64.deb ... Unpacking libtspi-dev (0.3.15-0.4) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up libtspi1 (0.3.15-0.4) ... Setting up libicu72:arm64 (72.1-5) ... Setting up bsdextrautils (2.40.2-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:arm64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up googletest (1.15.2-1) ... Setting up libelf1t64:arm64 (0.191-2) ... Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:arm64 (3.3.2-1) ... Setting up autopoint (0.22.5-2) ... Setting up libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:arm64 (0.0.8-1+b1) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.1) ... 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 libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libgtest-dev:arm64 (1.15.2-1) ... Setting up libtool (2.4.7-7) ... Setting up libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libtspi-dev (0.3.15-0.4) ... Setting up libopencryptoki0:arm64 (3.23.0+dfsg-0.3) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libopencryptoki-dev:arm64 (3.23.0+dfsg-0.3) ... Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/simple-tpm-pk11-0.06/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../simple-tpm-pk11_0.06-5_source.changes dpkg-buildpackage: info: source package simple-tpm-pk11 dpkg-buildpackage: info: source version 0.06-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bastian Germann dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config debian/rules override_dh_autoreconf make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' 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 '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_configure ./configure --build=aarch64-linux-gnu --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/aarch64-linux-gnu --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... /usr/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... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu 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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu 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... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 C++ Compiler...: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wdate-time -D_FORTIFY_SOURCE=2 Linker.........: /usr/bin/ld -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi dh_auto_build make -j12 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make all-recursive make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making all in doc make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/sign.o src/sign.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/exfiltrate.o src/exfiltrate.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/common.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-common.o src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/aarch64-linux-gnu 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/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/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/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -mbranch-protection=standard -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 '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_test make -j12 check "TESTSUITEFLAGS=-j12 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making check in doc make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make stpm-keygen_test stpm-sign_test common_test pk11_test stpm-verify_test make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_keygen_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_keygen_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_sign_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-session.o `test -f 'src/session.cc' || echo './'`src/session.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 '/build/reproducible-path/simple-tpm-pk11-0.06' make check-TESTS make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' PASS: common_test PASS: stpm-verify_test PASS: stpm-sign_test PASS: pk11_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 '/build/reproducible-path/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_install make -j1 install DESTDIR=/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11 AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making install in doc make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/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 '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man1' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' /usr/bin/install -c -m 644 simple-tpm-pk11.7 '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' make[4]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' /bin/bash ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.so.0.0.0 libtool: install: (cd /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.la libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.a /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: install: chmod 644 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: install: ranlib /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' /bin/bash ./libtool --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' libtool: install: /usr/bin/install -c stpm-keygen /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-keygen libtool: install: /usr/bin/install -c stpm-sign /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-sign libtool: install: /usr/bin/install -c stpm-exfiltrate /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate libtool: install: /usr/bin/install -c stpm-verify /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-verify make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' rm /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.la rm /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.a make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_installdocs dh_installchangelogs dh_installman dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-5_arm64.deb'. dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-5_arm64.deb'. dpkg-genbuildinfo --build=binary -O../simple-tpm-pk11_0.06-5_arm64.buildinfo dpkg-genchanges --build=binary -O../simple-tpm-pk11_0.06-5_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/831366 and its subdirectories I: Current time: Fri Sep 27 19:26:51 -12 2024 I: pbuilder-time-stamp: 1727508411 Sat Sep 28 07:26:53 UTC 2024 I: 1st build successful. Starting 2nd build on remote node codethink01-arm64.debian.net. Sat Sep 28 07:26:53 UTC 2024 I: Preparing to do remote build '2' on codethink01-arm64.debian.net. Sat Sep 28 07:26:53 UTC 2024 - checking /var/lib/jenkins/offline_nodes if codethink01-arm64.debian.net is marked as down. Sat Sep 28 07:26:53 UTC 2024 - checking via ssh if codethink01-arm64.debian.net is up. removed '/tmp/read-only-fs-test-WKYlQS' ==================================================================================== Fri Oct 31 13:49:53 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on codethink01-arm64, called using "2 simple-tpm-pk11 trixie /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23 0.06-5" as arguments. Fri Oct 31 13:49:53 UTC 2025 - actually running "reproducible_build.sh" (md5sum 79f74068471242981be9b3b00196cbfb) as "/tmp/jenkins-script-uRnd3oIe" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Fri Oct 31 13:49:53 UTC 2025 I: Downloading source for trixie/simple-tpm-pk11=0.06-5 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.4 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (dsc) [1817 B] Get:2 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (tar) [29.0 kB] Get:3 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (diff) [5548 B] Fetched 36.4 kB in 0s (2306 kB/s) Download complete and in download only mode 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.4 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (dsc) [1817 B] Get:2 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (tar) [29.0 kB] Get:3 http://deb.debian.org/debian trixie/main simple-tpm-pk11 0.06-5 (diff) [5548 B] Fetched 36.4 kB in 0s (2306 kB/s) Download complete and in download only mode ============================================================================= Re-Building simple-tpm-pk11 in trixie on arm64 on codethink01-arm64 now. Date: Fri Oct 31 13:49:53 GMT 2025 Date UTC: Fri Oct 31 13:49:53 UTC 2025 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23 + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/pbuilderrc_DAoh + case ${ARCH} in + case $ARCH in + locale=nl_BE + language=nl + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' simple-tpm-pk11 = debian-installer -o simple-tpm-pk11 = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' simple-tpm-pk11 = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/pbuilderrc_DAoh --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b2 --logfile b2/build.log simple-tpm-pk11_0.06-5.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Sat Nov 1 03:49:53 +14 2025 I: pbuilder-time-stamp: 1761918593 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [simple-tpm-pk11_0.06-5.dsc] I: copying [./simple-tpm-pk11_0.06.orig.tar.gz] I: copying [./simple-tpm-pk11_0.06-5.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Aug 18 06:49:02 2023 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./simple-tpm-pk11_0.06-5.dsc: no acceptable signature found dpkg-source: info: extracting simple-tpm-pk11 in simple-tpm-pk11-0.06 dpkg-source: info: unpacking simple-tpm-pk11_0.06.orig.tar.gz dpkg-source: info: unpacking simple-tpm-pk11_0.06-5.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 I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D01_modify_environment starting debug: Running on codethink01-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Oct 31 13:50 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") BASH_VERSION='5.2.32(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=arm64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=aarch64 HOST_ARCH=arm64 IFS=' ' INVOCATION_ID=451cd458a00b496da81d2fc44a18d563 LANG=C LANGUAGE=nl_BE:nl LC_ALL=C MACHTYPE=aarch64-unknown-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=4084626 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/pbuilderrc_DAoh --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b2 --logfile b2/build.log simple-tpm-pk11_0.06-5.dsc' SUDO_GID=109 SUDO_UID=104 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://192.168.101.4:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), libgtest-dev, libopencryptoki-dev, libssl-dev, libtspi-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19895 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libgtest-dev; however: Package libgtest-dev is not installed. pbuilder-satisfydepends-dummy depends on libopencryptoki-dev; however: Package libopencryptoki-dev is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. pbuilder-satisfydepends-dummy depends on libtspi-dev; however: Package libtspi-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} googletest{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libgtest-dev{a} libicu72{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1t64{a} libopencryptoki-dev{a} libopencryptoki0{a} libpipeline1{a} libsasl2-2{a} libsasl2-modules-db{a} libssl-dev{a} libtool{a} libtspi-dev{a} libtspi1{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libldap-common libltdl-dev libmail-sendmail-perl libsasl2-modules lynx wget 0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded. Need to get 25.0 MB of archives. After unpacking 105 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main arm64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main arm64 libmagic-mgc arm64 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main arm64 libmagic1t64 arm64 1:5.45-3 [100 kB] Get: 4 http://deb.debian.org/debian trixie/main arm64 file arm64 1:5.45-3 [43.0 kB] Get: 5 http://deb.debian.org/debian trixie/main arm64 gettext-base arm64 0.22.5-2 [198 kB] Get: 6 http://deb.debian.org/debian trixie/main arm64 libuchardet0 arm64 0.0.8-1+b1 [69.0 kB] Get: 7 http://deb.debian.org/debian trixie/main arm64 groff-base arm64 1.23.0-5 [1129 kB] Get: 8 http://deb.debian.org/debian trixie/main arm64 bsdextrautils arm64 2.40.2-8 [96.6 kB] Get: 9 http://deb.debian.org/debian trixie/main arm64 libpipeline1 arm64 1.5.8-1 [40.2 kB] Get: 10 http://deb.debian.org/debian trixie/main arm64 man-db arm64 2.13.0-1 [1404 kB] Get: 11 http://deb.debian.org/debian trixie/main arm64 m4 arm64 1.4.19-4 [277 kB] Get: 12 http://deb.debian.org/debian trixie/main arm64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main arm64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main arm64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main arm64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main arm64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main arm64 libelf1t64 arm64 0.191-2 [188 kB] Get: 23 http://deb.debian.org/debian trixie/main arm64 dwz arm64 0.15-1+b1 [102 kB] Get: 24 http://deb.debian.org/debian trixie/main arm64 libicu72 arm64 72.1-5 [9224 kB] Get: 25 http://deb.debian.org/debian trixie/main arm64 libxml2 arm64 2.12.7+dfsg+really2.9.14-0.1 [630 kB] Get: 26 http://deb.debian.org/debian trixie/main arm64 gettext arm64 0.22.5-2 [1532 kB] Get: 27 http://deb.debian.org/debian trixie/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main arm64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian trixie/main arm64 googletest all 1.15.2-1 [514 kB] Get: 31 http://deb.debian.org/debian trixie/main arm64 libgtest-dev arm64 1.15.2-1 [245 kB] Get: 32 http://deb.debian.org/debian trixie/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg1-8 [20.0 kB] Get: 33 http://deb.debian.org/debian trixie/main arm64 libsasl2-2 arm64 2.1.28+dfsg1-8 [55.4 kB] Get: 34 http://deb.debian.org/debian trixie/main arm64 libldap-2.5-0 arm64 2.5.18+dfsg-3 [174 kB] Get: 35 http://deb.debian.org/debian trixie/main arm64 libtspi1 arm64 0.3.15-0.4 [153 kB] Get: 36 http://deb.debian.org/debian trixie/main arm64 libopencryptoki0 arm64 3.23.0+dfsg-0.3 [566 kB] Get: 37 http://deb.debian.org/debian trixie/main arm64 libopencryptoki-dev arm64 3.23.0+dfsg-0.3 [33.3 kB] Get: 38 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-1 [3185 kB] Get: 39 http://deb.debian.org/debian trixie/main arm64 libtspi-dev arm64 0.3.15-0.4 [631 kB] Fetched 25.0 MB in 0s (132 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19895 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_arm64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:arm64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_arm64.deb ... Unpacking libmagic1t64:arm64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_arm64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_arm64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_arm64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-8_arm64.deb ... Unpacking bsdextrautils (2.40.2-8) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.8-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_arm64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_arm64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... 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.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:arm64. Preparing to unpack .../21-libelf1t64_0.191-2_arm64.deb ... Unpacking libelf1t64:arm64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_arm64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../23-libicu72_72.1-5_arm64.deb ... Unpacking libicu72:arm64 (72.1-5) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_arm64.deb ... Unpacking libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_arm64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package googletest. Preparing to unpack .../29-googletest_1.15.2-1_all.deb ... Unpacking googletest (1.15.2-1) ... Selecting previously unselected package libgtest-dev:arm64. Preparing to unpack .../30-libgtest-dev_1.15.2-1_arm64.deb ... Unpacking libgtest-dev:arm64 (1.15.2-1) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../31-libsasl2-modules-db_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../32-libsasl2-2_2.1.28+dfsg1-8_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:arm64. Preparing to unpack .../33-libldap-2.5-0_2.5.18+dfsg-3_arm64.deb ... Unpacking libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Selecting previously unselected package libtspi1. Preparing to unpack .../34-libtspi1_0.3.15-0.4_arm64.deb ... Unpacking libtspi1 (0.3.15-0.4) ... Selecting previously unselected package libopencryptoki0:arm64. Preparing to unpack .../35-libopencryptoki0_3.23.0+dfsg-0.3_arm64.deb ... Unpacking libopencryptoki0:arm64 (3.23.0+dfsg-0.3) ... Selecting previously unselected package libopencryptoki-dev:arm64. Preparing to unpack .../36-libopencryptoki-dev_3.23.0+dfsg-0.3_arm64.deb ... Unpacking libopencryptoki-dev:arm64 (3.23.0+dfsg-0.3) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../37-libssl-dev_3.3.2-1_arm64.deb ... Unpacking libssl-dev:arm64 (3.3.2-1) ... Selecting previously unselected package libtspi-dev. Preparing to unpack .../38-libtspi-dev_0.3.15-0.4_arm64.deb ... Unpacking libtspi-dev (0.3.15-0.4) ... Setting up libpipeline1:arm64 (1.5.8-1) ... Setting up libtspi1 (0.3.15-0.4) ... Setting up libicu72:arm64 (72.1-5) ... Setting up bsdextrautils (2.40.2-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:arm64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up googletest (1.15.2-1) ... Setting up libelf1t64:arm64 (0.191-2) ... Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg1-8) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:arm64 (3.3.2-1) ... Setting up autopoint (0.22.5-2) ... Setting up libsasl2-2:arm64 (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:arm64 (0.0.8-1+b1) ... Setting up libxml2:arm64 (2.12.7+dfsg+really2.9.14-0.1) ... 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 libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libgtest-dev:arm64 (1.15.2-1) ... Setting up libtool (2.4.7-7) ... Setting up libldap-2.5-0:arm64 (2.5.18+dfsg-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libtspi-dev (0.3.15-0.4) ... Setting up libopencryptoki0:arm64 (3.23.0+dfsg-0.3) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libopencryptoki-dev:arm64 (3.23.0+dfsg-0.3) ... Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/simple-tpm-pk11-0.06/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../simple-tpm-pk11_0.06-5_source.changes dpkg-buildpackage: info: source package simple-tpm-pk11 dpkg-buildpackage: info: source version 0.06-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bastian Germann dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config debian/rules override_dh_autoreconf make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' 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 '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_configure ./configure --build=aarch64-linux-gnu --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/aarch64-linux-gnu --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... /usr/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... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu 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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu 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... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 C++ Compiler...: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wdate-time -D_FORTIFY_SOURCE=2 Linker.........: /usr/bin/ld -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi dh_auto_build make -j12 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make all-recursive make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making all in doc make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/sign.o src/sign.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/exfiltrate.o src/exfiltrate.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/verify.o src/verify.cc /bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-pk11.lo `test -f 'src/pk11.cc' || echo './'`src/pk11.cc /bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.cc /bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc /bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/pk11.cc -o src/libsimple_tpm_pk11_la-pk11.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi /bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o -lcrypto -ltspi /bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/aarch64-linux-gnu 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/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/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/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -mbranch-protection=standard -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 '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_test make -j12 check "TESTSUITEFLAGS=-j12 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making check in doc make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make stpm-keygen_test stpm-sign_test common_test pk11_test stpm-verify_test make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_keygen_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_keygen_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_sign_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 812 | std::vector d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-pk11_test.o `test -f 'src/pk11_test.cc' || echo './'`src/pk11_test.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-pk11.o `test -f 'src/pk11.cc' || echo './'`src/pk11.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | 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 RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | 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(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | 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(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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)) { | ~~~~~ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | 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 d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | 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(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; | ^~~ 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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': src/common.cc:378:11: required from here 378 | RSAWrap rsa; | ^~~ 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' /bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 '/build/reproducible-path/simple-tpm-pk11-0.06' make check-TESTS make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' PASS: stpm-verify_test PASS: pk11_test PASS: common_test PASS: stpm-sign_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 '/build/reproducible-path/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_install make -j1 install DESTDIR=/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11 AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making install in doc make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/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 '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man1' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' /usr/bin/install -c -m 644 simple-tpm-pk11.7 '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' make[4]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' /bin/sh ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.so.0.0.0 libtool: install: (cd /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.la libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.a /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: install: chmod 644 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: install: ranlib /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' libtool: install: /usr/bin/install -c stpm-keygen /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-keygen libtool: install: /usr/bin/install -c stpm-sign /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-sign libtool: install: /usr/bin/install -c stpm-exfiltrate /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate libtool: install: /usr/bin/install -c stpm-verify /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-verify make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' rm /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.la rm /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.a make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_installdocs dh_installchangelogs dh_installman dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-aarch64.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-aarch64.so.1.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-5_arm64.deb'. dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-5_arm64.deb'. dpkg-genbuildinfo --build=binary -O../simple-tpm-pk11_0.06-5_arm64.buildinfo dpkg-genchanges --build=binary -O../simple-tpm-pk11_0.06-5_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/4084626 and its subdirectories I: Current time: Sat Nov 1 03:51:08 +14 2025 I: pbuilder-time-stamp: 1761918668 + false + set +x Fri Oct 31 13:51:08 UTC 2025 I: Signing ./b2/simple-tpm-pk11_0.06-5_arm64.buildinfo as simple-tpm-pk11_0.06-5_arm64.buildinfo.asc Fri Oct 31 13:51:08 UTC 2025 I: Signed ./b2/simple-tpm-pk11_0.06-5_arm64.buildinfo as ./b2/simple-tpm-pk11_0.06-5_arm64.buildinfo.asc Fri Oct 31 13:51:08 UTC 2025 - build #2 for simple-tpm-pk11/trixie/arm64 on codethink01-arm64 done. Starting cleanup. All cleanup done. Fri Oct 31 13:51:08 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-uRnd3oIe, removing. /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23: total 120 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 07:26 b1 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 07:28 b2 -rw------- 1 jenkins jenkins 104644 Sep 28 07:26 rbuildlog.SWluWE5 -rw-r--r-- 1 jenkins jenkins 1817 Aug 18 2023 simple-tpm-pk11_0.06-5.dsc /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b1: total 1920 -rw-r--r-- 1 jenkins jenkins 101370 Sep 28 07:26 build.log -rw-r--r-- 1 jenkins jenkins 1728188 Sep 28 07:26 simple-tpm-pk11-dbgsym_0.06-5_arm64.deb -rw-r--r-- 1 jenkins jenkins 5548 Sep 28 07:26 simple-tpm-pk11_0.06-5.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1817 Sep 28 07:26 simple-tpm-pk11_0.06-5.dsc -rw-r--r-- 1 jenkins jenkins 5433 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 6315 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1457 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.changes -rw-r--r-- 1 jenkins jenkins 84404 Sep 28 07:26 simple-tpm-pk11_0.06-5_arm64.deb -rw-r--r-- 1 jenkins jenkins 1281 Sep 28 07:26 simple-tpm-pk11_0.06-5_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b2: total 1912 -rw-r--r-- 1 jenkins jenkins 103284 Sep 28 07:28 build.log -rw-r--r-- 1 jenkins jenkins 1728188 Sep 28 07:28 simple-tpm-pk11-dbgsym_0.06-5_arm64.deb -rw-r--r-- 1 jenkins jenkins 5548 Sep 28 07:28 simple-tpm-pk11_0.06-5.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1817 Sep 28 07:28 simple-tpm-pk11_0.06-5.dsc -rw-r--r-- 1 jenkins jenkins 5433 Sep 28 07:28 simple-tpm-pk11_0.06-5_arm64.buildinfo -rw-r--r-- 1 jenkins jenkins 6315 Sep 28 07:28 simple-tpm-pk11_0.06-5_arm64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1457 Sep 28 07:28 simple-tpm-pk11_0.06-5_arm64.changes -rw-r--r-- 1 jenkins jenkins 84404 Sep 28 07:28 simple-tpm-pk11_0.06-5_arm64.deb -rw-r--r-- 1 jenkins jenkins 1281 Sep 28 07:28 simple-tpm-pk11_0.06-5_source.changes Sat Sep 28 07:28:11 UTC 2024 I: Deleting $TMPDIR on codethink01-arm64.debian.net. Sat Sep 28 07:28:12 UTC 2024 I: simple-tpm-pk11_0.06-5_arm64.changes: Format: 1.8 Date: Thu, 17 Aug 2023 22:01:48 +0000 Source: simple-tpm-pk11 Binary: simple-tpm-pk11 simple-tpm-pk11-dbgsym Architecture: arm64 Version: 0.06-5 Distribution: unstable Urgency: medium Maintainer: Debian QA Group Changed-By: Bastian Germann Description: simple-tpm-pk11 - simple library for using the TPM chip to secure SSH keys Closes: 1041137 Changes: simple-tpm-pk11 (0.06-5) unstable; urgency=medium . * QA upload. * Override configure's -std with gtest compatible one. (Closes: #1041137) Checksums-Sha1: 4e5e7b00be5c56deb7438a3a3d51ee95230863d0 1728188 simple-tpm-pk11-dbgsym_0.06-5_arm64.deb f5fd54fea5171c3efc3d6f95747e932fb55114f6 5433 simple-tpm-pk11_0.06-5_arm64.buildinfo 804a3686b4973d23e7a3239b55e116d35b4adf06 84404 simple-tpm-pk11_0.06-5_arm64.deb Checksums-Sha256: 035897cf0c780212bf8cad3d38c6e9d8cccb1748a419dd24a838706ec03a8cf1 1728188 simple-tpm-pk11-dbgsym_0.06-5_arm64.deb 25f593c5164c75dc6f1afc6cda81d5ed38cee89d94669dbee8fffc1a89918e51 5433 simple-tpm-pk11_0.06-5_arm64.buildinfo b1d7782290cf5a94719e044476d84a5d4f5777d7f3ab5af97476284e550a5ec4 84404 simple-tpm-pk11_0.06-5_arm64.deb Files: e7113b7edd31170d300582c76763e6a2 1728188 debug optional simple-tpm-pk11-dbgsym_0.06-5_arm64.deb 1fb98a91f5038545db7d7e04ea07866e 5433 net optional simple-tpm-pk11_0.06-5_arm64.buildinfo e69bb7bedc8e1936ef8fb9b357a6a85c 84404 net optional simple-tpm-pk11_0.06-5_arm64.deb removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/simple-tpm-pk11_0.06-5.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/simple-tpm-pk11_0.06-5.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/arm64/simple-tpm-pk11_0.06-5.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/arm64/simple-tpm-pk11_0.06-5.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/trixie/arm64/simple-tpm-pk11_0.06-5_arm64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/arm64/simple-tpm-pk11_0.06-5.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2024-09-28 07:26:52.770255545 +0000 +++ b2/build.log 2024-09-28 07:28:11.494899214 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Sep 27 19:25:39 -12 2024 -I: pbuilder-time-stamp: 1727508339 +I: Current time: Sat Nov 1 03:49:53 +14 2025 +I: pbuilder-time-stamp: 1761918593 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -33,52 +33,84 @@ dpkg-source: info: applying 0006-Answer-CKA_LABEL-attribute-request-with-dummy-value.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/831366/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 31 13:50 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e138066e40d942d5a2e9c58ca340be68' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='831366' - PS1='# ' - PS2='> ' + INVOCATION_ID=451cd458a00b496da81d2fc44a18d563 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4084626 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/pbuilderrc_sHUy --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b1 --logfile b1/build.log simple-tpm-pk11_0.06-5.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/pbuilderrc_DAoh --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b2 --logfile b2/build.log simple-tpm-pk11_0.06-5.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/831366/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -91,7 +123,7 @@ Depends: debhelper-compat (= 13), libgtest-dev, libopencryptoki-dev, libssl-dev, libtspi-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19900 files and directories currently installed.) +(Reading database ... 19895 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -161,10 +193,10 @@ Get: 37 http://deb.debian.org/debian trixie/main arm64 libopencryptoki-dev arm64 3.23.0+dfsg-0.3 [33.3 kB] Get: 38 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.2-1 [3185 kB] Get: 39 http://deb.debian.org/debian trixie/main arm64 libtspi-dev arm64 0.3.15-0.4 [631 kB] -Fetched 25.0 MB in 0s (90.3 MB/s) +Fetched 25.0 MB in 0s (132 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. -(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19900 files and directories currently installed.) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19895 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. @@ -332,7 +364,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/simple-tpm-pk11-0.06/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../simple-tpm-pk11_0.06-5_source.changes +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/simple-tpm-pk11-0.06/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../simple-tpm-pk11_0.06-5_source.changes dpkg-buildpackage: info: source package simple-tpm-pk11 dpkg-buildpackage: info: source version 0.06-5 dpkg-buildpackage: info: source distribution unstable @@ -512,14 +548,14 @@ g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/sign.o src/sign.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/exfiltrate.o src/exfiltrate.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o +/bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-pk11.lo `test -f 'src/pk11.cc' || echo './'`src/pk11.cc +/bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.cc +/bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc +/bin/sh ./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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -552,6 +588,7 @@ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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), @@ -662,7 +699,6 @@ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ -libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; @@ -679,18 +715,18 @@ 137 | throw; | ^~~~~ 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1 -libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1 +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 -libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/aarch64-linux-gnu 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++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1 +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/aarch64-linux-gnu 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/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/14/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/aarch64-linux-gnu/14 -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/14/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/aarch64-linux-gnu/14/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -mbranch-protection=standard -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") @@ -741,19 +777,6 @@ 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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -In file included from src/common.cc:37: -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | 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 RSAWrap; - | ^ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ @@ -770,25 +793,6 @@ 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc -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)) { - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:271:27: note: declared here - 271 | 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(&m), const_cast(&e), NULL); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | 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(&p), NULL); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:231:28: note: declared here - 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, - | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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), @@ -798,6 +802,7 @@ /usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc:812:40: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 812 | std::vector d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ @@ -820,6 +825,56 @@ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/common_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc +src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': +src/common.cc:296:14: required from here + 296 | BIGNUMWrap ret; + | ^~~ +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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': +src/common.cc:378:11: required from here + 378 | RSAWrap rsa; + | ^~~ +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' +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-pk11_test.o `test -f 'src/pk11_test.cc' || echo './'`src/pk11_test.cc +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +In file included from src/common.cc:37: +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | 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 RSAWrap; + | ^ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | 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)) { + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:271:27: note: declared here + 271 | 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(&m), const_cast(&e), NULL); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | 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(&p), NULL); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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), @@ -851,6 +906,19 @@ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +In file included from src/common.cc:37: +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | 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 RSAWrap; + | ^ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here 296 | BIGNUMWrap ret; @@ -867,35 +935,6 @@ 137 | throw; | ^~~~~ src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': -src/common.cc:296:14: required from here - 296 | BIGNUMWrap ret; - | ^~~ -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::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': -src/common.cc:378:11: required from here - 378 | RSAWrap rsa; - | ^~~ -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:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -In file included from src/common.cc:37: -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | 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 RSAWrap; - | ^ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | 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)) { @@ -915,7 +954,7 @@ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-pk11.o `test -f 'src/pk11.cc' || echo './'`src/pk11.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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), @@ -963,11 +1002,9 @@ 137 | throw; | ^~~~~ 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -1000,6 +1037,7 @@ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/pk11_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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), @@ -1047,14 +1085,13 @@ 137 | throw; | ^~~~~ 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -1087,7 +1124,6 @@ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | 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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::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), @@ -1135,24 +1171,24 @@ 137 | throw; | ^~~~~ src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -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 '/build/reproducible-path/simple-tpm-pk11-0.06' make check-TESTS make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' -PASS: common_test PASS: stpm-verify_test -PASS: stpm-sign_test PASS: pk11_test +PASS: common_test +PASS: stpm-sign_test PASS: stpm-keygen_test ============================================================================ Testsuite summary for simple-tpm-pk11 0.06 @@ -1189,7 +1225,7 @@ make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' - /bin/bash ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' + /bin/sh ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.so.0.0.0 libtool: install: (cd /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu && { 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; }; }) @@ -1199,7 +1235,7 @@ libtool: install: ranlib /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/aarch64-linux-gnu/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' - /bin/bash ./libtool --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' + /bin/sh ./libtool --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' libtool: install: /usr/bin/install -c stpm-keygen /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-keygen libtool: install: /usr/bin/install -c stpm-sign /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-sign libtool: install: /usr/bin/install -c stpm-exfiltrate /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate @@ -1242,12 +1278,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4084626/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/831366 and its subdirectories -I: Current time: Fri Sep 27 19:26:51 -12 2024 -I: pbuilder-time-stamp: 1727508411 +I: removing directory /srv/workspace/pbuilder/4084626 and its subdirectories +I: Current time: Sat Nov 1 03:51:08 +14 2025 +I: pbuilder-time-stamp: 1761918668 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/arm64/simple-tpm-pk11_0.06-5.diff: 88.9% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/arm64/simple-tpm-pk11_0.06-5.diff.gz b2/build.log: 88.3% -- replaced with stdout Compressing the 1st log... b1/build.log: 88.8% -- replaced with stdout Sat Sep 28 07:28:13 UTC 2024 I: diffoscope 278 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_simple-tpm-pk11_trixie_arm64_1727508493 + touch /var/log/reproducible-builds/diffoscope_stamp_simple-tpm-pk11_trixie_arm64_1727508493 + RESULT=0 + systemd-run '--description=diffoscope on simple-tpm-pk11/0.06-5 in trixie/arm64' --slice=rb-build-diffoscope.slice -u rb-diffoscope-arm64_4-37613 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23 --run-session -c jenkins-reproducible-trixie-diffoscope-8cbf2885-b53c-4bac-abd4-53ed9ad5a7df -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/dbd-tmp-MmCaex3 ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/simple-tpm-pk11_0.06-5.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/simple-tpm-pk11_0.06-5.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/simple-tpm-pk11_0.06-5.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b1/simple-tpm-pk11_0.06-5_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b2/simple-tpm-pk11_0.06-5_arm64.changes' + false + set +x Running as unit: rb-diffoscope-arm64_4-37613.service Warning: program compiled against libxml 212 using older 209 # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/simple-tpm-pk11_0.06-5.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/simple-tpm-pk11_0.06-5.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/simple-tpm-pk11_0.06-5.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b1/simple-tpm-pk11_0.06-5_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.KC4fhi23/b2/simple-tpm-pk11_0.06-5_arm64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.443s) 0.443s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.039s) 0.039s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 808ms CPU time consumed: 809ms _ _ _ _ _ _ ___(_)_ __ ___ _ __ | | ___ | |_ _ __ _ __ ___ _ __ | | _/ / | / __| | '_ ` _ \| '_ \| |/ _ \_____| __| '_ \| '_ ` _ \ _____| '_ \| |/ / | | \__ \ | | | | | | |_) | | __/_____| |_| |_) | | | | | |_____| |_) | <| | | |___/_|_| |_| |_| .__/|_|\___| \__| .__/|_| |_| |_| | .__/|_|\_\_|_| |_| |_| |_| Sat Sep 28 07:28:16 UTC 2024 I: diffoscope 278 found no differences in the changes files, and a .buildinfo file also exists. Sat Sep 28 07:28:16 UTC 2024 I: simple-tpm-pk11 from trixie built successfully and reproducibly on arm64. INSERT 0 1 INSERT 0 1 DELETE 1 [2024-09-28 07:28:16] INFO: Starting at 2024-09-28 07:28:16.707426 [2024-09-28 07:28:16] INFO: Generating the pages of 1 package(s) [2024-09-28 07:28:17] CRITICAL: https://tests.reproducible-builds.org/debian/trixie/arm64/simple-tpm-pk11 didn't produce a buildlog, even though it has been built. [2024-09-28 07:28:17] INFO: Finished at 2024-09-28 07:28:17.477677, took: 0:00:00.770258 Sat Sep 28 07:28:17 UTC 2024 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/trixie/arm64/simple-tpm-pk11.html Sat Sep 28 07:28:17 UTC 2024 I: Submitting .buildinfo files to external archives: Sat Sep 28 07:28:17 UTC 2024 I: Submitting 8.0K b1/simple-tpm-pk11_0.06-5_arm64.buildinfo.asc https://buildinfo.debian.net/f5fd54fea5171c3efc3d6f95747e932fb55114f6/simple-tpm-pk11_0.06-5_arm64 Sat Sep 28 07:28:18 UTC 2024 I: Submitting 8.0K b2/simple-tpm-pk11_0.06-5_arm64.buildinfo.asc https://buildinfo.debian.net/9f077cc96feb06c1899f2defbd0971015d9f8d0f/simple-tpm-pk11_0.06-5_arm64 Sat Sep 28 07:28:19 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sat Sep 28 07:28:19 UTC 2024 I: Done submitting .buildinfo files. Sat Sep 28 07:28:19 UTC 2024 I: Removing signed simple-tpm-pk11_0.06-5_arm64.buildinfo.asc files: removed './b1/simple-tpm-pk11_0.06-5_arm64.buildinfo.asc' removed './b2/simple-tpm-pk11_0.06-5_arm64.buildinfo.asc' 1727508499 arm64 trixie simple-tpm-pk11 Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/simple-tpm-pk11_0.06-5.rbuild.log: 86.9% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/arm64/simple-tpm-pk11_0.06-5.rbuild.log.gz [2024-09-28 07:28:19] INFO: Starting at 2024-09-28 07:28:19.442201 [2024-09-28 07:28:19] INFO: Generating the pages of 1 package(s) [2024-09-28 07:28:20] INFO: Finished at 2024-09-28 07:28:20.180598, took: 0:00:00.738407 All cleanup done. Sat Sep 28 07:28:20 UTC 2024 - total duration: 0h 3m 3s. Sat Sep 28 07:28:20 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-m3nD48By, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 3min 6.613s CPU time consumed: 9.142s