Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1606723656.582635/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.va21dd65:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.va21dd65:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '96ec1f38866d42b8a9b3d22d22b82ae4', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1606723656.582635/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.va21dd65:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1606089600 Wrote: /builddir/build/SRPMS/openssl-pkcs11-0.4.10-8.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1606723656.582635/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.va21dd65:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.va21dd65:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '54be4af349104e928044ce244bba3a98', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1606723656.582635/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.va21dd65:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openssl-pkcs11.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1606089600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KXMsut + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libp11-0.4.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/libp11-0.4.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libp11-0.4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-various-bug-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-search-objects-in-all-matching-tokens.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-add-support-pin-source.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-set-rsa-flag-ext-pkey.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/openssl-pkcs11-0.4.10-set-rsa-fips-method-flag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Gc75Xt + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.10 + autoreconf -fvi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.ac. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:27: installing './compile' configure.ac:15: installing './missing' examples/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-11-30 08:08:18.195662842 +0000 +++ ./configure 2020-11-30 08:08:20.535666692 +0000 @@ -1797,7 +1797,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-11-30 08:08:20.535666692 +0000 +++ ./configure 2020-11-30 08:08:20.575666757 +0000 @@ -7116,7 +7116,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14537,7 +14537,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-api-doc --with-enginesdir=/usr/lib64/engines-1.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for aarch64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for aarch64-redhat-linux-gnu-pkg-config... /usr/bin/aarch64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no 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... /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) /usr/bin/sed 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 checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7070: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for aarch64-redhat-linux-gnu-windres... no checking for windres... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for dlfcn.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for doxygen... doxygen checking for library containing dlopen... -ldl checking for __register_atfork... yes checking for OPENSSL... yes checking if libtool needs -no-undefined flag to build shared libraries... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/libp11.pc config.status: creating src/libp11.rc config.status: creating src/pkcs11.rc config.status: creating doc/Makefile config.status: creating doc/doxygen.conf config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: creating src/libp11.map libp11 has been configured with the following options: Version: 0.4.10 libp11 directory: /usr/lib64 Engine directory: /usr/lib64/engines-1.1 Default PKCS11 module: /usr/lib64/p11-kit-proxy.so API doc support: yes Host: aarch64-redhat-linux-gnu Compiler: gcc Preprocessor flags: Compiler flags: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection Linker flags: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Libraries: -ldl OPENSSL_CFLAGS: OPENSSL_LIBS: -lcrypto + make V=1 -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o pkcs11_la-eng_err.lo `test -f 'eng_err.c' || echo './'`eng_err.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c eng_back.c -fPIC -DPIC -o .libs/pkcs11_la-eng_back.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c eng_parse.c -fPIC -DPIC -o .libs/pkcs11_la-eng_parse.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c eng_err.c -fPIC -DPIC -o .libs/pkcs11_la-eng_err.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c eng_front.c -fPIC -DPIC -o .libs/pkcs11_la-eng_front.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-libpkcs11.lo `test -f 'libpkcs11.c' || echo './'`libpkcs11.c eng_front.c: In function 'get_ctx': eng_front.c:91:3: warning: 'ENGINE_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 91 | ctx = ENGINE_get_ex_data(engine, pkcs11_idx); | ^~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:509:1: note: declared here 509 | DEPRECATEDIN_3_0(void *ENGINE_get_ex_data(const ENGINE *e, int idx)) | ^~~~~~~~~~~~~~~~ eng_front.c:95:3: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | ENGINE_set_ex_data(engine, pkcs11_idx, ctx); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:508:1: note: declared here 508 | DEPRECATEDIN_3_0(int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg)) | ^~~~~~~~~~~~~~~~ eng_front.c: In function 'engine_destroy': eng_front.c:122:2: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | ENGINE_set_ex_data(engine, pkcs11_idx, NULL); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:508:1: note: declared here 508 | DEPRECATEDIN_3_0(int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg)) | ^~~~~~~~~~~~~~~~ eng_front.c: In function 'bind_helper': eng_front.c:211:2: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | if (!ENGINE_set_id(e, PKCS11_ENGINE_ID) || | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:476:1: note: declared here 476 | DEPRECATEDIN_3_0(int ENGINE_set_id(ENGINE *e, const char *id)) | ^~~~~~~~~~~~~~~~ eng_front.c:212:4: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 212 | !ENGINE_set_destroy_function(e, engine_destroy) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:483:1: note: declared here 483 | DEPRECATEDIN_3_0(int ENGINE_set_destroy_function | ^~~~~~~~~~~~~~~~ eng_front.c:213:4: warning: 'ENGINE_set_init_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 213 | !ENGINE_set_init_function(e, engine_init) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:485:1: note: declared here 485 | DEPRECATEDIN_3_0(int ENGINE_set_init_function | ^~~~~~~~~~~~~~~~ eng_front.c:214:4: warning: 'ENGINE_set_finish_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | !ENGINE_set_finish_function(e, engine_finish) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:487:1: note: declared here 487 | DEPRECATEDIN_3_0(int ENGINE_set_finish_function | ^~~~~~~~~~~~~~~~ eng_front.c:215:4: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | !ENGINE_set_ctrl_function(e, engine_ctrl) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:489:1: note: declared here 489 | DEPRECATEDIN_3_0(int ENGINE_set_ctrl_function | ^~~~~~~~~~~~~~~~ eng_front.c:216:4: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | !ENGINE_set_cmd_defns(e, engine_cmd_defns) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:503:1: note: declared here 503 | DEPRECATEDIN_3_0(int ENGINE_set_cmd_defns(ENGINE *e, | ^~~~~~~~~~~~~~~~ eng_front.c:217:4: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | !ENGINE_set_name(e, PKCS11_ENGINE_NAME) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:477:1: note: declared here 477 | DEPRECATEDIN_3_0(int ENGINE_set_name(ENGINE *e, const char *name)) | ^~~~~~~~~~~~~~~~ eng_front.c:219:4: warning: 'ENGINE_set_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 219 | !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:478:1: note: declared here 478 | DEPRECATEDIN_3_0(int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth)) | ^~~~~~~~~~~~~~~~ eng_front.c:224:4: warning: 'ENGINE_set_EC' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | !ENGINE_set_EC(e, PKCS11_get_ec_key_method()) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:480:1: note: declared here 480 | DEPRECATEDIN_3_0(int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ecdsa_meth)) | ^~~~~~~~~~~~~~~~ eng_front.c:234:4: warning: 'ENGINE_set_pkey_meths' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | !ENGINE_set_pkey_meths(e, PKCS11_pkey_meths) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:499:1: note: declared here 499 | DEPRECATEDIN_3_0(int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f)) | ^~~~~~~~~~~~~~~~ eng_front.c:235:4: warning: 'ENGINE_set_load_pubkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 235 | !ENGINE_set_load_pubkey_function(e, load_pubkey) || | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:493:1: note: declared here 493 | DEPRECATEDIN_3_0(int ENGINE_set_load_pubkey_function | ^~~~~~~~~~~~~~~~ eng_front.c:236:4: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 236 | !ENGINE_set_load_privkey_function(e, load_privkey)) { | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from engine.h:35, from eng_front.c:16: /usr/include/openssl/engine.h:491:1: note: declared here 491 | DEPRECATEDIN_3_0(int ENGINE_set_load_privkey_function | ^~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c libpkcs11.c -fPIC -DPIC -o .libs/libp11_la-libpkcs11.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_attr.lo `test -f 'p11_attr.c' || echo './'`p11_attr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_attr.c -fPIC -DPIC -o .libs/libp11_la-p11_attr.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_cert.c -fPIC -DPIC -o .libs/libp11_la-p11_cert.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_err.c -fPIC -DPIC -o .libs/libp11_la-p11_err.o eng_back.c: In function 'ctx_load_cert': eng_back.c:625:9: warning: 'x509' may be used uninitialized in this function [-Wmaybe-uninitialized] 625 | return x509; | ^~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_ckr.c -fPIC -DPIC -o .libs/libp11_la-p11_ckr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_misc.lo `test -f 'p11_misc.c' || echo './'`p11_misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_load.c -fPIC -DPIC -o .libs/libp11_la-p11_load.o p11_key.c: In function 'pkcs11_store_key': p11_key.c:256:3: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 256 | 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:1224:16: note: declared here 1224 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_key.c:258:3: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 258 | RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); | ^~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_key.c:20: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_key.c:259:3: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 259 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); | ^~~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_key.c:20: /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ p11_key.c:260:3: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | RSA_get0_crt_params(rsa, &rsa_dmp1, &rsa_dmq1, &rsa_iqmp); | ^~~~~~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_key.c:20: /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ p11_key.c:261:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 261 | RSA_free(rsa); | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_key.c:20: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_misc.c -fPIC -DPIC -o .libs/libp11_la-p11_misc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_ec.lo `test -f 'p11_ec.c' || echo './'`p11_ec.c p11_rsa.c: In function 'pkcs11_rsa': /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.c p11_rsa.c:38:2: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | rsa = EVP_PKEY_get0_RSA(evp_key); | ^~~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/evp.h:1222:16: note: declared here 1222 | struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_sign': p11_rsa.c:51:2: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 51 | return RSA_sign(type, m, m_len, sigret, siglen, rsa); | ^~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:347:27: note: declared here 347 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_get_rsa': p11_rsa.c:223:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | rsa = RSA_new(); | ^~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ p11_rsa.c:227:2: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | RSA_set0_key(rsa, rsa_n, rsa_e, NULL); | ^~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_ex_data_rsa': p11_rsa.c:237:2: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 237 | return RSA_get_ex_data(rsa, rsa_ex_index); | ^~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:452:29: note: declared here 452 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_set_ex_data_rsa': p11_rsa.c:242:2: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | RSA_set_ex_data(rsa, rsa_ex_index, key); | ^~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:451:27: note: declared here 451 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_update_ex_data_rsa': p11_rsa.c:254:2: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | rsa = EVP_PKEY_get1_RSA(evp); | ^~~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/evp.h:1224:16: note: declared here 1224 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:256:2: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 256 | RSA_free(rsa); | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_get_evp_key_rsa': p11_rsa.c:271:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | RSA_free(rsa); | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_rsa.c:274:2: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | EVP_PKEY_set1_RSA(pk, rsa); /* Also increments the rsa ref count */ | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/evp.h:1220:5: note: declared here 1220 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:277:3: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 277 | RSA_set_method(rsa, PKCS11_get_rsa_method()); | ^~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ p11_rsa.c:279:3: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 279 | RSA_set_flags(rsa, RSA_FLAG_EXT_PKEY); | ^~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:246:28: note: declared here 246 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); | ^~~~~~~~~~~~~ p11_rsa.c:292:2: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 292 | RSA_free(rsa); /* Drops our reference to it */ | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_modulus': p11_rsa.c:305:2: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 305 | RSA_get0_key(rsa, &rsa_n, NULL, NULL); | ^~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_exponent': p11_rsa.c:322:2: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 322 | RSA_get0_key(rsa, NULL, &rsa_e, NULL); | ^~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_size': p11_rsa.c:336:2: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 336 | return RSA_size(rsa); | ^~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_priv_dec_method': p11_rsa.c:364:3: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:521:7: note: declared here 521 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:364:3: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_priv_enc_method': p11_rsa.c:377:3: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 377 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:511:7: note: declared here 511 | int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:377:3: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 377 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_free_method': p11_rsa.c:385:2: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 385 | RSA_set_ex_data(rsa, rsa_ex_index, NULL); | ^~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:451:27: note: declared here 451 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ p11_rsa.c: In function 'PKCS11_get_rsa_method': p11_rsa.c:483:3: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 483 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:481:35: note: declared here 481 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ p11_rsa.c:483:3: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 483 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:486:3: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 486 | RSA_meth_set1_name(ops, "libp11 RSA method"); | ^~~~~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:483:27: note: declared here 483 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, | ^~~~~~~~~~~~~~~~~~ p11_rsa.c:487:3: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 487 | RSA_meth_set_flags(ops, RSA_FLAG_FIPS_METHOD); | ^~~~~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:486:27: note: declared here 486 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | ^~~~~~~~~~~~~~~~~~ p11_rsa.c:488:3: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 488 | RSA_meth_set_priv_enc(ops, pkcs11_rsa_priv_enc_method); | ^~~~~~~~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:516:5: note: declared here 516 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:489:3: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 489 | RSA_meth_set_priv_dec(ops, pkcs11_rsa_priv_dec_method); | ^~~~~~~~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:526:5: note: declared here 526 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:490:3: warning: 'RSA_meth_set_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 490 | RSA_meth_set_finish(ops, pkcs11_rsa_free_method); | ^~~~~~~~~~~~~~~~~~~ In file included from libp11.h:31, from libp11-int.h:27, from p11_rsa.c:25: /usr/include/openssl/rsa.h:560:5: note: declared here 560 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | ^~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_ec.c -fPIC -DPIC -o .libs/libp11_la-p11_ec.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_front.lo `test -f 'p11_front.c' || echo './'`p11_front.c p11_ec.c: In function 'pkcs11_ecdsa_sign_sig': p11_ec.c:444:3: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 444 | EC_KEY_METHOD_get_sign((EC_KEY_METHOD *)meth, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1438:1: note: declared here 1438 | DEPRECATEDIN_3_0(void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_rsa_sign': p11_ec.c: In function 'PKCS11_get_ec_key_method': p11_pkey.c:308:2: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ p11_ec.c:715:3: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 715 | ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL()); | ^~~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1222:16: note: declared here 1222 | struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1367:1: note: declared here 1367 | DEPRECATEDIN_3_0(EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth)) | ^~~~~~~~~~~~~~~~ p11_ec.c:716:3: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 716 | EC_KEY_METHOD_get_sign(ops, &orig_sign, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1438:1: note: declared here 1438 | DEPRECATEDIN_3_0(void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~ p11_ec.c:717:3: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 717 | EC_KEY_METHOD_set_sign(ops, orig_sign, NULL, pkcs11_ecdsa_sign_sig); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1390:1: note: declared here 1390 | DEPRECATEDIN_3_0(void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~ p11_ec.c:718:3: warning: 'EC_KEY_METHOD_get_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 718 | EC_KEY_METHOD_get_compute_key(ops, &ossl_ecdh_compute_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1431:1: note: declared here 1431 | DEPRECATEDIN_3_0(void EC_KEY_METHOD_get_compute_key | ^~~~~~~~~~~~~~~~ p11_ec.c:719:3: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 719 | EC_KEY_METHOD_set_compute_key(ops, pkcs11_ec_ckey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1383:1: note: declared here 1383 | DEPRECATEDIN_3_0(void EC_KEY_METHOD_set_compute_key | ^~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_rsa_decrypt': p11_pkey.c:412:2: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 412 | rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1222:16: note: declared here 1222 | struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_pkey_method_rsa': p11_pkey.c:501:2: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 501 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_RSA); | ^~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1576:1: note: declared here 1576 | DEPRECATEDIN_3_0(const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type)) | ^~~~~~~~~~~~~~~~ p11_pkey.c:502:2: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 502 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1897:1: note: declared here 1897 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~ p11_pkey.c:504:2: warning: 'EVP_PKEY_meth_get_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 504 | EVP_PKEY_meth_get_decrypt(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1931:1: note: declared here 1931 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_get_decrypt | ^~~~~~~~~~~~~~~~ p11_pkey.c:508:2: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 508 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_RSA, | ^~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1577:1: note: declared here 1577 | DEPRECATEDIN_3_0(EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags)) | ^~~~~~~~~~~~~~~~ p11_pkey.c:511:2: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1580:1: note: declared here 1580 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~ p11_pkey.c:513:2: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 513 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1808:1: note: declared here 1808 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~ p11_pkey.c:515:2: warning: 'EVP_PKEY_meth_set_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | EVP_PKEY_meth_set_decrypt(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1841:1: note: declared here 1841 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_set_decrypt | ^~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_ec_sign': p11_pkey.c:558:2: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 558 | if (*siglen < (size_t)ECDSA_size(eckey)) | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/ec.h:1361:1: note: declared here 1361 | DEPRECATEDIN_3_0(int ECDSA_size(const EC_KEY *eckey)) | ^~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_pkey_method_ec': p11_pkey.c:643:2: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 643 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_EC); | ^~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1576:1: note: declared here 1576 | DEPRECATEDIN_3_0(const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type)) | ^~~~~~~~~~~~~~~~ p11_pkey.c:644:2: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 644 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1897:1: note: declared here 1897 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~ p11_pkey.c:647:2: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 647 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_EC, | ^~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1577:1: note: declared here 1577 | DEPRECATEDIN_3_0(EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags)) | ^~~~~~~~~~~~~~~~ p11_pkey.c:650:2: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 650 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1580:1: note: declared here 1580 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~ p11_pkey.c:652:2: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 652 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/bio.h:18, from libp11.h:28, from libp11-int.h:27, from p11_pkey.c:20: /usr/include/openssl/evp.h:1808:1: note: declared here 1808 | DEPRECATEDIN_3_0(void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_front.c -fPIC -DPIC -o .libs/libp11_la-p11_front.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o libp11_la-p11_atfork.lo `test -f 'p11_atfork.c' || echo './'`p11_atfork.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pkcs11.la -rpath /usr/lib64/engines-1.1 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 -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -version-info 7:2:5 -Wl,--version-script=libp11.map -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libp11.la -rpath /usr/lib64 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 -ldl 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 -ldl -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -Wl,--version-script=libp11.map -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libp11.so.2 -o .libs/libp11.so.2.5.2 libtool: link: echo "{ global:" > .libs/pkcs11.ver libtool: link: cat ./pkcs11.exports | 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 -ldl -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,pkcs11.so -Wl,-version-script -Wl,.libs/pkcs11.ver -o .libs/pkcs11.so libtool: link: (cd ".libs" && rm -f "libp11.so.2" && ln -s "libp11.so.2.5.2" "libp11.so.2") libtool: link: (cd ".libs" && rm -f "libp11.so" && ln -s "libp11.so.2.5.2" "libp11.so") libtool: link: ( cd ".libs" && rm -f "libp11.la" && ln -s "../libp11.la" "libp11.la" ) libtool: link: ( cd ".libs" && rm -f "pkcs11.la" && ln -s "../pkcs11.la" "pkcs11.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/src' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/src' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/doc' rm -fr api.out doxygen doxygen.conf warning: Tag 'DETAILS_AT_TOP' at line 162 of file 'doxygen.conf' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'SHOW_DIRECTORIES' at line 424 of file 'doxygen.conf' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'HTML_ALIGN_MEMBERS' at line 724 of file 'doxygen.conf' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_SCHEMA' at line 964 of file 'doxygen.conf' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_DTD' at line 970 of file 'doxygen.conf' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 1131 of file 'doxygen.conf' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 1152 of file 'doxygen.conf' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value Using the default: a4! Doxygen version used: 1.8.20 Notice: Output directory 'api.out' does not exist. I have created it for you. Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Searching for files in directory /builddir/build/BUILD/libp11-0.4.10/src Reading and parsing tag files Parsing files Preprocessing /builddir/build/BUILD/libp11-0.4.10/src/libp11.h... Parsing file /builddir/build/BUILD/libp11-0.4.10/src/libp11.h... Building macro definition list... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Computing nesting relations for classes... Associating documentation with classes... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Setting anonymous enum type... Computing dependencies between directories... Generating citations page... Counting members... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Correcting members for VHDL... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Generating code for file libp11.h... Generating file documentation... Generating docs for file libp11.h... Generating page documentation... Generating group documentation... Generating class documentation... Generating docs for compound PKCS11_cert_st... Generating docs for compound PKCS11_ctx_st... Generating docs for compound PKCS11_key_st... Generating docs for compound PKCS11_slot_st... Generating docs for compound PKCS11_token_st... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... Running plantuml with JAVA... lookup cache used 143/65536 hits=485 misses=145 finished... cp "."/*.gif api.out/html make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/doc' Making all in examples make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o auth.o auth.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o decrypt.o decrypt.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o getrandom.o getrandom.c gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o listkeys.o listkeys.c auth.c: In function 'main': auth.c:223:2: warning: 'PKCS11_sign' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 223 | rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, | ^~ In file included from auth.c:19: ../src/libp11.h:470:32: note: declared here 470 | P11_DEPRECATED_FUNC extern int PKCS11_sign(int type, | ^~~~~~~~~~~ auth.c:240:2: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | rc = RSA_verify(NID_sha1, random, RANDOM_SIZE, | ^~ In file included from ../src/libp11.h:31, from auth.c:19: /usr/include/openssl/rsa.h:350:27: note: declared here 350 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ auth.c:242:4: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | signature, siglen, EVP_PKEY_get0_RSA(pubkey)); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32, from auth.c:19: /usr/include/openssl/evp.h:1222:16: note: declared here 1222 | struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c: In function 'main': decrypt.c:143:2: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 143 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ In file included from ../src/libp11.h:31, from decrypt.c:19: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ decrypt.c:143:2: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 143 | 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, from decrypt.c:19: /usr/include/openssl/evp.h:1222:16: note: declared here 1222 | struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c:154:2: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | len = RSA_public_encrypt(RANDOM_SIZE, random, encrypted, | ^~~ In file included from ../src/libp11.h:31, from decrypt.c:19: /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ decrypt.c:156:4: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 156 | EVP_PKEY_get0_RSA(pubkey), | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32, from decrypt.c:19: /usr/include/openssl/evp.h:1222:16: note: declared here 1222 | struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c:223:2: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | decrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ In file included from ../src/libp11.h:31, from decrypt.c:19: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ decrypt.c:223:2: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | decrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32, from decrypt.c:19: /usr/include/openssl/evp.h:1222:16: note: declared here 1222 | struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c:232:2: warning: 'PKCS11_private_decrypt' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 232 | rc = PKCS11_private_decrypt(len, encrypted, | ^~ In file included from decrypt.c:19: ../src/libp11.h:494:32: note: declared here 494 | P11_DEPRECATED_FUNC extern int PKCS11_private_decrypt( | ^~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o getrandom getrandom.o ../src/libp11.la -lcrypto -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o listkeys listkeys.o ../src/libp11.la -lcrypto -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o auth auth.o ../src/libp11.la -lcrypto -ldl /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o decrypt decrypt.o ../src/libp11.la -lcrypto -ldl libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/getrandom getrandom.o ../src/.libs/libp11.so -lcrypto -ldl libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/listkeys listkeys.o ../src/.libs/libp11.so -lcrypto -ldl libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/decrypt decrypt.o ../src/.libs/libp11.so -lcrypto -ldl libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/auth auth.o ../src/.libs/libp11.so -lcrypto -ldl make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/examples' Making all in tests make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WoM3dx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64 ++ dirname /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64 + cd libp11-0.4.10 + mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1 + make install DESTDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/src' make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1' /bin/sh ../libtool --mode=install /usr/bin/install -c pkcs11.la '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1' libtool: install: /usr/bin/install -c .libs/pkcs11.so /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1/pkcs11.so libtool: install: /usr/bin/install -c .libs/pkcs11.lai /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1/pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib64/engines-1.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libp11.la '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libp11.so.2.5.2 /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/libp11.so.2.5.2 libtool: install: (cd /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64 && { ln -s -f libp11.so.2.5.2 libp11.so.2 || { rm -f libp11.so.2 && ln -s libp11.so.2.5.2 libp11.so.2; }; }) libtool: install: (cd /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64 && { ln -s -f libp11.so.2.5.2 libp11.so || { rm -f libp11.so && ln -s libp11.so.2.5.2 libp11.so; }; }) libtool: install: /usr/bin/install -c .libs/libp11.lai /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/libp11.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/src' cd '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1' && ln -s -f pkcs11.so libpkcs11.so make[3]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/include' /usr/bin/install -c -m 644 libp11.h p11_err.h '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libp11.pc '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/src' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/doc' make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11/api' /usr/bin/install -c -m 644 api.out/html/annotated.html api.out/html/bc_s.png api.out/html/bdwn.png api.out/html/classes.html api.out/html/closed.png api.out/html/doc.png api.out/html/doxygen.css api.out/html/doxygen.svg api.out/html/dynsections.js api.out/html/files.html api.out/html/folderclosed.png api.out/html/folderopen.png api.out/html/functions.html api.out/html/functions_vars.html api.out/html/globals.html api.out/html/globals_func.html api.out/html/globals_type.html api.out/html/index.html api.out/html/jquery.js api.out/html/libp11_8h.html api.out/html/libp11_8h_source.html api.out/html/menu.js api.out/html/menudata.js api.out/html/nav_f.png api.out/html/nav_g.png api.out/html/nav_h.png api.out/html/open.png api.out/html/opensc-logo.gif api.out/html/splitbar.png api.out/html/structPKCS11__cert__st.html api.out/html/structPKCS11__ctx__st.html api.out/html/structPKCS11__key__st.html api.out/html/structPKCS11__slot__st.html api.out/html/structPKCS11__token__st.html api.out/html/sync_off.png api.out/html/sync_on.png api.out/html/tab_a.png api.out/html/tab_b.png api.out/html/tab_h.png api.out/html/tab_s.png '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11/api' /usr/bin/install -c -m 644 api.out/html/tabs.css '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11/api' make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/doc' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/doc' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/examples' make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/examples' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/examples' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10' make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11' /usr/bin/install -c -m 644 NEWS '/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11' make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10' + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/libp11.la + rm -f /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1/pkcs11.la + rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.4.10-8.fc34 --unique-debug-suffix -0.4.10-8.fc34.aarch64 --unique-debug-src-base openssl-pkcs11-0.4.10-8.fc34.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libp11-0.4.10 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1/pkcs11.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/libp11.so.2.5.2 extracting debug info from /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/libp11.so.2.5.2 extracting debug info from /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/lib64/engines-1.1/pkcs11.so original debug info size: 784kB, size after compression: 624kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 533 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Wd5xLv + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.10 + make check -j4 Making check in src make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/src' make check-local make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/src' cd .libs && ln -s -f pkcs11.so libpkcs11.so make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/src' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/src' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/doc' Making check in examples make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/examples' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/examples' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/tests' make openssl_version fork-test evp-sign fork-change-slot list-tokens rsa-pss-sign rsa-oaep check-privkey \ rsa-testpkcs11.softhsm rsa-testfork.softhsm rsa-testlistkeys.softhsm rsa-evp-sign.softhsm ec-evp-sign.softhsm ec-testfork.softhsm fork-change-slot.softhsm rsa-pss-sign.softhsm rsa-oaep.softhsm case-insensitive.softhsm ec-check-privkey.softhsm pkcs11-uri-without-token.softhsm search-all-matching-tokens.softhsm rsa-cert.der rsa-prvkey.der rsa-pubkey.der ec-cert.der ec-prvkey.der ec-pubkey.der make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/tests' CC openssl_version.o CC fork-test.o CC evp-sign.o CC fork-change-slot.o CC list-tokens.o evp-sign.c: In function 'main': evp-sign.c:186:2: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 186 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:654:1: note: declared here 654 | DEPRECATEDIN_3_0(void ENGINE_add_conf_module(void)) | ^~~~~~~~~~~~~~~~ evp-sign.c:198:2: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:347:1: note: declared here 347 | DEPRECATEDIN_3_0(void ENGINE_load_builtin_engines(void)) | ^~~~~~~~~~~~~~~~ evp-sign.c:199:2: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 199 | e = ENGINE_by_id("pkcs11"); | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:327:1: note: declared here 327 | DEPRECATEDIN_3_0(ENGINE *ENGINE_by_id(const char *id)) | ^~~~~~~~~~~~~~~~ evp-sign.c:205:2: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 205 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ evp-sign.c:210:2: 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)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ evp-sign.c:215:2: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | if (!ENGINE_init(e)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:582:1: note: declared here 582 | DEPRECATEDIN_3_0(int ENGINE_init(ENGINE *e)) | ^~~~~~~~~~~~~~~~ evp-sign.c:228:3: 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)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ evp-sign.c:236:2: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 236 | private_key = ENGINE_load_private_key(e, private_key_name, | ^~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:595:1: note: declared here 595 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_private_key | ^~~~~~~~~~~~~~~~ evp-sign.c:244:2: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | public_key = ENGINE_load_public_key(e, public_key_name, | ^~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:598:1: note: declared here 598 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_public_key | ^~~~~~~~~~~~~~~~ evp-sign.c:309:2: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 309 | ENGINE_finish(e); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from evp-sign.c:36: /usr/include/openssl/engine.h:588:1: note: declared here 588 | DEPRECATEDIN_3_0(int ENGINE_finish(ENGINE *e)) | ^~~~~~~~~~~~~~~~ fork-change-slot.c: In function 'main': fork-change-slot.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 /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:654:1: note: declared here 654 | DEPRECATEDIN_3_0(void ENGINE_add_conf_module(void)) | ^~~~~~~~~~~~~~~~ fork-change-slot.c:184:5: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 184 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:654:1: note: declared here 654 | DEPRECATEDIN_3_0(void ENGINE_add_conf_module(void)) | ^~~~~~~~~~~~~~~~ fork-change-slot.c:194:5: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:347:1: note: declared here 347 | DEPRECATEDIN_3_0(void ENGINE_load_builtin_engines(void)) | ^~~~~~~~~~~~~~~~ fork-change-slot.c:197:5: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 197 | engine = ENGINE_by_id("pkcs11"); | ^~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:327:1: note: declared here 327 | DEPRECATEDIN_3_0(ENGINE *ENGINE_by_id(const char *id)) | ^~~~~~~~~~~~~~~~ fork-change-slot.c:206:9: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 206 | ENGINE_ctrl_cmd(engine, "MODULE_PATH", 0, argv[3], NULL, 1); | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:436:1: note: declared here 436 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ fork-change-slot.c:210:5: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 210 | if (ENGINE_init(engine)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:582:1: note: declared here 582 | DEPRECATEDIN_3_0(int ENGINE_init(ENGINE *e)) | ^~~~~~~~~~~~~~~~ fork-change-slot.c:211:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | pkey = ENGINE_load_private_key(engine, argv[1], 0, 0); | ^~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:595:1: note: declared here 595 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_private_key | ^~~~~~~~~~~~~~~~ fork-change-slot.c:217:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | ENGINE_free(engine); | ^~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:474:1: note: declared here 474 | DEPRECATEDIN_3_0(int ENGINE_free(ENGINE *e)) | ^~~~~~~~~~~~~~~~ fork-change-slot.c:286:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 286 | ENGINE_free(engine); | ^~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/evp.h:14, from fork-change-slot.c:31: /usr/include/openssl/engine.h:474:1: note: declared here 474 | DEPRECATEDIN_3_0(int ENGINE_free(ENGINE *e)) | ^~~~~~~~~~~~~~~~ list-tokens.c: In function 'main': list-tokens.c:15:15: warning: unused variable 'certs' [-Wunused-variable] 15 | PKCS11_CERT *certs; | ^~~~~ CC rsa-pss-sign.o make[2]: Nothing to be done for 'rsa-testpkcs11.softhsm'. make[2]: Nothing to be done for 'rsa-testfork.softhsm'. make[2]: Nothing to be done for 'rsa-testlistkeys.softhsm'. make[2]: Nothing to be done for 'rsa-evp-sign.softhsm'. make[2]: Nothing to be done for 'ec-evp-sign.softhsm'. make[2]: Nothing to be done for 'ec-testfork.softhsm'. CC rsa-oaep.o make[2]: Nothing to be done for 'fork-change-slot.softhsm'. make[2]: Nothing to be done for 'rsa-pss-sign.softhsm'. make[2]: Nothing to be done for 'rsa-oaep.softhsm'. make[2]: Nothing to be done for 'case-insensitive.softhsm'. make[2]: Nothing to be done for 'ec-check-privkey.softhsm'. make[2]: Nothing to be done for 'pkcs11-uri-without-token.softhsm'. make[2]: Nothing to be done for 'search-all-matching-tokens.softhsm'. make[2]: Nothing to be done for 'rsa-cert.der'. make[2]: Nothing to be done for 'rsa-prvkey.der'. make[2]: Nothing to be done for 'rsa-pubkey.der'. make[2]: Nothing to be done for 'ec-cert.der'. make[2]: Nothing to be done for 'ec-prvkey.der'. make[2]: Nothing to be done for 'ec-pubkey.der'. CC check-privkey.o CCLD openssl_version rsa-pss-sign.c: In function 'main': rsa-pss-sign.c:98:2: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:654:1: note: declared here 654 | DEPRECATEDIN_3_0(void ENGINE_add_conf_module(void)) | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:110:2: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 110 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:347:1: note: declared here 347 | DEPRECATEDIN_3_0(void ENGINE_load_builtin_engines(void)) | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:111:2: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 111 | e = ENGINE_by_id("pkcs11"); | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:327:1: note: declared here 327 | DEPRECATEDIN_3_0(ENGINE *ENGINE_by_id(const char *id)) | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:117:2: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 117 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:122:2: 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)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:127:2: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 127 | if (!ENGINE_init(e)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:582:1: note: declared here 582 | DEPRECATEDIN_3_0(int ENGINE_init(ENGINE *e)) | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:132:2: 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)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:137:2: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | private_key = ENGINE_load_private_key(e, private_key_name, NULL, NULL); | ^~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:595:1: note: declared here 595 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_private_key | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:144:2: warning: 'ENGINE_load_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 144 | public_key = ENGINE_load_public_key(e, public_key_name, NULL, NULL); | ^~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:598:1: note: declared here 598 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_public_key | ^~~~~~~~~~~~~~~~ rsa-pss-sign.c:264:2: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | ENGINE_finish(e); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-pss-sign.c:32: /usr/include/openssl/engine.h:588:1: note: declared here 588 | DEPRECATEDIN_3_0(int ENGINE_finish(ENGINE *e)) | ^~~~~~~~~~~~~~~~ rsa-oaep.c: In function 'main': rsa-oaep.c:98:2: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:654:1: note: declared here 654 | DEPRECATEDIN_3_0(void ENGINE_add_conf_module(void)) | ^~~~~~~~~~~~~~~~ rsa-oaep.c:108:2: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 108 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:347:1: note: declared here 347 | DEPRECATEDIN_3_0(void ENGINE_load_builtin_engines(void)) | ^~~~~~~~~~~~~~~~ rsa-oaep.c:110:2: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 110 | e = ENGINE_by_id("pkcs11"); | ^ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:327:1: note: declared here 327 | DEPRECATEDIN_3_0(ENGINE *ENGINE_by_id(const char *id)) | ^~~~~~~~~~~~~~~~ rsa-oaep.c:116:2: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 116 | if (!ENGINE_ctrl_cmd_string(e, "VERBOSE", NULL, 0)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ rsa-oaep.c:121:2: 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)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ rsa-oaep.c:126:2: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 126 | if (!ENGINE_init(e)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:582:1: note: declared here 582 | DEPRECATEDIN_3_0(int ENGINE_init(ENGINE *e)) | ^~~~~~~~~~~~~~~~ rsa-oaep.c:131:2: 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)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ rsa-oaep.c:136:2: 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); | ^~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:595:1: note: declared here 595 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_private_key | ^~~~~~~~~~~~~~~~ rsa-oaep.c:143:2: 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); | ^~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:598:1: note: declared here 598 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_public_key | ^~~~~~~~~~~~~~~~ rsa-oaep.c:241:2: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | ENGINE_finish(e); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/rsa.h:14, from rsa-oaep.c:32: /usr/include/openssl/engine.h:588:1: note: declared here 588 | DEPRECATEDIN_3_0(int ENGINE_finish(ENGINE *e)) | ^~~~~~~~~~~~~~~~ check-privkey.c: In function 'main': check-privkey.c:97:2: warning: 'ENGINE_add_conf_module' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | ENGINE_add_conf_module(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:654:1: note: declared here 654 | DEPRECATEDIN_3_0(void ENGINE_add_conf_module(void)) | ^~~~~~~~~~~~~~~~ check-privkey.c:109:2: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 109 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:347:1: note: declared here 347 | DEPRECATEDIN_3_0(void ENGINE_load_builtin_engines(void)) | ^~~~~~~~~~~~~~~~ check-privkey.c:111:2: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 111 | engine = ENGINE_by_id("pkcs11"); | ^~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:327:1: note: declared here 327 | DEPRECATEDIN_3_0(ENGINE *ENGINE_by_id(const char *id)) | ^~~~~~~~~~~~~~~~ check-privkey.c:119:2: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | if (!ENGINE_ctrl_cmd_string(engine, "VERBOSE", NULL, 0)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ check-privkey.c:124:2: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | if (!ENGINE_ctrl_cmd_string(engine, "MODULE_PATH", module, 0)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:462:1: note: declared here 462 | DEPRECATEDIN_3_0(int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, | ^~~~~~~~~~~~~~~~ check-privkey.c:129:2: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 129 | if (!ENGINE_init(engine)) { | ^~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:582:1: note: declared here 582 | DEPRECATEDIN_3_0(int ENGINE_init(ENGINE *e)) | ^~~~~~~~~~~~~~~~ check-privkey.c:136:2: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | pkey = ENGINE_load_private_key(engine, privkey, 0, 0); | ^~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:595:1: note: declared here 595 | DEPRECATEDIN_3_0(EVP_PKEY *ENGINE_load_private_key | ^~~~~~~~~~~~~~~~ check-privkey.c:145:2: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | ENGINE_finish(engine); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslv.h:109, from /usr/include/openssl/macros.h:11, from /usr/include/openssl/opensslconf.h:14, from /usr/include/openssl/macros.h:10, from /usr/include/openssl/engine.h:15, from check-privkey.c:23: /usr/include/openssl/engine.h:588:1: note: declared here 588 | DEPRECATEDIN_3_0(int ENGINE_finish(ENGINE *e)) | ^~~~~~~~~~~~~~~~ check-privkey.c:160:2: warning: 'cert' may be used uninitialized in this function [-Wmaybe-uninitialized] 160 | X509_free(cert); | ^~~~~~~~~~~~~~~ check-privkey.c:161:2: warning: 'pkey' may be used uninitialized in this function [-Wmaybe-uninitialized] 161 | EVP_PKEY_free(pkey); | ^~~~~~~~~~~~~~~~~~~ CCLD fork-test CCLD evp-sign CCLD fork-change-slot CCLD list-tokens CCLD rsa-pss-sign CCLD rsa-oaep CCLD check-privkey make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/tests' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[3]: Entering directory '/builddir/build/BUILD/libp11-0.4.10/tests' PASS: rsa-testfork.softhsm PASS: ec-evp-sign.softhsm PASS: rsa-evp-sign.softhsm PASS: rsa-testlistkeys.softhsm PASS: ec-testfork.softhsm PASS: rsa-testpkcs11.softhsm PASS: rsa-oaep.softhsm PASS: rsa-pss-sign.softhsm PASS: case-insensitive.softhsm PASS: ec-check-privkey.softhsm PASS: pkcs11-uri-without-token.softhsm PASS: search-all-matching-tokens.softhsm PASS: fork-change-slot.softhsm ============================================================================ Testsuite summary for libp11 0.4.10 ============================================================================ # TOTAL: 13 # PASS: 13 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[2]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10/tests' make[1]: Entering directory '/builddir/build/BUILD/libp11-0.4.10' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/libp11-0.4.10' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: openssl-pkcs11-0.4.10-8.fc34.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FAn9Ct + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.10 + DOCDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/openssl-pkcs11 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/openssl-pkcs11 + cp -pr NEWS /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/openssl-pkcs11 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7y6Twv + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.10 + LICENSEDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/licenses/openssl-pkcs11 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/licenses/openssl-pkcs11 + cp -pr COPYING /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/licenses/openssl-pkcs11 + RPM_EC=0 ++ jobs -p + exit 0 Provides: engine_pkcs11(aarch-64) = 0.4.10-8.fc34 libp11(aarch-64) = 0.4.10-8.fc34 libp11.so.2()(64bit) libp11.so.2(LIBP11_2)(64bit) openssl-pkcs11 = 0.4.10-8.fc34 openssl-pkcs11(aarch-64) = 0.4.10-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) rtld(GNU_HASH) Obsoletes: engine_pkcs11 < 0.4.7-4 libp11 < 0.4.7-4 libp11-devel < 0.4.7-4 Processing files: libp11-devel-0.4.10-8.fc34.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BtGnpt + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.10 + DOCDIR=/builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11-devel + cp -pr examples/ /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11-devel + cp -pr doc/api.out/html/ /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64/usr/share/doc/libp11-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libp11-devel = 0.4.10-8.fc34 libp11-devel(aarch-64) = 0.4.10-8.fc34 pkgconfig(libp11) = 0.4.10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libp11.so.2()(64bit) Processing files: openssl-pkcs11-debugsource-0.4.10-8.fc34.aarch64 Provides: openssl-pkcs11-debugsource = 0.4.10-8.fc34 openssl-pkcs11-debugsource(aarch-64) = 0.4.10-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: openssl-pkcs11-debuginfo-0.4.10-8.fc34.aarch64 Provides: debuginfo(build-id) = 3e91ac8abc896ea5cc11b0c2c00976d6fff48d13 debuginfo(build-id) = 8aa47ffd4d9963bb8e74f6f3915d89dfacfb88cf openssl-pkcs11-debuginfo = 0.4.10-8.fc34 openssl-pkcs11-debuginfo(aarch-64) = 0.4.10-8.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: openssl-pkcs11-debugsource(aarch-64) = 0.4.10-8.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64 Wrote: /builddir/build/RPMS/openssl-pkcs11-0.4.10-8.fc34.aarch64.rpm Wrote: /builddir/build/RPMS/openssl-pkcs11-debugsource-0.4.10-8.fc34.aarch64.rpm Wrote: /builddir/build/RPMS/openssl-pkcs11-debuginfo-0.4.10-8.fc34.aarch64.rpm Wrote: /builddir/build/RPMS/libp11-devel-0.4.10-8.fc34.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8g3QOt + umask 022 + cd /builddir/build/BUILD + cd libp11-0.4.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/openssl-pkcs11-0.4.10-8.fc34.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0