I: pbuilder: network access will be disabled during build I: Current time: Sun May 7 03:10:37 -12 2023 I: pbuilder-time-stamp: 1683472237 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-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-4.dsc] I: copying [./simple-tpm-pk11_0.06.orig.tar.gz] I: copying [./simple-tpm-pk11_0.06-4.debian.tar.xz] I: Extracting source gpgv: Signature made Sun Sep 5 22:40:47 2021 -12 gpgv: using RSA key 27793BAC0D180A9964C78819A9C6FAC60D630169 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./simple-tpm-pk11_0.06-4.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-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: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/20131/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='ab98922ebf8646b3b73fcfd2c0f0bdfe' 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='20131' 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.ZXnJOytD/pbuilderrc_ZjJD --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ZXnJOytD/b1 --logfile b1/build.log simple-tpm-pk11_0.06-4.dsc' SUDO_GID='113' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux wbq0 5.10.0-22-armmp #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash -rwxr-xr-x 1 root root 133220 Sep 20 2022 date -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd -rwxr-xr-x 1 root root 68104 Sep 20 2022 df -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep -rwxr-xr-x 1 root root 67548 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch -rwxr-xr-x 1 root root 67548 Sep 20 2022 true -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/20131/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: armhf 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 ... 19329 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} libelf1{a} libfile-stripnondeterminism-perl{a} libgtest-dev{a} libicu72{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1{a} libopencryptoki-dev{a} libopencryptoki0{a} libpipeline1{a} libsasl2-2{a} libsasl2-modules-db{a} libssl-dev{a} libsub-override-perl{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, 40 newly installed, 0 to remove and 0 not upgraded. Need to get 22.3 MB of archives. After unpacking 84.6 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main armhf sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main armhf libmagic-mgc armhf 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main armhf libmagic1 armhf 1:5.44-3 [96.5 kB] Get: 4 http://deb.debian.org/debian bookworm/main armhf file armhf 1:5.44-3 [41.6 kB] Get: 5 http://deb.debian.org/debian bookworm/main armhf gettext-base armhf 0.21-12 [157 kB] Get: 6 http://deb.debian.org/debian bookworm/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main armhf groff-base armhf 1.22.4-10 [825 kB] Get: 8 http://deb.debian.org/debian bookworm/main armhf bsdextrautils armhf 2.38.1-5+b1 [78.6 kB] Get: 9 http://deb.debian.org/debian bookworm/main armhf libpipeline1 armhf 1.5.7-1 [33.6 kB] Get: 10 http://deb.debian.org/debian bookworm/main armhf man-db armhf 2.11.2-2 [1351 kB] Get: 11 http://deb.debian.org/debian bookworm/main armhf m4 armhf 1.4.19-3 [265 kB] Get: 12 http://deb.debian.org/debian bookworm/main armhf autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main armhf autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main armhf libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main armhf libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main armhf dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main armhf libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main armhf libelf1 armhf 0.188-2.1 [170 kB] Get: 24 http://deb.debian.org/debian bookworm/main armhf dwz armhf 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian bookworm/main armhf libicu72 armhf 72.1-3 [9048 kB] Get: 26 http://deb.debian.org/debian bookworm/main armhf libxml2 armhf 2.9.14+dfsg-1.2 [591 kB] Get: 27 http://deb.debian.org/debian bookworm/main armhf gettext armhf 0.21-12 [1229 kB] Get: 28 http://deb.debian.org/debian bookworm/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main armhf googletest all 1.12.1-0.2 [506 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf libgtest-dev armhf 1.12.1-0.2 [232 kB] Get: 33 http://deb.debian.org/debian bookworm/main armhf libsasl2-modules-db armhf 2.1.28+dfsg-10 [19.0 kB] Get: 34 http://deb.debian.org/debian bookworm/main armhf libsasl2-2 armhf 2.1.28+dfsg-10 [52.3 kB] Get: 35 http://deb.debian.org/debian bookworm/main armhf libldap-2.5-0 armhf 2.5.13+dfsg-5 [158 kB] Get: 36 http://deb.debian.org/debian bookworm/main armhf libtspi1 armhf 0.3.15-0.3 [137 kB] Get: 37 http://deb.debian.org/debian bookworm/main armhf libopencryptoki0 armhf 3.8.1+dfsg-3.2+b3 [389 kB] Get: 38 http://deb.debian.org/debian bookworm/main armhf libopencryptoki-dev armhf 3.8.1+dfsg-3.2+b3 [22.6 kB] Get: 39 http://deb.debian.org/debian bookworm/main armhf libssl-dev armhf 3.0.8-1 [2132 kB] Get: 40 http://deb.debian.org/debian bookworm/main armhf libtspi-dev armhf 0.3.15-0.3 [630 kB] Fetched 22.3 MB in 5s (4127 kB/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 ... 19329 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_armhf.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../02-libmagic1_1%3a5.44-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_armhf.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_armhf.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.7-1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_armhf.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_armhf.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.7-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_armhf.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_armhf.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-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.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../22-libelf1_0.188-2.1_armhf.deb ... Unpacking libelf1:armhf (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../24-libicu72_72.1-3_armhf.deb ... Unpacking libicu72:armhf (72.1-3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_armhf.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-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 .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package googletest. Preparing to unpack .../30-googletest_1.12.1-0.2_all.deb ... Unpacking googletest (1.12.1-0.2) ... Selecting previously unselected package libgtest-dev:armhf. Preparing to unpack .../31-libgtest-dev_1.12.1-0.2_armhf.deb ... Unpacking libgtest-dev:armhf (1.12.1-0.2) ... Selecting previously unselected package libsasl2-modules-db:armhf. Preparing to unpack .../32-libsasl2-modules-db_2.1.28+dfsg-10_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg-10) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../33-libsasl2-2_2.1.28+dfsg-10_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg-10) ... Selecting previously unselected package libldap-2.5-0:armhf. Preparing to unpack .../34-libldap-2.5-0_2.5.13+dfsg-5_armhf.deb ... Unpacking libldap-2.5-0:armhf (2.5.13+dfsg-5) ... Selecting previously unselected package libtspi1. Preparing to unpack .../35-libtspi1_0.3.15-0.3_armhf.deb ... Unpacking libtspi1 (0.3.15-0.3) ... Selecting previously unselected package libopencryptoki0:armhf. Preparing to unpack .../36-libopencryptoki0_3.8.1+dfsg-3.2+b3_armhf.deb ... Unpacking libopencryptoki0:armhf (3.8.1+dfsg-3.2+b3) ... Selecting previously unselected package libopencryptoki-dev:armhf. Preparing to unpack .../37-libopencryptoki-dev_3.8.1+dfsg-3.2+b3_armhf.deb ... Unpacking libopencryptoki-dev:armhf (3.8.1+dfsg-3.2+b3) ... Selecting previously unselected package libssl-dev:armhf. Preparing to unpack .../38-libssl-dev_3.0.8-1_armhf.deb ... Unpacking libssl-dev:armhf (3.0.8-1) ... Selecting previously unselected package libtspi-dev. Preparing to unpack .../39-libtspi-dev_0.3.15-0.3_armhf.deb ... Unpacking libtspi-dev (0.3.15-0.3) ... Setting up libpipeline1:armhf (1.5.7-1) ... Setting up libtspi1 (0.3.15-0.3) ... Setting up libicu72:armhf (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:armhf (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up googletest (1.12.1-0.2) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg-10) ... Setting up autotools-dev (20220109.1) ... Setting up libssl-dev:armhf (3.0.8-1) ... Setting up autopoint (0.21-12) ... Setting up libsasl2-2:armhf (2.1.28+dfsg-10) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:armhf (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:armhf (0.188-2.1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.2) ... 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.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libgtest-dev:armhf (1.12.1-0.2) ... Setting up libtool (2.4.7-5) ... Setting up libldap-2.5-0:armhf (2.5.13+dfsg-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libtspi-dev (0.3.15-0.3) ... Setting up libopencryptoki0:armhf (3.8.1+dfsg-3.2+b3) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libopencryptoki-dev:armhf (3.8.1+dfsg-3.2+b3) ... Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-9) ... 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/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-4_source.changes dpkg-buildpackage: info: source package simple-tpm-pk11 dpkg-buildpackage: info: source version 0.06-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Didier Raboud dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf 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/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-0.06' dh_auto_configure ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert arm-unknown-linux-gnueabihf file names to arm-unknown-linux-gnueabihf format... func_convert_file_noop checking how to convert arm-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for tss/tspi.h... yes checking for Tspi_GetAttribUint32 in -ltspi... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether optarg is declared... yes checking whether optind is declared... yes checking whether optreset is declared... no checking for BN_new in -lcrypto... yes checking for opencryptoki/pkcs11.h... yes checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for RSA_get0_key... yes checking for RSA_set0_key... yes checking for RSA_get0_factors... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands simple-tpm-pk11 version 0.06 Prefix.........: /usr Debug Build....: C Compiler.....: gcc -g -O2 -ffile-prefix-map=/build/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-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 Linker.........: /usr/bin/ld -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi dh_auto_build make -j3 make[1]: Entering directory '/build/simple-tpm-pk11-0.06' make all-recursive make[2]: Entering directory '/build/simple-tpm-pk11-0.06' Making all in doc make[3]: Entering directory '/build/simple-tpm-pk11-0.06/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/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-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-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-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-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/wrap_main.o src/wrap_main.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: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; | ^ /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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/sign.o src/sign.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: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())); | ~~~~~~~~^~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~ /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:121:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | AutoFree(): resource_(New()) {} | ~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ 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:133:11: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | Free(resource_); | ~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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-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-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 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-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/pk11.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-pk11.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-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 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-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/tspiwrap.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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 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-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 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-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 /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-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-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c src/common.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-common.o /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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 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; | ^ /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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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 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: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())); | ~~~~~~~~^~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~ /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:121:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | AutoFree(): resource_(New()) {} | ~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ 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:133:11: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | Free(resource_); | ~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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 libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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 /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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-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: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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-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 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-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 /bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/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/arm-linux-gnueabihf src/libsimple_tpm_pk11_la-pk11.lo src/libsimple_tpm_pk11_la-session.lo src/libsimple_tpm_pk11_la-tspiwrap.lo src/libsimple_tpm_pk11_la-common.lo -lcrypto -ltspi libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/arm-linux-gnueabihf/12/../../../arm-linux-gnueabihf/crti.o /usr/lib/gcc/arm-linux-gnueabihf/12/crtbeginS.o src/.libs/libsimple_tpm_pk11_la-pk11.o src/.libs/libsimple_tpm_pk11_la-session.o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o src/.libs/libsimple_tpm_pk11_la-common.o -lcrypto -ltspi -L/usr/lib/gcc/arm-linux-gnueabihf/12 -L/usr/lib/gcc/arm-linux-gnueabihf/12/../../../arm-linux-gnueabihf -L/usr/lib/gcc/arm-linux-gnueabihf/12/../../.. -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/arm-linux-gnueabihf/12/crtendS.o /usr/lib/gcc/arm-linux-gnueabihf/12/../../../arm-linux-gnueabihf/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsimple-tpm-pk11.so.0 -o .libs/libsimple-tpm-pk11.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so.0" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so.0") libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so") libtool: link: ar cr .libs/libsimple-tpm-pk11.a src/libsimple_tpm_pk11_la-pk11.o src/libsimple_tpm_pk11_la-session.o src/libsimple_tpm_pk11_la-tspiwrap.o src/libsimple_tpm_pk11_la-common.o libtool: link: ranlib .libs/libsimple-tpm-pk11.a libtool: link: ( cd ".libs" && rm -f "libsimple-tpm-pk11.la" && ln -s "../libsimple-tpm-pk11.la" "libsimple-tpm-pk11.la" ) make[3]: Leaving directory '/build/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/simple-tpm-pk11-0.06' dh_auto_test make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 make[1]: Entering directory '/build/simple-tpm-pk11-0.06' Making check in doc make[2]: Entering directory '/build/simple-tpm-pk11-0.06/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/simple-tpm-pk11-0.06/doc' make[2]: Entering directory '/build/simple-tpm-pk11-0.06' make stpm-keygen_test stpm-sign_test common_test pk11_test stpm-verify_test make[3]: Entering directory '/build/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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-keygen.o `test -f 'src/keygen.cc' || echo './'`src/keygen.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-keygen_test.o `test -f 'src/keygen_test.cc' || echo './'`src/keygen_test.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_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: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; | ^ /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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 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: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())); | ~~~~~~~~^~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~ /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:121:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | AutoFree(): resource_(New()) {} | ~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ 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:133:11: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | Free(resource_); | ~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_keygen_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-sign.o `test -f 'src/sign.cc' || echo './'`src/sign.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-sign_test.o `test -f 'src/sign_test.cc' || echo './'`src/sign_test.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc src/common.cc:158: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; | ^ /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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 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: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())); | ~~~~~~~~^~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~ /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:121:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | AutoFree(): resource_(New()) {} | ~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ 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:133:11: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | Free(resource_); | ~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_sign_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-common_test.o `test -f 'src/common_test.cc' || echo './'`src/common_test.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc src/common.cc:158: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; | ^ /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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 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: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())); | ~~~~~~~~^~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~ /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:121:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | AutoFree(): resource_(New()) {} | ~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ 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:133:11: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | Free(resource_); | ~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/common_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-pk11_test.o `test -f 'src/pk11_test.cc' || echo './'`src/pk11_test.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-pk11.o `test -f 'src/pk11.cc' || echo './'`src/pk11.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc src/common.cc:158: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; | ^ /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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 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: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())); | ~~~~~~~~^~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~ /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:121:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | AutoFree(): resource_(New()) {} | ~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ 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:133:11: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | Free(resource_); | ~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-session.o `test -f 'src/session.cc' || echo './'`src/session.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/pk11_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-verify.o `test -f 'src/verify.cc' || echo './'`src/verify.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-verify_test.o `test -f 'src/verify_test.cc' || echo './'`src/verify_test.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_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: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; | ^ /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)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 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: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())); | ~~~~~~~~^~~~~~~~~~~ /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); | ~~~~~~~~~~~~~~~~~~ /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:121:28: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | AutoFree(): resource_(New()) {} | ~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ 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:133:11: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | Free(resource_); | ~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ 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/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o -lpthread -lcrypto -ltspi libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o -lpthread -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread -lcrypto -ltspi libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o -lpthread -lcrypto -ltspi libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o -lpthread -lcrypto -ltspi /bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o -lpthread -lcrypto -ltspi libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o -lpthread -lcrypto -ltspi make[3]: Leaving directory '/build/simple-tpm-pk11-0.06' make check-TESTS make[3]: Entering directory '/build/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/simple-tpm-pk11-0.06' PASS: common_test PASS: stpm-sign_test PASS: stpm-verify_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/simple-tpm-pk11-0.06' make[3]: Leaving directory '/build/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/simple-tpm-pk11-0.06' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/simple-tpm-pk11-0.06' dh_auto_install make -j1 install DESTDIR=/build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11 AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/simple-tpm-pk11-0.06' Making install in doc make[3]: Entering directory '/build/simple-tpm-pk11-0.06/doc' make[4]: Entering directory '/build/simple-tpm-pk11-0.06/doc' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/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-0.06/debian/simple-tpm-pk11/usr/share/man/man1' /bin/mkdir -p '/build/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-0.06/debian/simple-tpm-pk11/usr/share/man/man7' make[4]: Leaving directory '/build/simple-tpm-pk11-0.06/doc' make[3]: Leaving directory '/build/simple-tpm-pk11-0.06/doc' make[3]: Entering directory '/build/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/simple-tpm-pk11-0.06' /bin/mkdir -p '/build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf' /bin/bash ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf' libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.so.0.0.0 libtool: install: (cd /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf && { ln -s -f libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so.0 || { rm -f libsimple-tpm-pk11.so.0 && ln -s libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so.0; }; }) libtool: install: (cd /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf && { ln -s -f libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so || { rm -f libsimple-tpm-pk11.so && ln -s libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so; }; }) libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.lai /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.la libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.a /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.a libtool: install: chmod 644 /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.a libtool: install: ranlib /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/arm-linux-gnueabihf' /bin/mkdir -p '/build/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-0.06/debian/simple-tpm-pk11/usr/bin' libtool: install: /usr/bin/install -c stpm-keygen /build/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-0.06/debian/simple-tpm-pk11/usr/bin/stpm-sign libtool: install: /usr/bin/install -c stpm-exfiltrate /build/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-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-0.06' make[3]: Leaving directory '/build/simple-tpm-pk11-0.06' make[2]: Leaving directory '/build/simple-tpm-pk11-0.06' rm /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.la rm /build/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/*/libsimple-tpm-pk11.a make[1]: Leaving directory '/build/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: debian/simple-tpm-pk11/usr/bin/stpm-keygen contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin dpkg-shlibdeps: warning: debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin dpkg-shlibdeps: warning: symbol __aeabi_atexit@CXXABI_ARM_1.3.3 used by debian/simple-tpm-pk11/usr/lib/arm-linux-gnueabihf/libsimple-tpm-pk11.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: debian/simple-tpm-pk11/usr/bin/stpm-verify contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin dpkg-shlibdeps: warning: debian/simple-tpm-pk11/usr/bin/stpm-sign contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-4_armhf.deb'. dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-4_armhf.deb'. dpkg-genbuildinfo --build=binary -O../simple-tpm-pk11_0.06-4_armhf.buildinfo dpkg-genchanges --build=binary -O../simple-tpm-pk11_0.06-4_armhf.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/20131 and its subdirectories I: Current time: Sun May 7 03:50:23 -12 2023 I: pbuilder-time-stamp: 1683474623