Diff of the two buildlogs: -- --- b1/build.log 2024-09-02 09:13:17.701523777 +0000 +++ b2/build.log 2024-09-02 09:15:00.373174665 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Sep 1 21:11:44 -12 2024 -I: pbuilder-time-stamp: 1725268304 +I: Current time: Mon Sep 2 23:13:20 +14 2024 +I: pbuilder-time-stamp: 1725268400 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying fix-upstream-soname-madness.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1793119/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/657873/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 2 09:13 /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/657873/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/657873/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='32975834f4b4440885d411741c41beb9' - 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='1793119' - PS1='# ' - PS2='> ' + INVOCATION_ID=782e4d5eef6649529430cc492f4d5424 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=657873 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.UX5DWybN/pbuilderrc_jz3m --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.UX5DWybN/b1 --logfile b1/build.log libp11_0.4.12-3.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.UX5DWybN/pbuilderrc_WwuT --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.UX5DWybN/b2 --logfile b2/build.log libp11_0.4.12-3.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-25-cloud-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1793119/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/657873/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -154,7 +186,7 @@ Get: 34 http://deb.debian.org/debian trixie/main arm64 libssl-dev arm64 3.3.1-7 [3183 kB] Get: 35 http://deb.debian.org/debian trixie/main arm64 pkgconf-bin arm64 1.8.1-3 [29.4 kB] Get: 36 http://deb.debian.org/debian trixie/main arm64 pkgconf arm64 1.8.1-3 [26.0 kB] -Fetched 23.4 MB in 0s (99.4 MB/s) +Fetched 23.4 MB in 0s (143 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 ... 19899 files and directories currently installed.) @@ -313,7 +345,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/libp11-0.4.12/ && 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 > ../libp11_0.4.12-3_source.changes +I: user script /srv/workspace/pbuilder/657873/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/657873/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/libp11-0.4.12/ && 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 > ../libp11_0.4.12-3_source.changes dpkg-buildpackage: info: source package libp11 dpkg-buildpackage: info: source version 0.4.12-3 dpkg-buildpackage: info: source distribution unstable @@ -498,30 +534,32 @@ make[2]: Entering directory '/build/reproducible-path/libp11-0.4.12/src' make all-am make[3]: Entering directory '/build/reproducible-path/libp11-0.4.12/src' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_front.lo `test -f 'eng_front.c' || echo './'`eng_front.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_back.lo `test -f 'eng_back.c' || echo './'`eng_back.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_parse.lo `test -f 'eng_parse.c' || echo './'`eng_parse.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_err.lo `test -f 'eng_err.c' || echo './'`eng_err.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-libpkcs11.lo `test -f 'libpkcs11.c' || echo './'`libpkcs11.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_attr.lo `test -f 'p11_attr.c' || echo './'`p11_attr.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_cert.lo `test -f 'p11_cert.c' || echo './'`p11_cert.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_ckr.lo `test -f 'p11_ckr.c' || echo './'`p11_ckr.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_load.lo `test -f 'p11_load.c' || echo './'`p11_load.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_misc.lo `test -f 'p11_misc.c' || echo './'`p11_misc.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_front.lo `test -f 'eng_front.c' || echo './'`eng_front.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_back.lo `test -f 'eng_back.c' || echo './'`eng_back.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_parse.lo `test -f 'eng_parse.c' || echo './'`eng_parse.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o pkcs11_la-eng_err.lo `test -f 'eng_err.c' || echo './'`eng_err.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-libpkcs11.lo `test -f 'libpkcs11.c' || echo './'`libpkcs11.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_attr.lo `test -f 'p11_attr.c' || echo './'`p11_attr.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_cert.lo `test -f 'p11_cert.c' || echo './'`p11_cert.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_ckr.lo `test -f 'p11_ckr.c' || echo './'`p11_ckr.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_load.lo `test -f 'p11_load.c' || echo './'`p11_load.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_misc.lo `test -f 'p11_misc.c' || echo './'`p11_misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_back.c -fPIC -DPIC -o .libs/pkcs11_la-eng_back.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_parse.c -fPIC -DPIC -o .libs/pkcs11_la-eng_parse.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_err.c -fPIC -DPIC -o .libs/pkcs11_la-eng_err.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_front.c -fPIC -DPIC -o .libs/pkcs11_la-eng_front.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_attr.c -fPIC -DPIC -o .libs/libp11_la-p11_attr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c libpkcs11.c -fPIC -DPIC -o .libs/libp11_la-libpkcs11.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_ckr.c -fPIC -DPIC -o .libs/libp11_la-p11_ckr.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_front.c -fPIC -DPIC -o .libs/pkcs11_la-eng_front.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_err.c -fPIC -DPIC -o .libs/libp11_la-p11_err.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_cert.c -fPIC -DPIC -o .libs/libp11_la-p11_cert.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_misc.c -fPIC -DPIC -o .libs/libp11_la-p11_misc.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_cert.c -fPIC -DPIC -o .libs/libp11_la-p11_cert.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_err.c -fPIC -DPIC -o .libs/pkcs11_la-eng_err.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_attr.c -fPIC -DPIC -o .libs/libp11_la-p11_attr.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_parse.c -fPIC -DPIC -o .libs/pkcs11_la-eng_parse.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_ckr.c -fPIC -DPIC -o .libs/libp11_la-p11_ckr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_load.c -fPIC -DPIC -o .libs/libp11_la-p11_load.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_err.c -o libp11_la-p11_err.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_err.c -o pkcs11_la-eng_err.o >/dev/null 2>&1 eng_front.c: In function 'get_ctx': eng_front.c:97:17: warning: 'ENGINE_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | ctx = ENGINE_get_ex_data(engine, pkcs11_idx); @@ -628,8 +666,10 @@ /usr/include/openssl/engine.h:522:5: note: declared here 522 | int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); | ^~~~~~~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_err.c -o pkcs11_la-eng_err.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c p11_key.c: In function 'pkcs11_store_key': +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_misc.c -o libp11_la-p11_misc.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c libpkcs11.c -o libp11_la-libpkcs11.o >/dev/null 2>&1 p11_key.c:367:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 367 | RSA *rsa = EVP_PKEY_get1_RSA(pk); | ^~~ @@ -665,26 +705,201 @@ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_err.c -o libp11_la-p11_err.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c libpkcs11.c -o libp11_la-libpkcs11.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_ec.lo `test -f 'p11_ec.c' || echo './'`p11_ec.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_ckr.c -o libp11_la-p11_ckr.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_cert.c -o libp11_la-p11_cert.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_front.c -o pkcs11_la-eng_front.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_misc.c -o libp11_la-p11_misc.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_attr.c -o libp11_la-p11_attr.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_load.c -o libp11_la-p11_load.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_cert.c -o libp11_la-p11_cert.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_ec.lo `test -f 'p11_ec.c' || echo './'`p11_ec.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_parse.c -o pkcs11_la-eng_parse.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_front.lo `test -f 'p11_front.c' || echo './'`p11_front.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_atfork.lo `test -f 'p11_atfork.c' || echo './'`p11_atfork.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_key.c -o libp11_la-p11_key.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_front.lo `test -f 'p11_front.c' || echo './'`p11_front.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_back.c -o pkcs11_la-eng_back.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o libp11_la-p11_atfork.lo `test -f 'p11_atfork.c' || echo './'`p11_atfork.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_ec.c -fPIC -DPIC -o .libs/libp11_la-p11_ec.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o +p11_rsa.c: In function 'pkcs11_rsa': +p11_rsa.c:38:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 38 | rsa = (RSA *)EVP_PKEY_get0_RSA(evp_key); + | ^~~ +In file included from /usr/include/openssl/x509.h:29, + from libp11.h:32, + from libp11-int.h:27, + from p11_rsa.c:25: +/usr/include/openssl/evp.h:1356:22: note: declared here + 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_sign': +p11_rsa.c:54:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 54 | return RSA_sign(type, m, m_len, sigret, siglen, rsa); + | ^~~~~~ +In file included from libp11.h:31: +/usr/include/openssl/rsa.h:359:27: note: declared here + 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, + | ^~~~~~~~ +p11_rsa.c: In function 'pkcs11_get_rsa': +p11_rsa.c:235:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 235 | rsa = RSA_new(); + | ^~~ +/usr/include/openssl/rsa.h:212:28: note: declared here + 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); + | ^~~~~~~ +p11_rsa.c:239:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 239 | RSA_set0_key(rsa, rsa_n, rsa_e, NULL); + | ^~~~~~~~~~~~ +/usr/include/openssl/rsa.h:218:27: note: declared here + 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); + | ^~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_get_ex_data_rsa': +p11_rsa.c:249:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 249 | return RSA_get_ex_data(rsa, rsa_ex_index); + | ^~~~~~ +/usr/include/openssl/rsa.h:457:29: note: declared here + 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); + | ^~~~~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_set_ex_data_rsa': +p11_rsa.c:254:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 254 | RSA_set_ex_data(rsa, rsa_ex_index, key); + | ^~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:456:27: note: declared here + 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); + | ^~~~~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_get_evp_key_rsa': +p11_rsa.c:270:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 270 | RSA_free(rsa); + | ^~~~~~~~ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +p11_rsa.c:274:17: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 274 | RSA_set_method(rsa, PKCS11_get_rsa_method()); + | ^~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:313:27: note: declared here + 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); + | ^~~~~~~~~~~~~~ +p11_rsa.c:276:17: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 276 | RSA_set_flags(rsa, RSA_FLAG_EXT_PKEY); + | ^~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:254:28: note: declared here + 254 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); + | ^~~~~~~~~~~~~ +p11_rsa.c:290:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 290 | EVP_PKEY_set1_RSA(pk, rsa); /* Also increments the rsa ref count */ + | ^~~~~~~~~~~~~~~~~ +/usr/include/openssl/evp.h:1354:5: note: declared here + 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); + | ^~~~~~~~~~~~~~~~~ +p11_rsa.c:291:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 291 | RSA_free(rsa); /* Drops our reference to it */ + | ^~~~~~~~ +/usr/include/openssl/rsa.h:304:28: note: declared here + 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +p11_rsa.c: In function 'pkcs11_get_key_modulus': +p11_rsa.c:304:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 304 | RSA_get0_key(rsa, &rsa_n, NULL, NULL); + | ^~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_get_key_exponent': +p11_rsa.c:321:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 321 | RSA_get0_key(rsa, NULL, &rsa_e, NULL); + | ^~~~~~~~~~~~ +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_get_key_size': +p11_rsa.c:335:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 335 | return RSA_size(rsa); + | ^~~~~~ +/usr/include/openssl/rsa.h:215:27: note: declared here + 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); + | ^~~~~~~~ +p11_rsa.c: In function 'pkcs11_rsa_priv_dec_method': +p11_rsa.c:368:17: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); + | ^~~~~~~~ +/usr/include/openssl/rsa.h:526:7: note: declared here + 526 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, + | ^~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c:368:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); + | ^~~~~~~~ +/usr/include/openssl/rsa.h:310:41: note: declared here + 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); + | ^~~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_rsa_priv_enc_method': +p11_rsa.c:381:17: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); + | ^~~~~~~~ +/usr/include/openssl/rsa.h:516:7: note: declared here + 516 | int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen, + | ^~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c:381:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); + | ^~~~~~~~ +/usr/include/openssl/rsa.h:310:41: note: declared here + 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); + | ^~~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c: In function 'pkcs11_rsa_free_method': +p11_rsa.c:395:17: warning: 'RSA_meth_get_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 395 | RSA_meth_get_finish(RSA_get_default_method()); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:563:7: note: declared here + 563 | int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa); + | ^~~~~~~~~~~~~~~~~~~ +p11_rsa.c:395:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 395 | RSA_meth_get_finish(RSA_get_default_method()); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:310:41: note: declared here + 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); + | ^~~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c: In function 'PKCS11_get_rsa_method': +p11_rsa.c:496:17: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 496 | ops = RSA_meth_dup(RSA_get_default_method()); + | ^~~ +/usr/include/openssl/rsa.h:486:35: note: declared here + 486 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); + | ^~~~~~~~~~~~ +p11_rsa.c:496:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 496 | ops = RSA_meth_dup(RSA_get_default_method()); + | ^~~ +/usr/include/openssl/rsa.h:310:41: note: declared here + 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); + | ^~~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c:499:17: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 499 | RSA_meth_set1_name(ops, "libp11 RSA method"); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:488:27: note: declared here + 488 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, + | ^~~~~~~~~~~~~~~~~~ +p11_rsa.c:500:17: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 500 | RSA_meth_set_flags(ops, 0); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:491:27: note: declared here + 491 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); + | ^~~~~~~~~~~~~~~~~~ +p11_rsa.c:501:17: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 501 | RSA_meth_set_priv_enc(ops, pkcs11_rsa_priv_enc_method); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:521:5: note: declared here + 521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, + | ^~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c:502:17: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 502 | RSA_meth_set_priv_dec(ops, pkcs11_rsa_priv_dec_method); + | ^~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:531:5: note: declared here + 531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, + | ^~~~~~~~~~~~~~~~~~~~~ +p11_rsa.c:503:17: warning: 'RSA_meth_set_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 503 | RSA_meth_set_finish(ops, pkcs11_rsa_free_method); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:565:5: note: declared here + 565 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); + | ^~~~~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c eng_back.c -o pkcs11_la-eng_back.o >/dev/null 2>&1 p11_ec.c: In function 'pkcs11_get_params': p11_ec.c:203:9: warning: 'd2i_ECParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 203 | rv = d2i_ECParameters(&ec, &a, (long)params_len) == NULL; @@ -696,7 +911,6 @@ /usr/include/openssl/ec.h:1230:31: note: declared here 1230 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECParameters(EC_KEY **key, | ^~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.o p11_ec.c: In function 'pkcs11_get_point_x509': p11_ec.c:224:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | pubkey_ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(pubkey); @@ -779,13 +993,13 @@ p11_ec.c:366:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 366 | EC_KEY_free(ec); | ^~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_rsa': /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_ec.c:372:17: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 372 | EC_KEY_set_method(ec, PKCS11_get_ec_key_method()); | ^~~~~~~~~~~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o /usr/include/openssl/ec.h:1302:27: note: declared here 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ @@ -805,19 +1019,9 @@ p11_ec.c:466:17: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | const EC_KEY_METHOD *meth = EC_KEY_OpenSSL(); | ^~~~~ -p11_rsa.c:38:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 38 | rsa = (RSA *)EVP_PKEY_get0_RSA(evp_key); - | ^~~ /usr/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ -In file included from /usr/include/openssl/x509.h:29, - from libp11.h:32, - from libp11-int.h:27, - from p11_rsa.c:25: -/usr/include/openssl/evp.h:1356:22: note: declared here - 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~ p11_ec.c:467:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 467 | EC_KEY_METHOD_get_sign((EC_KEY_METHOD *)meth, | ^~~~~~~~~~~~~~~~~~~~~~ @@ -831,7 +1035,6 @@ 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_ecdh_compute_key': -p11_rsa.c: In function 'pkcs11_sign': p11_ec.c:642:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 642 | const EC_GROUP *group = EC_KEY_get0_group(ecdh); | ^~~~~ @@ -854,13 +1057,6 @@ p11_ec.c:753:17: warning: 'EC_KEY_METHOD_get_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 753 | EC_KEY_METHOD_get_init(ops, &orig_init, &ossl_ec_finish, &orig_copy, | ^~~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c:54:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 54 | return RSA_sign(type, m, m_len, sigret, siglen, rsa); - | ^~~~~~ -In file included from libp11.h:31: -/usr/include/openssl/rsa.h:359:27: note: declared here - 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, - | ^~~~~~~~ /usr/include/openssl/ec.h:1524:28: note: declared here 1524 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_init | ^~~~~~~~~~~~~~~~~~~~~~ @@ -876,7 +1072,6 @@ /usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_get_rsa': p11_ec.c:758:17: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 758 | EC_KEY_METHOD_set_sign(ops, orig_sign, NULL, pkcs11_ecdsa_sign_sig); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -895,168 +1090,10 @@ /usr/include/openssl/ec.h:1494:28: note: declared here 1494 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c:235:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 235 | rsa = RSA_new(); - | ^~~ -/usr/include/openssl/rsa.h:212:28: note: declared here - 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); - | ^~~~~~~ -p11_rsa.c:239:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 239 | RSA_set0_key(rsa, rsa_n, rsa_e, NULL); - | ^~~~~~~~~~~~ -/usr/include/openssl/rsa.h:218:27: note: declared here - 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); - | ^~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_get_ex_data_rsa': -p11_rsa.c:249:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 249 | return RSA_get_ex_data(rsa, rsa_ex_index); - | ^~~~~~ -/usr/include/openssl/rsa.h:457:29: note: declared here - 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); - | ^~~~~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_set_ex_data_rsa': -p11_rsa.c:254:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 254 | RSA_set_ex_data(rsa, rsa_ex_index, key); - | ^~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:456:27: note: declared here - 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); - | ^~~~~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_get_evp_key_rsa': -p11_rsa.c:270:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 270 | RSA_free(rsa); - | ^~~~~~~~ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -p11_rsa.c:274:17: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 274 | RSA_set_method(rsa, PKCS11_get_rsa_method()); - | ^~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:313:27: note: declared here - 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); - | ^~~~~~~~~~~~~~ -p11_rsa.c:276:17: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 276 | RSA_set_flags(rsa, RSA_FLAG_EXT_PKEY); - | ^~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:254:28: note: declared here - 254 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); - | ^~~~~~~~~~~~~ -p11_rsa.c:290:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 290 | EVP_PKEY_set1_RSA(pk, rsa); /* Also increments the rsa ref count */ - | ^~~~~~~~~~~~~~~~~ -/usr/include/openssl/evp.h:1354:5: note: declared here - 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); - | ^~~~~~~~~~~~~~~~~ -p11_rsa.c:291:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 291 | RSA_free(rsa); /* Drops our reference to it */ - | ^~~~~~~~ -/usr/include/openssl/rsa.h:304:28: note: declared here - 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -p11_rsa.c: In function 'pkcs11_get_key_modulus': -p11_rsa.c:304:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 304 | RSA_get0_key(rsa, &rsa_n, NULL, NULL); - | ^~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_get_key_exponent': -p11_rsa.c:321:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 321 | RSA_get0_key(rsa, NULL, &rsa_e, NULL); - | ^~~~~~~~~~~~ -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_get_key_size': -p11_rsa.c:335:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 335 | return RSA_size(rsa); - | ^~~~~~ -/usr/include/openssl/rsa.h:215:27: note: declared here - 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); - | ^~~~~~~~ -p11_rsa.c: In function 'pkcs11_rsa_priv_dec_method': -p11_rsa.c:368:17: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); - | ^~~~~~~~ -/usr/include/openssl/rsa.h:526:7: note: declared here - 526 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, - | ^~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c:368:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); - | ^~~~~~~~ -/usr/include/openssl/rsa.h:310:41: note: declared here - 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); - | ^~~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_rsa_priv_enc_method': -p11_rsa.c:381:17: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); - | ^~~~~~~~ -/usr/include/openssl/rsa.h:516:7: note: declared here - 516 | int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen, - | ^~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c:381:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); - | ^~~~~~~~ -/usr/include/openssl/rsa.h:310:41: note: declared here - 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); - | ^~~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c: In function 'pkcs11_rsa_free_method': -p11_rsa.c:395:17: warning: 'RSA_meth_get_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 395 | RSA_meth_get_finish(RSA_get_default_method()); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:563:7: note: declared here - 563 | int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa); - | ^~~~~~~~~~~~~~~~~~~ -p11_rsa.c:395:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 395 | RSA_meth_get_finish(RSA_get_default_method()); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:310:41: note: declared here - 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); - | ^~~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c: In function 'PKCS11_get_rsa_method': -p11_rsa.c:496:17: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 496 | ops = RSA_meth_dup(RSA_get_default_method()); - | ^~~ -/usr/include/openssl/rsa.h:486:35: note: declared here - 486 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); - | ^~~~~~~~~~~~ -p11_rsa.c:496:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 496 | ops = RSA_meth_dup(RSA_get_default_method()); - | ^~~ -/usr/include/openssl/rsa.h:310:41: note: declared here - 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); - | ^~~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c:499:17: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 499 | RSA_meth_set1_name(ops, "libp11 RSA method"); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:488:27: note: declared here - 488 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, - | ^~~~~~~~~~~~~~~~~~ -p11_rsa.c:500:17: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 500 | RSA_meth_set_flags(ops, 0); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:491:27: note: declared here - 491 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); - | ^~~~~~~~~~~~~~~~~~ -p11_rsa.c:501:17: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 501 | RSA_meth_set_priv_enc(ops, pkcs11_rsa_priv_enc_method); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:521:5: note: declared here - 521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, - | ^~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c:502:17: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 502 | RSA_meth_set_priv_dec(ops, pkcs11_rsa_priv_dec_method); - | ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:531:5: note: declared here - 531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, - | ^~~~~~~~~~~~~~~~~~~~~ -p11_rsa.c:503:17: warning: 'RSA_meth_set_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 503 | RSA_meth_set_finish(ops, pkcs11_rsa_free_method); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:565:5: note: declared here - 565 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); - | ^~~~~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_front.c -fPIC -DPIC -o .libs/libp11_la-p11_front.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_rsa.c -o libp11_la-p11_rsa.o >/dev/null 2>&1 p11_pkey.c: In function 'pkcs11_try_pkey_rsa_sign': p11_pkey.c:343:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 343 | rsa = (RSA *)EVP_PKEY_get0_RSA(pkey); @@ -1170,13 +1207,12 @@ 2023 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_ec.c -o libp11_la-p11_ec.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_rsa.c -o libp11_la-p11_rsa.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_atfork.c -o libp11_la-p11_atfork.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_front.c -o libp11_la-p11_front.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_pkey.c -o libp11_la-p11_pkey.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_slot.c -o libp11_la-p11_slot.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c p11_front.c -o libp11_la-p11_front.o >/dev/null 2>&1 -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib/aarch64-linux-gnu/engines-3 pkcs11_la-eng_front.lo pkcs11_la-eng_back.lo pkcs11_la-eng_parse.lo pkcs11_la-eng_err.lo libp11_la-libpkcs11.lo libp11_la-p11_attr.lo libp11_la-p11_cert.lo libp11_la-p11_err.lo libp11_la-p11_ckr.lo libp11_la-p11_key.lo libp11_la-p11_load.lo libp11_la-p11_misc.lo libp11_la-p11_rsa.lo libp11_la-p11_ec.lo libp11_la-p11_pkey.lo libp11_la-p11_slot.lo libp11_la-p11_front.lo libp11_la-p11_atfork.lo -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -version-info 8:0:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib/aarch64-linux-gnu libp11_la-libpkcs11.lo libp11_la-p11_attr.lo libp11_la-p11_cert.lo libp11_la-p11_err.lo libp11_la-p11_ckr.lo libp11_la-p11_key.lo libp11_la-p11_load.lo libp11_la-p11_misc.lo libp11_la-p11_rsa.lo libp11_la-p11_ec.lo libp11_la-p11_pkey.lo libp11_la-p11_slot.lo libp11_la-p11_front.lo libp11_la-p11_atfork.lo -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib/aarch64-linux-gnu/engines-3 pkcs11_la-eng_front.lo pkcs11_la-eng_back.lo pkcs11_la-eng_parse.lo pkcs11_la-eng_err.lo libp11_la-libpkcs11.lo libp11_la-p11_attr.lo libp11_la-p11_cert.lo libp11_la-p11_err.lo libp11_la-p11_ckr.lo libp11_la-p11_key.lo libp11_la-p11_load.lo libp11_la-p11_misc.lo libp11_la-p11_rsa.lo libp11_la-p11_ec.lo libp11_la-p11_pkey.lo libp11_la-p11_slot.lo libp11_la-p11_front.lo libp11_la-p11_atfork.lo -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -version-info 8:0:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib/aarch64-linux-gnu libp11_la-libpkcs11.lo libp11_la-p11_attr.lo libp11_la-p11_cert.lo libp11_la-p11_err.lo libp11_la-p11_ckr.lo libp11_la-p11_key.lo libp11_la-p11_load.lo libp11_la-p11_misc.lo libp11_la-p11_rsa.lo libp11_la-p11_ec.lo libp11_la-p11_pkey.lo libp11_la-p11_slot.lo libp11_la-p11_front.lo libp11_la-p11_atfork.lo -lcrypto -lpthread libtool: link: gcc -shared -fPIC -DPIC .libs/libp11_la-libpkcs11.o .libs/libp11_la-p11_attr.o .libs/libp11_la-p11_cert.o .libs/libp11_la-p11_err.o .libs/libp11_la-p11_ckr.o .libs/libp11_la-p11_key.o .libs/libp11_la-p11_load.o .libs/libp11_la-p11_misc.o .libs/libp11_la-p11_rsa.o .libs/libp11_la-p11_ec.o .libs/libp11_la-p11_pkey.o .libs/libp11_la-p11_slot.o .libs/libp11_la-p11_front.o .libs/libp11_la-p11_atfork.o -lcrypto -lpthread -g -O2 -fstack-protector-strong -mbranch-protection=standard -Wl,--version-script=libp11.map -Wl,-z -Wl,relro -pthread -Wl,-soname -Wl,libp11.so.3 -o .libs/libp11.so.3.5.0 libtool: link: echo "{ global:" > .libs/pkcs11.ver libtool: link: cat ./pkcs11.exports | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/pkcs11.ver @@ -1200,6 +1236,29 @@ gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o decrypt.o decrypt.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o getrandom.o getrandom.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -c -o listkeys.o listkeys.c +auth.c: In function 'main': +auth.c:252:9: warning: 'PKCS11_sign' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] + 252 | rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, + | ^~ +In file included from auth.c:48: +../src/libp11.h:477:32: note: declared here + 477 | P11_DEPRECATED_FUNC extern int PKCS11_sign(int type, + | ^~~~~~~~~~~ +auth.c:269:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 269 | rc = RSA_verify(NID_sha1, random, RANDOM_SIZE, + | ^~ +In file included from ../src/libp11.h:31: +/usr/include/openssl/rsa.h:362:27: note: declared here + 362 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, + | ^~~~~~~~~~ +auth.c:271:25: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 271 | signature, siglen, (RSA *)EVP_PKEY_get0_RSA(pubkey)); + | ^~~~~~~~~ +In file included from /usr/include/openssl/x509.h:29, + from ../src/libp11.h:32: +/usr/include/openssl/evp.h:1356:22: note: declared here + 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~ decrypt.c: In function 'main': decrypt.c:172:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 172 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); @@ -1247,35 +1306,12 @@ ../src/libp11.h:501:32: note: declared here 501 | P11_DEPRECATED_FUNC extern int PKCS11_private_decrypt( | ^~~~~~~~~~~~~~~~~~~~~~ -auth.c: In function 'main': -auth.c:252:9: warning: 'PKCS11_sign' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] - 252 | rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, - | ^~ -In file included from auth.c:48: -../src/libp11.h:477:32: note: declared here - 477 | P11_DEPRECATED_FUNC extern int PKCS11_sign(int type, - | ^~~~~~~~~~~ -auth.c:269:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 269 | rc = RSA_verify(NID_sha1, random, RANDOM_SIZE, - | ^~ -In file included from ../src/libp11.h:31: -/usr/include/openssl/rsa.h:362:27: note: declared here - 362 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, - | ^~~~~~~~~~ -auth.c:271:25: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 271 | signature, siglen, (RSA *)EVP_PKEY_get0_RSA(pubkey)); - | ^~~~~~~~~ -In file included from /usr/include/openssl/x509.h:29, - from ../src/libp11.h:32: -/usr/include/openssl/evp.h:1356:22: note: declared here - 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o getrandom getrandom.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o listkeys listkeys.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o decrypt decrypt.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o auth auth.o ../src/libp11.la -lcrypto -lpthread -libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o .libs/getrandom getrandom.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o getrandom getrandom.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o listkeys listkeys.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o auth auth.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -Wl,-z,relro -o decrypt decrypt.o ../src/libp11.la -lcrypto -lpthread libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o .libs/listkeys listkeys.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread +libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o .libs/getrandom getrandom.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o .libs/decrypt decrypt.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o .libs/auth auth.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread make[2]: Leaving directory '/build/reproducible-path/libp11-0.4.12/examples' @@ -1340,143 +1376,72 @@ make[3]: Nothing to be done for 'ec-cert.der'. make[3]: Nothing to be done for 'ec-prvkey.der'. make[3]: Nothing to be done for 'ec-pubkey.der'. -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o openssl_version openssl_version.o ../src/libp11.la -lcrypto -lpthread -rsa-oaep.c: In function 'display_openssl_errors': -rsa-pss-sign.c: In function 'display_openssl_errors': -rsa-pss-sign.c:49:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 49 | while ((e = ERR_get_error_line(&file, &line))) { - | ^~~~~ -In file included from rsa-pss-sign.c:35: -/usr/include/openssl/err.h:423:15: note: declared here - 423 | unsigned long ERR_get_error_line(const char **file, int *line); - | ^~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c: In function 'main': -rsa-pss-sign.c:98:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 98 | ENGINE_add_conf_module(); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from rsa-pss-sign.c:36: -/usr/include/openssl/engine.h:709:28: note: declared here - 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); - | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c:110:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 110 | ENGINE_load_builtin_engines(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/engine.h:358:28: note: declared here - 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c:111:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 111 | e = ENGINE_by_id("pkcs11"); - | ^ -/usr/include/openssl/engine.h:336:31: note: declared here - 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); - | ^~~~~~~~~~~~ -rsa-pss-sign.c:117:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 117 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { - | ^~ -/usr/include/openssl/engine.h:479:5: note: declared here - 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, - | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c:122:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 122 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { - | ^~ -/usr/include/openssl/engine.h:479:5: note: declared here - 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, - | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c:127:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 127 | if (!ENGINE_init(e)) { - | ^~ -/usr/include/openssl/engine.h:620:27: note: declared here - 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); - | ^~~~~~~~~~~ -rsa-pss-sign.c:132:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 132 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { - | ^~ -/usr/include/openssl/engine.h:479:5: note: declared here - 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, - | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c:137:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 137 | private_key = ENGINE_load_private_key(e, private_key_name, NULL, NULL); - | ^~~~~~~~~~~ -/usr/include/openssl/engine.h:638:11: note: declared here - 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, - | ^~~~~~~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c:144:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 144 | public_key = ENGINE_load_public_key(e, public_key_name, NULL, NULL); - | ^~~~~~~~~~ -/usr/include/openssl/engine.h:641:11: note: declared here - 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, - | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-pss-sign.c:264:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 264 | ENGINE_finish(e); - | ^~~~~~~~~~~~~ -/usr/include/openssl/engine.h:628:27: note: declared here - 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); - | ^~~~~~~~~~~~~ -rsa-oaep.c:50:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 50 | while ((e = ERR_get_error_line(&file, &line))) { +evp-sign.c: In function 'display_openssl_errors': +evp-sign.c:134:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 134 | while ((e = ERR_get_error_line(&file, &line))) { | ^~~~~ -In file included from rsa-oaep.c:35: +In file included from evp-sign.c:38: /usr/include/openssl/err.h:423:15: note: declared here 423 | unsigned long ERR_get_error_line(const char **file, int *line); | ^~~~~~~~~~~~~~~~~~ -rsa-oaep.c: In function 'main': -rsa-oaep.c:98:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 98 | ENGINE_add_conf_module(); +evp-sign.c: In function 'main': +evp-sign.c:186:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 186 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from rsa-oaep.c:36: +In file included from evp-sign.c:39: /usr/include/openssl/engine.h:709:28: note: declared here 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:108:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 108 | ENGINE_load_builtin_engines(); +evp-sign.c:198:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 198 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:110:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 110 | e = ENGINE_by_id("pkcs11"); +evp-sign.c:199:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 199 | e = ENGINE_by_id("pkcs11"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ -rsa-oaep.c:116:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 116 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { +evp-sign.c:205:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 205 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:121:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 121 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { +evp-sign.c:210:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 210 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:126:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 126 | if (!ENGINE_init(e)) { +evp-sign.c:215:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 215 | if (!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ -rsa-oaep.c:131:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 131 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { - | ^~ +evp-sign.c:228:17: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 228 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { + | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:136:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 136 | private_key = ENGINE_load_private_key(e, private_key_name, NULL, NULL); +evp-sign.c:236:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 236 | private_key = ENGINE_load_private_key(e, private_key_name, | ^~~~~~~~~~~ /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:143:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 143 | public_key = ENGINE_load_public_key(e, public_key_name, NULL, NULL); +evp-sign.c:244:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 244 | public_key = ENGINE_load_public_key(e, public_key_name, | ^~~~~~~~~~ /usr/include/openssl/engine.h:641:11: note: declared here 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:241:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 241 | ENGINE_finish(e); +evp-sign.c:309:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 309 | ENGINE_finish(e); | ^~~~~~~~~~~~~ /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); @@ -1537,61 +1502,142 @@ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ -store-cert.c: In function 'display_openssl_errors': -store-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 46 | while ((e = ERR_get_error_line(&file, &line))) { +rsa-oaep.c: In function 'display_openssl_errors': +rsa-oaep.c:50:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 50 | while ((e = ERR_get_error_line(&file, &line))) { | ^~~~~ -In file included from ../src/libp11.h:29, - from store-cert.c:21: +In file included from rsa-oaep.c:35: /usr/include/openssl/err.h:423:15: note: declared here 423 | unsigned long ERR_get_error_line(const char **file, int *line); | ^~~~~~~~~~~~~~~~~~ -store-cert.c: In function 'main': -store-cert.c:181:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 181 | ENGINE_add_conf_module(); +rsa-pss-sign.c: In function 'display_openssl_errors': +rsa-pss-sign.c:49:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 49 | while ((e = ERR_get_error_line(&file, &line))) { + | ^~~~~ +In file included from rsa-pss-sign.c:35: +/usr/include/openssl/err.h:423:15: note: declared here + 423 | unsigned long ERR_get_error_line(const char **file, int *line); + | ^~~~~~~~~~~~~~~~~~ +rsa-oaep.c: In function 'main': +rsa-oaep.c:98:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 98 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from store-cert.c:23: +In file included from rsa-oaep.c:36: /usr/include/openssl/engine.h:709:28: note: declared here 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); | ^~~~~~~~~~~~~~~~~~~~~~ -store-cert.c:194:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 194 | ENGINE_load_builtin_engines(); +rsa-pss-sign.c: In function 'main': +rsa-pss-sign.c:98:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 98 | ENGINE_add_conf_module(); + | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-oaep.c:108:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 108 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -store-cert.c:196:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 196 | engine = ENGINE_by_id("pkcs11"); - | ^~~~~~ +rsa-oaep.c:110:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 110 | e = ENGINE_by_id("pkcs11"); + | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ -store-cert.c:204:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 204 | if (!ENGINE_ctrl_cmd_string(engine, "VERBOSE", NULL, 0)) { +In file included from rsa-pss-sign.c:36: +/usr/include/openssl/engine.h:709:28: note: declared here + 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); + | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-oaep.c:116:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 116 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { | ^~ +rsa-pss-sign.c:110:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 110 | ENGINE_load_builtin_engines(); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -store-cert.c:209:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 209 | if (!ENGINE_ctrl_cmd_string(engine, "MODULE_PATH", module, 0)) { +/usr/include/openssl/engine.h:358:28: note: declared here + 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +rsa-oaep.c:121:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 121 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { | ^~ +rsa-pss-sign.c:111:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 111 | e = ENGINE_by_id("pkcs11"); + | ^ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -store-cert.c:214:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 214 | if (!ENGINE_init(engine)) { +/usr/include/openssl/engine.h:336:31: note: declared here + 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); + | ^~~~~~~~~~~~ +rsa-oaep.c:126:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 126 | if (!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ -store-cert.c:223:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 223 | if (!ENGINE_ctrl_cmd( - | ^~ -/usr/include/openssl/engine.h:450:27: note: declared here - 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, - | ^~~~~~~~~~~~~~~ -store-cert.c:267:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 267 | ENGINE_finish(engine); +rsa-pss-sign.c:117:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 117 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { + | ^~ +rsa-oaep.c:131:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 131 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { + | ^~ +/usr/include/openssl/engine.h:479:5: note: declared here + 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, + | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-oaep.c:136:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 136 | private_key = ENGINE_load_private_key(e, private_key_name, NULL, NULL); + | ^~~~~~~~~~~ +/usr/include/openssl/engine.h:638:11: note: declared here + 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, + | ^~~~~~~~~~~~~~~~~~~~~~~ +rsa-oaep.c:143:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 143 | public_key = ENGINE_load_public_key(e, public_key_name, NULL, NULL); + | ^~~~~~~~~~ +/usr/include/openssl/engine.h:641:11: note: declared here + 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/engine.h:479:5: note: declared here + 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, + | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-pss-sign.c:122:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 122 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { + | ^~ +/usr/include/openssl/engine.h:479:5: note: declared here + 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, + | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-pss-sign.c:127:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 127 | if (!ENGINE_init(e)) { + | ^~ +/usr/include/openssl/engine.h:620:27: note: declared here + 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); + | ^~~~~~~~~~~ +rsa-pss-sign.c:132:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 132 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { + | ^~ +/usr/include/openssl/engine.h:479:5: note: declared here + 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, + | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-oaep.c:241:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 241 | ENGINE_finish(e); + | ^~~~~~~~~~~~~ +rsa-pss-sign.c:137:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 137 | private_key = ENGINE_load_private_key(e, private_key_name, NULL, NULL); + | ^~~~~~~~~~~ +/usr/include/openssl/engine.h:628:27: note: declared here + 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); + | ^~~~~~~~~~~~~ +/usr/include/openssl/engine.h:638:11: note: declared here + 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, + | ^~~~~~~~~~~~~~~~~~~~~~~ +rsa-pss-sign.c:144:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 144 | public_key = ENGINE_load_public_key(e, public_key_name, NULL, NULL); + | ^~~~~~~~~~ +/usr/include/openssl/engine.h:641:11: note: declared here + 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, + | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-pss-sign.c:264:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 264 | ENGINE_finish(e); | ^~~~~~~~~~~~~ /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); @@ -1612,7 +1658,6 @@ /usr/include/openssl/engine.h:709:28: note: declared here 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c: In function 'display_openssl_errors': check-privkey.c:99:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 99 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1661,110 +1706,101 @@ /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); | ^~~~~~~~~~~~~ -evp-sign.c:134:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 134 | while ((e = ERR_get_error_line(&file, &line))) { +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o openssl_version openssl_version.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o fork-test fork-test.o ../src/libp11.la -lcrypto -lpthread +store-cert.c: In function 'display_openssl_errors': +store-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 46 | while ((e = ERR_get_error_line(&file, &line))) { | ^~~~~ -In file included from evp-sign.c:38: +In file included from ../src/libp11.h:29, + from store-cert.c:21: /usr/include/openssl/err.h:423:15: note: declared here 423 | unsigned long ERR_get_error_line(const char **file, int *line); | ^~~~~~~~~~~~~~~~~~ -evp-sign.c: In function 'main': -evp-sign.c:186:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 186 | ENGINE_add_conf_module(); +store-cert.c: In function 'main': +store-cert.c:181:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 181 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from evp-sign.c:39: +In file included from store-cert.c:23: /usr/include/openssl/engine.h:709:28: note: declared here 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:198:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 198 | ENGINE_load_builtin_engines(); +store-cert.c:194:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 194 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:199:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 199 | e = ENGINE_by_id("pkcs11"); - | ^ +store-cert.c:196:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 196 | engine = ENGINE_by_id("pkcs11"); + | ^~~~~~ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ -evp-sign.c:205:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 205 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { +store-cert.c:204:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 204 | if (!ENGINE_ctrl_cmd_string(engine, "VERBOSE", NULL, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:210:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 210 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { +store-cert.c:209:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 209 | if (!ENGINE_ctrl_cmd_string(engine, "MODULE_PATH", module, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:215:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 215 | if (!ENGINE_init(e)) { +store-cert.c:214:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 214 | if (!ENGINE_init(engine)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ -evp-sign.c:228:17: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 228 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { +store-cert.c:223:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 223 | if (!ENGINE_ctrl_cmd( | ^~ -/usr/include/openssl/engine.h:479:5: note: declared here - 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, - | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:236:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 236 | private_key = ENGINE_load_private_key(e, private_key_name, - | ^~~~~~~~~~~ -/usr/include/openssl/engine.h:638:11: note: declared here - 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, - | ^~~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:244:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 244 | public_key = ENGINE_load_public_key(e, public_key_name, - | ^~~~~~~~~~ -/usr/include/openssl/engine.h:641:11: note: declared here - 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, - | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:309:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 309 | ENGINE_finish(e); +/usr/include/openssl/engine.h:450:27: note: declared here + 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, + | ^~~~~~~~~~~~~~~ +store-cert.c:267:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 267 | ENGINE_finish(engine); | ^~~~~~~~~~~~~ /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); | ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o list-tokens list-tokens.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o rsa-oaep rsa-oaep.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o fork-change-slot fork-change-slot.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o rsa-pss-sign rsa-pss-sign.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o check-privkey check-privkey.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o store-cert store-cert.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o evp-sign evp-sign.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o fork-test fork-test.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o list-tokens list-tokens.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o evp-sign evp-sign.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o rsa-pss-sign rsa-pss-sign.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o fork-change-slot fork-change-slot.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o check-privkey check-privkey.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o rsa-oaep rsa-oaep.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pthread -no-install -Wl,-z,relro -o store-cert store-cert.o ../src/libp11.la -lcrypto -lpthread +libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o evp-sign evp-sign.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs +libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o check-privkey check-privkey.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs +libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o fork-test fork-test.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o openssl_version openssl_version.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o list-tokens list-tokens.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs -libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o fork-change-slot fork-change-slot.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs -libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o check-privkey check-privkey.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs -libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o rsa-oaep rsa-oaep.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o rsa-pss-sign rsa-pss-sign.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs +libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o rsa-oaep rsa-oaep.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs +libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o fork-change-slot fork-change-slot.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o store-cert store-cert.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs -libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o evp-sign evp-sign.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs -libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libp11-0.4.12=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro -o fork-test fork-test.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/reproducible-path/libp11-0.4.12/src/.libs make[3]: Leaving directory '/build/reproducible-path/libp11-0.4.12/tests' make check-TESTS make[3]: Entering directory '/build/reproducible-path/libp11-0.4.12/tests' make[4]: Entering directory '/build/reproducible-path/libp11-0.4.12/tests' -SKIP: rsa-testlistkeys.softhsm SKIP: rsa-testpkcs11.softhsm SKIP: rsa-testfork.softhsm +SKIP: rsa-testlistkeys.softhsm SKIP: rsa-evp-sign.softhsm -SKIP: fork-change-slot.softhsm -SKIP: ec-evp-sign.softhsm -SKIP: rsa-pss-sign.softhsm SKIP: ec-testfork.softhsm -SKIP: rsa-oaep.softhsm +SKIP: ec-evp-sign.softhsm +SKIP: fork-change-slot.softhsm SKIP: case-insensitive.softhsm -SKIP: ec-check-privkey.softhsm +SKIP: rsa-oaep.softhsm +SKIP: rsa-pss-sign.softhsm +SKIP: pkcs11-uri-without-token.softhsm SKIP: rsa-check-privkey.softhsm SKIP: search-all-matching-tokens.softhsm -SKIP: pkcs11-uri-without-token.softhsm +SKIP: ec-check-privkey.softhsm SKIP: ec-cert-store.softhsm ============================================================================ Testsuite summary for libp11 0.4.12 @@ -1793,7 +1829,7 @@ make[2]: Entering directory '/build/reproducible-path/libp11-0.4.12/src' make[3]: Entering directory '/build/reproducible-path/libp11-0.4.12/src' /usr/bin/mkdir -p '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libp11.la '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libp11.la '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu' libtool: install: /usr/bin/install -c .libs/libp11.so.3.5.0 /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu/libp11.so.3.5.0 libtool: install: (cd /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu && { ln -s -f libp11.so.3.5.0 libp11.so.3 || { rm -f libp11.so.3 && ln -s libp11.so.3.5.0 libp11.so.3; }; }) libtool: install: (cd /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu && { ln -s -f libp11.so.3.5.0 libp11.so || { rm -f libp11.so && ln -s libp11.so.3.5.0 libp11.so; }; }) @@ -1803,7 +1839,7 @@ libtool: install: ranlib /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu/libp11.a libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu' /usr/bin/mkdir -p '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu/engines-3' - /bin/bash ../libtool --mode=install /usr/bin/install -c pkcs11.la '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu/engines-3' + /bin/sh ../libtool --mode=install /usr/bin/install -c pkcs11.la '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu/engines-3' libtool: install: /usr/bin/install -c .libs/pkcs11.so /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu/engines-3/pkcs11.so libtool: install: /usr/bin/install -c .libs/pkcs11.lai /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/aarch64-linux-gnu/engines-3/pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu/engines-3' @@ -1910,11 +1946,11 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'libengine-pkcs11-openssl' in '../libengine-pkcs11-openssl_0.4.12-3_arm64.deb'. -dpkg-deb: building package 'libp11-3t64-dbgsym' in '../libp11-3t64-dbgsym_0.4.12-3_arm64.deb'. -dpkg-deb: building package 'libp11-3t64' in '../libp11-3t64_0.4.12-3_arm64.deb'. -dpkg-deb: building package 'libengine-pkcs11-openssl-dbgsym' in '../libengine-pkcs11-openssl-dbgsym_0.4.12-3_arm64.deb'. dpkg-deb: building package 'libp11-dev' in '../libp11-dev_0.4.12-3_arm64.deb'. +dpkg-deb: building package 'libengine-pkcs11-openssl-dbgsym' in '../libengine-pkcs11-openssl-dbgsym_0.4.12-3_arm64.deb'. +dpkg-deb: building package 'libp11-3t64' in '../libp11-3t64_0.4.12-3_arm64.deb'. +dpkg-deb: building package 'libp11-3t64-dbgsym' in '../libp11-3t64-dbgsym_0.4.12-3_arm64.deb'. +dpkg-deb: building package 'libengine-pkcs11-openssl' in '../libengine-pkcs11-openssl_0.4.12-3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../libp11_0.4.12-3_arm64.buildinfo dpkg-genchanges --build=binary -O../libp11_0.4.12-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1922,12 +1958,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/657873/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/657873/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/1793119 and its subdirectories -I: Current time: Sun Sep 1 21:13:16 -12 2024 -I: pbuilder-time-stamp: 1725268396 +I: removing directory /srv/workspace/pbuilder/657873 and its subdirectories +I: Current time: Mon Sep 2 23:14:59 +14 2024 +I: pbuilder-time-stamp: 1725268499