Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 01:32:19.944747732 +0000 +++ b2/build.log 2024-04-28 01:33:43.045205658 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 27 13:29:59 -12 2024 -I: pbuilder-time-stamp: 1714267799 +I: Current time: Sat May 31 21:55:25 +14 2025 +I: pbuilder-time-stamp: 1748678125 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -34,54 +34,86 @@ 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/9489/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/61105/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 31 07:55 /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/61105/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/61105/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='89d3229c54434918979410c63e323fad' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='9489' - PS1='# ' - PS2='> ' + INVOCATION_ID=f6ea4a018f8d49208b5c7648c39d9345 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=61105 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.eW5YxmZH/pbuilderrc_OdCD --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.eW5YxmZH/b1 --logfile b1/build.log simple-tpm-pk11_0.06-5.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.eW5YxmZH/pbuilderrc_qMLI --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.eW5YxmZH/b2 --logfile b2/build.log simple-tpm-pk11_0.06-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/9489/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/61105/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -196,7 +228,7 @@ Get: 39 http://deb.debian.org/debian trixie/main i386 libopencryptoki-dev i386 3.8.1+dfsg-3.2+b4 [22.9 kB] Get: 40 http://deb.debian.org/debian trixie/main i386 libssl-dev i386 3.2.1-3 [2744 kB] Get: 41 http://deb.debian.org/debian trixie/main i386 libtspi-dev i386 0.3.15-0.3+b1 [631 kB] -Fetched 26.6 MB in 1s (34.0 MB/s) +Fetched 26.6 MB in 0s (58.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:i386: dependency problems, but removing anyway as you requested: libkrb5-3:i386 depends on libssl3 (>= 3.0.0). @@ -382,7 +414,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/61105/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/61105/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 @@ -546,7 +582,7 @@ Linker.........: /usr/bin/ld -Wl,-z,relro -Wl,-z,now -lcrypto -ltspi dh_auto_build - make -j11 + make -j21 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' @@ -562,14 +598,46 @@ 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/libsimple_tpm_pk11_la-common.lo `test -f 'src/common.cc' || echo './'`src/common.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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -c src/session.cc -fPIC -DPIC -o src/.libs/libsimple_tpm_pk11_la-session.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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, + | ^~~~~~~~~~~~~~~~ src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -602,6 +670,7 @@ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ +libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 src/common.cc: In function 'std::string stpm::public_decrypt(const Key&, const std::string&)': src/common.cc:806:20: warning: 'int RSA_set0_key(RSA*, BIGNUM*, BIGNUM*, BIGNUM*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 806 | if (!RSA_set0_key(rsa.get(), string2bn(key.modulus), string2bn(key.exponent), @@ -643,39 +712,6 @@ src/common.cc:378:11: required from here src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] src/common.cc:137:7: note: in C++11 destructors default to 'noexcept' -libtool: compile: g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c src/tspiwrap.cc -o src/libsimple_tpm_pk11_la-tspiwrap.o >/dev/null 2>&1 -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), @@ -719,16 +755,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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -c src/pk11.cc -o src/libsimple_tpm_pk11_la-pk11.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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -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/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o -lcrypto -ltspi -libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-exfiltrate src/wrap_main.o src/common.o src/tspiwrap.o src/exfiltrate.o -lcrypto -ltspi libtool: link: g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify src/wrap_main.o src/common.o src/tspiwrap.o src/verify.o -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/i386-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 +/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 -Wformat -Werror=format-security -std=gnu++14 -version-info 0:0:0 -Wl,-z,relro -Wl,-z,now -o libsimple-tpm-pk11.la -rpath /usr/lib/i386-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/i686-linux-gnu/13/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i686-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/i686-linux-gnu/13 -L/usr/lib/gcc/i686-linux-gnu/13/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/13/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-linux-gnu/13/crtendS.o /usr/lib/gcc/i686-linux-gnu/13/../../../i386-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") @@ -739,7 +775,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 -j11 check "TESTSUITEFLAGS=-j11 --verbose" VERBOSE=1 + make -j21 check "TESTSUITEFLAGS=-j21 --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' @@ -761,6 +797,86 @@ 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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/stpm_sign_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/stpm_sign_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_test-common_test.o `test -f 'src/common_test.cc' || echo './'`src/common_test.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_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 -Wformat -Werror=format-security -std=gnu++14 -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/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/pk11_test-pk11_test.o `test -f 'src/pk11_test.cc' || echo './'`src/pk11_test.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/pk11_test-pk11.o `test -f 'src/pk11.cc' || echo './'`src/pk11.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/pk11_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/pk11_test-session.o `test -f 'src/session.cc' || echo './'`src/session.cc +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/stpm_verify_test-common.o `test -f 'src/common.cc' || echo './'`src/common.cc +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +In file included from src/common.cc:37: +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/stpm_verify_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc +src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': +src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:271:27: note: declared here + 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, + | ^~~~~~~~~~~~~~~~~~~ +src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ +src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +In file included from src/common.cc:37: +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 158 | typedef AutoFree RSAWrap; + | ^ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': +src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:271:27: note: declared here + 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, + | ^~~~~~~~~~~~~~~~~~~ +src/common.cc:386:15: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 386 | RSA_get0_key(rsa.get(), const_cast(&m), const_cast(&e), NULL); + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +src/common.cc:390:19: warning: 'void RSA_get0_factors(const RSA*, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 390 | RSA_get0_factors(rsa.get(), const_cast(&p), NULL); + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/stpm_verify_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | typedef AutoFree RSAWrap; | ^ @@ -793,6 +909,20 @@ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 '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), @@ -824,31 +954,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' -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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_test-tspiwrap.o `test -f 'src/tspiwrap.cc' || echo './'`src/tspiwrap.cc -src/common.cc:158:40: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -In file included from src/common.cc:37: -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); - | ^~~~~~~ -src/common.cc:158:40: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 158 | typedef AutoFree RSAWrap; - | ^ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ src/common.cc: In function 'stpm::SoftwareKey stpm::generate_software_key(int)': src/common.cc:381:27: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | if (!RSA_generate_key_ex(rsa.get(), bits, f4.get(), NULL)) { @@ -868,7 +973,16 @@ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_test-fake_tspi.o `test -f 'src/fake_tspi.cc' || echo './'`src/fake_tspi.cc +src/common.cc: In 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), @@ -900,7 +1014,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, | ^~~~~~~~~~~~~~~~~~ -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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/common_test-libgtest.o `test -f 'src/libgtest.cc' || echo './'`src/libgtest.cc src/common.cc: In instantiation of 'stpm::{anonymous}::AutoFree::~AutoFree() [with T = bignum_st; T* (* New)() = BN_new; void (* Free)(T*) = BN_free]': src/common.cc:296:14: required from here src/common.cc:137:7: warning: 'throw' will always call 'terminate' [-Wterminate] @@ -911,40 +1024,6 @@ 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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/pk11_test-pk11_test.o `test -f 'src/pk11_test.cc' || echo './'`src/pk11_test.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o src/pk11_test-pk11.o `test -f 'src/pk11.cc' || echo './'`src/pk11.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), @@ -986,39 +1065,6 @@ 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 -Wformat -Werror=format-security -std=gnu++14 -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: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), @@ -1060,16 +1106,6 @@ 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 -Wformat -Werror=format-security -std=gnu++14 -c -o src/pk11_test-session.o `test -f 'src/session.cc' || echo './'`src/session.cc -g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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; | ^ @@ -1143,16 +1179,16 @@ 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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-keygen_test src/stpm_keygen_test-keygen.o src/stpm_keygen_test-keygen_test.o src/stpm_keygen_test-common.o src/stpm_keygen_test-tspiwrap.o src/stpm_keygen_test-fake_tspi.o src/stpm_keygen_test-libgtest.o -lpthread -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o pk11_test src/pk11_test-pk11_test.o src/pk11_test-pk11.o src/pk11_test-common.o src/pk11_test-session.o src/pk11_test-tspiwrap.o src/pk11_test-fake_tspi.o src/pk11_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/sh ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -Wl,-z,relro -Wl,-z,now -o stpm-sign_test src/stpm_sign_test-sign.o src/stpm_sign_test-sign_test.o src/stpm_sign_test-common.o src/stpm_sign_test-tspiwrap.o src/stpm_sign_test-fake_tspi.o src/stpm_sign_test-libgtest.o -lpthread -lcrypto -ltspi +/bin/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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -std=gnu++14 -Wl,-z -Wl,relro -Wl,-z -Wl,now -o common_test src/common_test-common_test.o src/common_test-common.o src/common_test-tspiwrap.o src/common_test-fake_tspi.o src/common_test-libgtest.o -lpthread -lcrypto -ltspi -/bin/bash ./libtool --tag=CXX --mode=link g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2 -ffile-prefix-map=/build/reproducible-path/simple-tpm-pk11-0.06=. -fstack-protector-strong -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -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 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' @@ -1197,7 +1233,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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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; }; }) @@ -1207,7 +1243,7 @@ libtool: install: ranlib /build/reproducible-path/simple-tpm-pk11-0.06/debian/simple-tpm-pk11/usr/lib/i386-linux-gnu/libsimple-tpm-pk11.a libtool: warning: remember to run 'libtool --finish /usr/lib/i386-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 @@ -1237,8 +1273,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-5_i386.deb'. dpkg-deb: building package 'simple-tpm-pk11-dbgsym' in '../simple-tpm-pk11-dbgsym_0.06-5_i386.deb'. +dpkg-deb: building package 'simple-tpm-pk11' in '../simple-tpm-pk11_0.06-5_i386.deb'. dpkg-genbuildinfo --build=binary -O../simple-tpm-pk11_0.06-5_i386.buildinfo dpkg-genchanges --build=binary -O../simple-tpm-pk11_0.06-5_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1246,12 +1282,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/61105/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/61105/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/9489 and its subdirectories -I: Current time: Sat Apr 27 13:32:19 -12 2024 -I: pbuilder-time-stamp: 1714267939 +I: removing directory /srv/workspace/pbuilder/61105 and its subdirectories +I: Current time: Sat May 31 21:56:39 +14 2025 +I: pbuilder-time-stamp: 1748678199