Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/s/simple-tpm-pk11/simple-tpm-pk11_0.06-4+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/simple-tpm-pk11-0.06-4+b18_ynp_83/simple-tpm-pk11_0.06-4+b1_amd64.buildinfo Get source package info: simple-tpm-pk11=0.06-4 Source URL: http://snapshot.notset.fr/mr/package/simple-tpm-pk11/0.06-4/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.3 autopoint=0.21-6 autotools-dev=20220109.1 base-files=12.2 base-passwd=3.5.52 bash=5.1-6+b1 binutils=2.38-4 binutils-common=2.38-4 binutils-x86-64-linux-gnu=2.38-4 bsdextrautils=2.38-4 bsdutils=1:2.38-4 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.3.0-1 dash=0.5.11+git20210903+057cd650a4ed-8 debconf=1.5.79 debhelper=13.7.1 debianutils=5.7-0.2 dh-autoreconf=20 dh-strip-nondeterminism=1.13.0-1 diffutils=1:3.7-5 dpkg=1.21.7 dpkg-dev=1.21.7 dwz=0.14-1 file=1:5.41-4 findutils=4.9.0-3 g++=4:11.2.0-2 g++-11=11.3.0-1 gcc=4:11.2.0-2 gcc-11=11.3.0-1 gcc-11-base=11.3.0-1 gcc-12-base=12.1.0-1 gettext=0.21-6 gettext-base=0.21-6 googletest=1.11.0-3 grep=3.7-1 groff-base=1.22.4-8 gzip=1.12-1 hostname=3.23 init-system-helpers=1.62 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.3.0-1 libatomic1=12.1.0-1 libattr1=1:2.5.1-1 libaudit-common=1:3.0.7-1 libaudit1=1:3.0.7-1+b1 libbinutils=2.38-4 libblkid1=2.38-4 libbz2-1.0=1.0.8-5 libc-bin=2.33-7 libc-dev-bin=2.33-7 libc6=2.33-7 libc6-dev=2.33-7 libcap-ng0=0.7.9-2.2+b2 libcap2=1:2.44-1 libcc1-0=12.1.0-1 libcom-err2=1.46.5-2 libcrypt-dev=1:4.4.27-1.1 libcrypt1=1:4.4.27-1.1 libctf-nobfd0=2.38-4 libctf0=2.38-4 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.262 libdebhelper-perl=13.7.1 libdpkg-perl=1.21.7 libelf1=0.187-1 libffi8=3.4.2-4 libfile-stripnondeterminism-perl=1.13.0-1 libgcc-11-dev=11.3.0-1 libgcc-s1=12.1.0-1 libgcrypt20=1.10.1-2 libgdbm-compat4=1.23-1 libgdbm6=1.23-1 libgmp10=2:6.2.1+dfsg-3 libgnutls30=3.7.4-2 libgomp1=12.1.0-1 libgpg-error0=1.45-2 libgssapi-krb5-2=1.19.2-2+b1 libgtest-dev=1.11.0-3 libhogweed6=3.7.3-1 libicu71=71.1-3 libidn2-0=2.3.2-2 libisl23=0.24-2 libitm1=12.1.0-1 libk5crypto3=1.19.2-2+b1 libkeyutils1=1.6.1-3 libkrb5-3=1.19.2-2+b1 libkrb5support0=1.19.2-2+b1 libldap-2.5-0=2.5.12+dfsg-1 liblsan0=12.1.0-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2.1 libmagic-mgc=1:5.41-4 libmagic1=1:5.41-4 libmount1=2.38-4 libmpc3=1.2.1-2 libmpfr6=4.1.0-3 libnettle8=3.7.3-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libopencryptoki-dev=3.8.1+dfsg-3.2+b2 libopencryptoki0=3.8.1+dfsg-3.2+b2 libp11-kit0=0.24.1-1 libpam-modules=1.4.0-13 libpam-modules-bin=1.4.0-13 libpam-runtime=1.4.0-13 libpam0g=1.4.0-13 libpcre2-8-0=10.40-1 libpcre3=2:8.39-14 libperl5.34=5.34.0-4 libpipeline1=1.5.6-1 libquadmath0=12.1.0-1 libsasl2-2=2.1.28+dfsg-5 libsasl2-modules-db=2.1.28+dfsg-5 libseccomp2=2.5.4-1 libselinux1=3.3-1+b2 libsigsegv2=2.14-1 libsmartcols1=2.38-4 libssl-dev=3.0.3-3 libssl1.1=1.1.1o-1 libssl3=3.0.3-3 libstdc++-11-dev=11.3.0-1 libstdc++6=12.1.0-1 libsub-override-perl=0.09-2 libsystemd0=250.4-1 libtasn1-6=4.18.0-4 libtinfo6=6.3+20220423-2 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.7-4 libtsan0=11.3.0-1 libtspi-dev=0.3.15-0.2+b1 libtspi1=0.3.15-0.2+b1 libubsan1=12.1.0-1 libuchardet0=0.0.7-1 libudev1=250.4-1 libunistring2=1.0-1 libuuid1=2.38-4 libxml2=2.9.14+dfsg-1 libzstd1=1.5.2+dfsg-1 linux-libc-dev=5.17.3-1 login=1:4.11.1+dfsg1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.10.2-1 mawk=1.3.4.20200120-3+b1 ncurses-base=6.3+20220423-2 ncurses-bin=6.3+20220423-2 patch=2.7.6-7 perl=5.34.0-4 perl-base=5.34.0-4 perl-modules-5.34=5.34.0-4 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.03-1 tar=1.34+dfsg-1 util-linux=2.38-4 util-linux-extra=2.38-4 xz-utils=5.2.5-2.1 zlib1g=1:1.2.11.dfsg-4 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210911T034835Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210911T034835Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220516T211705Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220511T204932Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d simple-tpm-pk11=0.06-4 && mkdir -p /build/simple-tpm-pk11-20Zr50 && dpkg-source --no-check -x /*.dsc /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06 && cd /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06 && { printf '%s' 'simple-tpm-pk11 (0.06-4+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libssl3 -- amd64 / i386 Build Daemon (x86-csail-01) Sun, 15 May 2022 10:07:56 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/simple-tpm-pk11-20Zr50" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1652609276" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/simple-tpm-pk11-20Zr50 /tmp/simple-tpm-pk11-0.06-4+b18_ynp_83 bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.cSUnOr4JsH as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.cSUnOr4JsH Reading package lists... Building dependency tree... util-linux is already the newest version (2.38-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 135 kB of archives. After this operation, 406 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable/main amd64 libfakeroot amd64 1.28-1 [48.2 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable/main amd64 fakeroot amd64 1.28-1 [87.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 135 kB in 0s (1068 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4628 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.28-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.28-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.28-1_amd64.deb ... Unpacking fakeroot (1.28-1) ... Setting up libfakeroot:amd64 (1.28-1) ... Setting up fakeroot (1.28-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-7) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210911T034835Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210911T034835Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20220516T211705Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20220511T204932Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.cSUnOr4JsH Get:1 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm InRelease [112 kB] Get:2 http://snapshot.notset.fr/archive/debian/20220516T211705Z unstable InRelease [165 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20220511T204932Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main Sources [11.6 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main amd64 Packages [11.3 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20220516T211705Z unstable/main amd64 Packages Err:6 http://snapshot.notset.fr/archive/debian/20220516T211705Z unstable/main amd64 Packages 404 Not Found [IP: 10.13.0.253 80] Ign:6 http://snapshot.notset.fr/archive/debian/20220516T211705Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20220516T211705Z unstable/main amd64 Packages [12.4 MB] Fetched 35.6 MB in 30s (1199 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.cSUnOr4JsH I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d simple-tpm-pk11=0.06-4 && mkdir -p /build/simple-tpm-pk11-20Zr50 && dpkg-source --no-check -x /*.dsc /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06 && cd /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06 && { printf '%s' 'simple-tpm-pk11 (0.06-4+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against libssl3 -- amd64 / i386 Build Daemon (x86-csail-01) Sun, 15 May 2022 10:07:56 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/simple-tpm-pk11-20Zr50"' exec /tmp/mmdebstrap.cSUnOr4JsH Reading package lists... NOTICE: 'simple-tpm-pk11' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/simple-tpm-pk11.git Please use: git clone https://salsa.debian.org/debian/simple-tpm-pk11.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 36.5 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main simple-tpm-pk11 0.06-4 (dsc) [2087 B] Get:2 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main simple-tpm-pk11 0.06-4 (tar) [29.0 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210911T034835Z bookworm/main simple-tpm-pk11 0.06-4 (diff) [5436 B] Fetched 36.5 kB in 0s (140 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'simple-tpm-pk11_0.06-4.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting simple-tpm-pk11 in /build/simple-tpm-pk11-20Zr50/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-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Fix-RSA_set0_key-usage-to-make-verify-work-with-Open.patch dpkg-source: info: applying 0002-Prevent-segfault-when-C_GetSlotList-is-invoked-with-.patch dpkg-source: info: applying 0003-Rework-key-enumeration.patch dpkg-source: info: applying 0004-Session-GetAttributeValue-respond-to-requests-for-CK.patch dpkg-source: info: applying 0005-Session-GetAttributeValue-respond-to-requests-for-CK.patch dpkg-source: info: applying 0006-Answer-CKA_LABEL-attribute-request-with-dummy-value.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1652609276" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.cSUnOr4JsH dpkg-buildpackage: info: source package simple-tpm-pk11 dpkg-buildpackage: info: source version 0.06-4+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 / i386 Build Daemon (x86-csail-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a debian/rules override_dh_autoreconf make[1]: Entering directory '/build/simple-tpm-pk11-20Zr50/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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' dh_auto_configure -a ./configure --build=x86_64-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/x86_64-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... /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... x86_64-pc-linux-gnu checking host system type... x86_64-pc-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... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-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... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for tss/tspi.h... yes checking for Tspi_GetAttribUint32 in -ltspi... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether optarg is declared... yes checking whether optind is declared... yes checking whether optreset is declared... no checking for BN_new in -lcrypto... yes checking for opencryptoki/pkcs11.h... yes checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for RSA_get0_key... yes checking for RSA_set0_key... yes checking for RSA_get0_factors... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands simple-tpm-pk11 version 0.06 Prefix.........: /usr Debug Build....: C Compiler.....: gcc -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 C++ Compiler...: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 Linker.........: /usr/bin/ld -m elf_x86_64 -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi dh_auto_build -a make -j10 make[1]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' make all-recursive make[2]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' Making all in doc make[3]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/simple-tpm-pk11-20Zr50/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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/keygen.o src/keygen.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common.o src/common.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/tspiwrap.o src/tspiwrap.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/wrap_main.o src/wrap_main.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/verify.o src/verify.cc /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-pk11.lo `test -f 'src/pk11.cc' || echo './'`src/pk11.cc /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.cc /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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/pk11.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-pk11.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tspiwrap.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/libsimple_tpm_pk11_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/common.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-common.o src/common.cc:158:23: 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:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/common.cc:158:23: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/common.cc:158:32: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/common.cc:158:32: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/common.cc:158:40: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/common.cc:158:40: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/common.cc: In function ‘stpm::SoftwareKey stpm::generate_software_key(int)’: src/common.cc:381:27: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ src/common.cc:386:15: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/common.cc:390:19: warning: ‘void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/common.cc: In function ‘std::string stpm::public_decrypt(const stpm::Key&, const string&)’: src/common.cc:806:20: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 806 | if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | NULL)) { | ~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/common.cc:812:40: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 812 | std::vector d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ src/common.cc:813:37: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 813 | const int len = RSA_public_decrypt( | ~~~~~~~~~~~~~~~~~~^ 814 | sig.size(), | ~~~~~~~~~~~ 815 | reinterpret_cast(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of ‘stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]’: src/common.cc:296:14: required from here src/common.cc:137:7: warning: ‘throw’ will always call ‘terminate’ [-Wterminate] 137 | throw; | ^~~~~ src/common.cc:137:7: note: in C++11 destructors default to ‘noexcept’ src/common.cc: In instantiation of ‘stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]’: src/common.cc:378:11: required from here src/common.cc:137:7: warning: ‘throw’ will always call ‘terminate’ [-Wterminate] src/common.cc:137:7: note: in C++11 destructors default to ‘noexcept’ libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1 src/common.cc:158:23: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/common.cc:158:23: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/common.cc:158:32: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/common.cc:158:32: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/common.cc:158:40: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/common.cc:158:40: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/common.cc: In function ‘stpm::SoftwareKey stpm::generate_software_key(int)’: src/common.cc:381:27: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ src/common.cc:386:15: warning: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/common.cc:390:19: warning: ‘void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 stpm::Key&, const string&)’: src/common.cc:806:20: warning: ‘int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 806 | if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent), | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | NULL)) { | ~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/common.cc:812:40: warning: ‘int RSA_size(const RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 812 | std::vector d(RSA_size(rsa.get())); | ~~~~~~~~^~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ src/common.cc:813:37: warning: ‘int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 813 | const int len = RSA_public_decrypt( | ~~~~~~~~~~~~~~~~~~^ 814 | sig.size(), | ~~~~~~~~~~~ 815 | reinterpret_cast(sig.data()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 816 | &d[0], | ~~~~~~ 817 | rsa.get(), | ~~~~~~~~~~ 818 | RSA_PKCS1_PADDING); | ~~~~~~~~~~~~~~~~~~ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ src/common.cc: In instantiation of ‘stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]’: src/common.cc:296:14: required from here src/common.cc:137:7: warning: ‘throw’ will always call ‘terminate’ [-Wterminate] 137 | throw; | ^~~~~ src/common.cc:137:7: note: in C++11 destructors default to ‘noexcept’ src/common.cc: In instantiation of ‘stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]’: src/common.cc:378:11: required from here src/common.cc:137:7: warning: ‘throw’ will always call ‘terminate’ [-Wterminate] src/common.cc:137:7: note: in C++11 destructors default to ‘noexcept’ libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/pk11.cc -o src/libsimple_tpm_pk11_la-pk11.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o -lcrypto -ltspi libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o -lcrypto -ltspi libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/x86_64-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/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o src/.libs/libsimple_tpm_pk11_la-pk11.o src/.libs/libsimple_tpm_pk11_la-session.o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o src/.libs/libsimple_tpm_pk11_la-common.o -lcrypto -ltspi -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsimple-tpm-pk11.so.0 -o .libs/libsimple-tpm-pk11.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so.0" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so.0") libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so") libtool: link: ar cr .libs/libsimple-tpm-pk11.a src/libsimple_tpm_pk11_la-pk11.o src/libsimple_tpm_pk11_la-session.o src/libsimple_tpm_pk11_la-tspiwrap.o src/libsimple_tpm_pk11_la-common.o libtool: link: ranlib .libs/libsimple-tpm-pk11.a libtool: link: ( cd ".libs" && rm -f "libsimple-tpm-pk11.la" && ln -s "../libsimple-tpm-pk11.la" "libsimple-tpm-pk11.la" ) make[3]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' dh: command-omitted: The call to "dh_auto_test -a" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' dh_auto_install make -j1 install DESTDIR=/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11 AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' Making install in doc make[3]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/doc' make[4]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/doc' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/simple-tpm-pk11-20Zr50/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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man1' /bin/mkdir -p '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' /usr/bin/install -c -m 644 simple-tpm-pk11.7 '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/share/man/man7' make[4]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/doc' make[3]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' /bin/mkdir -p '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu' /bin/bash ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu/libsimple-tpm-pk11.so.0.0.0 libtool: install: (cd /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu/libsimple-tpm-pk11.la libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.a /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu/libsimple-tpm-pk11.a libtool: install: chmod 644 /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu/libsimple-tpm-pk11.a libtool: install: ranlib /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu' /bin/mkdir -p '/build/simple-tpm-pk11-20Zr50/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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' libtool: install: /usr/bin/install -c stpm-keygen /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-keygen libtool: install: /usr/bin/install -c stpm-sign /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-sign libtool: install: /usr/bin/install -c stpm-exfiltrate /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate libtool: install: /usr/bin/install -c stpm-verify /build/simple-tpm-pk11-20Zr50/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/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' rm /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.la rm /build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.a make[1]: Leaving directory '/build/simple-tpm-pk11-20Zr50/simple-tpm-pk11-0.06' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-4+b1_amd64.deb'. dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-4+b1_amd64.deb'. dpkg-genbuildinfo --build=any -O../simple-tpm-pk11_0.06-4+b1_amd64.buildinfo dpkg-genchanges --build=any -O../simple-tpm-pk11_0.06-4+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/simple-tpm-pk11-20Zr50 /tmp/simple-tpm-pk11-0.06-4+b18_ynp_83 I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.cSUnOr4JsH... I: success in 428.3985 seconds md5: simple-tpm-pk11-dbgsym_0.06-4+b1_amd64.deb: OK md5: simple-tpm-pk11_0.06-4+b1_amd64.deb: OK sha1: simple-tpm-pk11-dbgsym_0.06-4+b1_amd64.deb: OK sha1: simple-tpm-pk11_0.06-4+b1_amd64.deb: OK sha256: simple-tpm-pk11-dbgsym_0.06-4+b1_amd64.deb: OK sha256: simple-tpm-pk11_0.06-4+b1_amd64.deb: OK Checksums: OK