Diff of the two buildlogs: -- --- b1/build.log 2023-04-27 17:04:51.714559054 +0000 +++ b2/build.log 2023-04-27 17:05:23.781136186 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 27 05:03:05 -12 2023 -I: pbuilder-time-stamp: 1682614985 +I: Current time: Thu May 30 13:27:53 +14 2024 +I: pbuilder-time-stamp: 1717025273 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: copying [./libp11_0.4.12.orig.tar.gz.asc] I: copying [./libp11_0.4.12-0.1.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Dec 9 01:13:16 2022 -12 +gpgv: Signature made Sat Dec 10 03:13:16 2022 +14 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key @@ -28,137 +28,169 @@ dpkg-source: info: unpacking libp11_0.4.12-0.1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21696/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/88492/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 30 13:28 /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/88492/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/88492/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='cac2d078c3ed434d8788c9845bb4e890' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='21696' - PS1='# ' - PS2='> ' + INVOCATION_ID=b7e87e8c70e243c58e4d85a2b3f3fe67 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=88492 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.z3we8uyn/pbuilderrc_40ik --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z3we8uyn/b1 --logfile b1/build.log libp11_0.4.12-0.1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.z3we8uyn/pbuilderrc_AhN9 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.z3we8uyn/b2 --logfile b2/build.log --extrapackages usrmerge libp11_0.4.12-0.1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-21-686-pae #1 SMP Debian 5.10.162-1 (2023-01-21) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/21696/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 30 13:28 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/88492/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -240,7 +272,7 @@ Get: 36 http://deb.debian.org/debian bookworm/main i386 pkgconf-bin i386 1.8.1-1 [29.8 kB] Get: 37 http://deb.debian.org/debian bookworm/main i386 pkgconf i386 1.8.1-1 [25.9 kB] Get: 38 http://deb.debian.org/debian bookworm/main i386 pkg-config i386 1.8.1-1 [13.7 kB] -Fetched 22.3 MB in 0s (48.2 MB/s) +Fetched 22.3 MB in 0s (71.3 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 ... 19604 files and directories currently installed.) @@ -406,8 +438,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-0.1_source.changes +I: user script /srv/workspace/pbuilder/88492/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/88492/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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-0.1_source.changes dpkg-buildpackage: info: source package libp11 dpkg-buildpackage: info: source version 0.4.12-0.1 dpkg-buildpackage: info: source distribution unstable @@ -444,7 +487,7 @@ checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -477,13 +520,13 @@ checking if LD -Wl,--version-script works... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes -checking for a sed that does not truncate output... /bin/sed +checking for a sed that does not truncate output... /usr/bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf -checking for a sed that does not truncate output... (cached) /bin/sed -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E -checking for fgrep... /bin/grep -F +checking for a sed that does not truncate output... (cached) /usr/bin/sed +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E +checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B @@ -503,8 +546,8 @@ checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no -checking for a working dd... /bin/dd -checking how to truncate binary pipes... /bin/dd bs=4096 count=1 +checking for a working dd... /usr/bin/dd +checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes @@ -524,7 +567,7 @@ checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for windres... no -checking for egrep... (cached) /bin/grep -E +checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for errno.h... yes checking for fcntl.h... yes @@ -583,205 +626,42 @@ OPENSSL_LIBS: -lcrypto dh_auto_build - make -j8 + make -j15 make[1]: Entering directory '/build/libp11-0.4.12' Making all in src make[2]: Entering directory '/build/libp11-0.4.12/src' make all-am make[3]: Entering directory '/build/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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c eng_err.c -fPIC -DPIC -o .libs/pkcs11_la-eng_err.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_misc.lo `test -f 'p11_misc.c' || echo './'`p11_misc.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c eng_err.c -o pkcs11_la-eng_err.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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); - | ^~~ -In file included from engine.h:41, - from eng_front.c:16: -/usr/include/openssl/engine.h:534:29: note: declared here - 534 | OSSL_DEPRECATEDIN_3_0 void *ENGINE_get_ex_data(const ENGINE *e, int idx); - | ^~~~~~~~~~~~~~~~~~ -eng_front.c:99:17: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 99 | ENGINE_set_ex_data(engine, pkcs11_idx, ctx); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/engine.h:533:27: note: declared here - 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); - | ^~~~~~~~~~~~~~~~~~ -eng_front.c: In function 'engine_destroy': -eng_front.c:126:9: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 126 | ENGINE_set_ex_data(engine, pkcs11_idx, NULL); - | ^~~~~~~~~~~~~~~~~~ -/usr/include/openssl/engine.h:533:27: note: declared here - 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); - | ^~~~~~~~~~~~~~~~~~ -eng_front.c: In function 'load_privkey': -eng_front.c:193:9: warning: 'EVP_PKEY_set1_engine' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 193 | if (pkey && !EVP_PKEY_set1_engine(pkey, engine)) { - | ^~ -In file included from /usr/include/openssl/x509.h:29, - from libp11.h:32, - from engine.h:35: -/usr/include/openssl/evp.h:1323:5: note: declared here - 1323 | int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e); - | ^~~~~~~~~~~~~~~~~~~~ -eng_front.c: In function 'bind_helper': -eng_front.c:215:9: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 215 | if (!ENGINE_set_id(e, PKCS11_ENGINE_ID) || - | ^~ -/usr/include/openssl/engine.h:495:27: note: declared here - 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); - | ^~~~~~~~~~~~~ -eng_front.c:216:25: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 216 | !ENGINE_set_destroy_function(e, engine_destroy) || - | ^ -/usr/include/openssl/engine.h:503:5: note: declared here - 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -eng_front.c:217:25: warning: 'ENGINE_set_init_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 217 | !ENGINE_set_init_function(e, engine_init) || - | ^ -/usr/include/openssl/engine.h:505:5: note: declared here - 505 | int ENGINE_set_init_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -eng_front.c:218:25: warning: 'ENGINE_set_finish_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 218 | !ENGINE_set_finish_function(e, engine_finish) || - | ^ -/usr/include/openssl/engine.h:507:5: note: declared here - 507 | int ENGINE_set_finish_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -eng_front.c:219:25: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 219 | !ENGINE_set_ctrl_function(e, engine_ctrl) || - | ^ -/usr/include/openssl/engine.h:509:5: note: declared here - 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -eng_front.c:220:25: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 220 | !ENGINE_set_cmd_defns(e, engine_cmd_defns) || - | ^ -/usr/include/openssl/engine.h:526:27: note: declared here - 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, - | ^~~~~~~~~~~~~~~~~~~~ -eng_front.c:221:25: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 221 | !ENGINE_set_name(e, PKCS11_ENGINE_NAME) || - | ^ -/usr/include/openssl/engine.h:496:27: note: declared here - 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); - | ^~~~~~~~~~~~~~~ -eng_front.c:223:25: warning: 'ENGINE_set_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 223 | !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) || - | ^ -/usr/include/openssl/engine.h:497:27: note: declared here - 497 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); - | ^~~~~~~~~~~~~~ -eng_front.c:228:25: warning: 'ENGINE_set_EC' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 228 | !ENGINE_set_EC(e, PKCS11_get_ec_key_method()) || - | ^ -/usr/include/openssl/engine.h:499:27: note: declared here - 499 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ecdsa_meth); - | ^~~~~~~~~~~~~ -eng_front.c:238:25: warning: 'ENGINE_set_pkey_meths' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 238 | !ENGINE_set_pkey_meths(e, PKCS11_pkey_meths) || - | ^ -/usr/include/openssl/engine.h:522:5: note: declared here - 522 | int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); - | ^~~~~~~~~~~~~~~~~~~~~ -eng_front.c:239:25: warning: 'ENGINE_set_load_pubkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 239 | !ENGINE_set_load_pubkey_function(e, load_pubkey) || - | ^ -/usr/include/openssl/engine.h:513:5: note: declared here - 513 | int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -eng_front.c:240:25: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 240 | !ENGINE_set_load_privkey_function(e, load_privkey)) { - | ^ -/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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -eng_back.c: In function 'ctx_try_load_object': -eng_back.c:554:85: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 554 | ctx_log(ctx, 0, "Multiple matching slots (%lu); will not try to" - | ~~^ - | | - | long unsigned int - | %u - 555 | " login\n", matched_count); - | ~~~~~~~~~~~~~ - | | - | size_t {aka unsigned int} -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c eng_front.c -o pkcs11_la-eng_front.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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_cert.c -o libp11_la-p11_cert.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_load.lo `test -f 'p11_load.c' || echo './'`p11_load.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_load.c -fPIC -DPIC -o .libs/libp11_la-p11_load.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c -p11_key.c: In function 'pkcs11_store_key': -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:1348:16: note: declared here - 1348 | 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:217:28: note: declared here - 217 | 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:220:28: note: declared here - 220 | 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:225:28: note: declared here - 225 | 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:293:28: note: declared here - 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); - | ^~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_ckr.c -o libp11_la-p11_ckr.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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_load.c -o libp11_la-p11_load.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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_misc.c -o libp11_la-p11_misc.o >/dev/null 2>&1 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); @@ -962,8 +842,6 @@ /usr/include/openssl/rsa.h:554:5: note: declared here 554 | 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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.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; @@ -1153,10 +1031,113 @@ /usr/include/openssl/ec.h:1475:28: note: declared here 1475 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_rsa.c -o libp11_la-p11_rsa.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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c eng_err.c -o pkcs11_la-eng_err.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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); + | ^~~ +In file included from engine.h:41, + from eng_front.c:16: +/usr/include/openssl/engine.h:534:29: note: declared here + 534 | OSSL_DEPRECATEDIN_3_0 void *ENGINE_get_ex_data(const ENGINE *e, int idx); + | ^~~~~~~~~~~~~~~~~~ +eng_front.c:99:17: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 99 | ENGINE_set_ex_data(engine, pkcs11_idx, ctx); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/engine.h:533:27: note: declared here + 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); + | ^~~~~~~~~~~~~~~~~~ +eng_front.c: In function 'engine_destroy': +eng_front.c:126:9: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 126 | ENGINE_set_ex_data(engine, pkcs11_idx, NULL); + | ^~~~~~~~~~~~~~~~~~ +/usr/include/openssl/engine.h:533:27: note: declared here + 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); + | ^~~~~~~~~~~~~~~~~~ +eng_front.c: In function 'load_privkey': +eng_front.c:193:9: warning: 'EVP_PKEY_set1_engine' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 193 | if (pkey && !EVP_PKEY_set1_engine(pkey, engine)) { + | ^~ +In file included from /usr/include/openssl/x509.h:29, + from libp11.h:32, + from engine.h:35: +/usr/include/openssl/evp.h:1323:5: note: declared here + 1323 | int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e); + | ^~~~~~~~~~~~~~~~~~~~ +eng_front.c: In function 'bind_helper': +eng_front.c:215:9: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 215 | if (!ENGINE_set_id(e, PKCS11_ENGINE_ID) || + | ^~ +/usr/include/openssl/engine.h:495:27: note: declared here + 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); + | ^~~~~~~~~~~~~ +eng_front.c:216:25: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 216 | !ENGINE_set_destroy_function(e, engine_destroy) || + | ^ +/usr/include/openssl/engine.h:503:5: note: declared here + 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +eng_front.c:217:25: warning: 'ENGINE_set_init_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 217 | !ENGINE_set_init_function(e, engine_init) || + | ^ +/usr/include/openssl/engine.h:505:5: note: declared here + 505 | int ENGINE_set_init_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +eng_front.c:218:25: warning: 'ENGINE_set_finish_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 218 | !ENGINE_set_finish_function(e, engine_finish) || + | ^ +/usr/include/openssl/engine.h:507:5: note: declared here + 507 | int ENGINE_set_finish_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +eng_front.c:219:25: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 219 | !ENGINE_set_ctrl_function(e, engine_ctrl) || + | ^ +/usr/include/openssl/engine.h:509:5: note: declared here + 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +eng_front.c:220:25: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 220 | !ENGINE_set_cmd_defns(e, engine_cmd_defns) || + | ^ +/usr/include/openssl/engine.h:526:27: note: declared here + 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, + | ^~~~~~~~~~~~~~~~~~~~ +eng_front.c:221:25: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 221 | !ENGINE_set_name(e, PKCS11_ENGINE_NAME) || + | ^ +/usr/include/openssl/engine.h:496:27: note: declared here + 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); + | ^~~~~~~~~~~~~~~ +eng_front.c:223:25: warning: 'ENGINE_set_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 223 | !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) || + | ^ +/usr/include/openssl/engine.h:497:27: note: declared here + 497 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); + | ^~~~~~~~~~~~~~ +eng_front.c:228:25: warning: 'ENGINE_set_EC' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 228 | !ENGINE_set_EC(e, PKCS11_get_ec_key_method()) || + | ^ +/usr/include/openssl/engine.h:499:27: note: declared here + 499 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ecdsa_meth); + | ^~~~~~~~~~~~~ +eng_front.c:238:25: warning: 'ENGINE_set_pkey_meths' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 238 | !ENGINE_set_pkey_meths(e, PKCS11_pkey_meths) || + | ^ +/usr/include/openssl/engine.h:522:5: note: declared here + 522 | int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); + | ^~~~~~~~~~~~~~~~~~~~~ +eng_front.c:239:25: warning: 'ENGINE_set_load_pubkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 239 | !ENGINE_set_load_pubkey_function(e, load_pubkey) || + | ^ +/usr/include/openssl/engine.h:513:5: note: declared here + 513 | int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +eng_front.c:240:25: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 240 | !ENGINE_set_load_privkey_function(e, load_privkey)) { + | ^ +/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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1168,6 +1149,17 @@ /usr/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ +eng_back.c: In function 'ctx_try_load_object': +eng_back.c:554:85: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 554 | ctx_log(ctx, 0, "Multiple matching slots (%lu); will not try to" + | ~~^ + | | + | long unsigned int + | %u + 555 | " login\n", matched_count); + | ~~~~~~~~~~~~~ + | | + | size_t {aka unsigned int} p11_pkey.c: In function 'pkcs11_try_pkey_rsa_decrypt': p11_pkey.c:444:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 444 | rsa = (RSA *)EVP_PKEY_get0_RSA(pkey); @@ -1269,26 +1261,77 @@ /usr/include/openssl/evp.h:2010:28: note: declared here 2010 | 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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_ec.c -o libp11_la-p11_ec.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:1348:16: note: declared here + 1348 | 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:217:28: note: declared here + 217 | 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:220:28: note: declared here + 220 | 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:225:28: note: declared here + 225 | 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:293:28: note: declared here + 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); + | ^~~~~~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c libpkcs11.c -o libp11_la-libpkcs11.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_cert.c -o libp11_la-p11_cert.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c eng_parse.c -o pkcs11_la-eng_parse.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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_key.c -o libp11_la-p11_key.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib/i386-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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -version-info 8:0:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib/i386-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: echo "{ global:" > .libs/pkcs11.ver -libtool: link: cat ./pkcs11.exports | /bin/sed -e "s/\(.*\)/\1;/" >> .libs/pkcs11.ver -libtool: link: echo "local: *; };" >> .libs/pkcs11.ver -libtool: link: gcc -shared -fPIC -DPIC .libs/pkcs11_la-eng_front.o .libs/pkcs11_la-eng_back.o .libs/pkcs11_la-eng_parse.o .libs/pkcs11_la-eng_err.o .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,-z -Wl,relro -pthread -Wl,-soname -Wl,pkcs11.so -Wl,-version-script -Wl,.libs/pkcs11.ver -o .libs/pkcs11.so +libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c p11_slot.c -o libp11_la-p11_slot.o >/dev/null 2>&1 +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -version-info 8:0:5 -Wl,--version-script=libp11.map -Wl,-z,relro -o libp11.la -rpath /usr/lib/i386-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 +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -o pkcs11.la -rpath /usr/lib/i386-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 libtool: link: (cd ".libs" && rm -f "libp11.so.3" && ln -s "libp11.so.3.5.0" "libp11.so.3") -libtool: link: ( cd ".libs" && rm -f "pkcs11.la" && ln -s "../pkcs11.la" "pkcs11.la" ) libtool: link: (cd ".libs" && rm -f "libp11.so" && ln -s "libp11.so.3.5.0" "libp11.so") libtool: link: ar cr .libs/libp11.a libp11_la-libpkcs11.o libp11_la-p11_attr.o libp11_la-p11_cert.o libp11_la-p11_err.o libp11_la-p11_ckr.o libp11_la-p11_key.o libp11_la-p11_load.o libp11_la-p11_misc.o libp11_la-p11_rsa.o libp11_la-p11_ec.o libp11_la-p11_pkey.o libp11_la-p11_slot.o libp11_la-p11_front.o libp11_la-p11_atfork.o libtool: link: ranlib .libs/libp11.a libtool: link: ( cd ".libs" && rm -f "libp11.la" && ln -s "../libp11.la" "libp11.la" ) +libtool: link: echo "{ global:" > .libs/pkcs11.ver +libtool: link: cat ./pkcs11.exports | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/pkcs11.ver +libtool: link: echo "local: *; };" >> .libs/pkcs11.ver +libtool: link: gcc -shared -fPIC -DPIC .libs/pkcs11_la-eng_front.o .libs/pkcs11_la-eng_back.o .libs/pkcs11_la-eng_parse.o .libs/pkcs11_la-eng_err.o .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,-z -Wl,relro -pthread -Wl,-soname -Wl,pkcs11.so -Wl,-version-script -Wl,.libs/pkcs11.ver -o .libs/pkcs11.so +libtool: link: ( cd ".libs" && rm -f "pkcs11.la" && ln -s "../pkcs11.la" "pkcs11.la" ) make[3]: Leaving directory '/build/libp11-0.4.12/src' make[2]: Leaving directory '/build/libp11-0.4.12/src' Making all in doc @@ -1301,15 +1344,31 @@ gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o decrypt.o decrypt.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o getrandom.o getrandom.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o listkeys.o listkeys.c -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o listkeys listkeys.o ../src/libp11.la -lcrypto -lpthread +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))); + | ^~~~~~~~~ auth.c: In function 'main': +In file included from ../src/libp11.h:31, + from decrypt.c:48: +/usr/include/openssl/rsa.h:204:27: note: declared here + 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); + | ^~~~~~~~ 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: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 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 /usr/include/openssl/x509.h:29, + from ../src/libp11.h:32: +/usr/include/openssl/evp.h:1346:22: note: declared here + 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); + | ^~~~~~~~~~~~~~~~~ auth.c:269:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | rc = RSA_verify(NID_sha1, random, RANDOM_SIZE, | ^~ @@ -1320,31 +1379,14 @@ auth.c:271:25: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | signature, siglen, (RSA *)EVP_PKEY_get0_RSA(pubkey)); | ^~~~~~~~~ +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:1346:22: note: declared here 1346 | 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:204:27: note: declared here - 204 | 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))); - | ^~~~~~~~~ -In file included from /usr/include/openssl/x509.h:29, - from ../src/libp11.h:32: -/usr/include/openssl/evp.h:1346:22: note: declared here - 1346 | 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:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ @@ -1372,9 +1414,10 @@ ../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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o getrandom getrandom.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o decrypt decrypt.o ../src/libp11.la -lcrypto -lpthread -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o auth auth.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o getrandom getrandom.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o listkeys listkeys.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o decrypt decrypt.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -Wl,-z,relro -o auth auth.o ../src/libp11.la -lcrypto -lpthread libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/getrandom getrandom.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/listkeys listkeys.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/decrypt decrypt.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread @@ -1389,7 +1432,7 @@ make[2]: Leaving directory '/build/libp11-0.4.12' make[1]: Leaving directory '/build/libp11-0.4.12' dh_auto_test - make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 + make -j15 check "TESTSUITEFLAGS=-j15 --verbose" VERBOSE=1 make[1]: Entering directory '/build/libp11-0.4.12' Making check in src make[2]: Entering directory '/build/libp11-0.4.12/src' @@ -1441,7 +1484,15 @@ 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'. +rsa-oaep.c: In function 'display_openssl_errors': +rsa-oaep.c:50:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 50 | while ((e = ERR_get_error_line(&file, &line))) { + | ^~~~~ rsa-pss-sign.c: In function 'display_openssl_errors': +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:49:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 49 | while ((e = ERR_get_error_line(&file, &line))) { | ^~~~~ @@ -1453,40 +1504,96 @@ 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: In function 'main': +rsa-oaep.c:98:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 98 | ENGINE_add_conf_module(); + | ^~~~~~~~~~~~~~~~~~~~~~ In file included from 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); | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from rsa-oaep.c:36: +/usr/include/openssl/engine.h:709:28: note: declared here + 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); + | ^~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rsa-pss-sign.c:110:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 110 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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: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-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, + | ^~~~~~~~~~~~~~~~~~~~~~ +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, + | ^~~~~~~~~~~~~~~~~~~~~~ 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:126:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 126 | if (!ENGINE_init(e)) { + | ^~ +/usr/include/openssl/engine.h:620:27: note: declared here + 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); + | ^~~~~~~~~~~ +rsa-oaep.c:131:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 131 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { + | ^~ +/usr/include/openssl/engine.h:479:5: note: declared here + 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, + | ^~~~~~~~~~~~~~~~~~~~~~ rsa-pss-sign.c:122:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ +rsa-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-pss-sign.c:127:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 127 | if (!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ +rsa-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: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)) { | ^~ @@ -1505,139 +1612,147 @@ /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); + | ^~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~ -fork-change-slot.c: In function 'main': -fork-change-slot.c:205:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 205 | ENGINE_add_conf_module(); +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); + | ^~~~~~~~~~~~~~~~~~ +evp-sign.c: In function 'display_openssl_errors': +evp-sign.c:134:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 134 | while ((e = ERR_get_error_line(&file, &line))) { + | ^~~~~ +In file included from evp-sign.c:38: +/usr/include/openssl/err.h:423:15: note: declared here + 423 | unsigned long ERR_get_error_line(const char **file, int *line); + | ^~~~~~~~~~~~~~~~~~ +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 fork-change-slot.c:61: -/usr/include/openssl/engine.h:709:28: note: declared here - 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); - | ^~~~~~~~~~~~~~~~~~~~~~ -fork-change-slot.c:208:5: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 208 | ENGINE_add_conf_module(); - | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c: In function 'display_openssl_errors': +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-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))) { - | ^~~~~ -fork-change-slot.c:218:5: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 218 | ENGINE_load_builtin_engines(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +evp-sign.c: In function 'main': +evp-sign.c:186:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 186 | ENGINE_add_conf_module(); + | ^~~~~~~~~~~~~~~~~~~~~~ +store-cert.c: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~ -fork-change-slot.c:221:5: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 221 | engine = ENGINE_by_id("pkcs11"); - | ^~~~~~ -/usr/include/openssl/engine.h:336:31: note: declared here - 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); - | ^~~~~~~~~~~~ -fork-change-slot.c:230:9: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 230 | ENGINE_ctrl_cmd(engine, "MODULE_PATH", 0, argv[3], NULL, 1); - | ^~~~~~~~~~~~~~~ -/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, - | ^~~~~~~~~~~~~~~ -rsa-oaep.c: In function 'main': -rsa-oaep.c:98:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 98 | ENGINE_add_conf_module(); - | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from rsa-oaep.c:36: +In file included from evp-sign.c:39: /usr/include/openssl/engine.h:709:28: note: declared here 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:108:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 108 | ENGINE_load_builtin_engines(); +store-cert.c:196:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 196 | engine = ENGINE_by_id("pkcs11"); + | ^~~~~~ +/usr/include/openssl/engine.h:336:31: note: declared here + 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); + | ^~~~~~~~~~~~ +evp-sign.c:198:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 198 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:110:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 110 | e = ENGINE_by_id("pkcs11"); +evp-sign.c:199:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 199 | e = ENGINE_by_id("pkcs11"); | ^ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ -rsa-oaep.c:116:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 116 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { +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-oaep.c:121:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 121 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { +evp-sign.c:205:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 205 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:126:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 126 | if (!ENGINE_init(e)) { +store-cert.c:209:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 209 | if (!ENGINE_ctrl_cmd_string(engine, "MODULE_PATH", module, 0)) { + | ^~ +/usr/include/openssl/engine.h:479:5: note: declared here + 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, + | ^~~~~~~~~~~~~~~~~~~~~~ +evp-sign.c:210:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 210 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { + | ^~ +/usr/include/openssl/engine.h:479:5: note: declared here + 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, + | ^~~~~~~~~~~~~~~~~~~~~~ +store-cert.c:214:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 214 | if (!ENGINE_init(engine)) { + | ^~ +evp-sign.c:215:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 215 | if (!ENGINE_init(e)) { | ^~ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ -rsa-oaep.c:131:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 131 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { - | ^~ +/usr/include/openssl/engine.h:620:27: note: declared here + 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); + | ^~~~~~~~~~~ +evp-sign.c:228:17: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 228 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { + | ^~ +store-cert.c:223:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 223 | if (!ENGINE_ctrl_cmd( + | ^~ +/usr/include/openssl/engine.h: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:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:136:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 136 | private_key = ENGINE_load_private_key(e, private_key_name, NULL, NULL); +evp-sign.c:236:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 236 | private_key = ENGINE_load_private_key(e, private_key_name, | ^~~~~~~~~~~ /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:143:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 143 | public_key = ENGINE_load_public_key(e, public_key_name, NULL, NULL); +evp-sign.c:244:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 244 | public_key = ENGINE_load_public_key(e, public_key_name, | ^~~~~~~~~~ /usr/include/openssl/engine.h:641:11: note: declared here 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~ -rsa-oaep.c:241:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 241 | ENGINE_finish(e); +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); + | ^~~~~~~~~~~~~ +evp-sign.c:309:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 309 | ENGINE_finish(e); | ^~~~~~~~~~~~~ /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); | ^~~~~~~~~~~~~ -fork-change-slot.c:234:5: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 234 | if (ENGINE_init(engine)) { - | ^~ -/usr/include/openssl/engine.h:620:27: note: declared here - 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); - | ^~~~~~~~~~~ -fork-change-slot.c:235:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 235 | pkey = ENGINE_load_private_key(engine, argv[1], 0, 0); - | ^~~~ -/usr/include/openssl/engine.h:638:11: note: declared here - 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, - | ^~~~~~~~~~~~~~~~~~~~~~~ -fork-change-slot.c:241:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 241 | ENGINE_free(engine); - | ^~~~~~~~~~~ -/usr/include/openssl/engine.h:493:27: note: declared here - 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); - | ^~~~~~~~~~~ -fork-change-slot.c:310:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 310 | ENGINE_free(engine); - | ^~~~~~~~~~~ -/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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o openssl_version openssl_version.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))) { @@ -1702,152 +1817,80 @@ /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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o fork-test fork-test.o ../src/libp11.la -lcrypto -lpthread -evp-sign.c: In function 'display_openssl_errors': -evp-sign.c:134:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 134 | while ((e = ERR_get_error_line(&file, &line))) { - | ^~~~~ -In file included from evp-sign.c:38: -/usr/include/openssl/err.h:423:15: note: declared here - 423 | unsigned long ERR_get_error_line(const char **file, int *line); - | ^~~~~~~~~~~~~~~~~~ -evp-sign.c: In function 'main': -evp-sign.c:186:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 186 | ENGINE_add_conf_module(); +fork-change-slot.c: In function 'main': +fork-change-slot.c:205:9: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 205 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ -In file included from evp-sign.c:39: +In file included from fork-change-slot.c:61: /usr/include/openssl/engine.h:709:28: note: declared here 709 | OSSL_DEPRECATEDIN_3_0 void ENGINE_add_conf_module(void); | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:198:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 198 | ENGINE_load_builtin_engines(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/engine.h:358:28: note: declared here - 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:199:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 199 | e = ENGINE_by_id("pkcs11"); - | ^ -/usr/include/openssl/engine.h:336:31: note: declared here - 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); - | ^~~~~~~~~~~~ -evp-sign.c:205:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 205 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { - | ^~ -/usr/include/openssl/engine.h:479:5: note: declared here - 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, - | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:210:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 210 | if (!ENGINE_ctrl_cmd_string(e, "MODULE_PATH", module_path, 0)) { - | ^~ -/usr/include/openssl/engine.h:479:5: note: declared here - 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, - | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:215:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 215 | if (!ENGINE_init(e)) { - | ^~ -/usr/include/openssl/engine.h:620:27: note: declared here - 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); - | ^~~~~~~~~~~ -evp-sign.c:228:17: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 228 | if (key_pass && !ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0)) { - | ^~ -/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, +fork-change-slot.c:208:5: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 208 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:236:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 236 | private_key = ENGINE_load_private_key(e, private_key_name, - | ^~~~~~~~~~~ -/usr/include/openssl/engine.h:638:11: note: declared here - 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, - | ^~~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:244:9: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 244 | public_key = ENGINE_load_public_key(e, public_key_name, - | ^~~~~~~~~~ -/usr/include/openssl/engine.h:641:11: note: declared here - 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, - | ^~~~~~~~~~~~~~~~~~~~~~ -evp-sign.c:309:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 309 | ENGINE_finish(e); - | ^~~~~~~~~~~~~ -/usr/include/openssl/engine.h: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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o list-tokens list-tokens.o ../src/libp11.la -lcrypto -lpthread -store-cert.c: In function 'display_openssl_errors': -store-cert.c:46:9: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 46 | while ((e = ERR_get_error_line(&file, &line))) { - | ^~~~~ -In file included from ../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(); - | ^~~~~~~~~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o check-privkey check-privkey.o ../src/libp11.la -lcrypto -lpthread -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(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +fork-change-slot.c:218:5: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 218 | 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"); - | ^~~~~~ +fork-change-slot.c:221:5: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 221 | engine = ENGINE_by_id("pkcs11"); + | ^~~~~~ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ -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, - | ^~~~~~~~~~~~~~~~~~~~~~ -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, - | ^~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~ -store-cert.c:223:17: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 223 | if (!ENGINE_ctrl_cmd( - | ^~ +fork-change-slot.c:230:9: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 230 | ENGINE_ctrl_cmd(engine, "MODULE_PATH", 0, argv[3], NULL, 1); + | ^~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:450:27: note: declared here 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~ -store-cert.c:267:9: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] - 267 | ENGINE_finish(engine); - | ^~~~~~~~~~~~~ -/usr/include/openssl/engine.h:628:27: note: declared here - 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); - | ^~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o fork-change-slot fork-change-slot.o ../src/libp11.la -lcrypto -lpthread -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o fork-test fork-test.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs +fork-change-slot.c:234:5: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 234 | if (ENGINE_init(engine)) { + | ^~ +/usr/include/openssl/engine.h:620:27: note: declared here + 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); + | ^~~~~~~~~~~ +fork-change-slot.c:235:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 235 | pkey = ENGINE_load_private_key(engine, argv[1], 0, 0); + | ^~~~ +/usr/include/openssl/engine.h:638:11: note: declared here + 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, + | ^~~~~~~~~~~~~~~~~~~~~~~ +fork-change-slot.c:241:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 241 | ENGINE_free(engine); + | ^~~~~~~~~~~ +/usr/include/openssl/engine.h:493:27: note: declared here + 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); + | ^~~~~~~~~~~ +fork-change-slot.c:310:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] + 310 | ENGINE_free(engine); + | ^~~~~~~~~~~ +/usr/include/openssl/engine.h:493:27: note: declared here + 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); + | ^~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o openssl_version openssl_version.o ../src/libp11.la -lcrypto -lpthread +/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -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 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o fork-change-slot fork-change-slot.o ../src/libp11.la -lcrypto -lpthread libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o openssl_version openssl_version.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs -/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -no-install -Wl,-z,relro -o store-cert store-cert.o ../src/libp11.la -lcrypto -lpthread libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o list-tokens list-tokens.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o check-privkey check-privkey.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o rsa-pss-sign rsa-pss-sign.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o rsa-oaep rsa-oaep.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o rsa-pss-sign rsa-pss-sign.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o store-cert store-cert.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs +libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o fork-test fork-test.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o evp-sign evp-sign.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o fork-change-slot fork-change-slot.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs -libtool: link: gcc -g -O2 -ffile-prefix-map=/build/libp11-0.4.12=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o store-cert store-cert.o ../src/.libs/libp11.so -lcrypto -lpthread -pthread -Wl,-rpath -Wl,/build/libp11-0.4.12/src/.libs make[3]: Leaving directory '/build/libp11-0.4.12/tests' make check-TESTS make[3]: Entering directory '/build/libp11-0.4.12/tests' @@ -1857,15 +1900,15 @@ SKIP: rsa-evp-sign.softhsm SKIP: rsa-testlistkeys.softhsm SKIP: fork-change-slot.softhsm -SKIP: rsa-pss-sign.softhsm -SKIP: rsa-oaep.softhsm SKIP: ec-evp-sign.softhsm SKIP: ec-testfork.softhsm +SKIP: rsa-oaep.softhsm +SKIP: rsa-pss-sign.softhsm SKIP: case-insensitive.softhsm +SKIP: pkcs11-uri-without-token.softhsm SKIP: rsa-check-privkey.softhsm SKIP: search-all-matching-tokens.softhsm SKIP: ec-check-privkey.softhsm -SKIP: pkcs11-uri-without-token.softhsm SKIP: ec-cert-store.softhsm ============================================================================ Testsuite summary for libp11 0.4.12 @@ -1893,8 +1936,8 @@ Making install in src make[2]: Entering directory '/build/libp11-0.4.12/src' make[3]: Entering directory '/build/libp11-0.4.12/src' - /bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu' - /bin/bash ../libtool --mode=install /usr/bin/install -c libp11.la '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu' + /usr/bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu' + /bin/sh ../libtool --mode=install /usr/bin/install -c libp11.la '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu' libtool: install: /usr/bin/install -c .libs/libp11.so.3.5.0 /build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/libp11.so.3.5.0 libtool: install: (cd /build/libp11-0.4.12/debian/tmp/usr/lib/i386-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/libp11-0.4.12/debian/tmp/usr/lib/i386-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; }; }) @@ -1903,8 +1946,8 @@ libtool: install: chmod 644 /build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/libp11.a libtool: install: ranlib /build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/libp11.a libtool: warning: remember to run 'libtool --finish /usr/lib/i386-linux-gnu' - /bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/engines-3' - /bin/bash ../libtool --mode=install /usr/bin/install -c pkcs11.la '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/engines-3' + /usr/bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/engines-3' + /bin/sh ../libtool --mode=install /usr/bin/install -c pkcs11.la '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/engines-3' libtool: install: /usr/bin/install -c .libs/pkcs11.so /build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/engines-3/pkcs11.so libtool: install: /usr/bin/install -c .libs/pkcs11.lai /build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/engines-3/pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib/i386-linux-gnu/engines-3' @@ -1912,9 +1955,9 @@ make[4]: Entering directory '/build/libp11-0.4.12/src' cd '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/engines-3' && ln -s -f pkcs11.so libpkcs11.so make[4]: Leaving directory '/build/libp11-0.4.12/src' - /bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/include' + /usr/bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/include' /usr/bin/install -c -m 644 libp11.h p11_err.h '/build/libp11-0.4.12/debian/tmp/usr/include' - /bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/pkgconfig' + /usr/bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/pkgconfig' /usr/bin/install -c -m 644 libp11.pc '/build/libp11-0.4.12/debian/tmp/usr/lib/i386-linux-gnu/pkgconfig' make[3]: Leaving directory '/build/libp11-0.4.12/src' make[2]: Leaving directory '/build/libp11-0.4.12/src' @@ -1941,7 +1984,7 @@ make[2]: Entering directory '/build/libp11-0.4.12' make[3]: Entering directory '/build/libp11-0.4.12' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/share/doc/libp11' + /usr/bin/mkdir -p '/build/libp11-0.4.12/debian/tmp/usr/share/doc/libp11' /usr/bin/install -c -m 644 NEWS '/build/libp11-0.4.12/debian/tmp/usr/share/doc/libp11' make[3]: Leaving directory '/build/libp11-0.4.12' make[2]: Leaving directory '/build/libp11-0.4.12' @@ -1998,10 +2041,10 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'libengine-pkcs11-openssl' in '../libengine-pkcs11-openssl_0.4.12-0.1_i386.deb'. +dpkg-deb: building package 'libp11-dev' in '../libp11-dev_0.4.12-0.1_i386.deb'. dpkg-deb: building package 'libp11-3' in '../libp11-3_0.4.12-0.1_i386.deb'. dpkg-deb: building package 'libp11-3-dbgsym' in '../libp11-3-dbgsym_0.4.12-0.1_i386.deb'. -dpkg-deb: building package 'libp11-dev' in '../libp11-dev_0.4.12-0.1_i386.deb'. +dpkg-deb: building package 'libengine-pkcs11-openssl' in '../libengine-pkcs11-openssl_0.4.12-0.1_i386.deb'. dpkg-deb: building package 'libengine-pkcs11-openssl-dbgsym' in '../libengine-pkcs11-openssl-dbgsym_0.4.12-0.1_i386.deb'. dpkg-genbuildinfo --build=binary -O../libp11_0.4.12-0.1_i386.buildinfo dpkg-genchanges --build=binary -O../libp11_0.4.12-0.1_i386.changes @@ -2010,12 +2053,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/88492/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/88492/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/21696 and its subdirectories -I: Current time: Thu Apr 27 05:04:50 -12 2023 -I: pbuilder-time-stamp: 1682615090 +I: removing directory /srv/workspace/pbuilder/88492 and its subdirectories +I: Current time: Thu May 30 13:28:23 +14 2024 +I: pbuilder-time-stamp: 1717025303