Diff of the two buildlogs: -- --- b1/build.log 2024-06-06 07:59:26.827360368 +0000 +++ b2/build.log 2024-06-06 08:00:22.592987969 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 5 19:58:41 -12 2024 -I: pbuilder-time-stamp: 1717660721 +I: Current time: Thu Jul 10 04:22:29 +14 2025 +I: pbuilder-time-stamp: 1752070949 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,51 +29,83 @@ 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/3022894/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1979519/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 9 14:22 /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/1979519/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1979519/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='670c6001f88544a8ac7e863453aad462' - 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='3022894' - PS1='# ' - PS2='> ' + INVOCATION_ID=344caebd2bba4e199c77f0a0e44eac15 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1979519 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.pRd2cSgv/pbuilderrc_dDHJ --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pRd2cSgv/b1 --logfile b1/build.log libp11_0.4.12-2.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' + 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.pRd2cSgv/pbuilderrc_KXYR --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.pRd2cSgv/b2 --logfile b2/build.log libp11_0.4.12-2.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' I: uname -a - Linux infom01-amd64 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 6 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3022894/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jul 9 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1979519/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -153,7 +185,7 @@ Get: 34 http://deb.debian.org/debian unstable/main amd64 libssl-dev amd64 3.2.2-1 [2701 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 pkgconf-bin amd64 1.8.1-1+b2 [29.7 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-1+b2 [26.2 kB] -Fetched 22.6 MB in 0s (93.2 MB/s) +Fetched 22.6 MB in 0s (87.5 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 ... 19705 files and directories currently installed.) @@ -312,7 +344,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-2_source.changes +I: user script /srv/workspace/pbuilder/1979519/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1979519/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-2_source.changes dpkg-buildpackage: info: source package libp11 dpkg-buildpackage: info: source version 0.4.12-2 dpkg-buildpackage: info: source distribution unstable @@ -496,67 +532,31 @@ 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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -c p11_err.c -fPIC -DPIC -o .libs/libp11_la-p11_err.o +/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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -c eng_err.c -o pkcs11_la-eng_err.o >/dev/null 2>&1 -p11_key.c: In function 'pkcs11_store_key': -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); - | ^~~ -In file included from /usr/include/openssl/x509.h:29, - from libp11.h:32, - from libp11-int.h:27, - from p11_key.c:20: -/usr/include/openssl/evp.h:1356:16: note: declared here - 1356 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); - | ^~~~~~~~~~~~~~~~~ -p11_key.c:368:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 368 | RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); - | ^~~~~~~~~~~~ -In file included from libp11.h:31: -/usr/include/openssl/rsa.h:228:28: note: declared here - 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, - | ^~~~~~~~~~~~ -p11_key.c:369:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 369 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); - | ^~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:231:28: note: declared here - 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, - | ^~~~~~~~~~~~~~~~ -p11_key.c:370:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 370 | RSA_get0_crt_params(rsa, &rsa_dmp1, &rsa_dmq1, &rsa_iqmp); - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/rsa.h:236:28: note: declared here - 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, - | ^~~~~~~~~~~~~~~~~~~ -p11_key.c:371:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 371 | RSA_free(rsa); - | ^~~~~~~~ -/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 -fcf-protection -pthread -c p11_err.c -o libp11_la-p11_err.o >/dev/null 2>&1 eng_front.c: In function 'get_ctx': eng_front.c:95:17: warning: 'ENGINE_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | ctx = ENGINE_get_ex_data(engine, pkcs11_idx); @@ -662,28 +662,244 @@ /usr/include/openssl/engine.h:511:5: note: declared here 511 | int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -c eng_err.c -o pkcs11_la-eng_err.o >/dev/null 2>&1 +p11_key.c: In function 'pkcs11_store_key': +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); + | ^~~ +In file included from /usr/include/openssl/x509.h:29, + from libp11.h:32, + from libp11-int.h:27, + from p11_key.c:20: +/usr/include/openssl/evp.h:1356:16: note: declared here + 1356 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~ +p11_key.c:368:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 368 | RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); + | ^~~~~~~~~~~~ +In file included from libp11.h:31: +/usr/include/openssl/rsa.h:228:28: note: declared here + 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, + | ^~~~~~~~~~~~ +p11_key.c:369:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 369 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); + | ^~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:231:28: note: declared here + 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, + | ^~~~~~~~~~~~~~~~ +p11_key.c:370:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 370 | RSA_get0_crt_params(rsa, &rsa_dmp1, &rsa_dmq1, &rsa_iqmp); + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/openssl/rsa.h:236:28: note: declared here + 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, + | ^~~~~~~~~~~~~~~~~~~ +p11_key.c:371:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 371 | RSA_free(rsa); + | ^~~~~~~~ +/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 -fcf-protection -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 -fcf-protection -pthread -c libpkcs11.c -o libp11_la-libpkcs11.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 -fcf-protection -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 -fcf-protection -pthread -c p11_ckr.c -o libp11_la-p11_ckr.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -c p11_attr.c -o libp11_la-p11_attr.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 -fcf-protection -pthread -c p11_misc.c -o libp11_la-p11_misc.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -c -o libp11_la-p11_ec.lo `test -f 'p11_ec.c' || echo './'`p11_ec.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o +/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 -fcf-protection -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 -fcf-protection -pthread -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.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 -fcf-protection -pthread -c -o libp11_la-p11_front.lo `test -f 'p11_front.c' || echo './'`p11_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 -fcf-protection -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 -fcf-protection -pthread -c p11_key.c -o libp11_la-p11_key.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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:1354:22: note: declared here + 1354 | 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); + | ^~~~~~~~ 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 -fcf-protection -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 -fcf-protection -pthread -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o +/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:1352:5: note: declared here + 1352 | 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 -fcf-protection -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 -fcf-protection -pthread -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o 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; @@ -873,186 +1089,6 @@ /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: 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:1354:22: note: declared here - 1354 | 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:1352:5: note: declared here - 1352 | 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)); - | ^~~~~~~~~~~~~~~~~~~ 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); @@ -1078,6 +1114,7 @@ /usr/include/openssl/evp.h:1751:46: note: declared here 1751 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | ^~~~~~~~~~~~~~~~~~ +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 -fcf-protection -pthread -c eng_back.c -o pkcs11_la-eng_back.o >/dev/null 2>&1 p11_pkey.c:528:9: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 528 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ @@ -1165,15 +1202,14 @@ /usr/include/openssl/evp.h:2021:28: note: declared here 2021 | 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 -fcf-protection -pthread -c eng_back.c -o pkcs11_la-eng_back.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib/x86_64-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 -fcf-protection -pthread -version-info 8:0:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib/x86_64-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 -fcf-protection -pthread -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib/x86_64-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 -fcf-protection -pthread -version-info 8:0:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib/x86_64-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 -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 @@ -1201,13 +1237,25 @@ 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, | ^~ +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))); + | ^~~~~~~~~ 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, | ^~~~~~~~~~~ +In file included from ../src/libp11.h:31, + from decrypt.c:48: +/usr/include/openssl/rsa.h:215:27: note: declared here + 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); + | ^~~~~~~~ auth.c:269:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | rc = RSA_verify(NID_sha1, random, RANDOM_SIZE, | ^~ +decrypt.c:172:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 172 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); + | ^~~~~~~~~ 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, @@ -1220,26 +1268,14 @@ /usr/include/openssl/evp.h:1354:22: note: declared here 1354 | 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))); - | ^~~~~~~~~ -In file included from ../src/libp11.h:31, - from decrypt.c:48: -/usr/include/openssl/rsa.h:215:27: note: declared here - 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); - | ^~~~~~~~ -decrypt.c:172:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 172 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); - | ^~~~~~~~~ +decrypt.c:183:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 183 | len = RSA_public_encrypt(RANDOM_SIZE, random, encrypted, + | ^~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32: /usr/include/openssl/evp.h:1354:22: note: declared here 1354 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ -decrypt.c:183:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 183 | len = RSA_public_encrypt(RANDOM_SIZE, random, encrypted, - | ^~~ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ @@ -1267,14 +1303,14 @@ ../src/libp11.h:501:32: note: declared here 501 | P11_DEPRECATED_FUNC extern int PKCS11_private_decrypt( | ^~~~~~~~~~~~~~~~~~~~~~ -/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 -fcf-protection -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 -fcf-protection -pthread -Wl,-z,relro -o auth auth.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -Wl,-z -Wl,relro -o .libs/auth auth.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 -fcf-protection -Wl,-z -Wl,relro -o .libs/listkeys listkeys.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 -fcf-protection -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 -fcf-protection -pthread -Wl,-z,relro -o decrypt decrypt.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 -fcf-protection -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 -fcf-protection -pthread -Wl,-z,relro -o listkeys listkeys.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 -fcf-protection -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 -fcf-protection -Wl,-z -Wl,relro -o .libs/auth auth.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 -fcf-protection -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 -fcf-protection -Wl,-z -Wl,relro -o .libs/listkeys listkeys.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread make[2]: Leaving directory '/build/reproducible-path/libp11-0.4.12/examples' Making all in tests make[2]: Entering directory '/build/reproducible-path/libp11-0.4.12/tests' @@ -1337,80 +1373,26 @@ 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 -fcf-protection -pthread -no-install -Wl,-z,relro -o openssl_version openssl_version.o ../src/libp11.la -lcrypto -lpthread -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, - | ^~~~~~~~~~~~~~~~~~~~~~ +/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 -fcf-protection -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: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); - | ^~~~~~~~~~~ +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:50:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 50 | while ((e = ERR_get_error_line(&file, &line))) { | ^~~~~ -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, - | ^~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~ -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, - | ^~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~ rsa-oaep.c: In function 'main': +rsa-pss-sign.c: In function 'display_openssl_errors': rsa-oaep.c:98:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -1418,125 +1400,179 @@ /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:49:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 49 | while ((e = ERR_get_error_line(&file, &line))) { + | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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: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: In function 'main': 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)) { | ^~ /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: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 'main': 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)) { | ^~ /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, | ^~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~ +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:126:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | if (!ENGINE_init(e)) { | ^~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)) { | ^~ +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:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~ +/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: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-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, - | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:241:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 241 | ENGINE_finish(e); - | ^~~~~~~~~~~~~ -/usr/include/openssl/engine.h:628:27: note: declared here - 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(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))) { - | ^~~~~ -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); - | ^~~~~~~~~~~~~~~~~~ -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 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); - | ^~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -store-cert.c:196:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 196 | engine = ENGINE_by_id("pkcs11"); - | ^~~~~~ +rsa-pss-sign.c:111:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 111 | e = ENGINE_by_id("pkcs11"); + | ^ +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: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)) { +/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: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-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, + | ^~~~~~~~~~~~~~~~~~~~~~ +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)) { + | ^~ 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, | ^~~~~~~~~~~~~~~~~~~~~~ +/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); + | ^~~~~~~~~~~ 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); | ^~~~~~~~~~~ +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, + | ^~~~~~~~~~~~~~~~~~~~~~ store-cert.c:223:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | if (!ENGINE_ctrl_cmd( | ^~ +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:450:27: note: declared here 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_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-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, + | ^~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~ +rsa-oaep.c:241:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 241 | ENGINE_finish(e); + | ^~~~~~~~~~~~~ +/usr/include/openssl/engine.h:628:27: note: declared here + 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); + | ^~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~ 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))) { @@ -1663,7 +1699,6 @@ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(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 -fcf-protection -pthread -no-install -Wl,-z,relro -o list-tokens list-tokens.o ../src/libp11.la -lcrypto -lpthread check-privkey.c: In function 'display_openssl_errors': check-privkey.c:47:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 47 | while ((e = ERR_get_error_line(&file, &line))) { @@ -1728,38 +1763,39 @@ /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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -no-install -Wl,-z,relro -o store-cert store-cert.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -pthread -no-install -Wl,-z,relro -o fork-change-slot fork-change-slot.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 -fcf-protection -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 -/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 -fcf-protection -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 -fcf-protection -pthread -no-install -Wl,-z,relro -o check-privkey check-privkey.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 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-testfork.softhsm SKIP: rsa-testpkcs11.softhsm -SKIP: fork-change-slot.softhsm -SKIP: rsa-pss-sign.softhsm SKIP: rsa-evp-sign.softhsm -SKIP: rsa-oaep.softhsm -SKIP: rsa-testfork.softhsm +SKIP: rsa-pss-sign.softhsm SKIP: rsa-testlistkeys.softhsm +SKIP: rsa-oaep.softhsm SKIP: ec-evp-sign.softhsm -SKIP: ec-testfork.softhsm +SKIP: fork-change-slot.softhsm SKIP: case-insensitive.softhsm -SKIP: ec-check-privkey.softhsm +SKIP: ec-testfork.softhsm SKIP: rsa-check-privkey.softhsm +SKIP: ec-check-privkey.softhsm SKIP: pkcs11-uri-without-token.softhsm SKIP: search-all-matching-tokens.softhsm SKIP: ec-cert-store.softhsm @@ -1790,7 +1826,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/x86_64-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libp11.la '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/x86_64-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libp11.la '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/x86_64-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/x86_64-linux-gnu/libp11.so.3.5.0 libtool: install: (cd /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/x86_64-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/x86_64-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; }; }) @@ -1800,7 +1836,7 @@ libtool: install: ranlib /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/x86_64-linux-gnu/libp11.a libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu' /usr/bin/mkdir -p '/build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/x86_64-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/x86_64-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/x86_64-linux-gnu/engines-3' libtool: install: /usr/bin/install -c .libs/pkcs11.so /build/reproducible-path/libp11-0.4.12/debian/tmp/usr/lib/x86_64-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/x86_64-linux-gnu/engines-3/pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu/engines-3' @@ -1900,9 +1936,9 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'libp11-dev' in '../libp11-dev_0.4.12-2_amd64.deb'. -dpkg-deb: building package 'libp11-3t64' in '../libp11-3t64_0.4.12-2_amd64.deb'. dpkg-deb: building package 'libp11-3t64-dbgsym' in '../libp11-3t64-dbgsym_0.4.12-2_amd64.deb'. dpkg-deb: building package 'libengine-pkcs11-openssl' in '../libengine-pkcs11-openssl_0.4.12-2_amd64.deb'. +dpkg-deb: building package 'libp11-3t64' in '../libp11-3t64_0.4.12-2_amd64.deb'. dpkg-deb: building package 'libengine-pkcs11-openssl-dbgsym' in '../libengine-pkcs11-openssl-dbgsym_0.4.12-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libp11_0.4.12-2_amd64.buildinfo dpkg-genchanges --build=binary -O../libp11_0.4.12-2_amd64.changes @@ -1911,12 +1947,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/1979519/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1979519/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/3022894 and its subdirectories -I: Current time: Wed Jun 5 19:59:26 -12 2024 -I: pbuilder-time-stamp: 1717660766 +I: removing directory /srv/workspace/pbuilder/1979519 and its subdirectories +I: Current time: Thu Jul 10 04:23:21 +14 2025 +I: pbuilder-time-stamp: 1752071001