Diff of the two buildlogs: -- --- b1/build.log 2024-05-09 13:35:16.232503808 +0000 +++ b2/build.log 2024-05-09 13:38:58.135056646 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 11 07:57:05 -12 2025 -I: pbuilder-time-stamp: 1749671825 +I: Current time: Fri May 10 03:35:19 +14 2024 +I: pbuilder-time-stamp: 1715261719 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -33,52 +33,84 @@ dpkg-source: info: applying 0006-Answer-CKA_LABEL-attribute-request-with-dummy-value.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2419931/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 9 13:35 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ff5be56891e24cab9d8777f28fdaa1a8' - 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='2419931' - PS1='# ' - PS2='> ' + INVOCATION_ID=f316c6624d674c90a0181adfd6dda243 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3439152 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.xa6PqdV7/pbuilderrc_4RAS --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xa6PqdV7/b1 --logfile b1/build.log simple-tpm-pk11_0.06-5.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.xa6PqdV7/pbuilderrc_XIPc --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xa6PqdV7/b2 --logfile b2/build.log simple-tpm-pk11_0.06-5.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 11 17:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2419931/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 8 11:26 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -162,7 +194,7 @@ Get: 38 http://deb.debian.org/debian trixie/main amd64 libopencryptoki-dev amd64 3.8.1+dfsg-3.2+b4 [22.9 kB] Get: 39 http://deb.debian.org/debian trixie/main amd64 libssl-dev amd64 3.2.1-3 [2699 kB] Get: 40 http://deb.debian.org/debian trixie/main amd64 libtspi-dev amd64 0.3.15-0.3+b1 [631 kB] -Fetched 24.0 MB in 0s (89.9 MB/s) +Fetched 24.0 MB in 1s (33.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19699 files and directories currently installed.) @@ -337,7 +369,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/simple-tpm-pk11-0.06/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../simple-tpm-pk11_0.06-5_source.changes +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/simple-tpm-pk11-0.06/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../simple-tpm-pk11_0.06-5_source.changes dpkg-buildpackage: info: source package simple-tpm-pk11 dpkg-buildpackage: info: source version 0.06-5 dpkg-buildpackage: info: source distribution unstable @@ -501,7 +537,7 @@ Linker.........: /usr/bin/ld -m elf_x86_64 -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make all-recursive make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' @@ -517,47 +553,14 @@ g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/sign.o src/sign.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/exfiltrate.o src/exfiltrate.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/verify.o src/verify.cc -/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-pk11.lo `test -f 'src/pk11.cc' || echo './'`src/pk11.cc -/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.cc -/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc -/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.cc -libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/common.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-common.o -libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/pk11.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-pk11.o +/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-pk11.lo `test -f 'src/pk11.cc' || echo './'`src/pk11.cc +/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-session.lo `test -f 'src/session.cc' || echo './'`src/session.cc +/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-tspiwrap.lo `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc +/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/tspiwrap.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/pk11.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-pk11.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o -src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -In file included from src/common.cc:37: -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); - | ^~~~~~~ -src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': -src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:271:27: note: declared here - 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, - | ^~~~~~~~~~~~~~~~~~~ -src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:231:28: note: declared here - 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, - | ^~~~~~~~~~~~~~~~ -libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/common.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-common.o src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -631,6 +634,39 @@ src/common.cc:378:11: required from here src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +In file included from src/common.cc:37: +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 +src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': +src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:271:27: note: declared here + 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, + | ^~~~~~~~~~~~~~~~~~~ +src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::string&)': src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 806 | if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent), @@ -674,16 +710,16 @@ src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/session.cc -o src/libsimple_tpm_pk11_la-session.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/pk11.cc -o src/libsimple_tpm_pk11_la-pk11.o >/dev/null 2>&1 -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi -libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1 +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-sign src/wrap_main.o src/common.o src/tspiwrap.o src/sign.o -lcrypto -ltspi -libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi +libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen src/keygen.o src/common.o src/tspiwrap.o src/wrap_main.o -lcrypto -ltspi libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/x86_64-linux-gnu src/libsimple_tpm_pk11_la-pk11.lo src/libsimple_tpm_pk11_la-session.lo src/libsimple_tpm_pk11_la-tspiwrap.lo src/libsimple_tpm_pk11_la-common.lo -lcrypto -ltspi +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c src/common.cc -o src/libsimple_tpm_pk11_la-common.o >/dev/null 2>&1 +/bin/sh ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/x86_64-linux-gnu src/libsimple_tpm_pk11_la-pk11.lo src/libsimple_tpm_pk11_la-session.lo src/libsimple_tpm_pk11_la-tspiwrap.lo src/libsimple_tpm_pk11_la-common.lo -lcrypto -ltspi libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o src/.libs/libsimple_tpm_pk11_la-pk11.o src/.libs/libsimple_tpm_pk11_la-session.o src/.libs/libsimple_tpm_pk11_la-tspiwrap.o src/.libs/libsimple_tpm_pk11_la-common.o -lcrypto -ltspi -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libsimple-tpm-pk11.so.0 -o .libs/libsimple-tpm-pk11.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so.0" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so.0") libtool: link: (cd ".libs" && rm -f "libsimple-tpm-pk11.so" && ln -s "libsimple-tpm-pk11.so.0.0.0" "libsimple-tpm-pk11.so") @@ -694,7 +730,7 @@ make[2]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[1]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' dh_auto_test - make -j42 check "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j20 check "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' Making check in doc make[2]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06/doc' @@ -727,57 +763,6 @@ g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/pk11_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/pk11_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/pk11_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-verify.o `test -f 'src/verify.cc' || echo './'`src/verify.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-verify_test.o `test -f 'src/verify_test.cc' || echo './'`src/verify_test.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc -src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -In file included from src/common.cc:37: -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); - | ^~~~~~~ -src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': -src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:271:27: note: declared here - 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, - | ^~~~~~~~~~~~~~~~~~~ -src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:231:28: note: declared here - 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, - | ^~~~~~~~~~~~~~~~ -src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -In file included from src/common.cc:37: -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); - | ^~~~~~~ -src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -791,6 +776,7 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-verify.o `test -f 'src/verify.cc' || echo './'`src/verify.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -830,50 +816,31 @@ /usr/include/openssl/rsa.h:271:27: note: declared here 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ -src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ In file included from src/common.cc:37: /usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:231:28: note: declared here - 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, - | ^~~~~~~~~~~~~~~~ -src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': -src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:271:27: note: declared here - 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, - | ^~~~~~~~~~~~~~~~~~~ -src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:231:28: note: declared here - 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, - | ^~~~~~~~~~~~~~~~ src/common.cc: In function '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)) { @@ -924,16 +891,6 @@ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ -src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': -src/common.cc:296:14: required from here -src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 137 | throw; - | ^~~~~ -src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': -src/common.cc:378:11: required from here -src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] -src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' 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), @@ -965,6 +922,26 @@ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ +src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': +src/common.cc:296:14: required from here +src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 137 | throw; + | ^~~~~ +src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' +src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': +src/common.cc:378:11: required from here +src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] +src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' +src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': +src/common.cc:296:14: required from here +src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 137 | throw; + | ^~~~~ +src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' +src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': +src/common.cc:378:11: required from here +src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] +src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' 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), @@ -996,6 +973,53 @@ /usr/include/openssl/rsa.h:299:5: note: declared here 299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ +src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': +src/common.cc:296:14: required from here +src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] + 137 | throw; + | ^~~~~ +src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' +src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': +src/common.cc:378:11: required from here +src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] +src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-verify_test.o `test -f 'src/verify_test.cc' || echo './'`src/verify_test.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -c -o src/stpm_verify_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +In file included from src/common.cc:37: +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': +src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:271:27: note: declared here + 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, + | ^~~~~~~~~~~~~~~~~~~ +src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::string&)': src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 806 | if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent), @@ -1037,6 +1061,38 @@ src/common.cc:378:11: required from here src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +In file included from src/common.cc:37: +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': +src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:271:27: note: declared here + 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, + | ^~~~~~~~~~~~~~~~~~~ +src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::string&)': src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 806 | if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent), @@ -1078,44 +1134,24 @@ src/common.cc:378:11: required from here src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': -src/common.cc:296:14: required from here -src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 137 | throw; - | ^~~~~ -src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': -src/common.cc:378:11: required from here -src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] -src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': -src/common.cc:296:14: required from here -src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] - 137 | throw; - | ^~~~~ -src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = rsa_st; T* (* New)() = RSA_new; void (* Free)(T*) = RSA_free]': -src/common.cc:378:11: required from here -src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] -src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi -libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o -lpthread -lcrypto -ltspi libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o -lpthread -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o -lpthread -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o -lpthread -lcrypto -ltspi -libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o -lpthread -lcrypto -ltspi -libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o -lpthread -lcrypto -ltspi libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread -lcrypto -ltspi +libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi +libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o -lpthread -lcrypto -ltspi +libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify_test src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o -lpthread -lcrypto -ltspi make[3]: Leaving directory '/build/reproducible-path/simple-tpm-pk11-0.06' make check-TESTS make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' -PASS: stpm-verify_test -PASS: common_test PASS: stpm-sign_test +PASS: common_test PASS: pk11_test +PASS: stpm-verify_test PASS: stpm-keygen_test ============================================================================ Testsuite summary for simple-tpm-pk11 0.06 @@ -1152,7 +1188,7 @@ make[3]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' make[4]: Entering directory '/build/reproducible-path/simple-tpm-pk11-0.06' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu' - /bin/bash ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu' + /bin/sh ./libtool --mode=install /usr/bin/install -c libsimple-tpm-pk11.la '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libsimple-tpm-pk11.so.0.0.0 /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu/libsimple-tpm-pk11.so.0.0.0 libtool: install: (cd /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu && { ln -s -f libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so.0 || { rm -f libsimple-tpm-pk11.so.0 && ln -s libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so.0; }; }) libtool: install: (cd /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu && { ln -s -f libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so || { rm -f libsimple-tpm-pk11.so && ln -s libsimple-tpm-pk11.so.0.0.0 libsimple-tpm-pk11.so; }; }) @@ -1162,7 +1198,7 @@ libtool: install: ranlib /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/x86_64-linux-gnu/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu' /usr/bin/mkdir -p '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' - /bin/bash ./libtool --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' + /bin/sh ./libtool --mode=install /usr/bin/install -c stpm-keygen stpm-sign stpm-exfiltrate stpm-verify '/build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin' libtool: install: /usr/bin/install -c stpm-keygen /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-keygen libtool: install: /usr/bin/install -c stpm-sign /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-sign libtool: install: /usr/bin/install -c stpm-exfiltrate /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/bin/stpm-exfiltrate @@ -1192,8 +1228,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-5_amd64.deb'. dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-5_amd64.deb'. +dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-5_amd64.deb'. dpkg-genbuildinfo --build=binary -O../simple-tpm-pk11_0.06-5_amd64.buildinfo dpkg-genchanges --build=binary -O../simple-tpm-pk11_0.06-5_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1201,12 +1237,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3439152/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2419931 and its subdirectories -I: Current time: Wed Jun 11 07:58:15 -12 2025 -I: pbuilder-time-stamp: 1749671895 +I: removing directory /srv/workspace/pbuilder/3439152 and its subdirectories +I: Current time: Fri May 10 03:38:57 +14 2024 +I: pbuilder-time-stamp: 1715261937