D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libp11-0.4.11-3.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.geRWBV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libp11-0.4.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libp11-0.4.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libp11-0.4.11 + rm -rf /home/pterjan/rpmbuild/BUILD/libp11-0.4.11-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libp11-0.4.11-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.i8HaUO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libp11-0.4.11 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-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 x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-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 -m elf_x86_64) 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 x86_64-mageia-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... none required checking for __register_atfork... yes checking for libcrypto >= 0.9.8... 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.11 libp11 directory: /usr/lib64 Engine directory: /usr/lib64/engines-3 Default PKCS11 module: API doc support: yes Host: x86_64-mageia-linux-gnu Compiler: gcc Preprocessor flags: Compiler flags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full Linker flags: -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags Libraries: OPENSSL_CFLAGS: OPENSSL_LIBS: -lcrypto + /usr/bin/make -O -j16 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_err.c -fPIC -DPIC -o .libs/libp11_la-p11_err.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pkcs11_la-eng_err.lo `test -f 'eng_err.c' || echo './'`eng_err.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c eng_err.c -fPIC -DPIC -o .libs/pkcs11_la-eng_err.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_misc.lo `test -f 'p11_misc.c' || echo './'`p11_misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_misc.c -fPIC -DPIC -o .libs/libp11_la-p11_misc.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-libpkcs11.lo `test -f 'libpkcs11.c' || echo './'`libpkcs11.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c libpkcs11.c -fPIC -DPIC -o .libs/libp11_la-libpkcs11.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_ckr.lo `test -f 'p11_ckr.c' || echo './'`p11_ckr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_ckr.c -fPIC -DPIC -o .libs/libp11_la-p11_ckr.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_load.lo `test -f 'p11_load.c' || echo './'`p11_load.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_load.c -fPIC -DPIC -o .libs/libp11_la-p11_load.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pkcs11_la-eng_front.lo `test -f 'eng_front.c' || echo './'`eng_front.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c eng_front.c -fPIC -DPIC -o .libs/pkcs11_la-eng_front.o eng_front.c: In function 'get_ctx': eng_front.c:91:17: 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 engine.h:41, from eng_front.c:16: /usr/include/openssl/engine.h:534:29: note: declared here 534 | OSSL_DEPRECATEDIN_3_0 void *ENGINE_get_ex_data(const ENGINE *e, int idx); | ^~~~~~~~~~~~~~~~~~ eng_front.c:95:17: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 95 | ENGINE_set_ex_data(engine, pkcs11_idx, ctx); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:533:27: note: declared here 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ eng_front.c: In function 'engine_destroy': eng_front.c:122:9: warning: 'ENGINE_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | ENGINE_set_ex_data(engine, pkcs11_idx, NULL); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:533:27: note: declared here 533 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ eng_front.c: In function 'load_privkey': eng_front.c:189:9: warning: 'EVP_PKEY_set1_engine' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 189 | if (pkey && !EVP_PKEY_set1_engine(pkey, engine)) { | ^~ In file included from /usr/include/openssl/x509.h:29, from libp11.h:32, from engine.h:35: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e); | ^~~~~~~~~~~~~~~~~~~~ eng_front.c: In function 'bind_helper': eng_front.c:211:9: warning: 'ENGINE_set_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | if (!ENGINE_set_id(e, PKCS11_ENGINE_ID) || | ^~ /usr/include/openssl/engine.h:495:27: note: declared here 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); | ^~~~~~~~~~~~~ eng_front.c:212:25: warning: 'ENGINE_set_destroy_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 212 | !ENGINE_set_destroy_function(e, engine_destroy) || | ^ /usr/include/openssl/engine.h:503:5: note: declared here 503 | int ENGINE_set_destroy_function(ENGINE *e,ENGINE_GEN_INT_FUNC_PTR destroy_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:213:25: warning: 'ENGINE_set_init_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 213 | !ENGINE_set_init_function(e, engine_init) || | ^ /usr/include/openssl/engine.h:505:5: note: declared here 505 | int ENGINE_set_init_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f); | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:214:25: warning: 'ENGINE_set_finish_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | !ENGINE_set_finish_function(e, engine_finish) || | ^ /usr/include/openssl/engine.h:507:5: note: declared here 507 | int ENGINE_set_finish_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:215:25: warning: 'ENGINE_set_ctrl_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | !ENGINE_set_ctrl_function(e, engine_ctrl) || | ^ /usr/include/openssl/engine.h:509:5: note: declared here 509 | int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:216:25: warning: 'ENGINE_set_cmd_defns' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | !ENGINE_set_cmd_defns(e, engine_cmd_defns) || | ^ /usr/include/openssl/engine.h:526:27: note: declared here 526 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e, | ^~~~~~~~~~~~~~~~~~~~ eng_front.c:217:25: warning: 'ENGINE_set_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 217 | !ENGINE_set_name(e, PKCS11_ENGINE_NAME) || | ^ /usr/include/openssl/engine.h:496:27: note: declared here 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); | ^~~~~~~~~~~~~~~ eng_front.c:219:25: warning: 'ENGINE_set_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 219 | !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) || | ^ /usr/include/openssl/engine.h:497:27: note: declared here 497 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); | ^~~~~~~~~~~~~~ eng_front.c:224:25: warning: 'ENGINE_set_EC' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | !ENGINE_set_EC(e, PKCS11_get_ec_key_method()) || | ^ /usr/include/openssl/engine.h:499:27: note: declared here 499 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ecdsa_meth); | ^~~~~~~~~~~~~ eng_front.c:234:25: warning: 'ENGINE_set_pkey_meths' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 234 | !ENGINE_set_pkey_meths(e, PKCS11_pkey_meths) || | ^ /usr/include/openssl/engine.h:522:5: note: declared here 522 | int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); | ^~~~~~~~~~~~~~~~~~~~~ eng_front.c:235:25: warning: 'ENGINE_set_load_pubkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 235 | !ENGINE_set_load_pubkey_function(e, load_pubkey) || | ^ /usr/include/openssl/engine.h:513:5: note: declared here 513 | int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:236:25: warning: 'ENGINE_set_load_privkey_function' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 236 | !ENGINE_set_load_privkey_function(e, load_privkey)) { | ^ /usr/include/openssl/engine.h:511:5: note: declared here 511 | int ENGINE_set_load_privkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_attr.lo `test -f 'p11_attr.c' || echo './'`p11_attr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_attr.c -fPIC -DPIC -o .libs/libp11_la-p11_attr.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_cert.lo `test -f 'p11_cert.c' || echo './'`p11_cert.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_cert.c -fPIC -DPIC -o .libs/libp11_la-p11_cert.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_ec.lo `test -f 'p11_ec.c' || echo './'`p11_ec.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_ec.c -fPIC -DPIC -o .libs/libp11_la-p11_ec.o p11_ec.c: In function 'pkcs11_get_params': p11_ec.c:201:9: warning: 'd2i_ECParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 201 | rv = d2i_ECParameters(&ec, &a, (long)params_len) == NULL; | ^~ In file included from /usr/include/openssl/x509.h:33, from libp11.h:32, from libp11-int.h:27, from p11_ec.c:27: /usr/include/openssl/ec.h:1214:31: note: declared here 1214 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECParameters(EC_KEY **key, | ^~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_point_key': p11_ec.c:224:17: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | rv = o2i_ECPublicKey(&ec, &a, os->length) == NULL; | ^~ /usr/include/openssl/ec.h:1239:31: note: declared here 1239 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ p11_ec.c:229:17: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 229 | rv = o2i_ECPublicKey(&ec, &a, (long)point_len) == NULL; | ^~ /usr/include/openssl/ec.h:1239:31: note: declared here 1239 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_point_cert': p11_ec.c:253:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 253 | pubkey_ec = EVP_PKEY_get0_EC_KEY(pubkey); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1377:25: note: declared here 1377 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ p11_ec.c:253:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 253 | pubkey_ec = EVP_PKEY_get0_EC_KEY(pubkey); | ^ p11_ec.c:256:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 256 | point = EC_KEY_get0_public_key(pubkey_ec); | ^~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:259:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 259 | if (EC_KEY_set_public_key(ec, point) == 0) | ^~ /usr/include/openssl/ec.h:1073:27: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_ec': p11_ec.c:274:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | ec = EC_KEY_new(); | ^~ /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ p11_ec.c:290:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | if (key->isPrivate && EC_KEY_get0_private_key(ec) == NULL) { | ^~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:292:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 292 | EC_KEY_set_private_key(ec, bn); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1059:27: note: declared here 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:298:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 298 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_ex_data_ec': p11_ec.c:308:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | return EC_KEY_get_ex_data(ec, ec_ex_index); | ^~~~~~ /usr/include/openssl/ec.h:1087:29: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_set_ex_data_ec': p11_ec.c:317:9: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 317 | EC_KEY_set_ex_data(ec, ec_ex_index, key); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1086:27: note: declared here 1086 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_update_ex_data_ec': p11_ec.c:332:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | ec = EVP_PKEY_get1_EC_KEY(evp); | ^~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ p11_ec.c:334:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 334 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_evp_key_ec': p11_ec.c:356:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 356 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_ec.c:359:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 359 | EVP_PKEY_set1_EC_KEY(pk, ec); /* Also increments the ec ref count */ | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1375:5: note: declared here 1375 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ p11_ec.c:363:17: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 363 | EC_KEY_set_method(ec, PKCS11_get_ec_key_method()); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1286:27: note: declared here 1286 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ p11_ec.c:373:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 373 | EC_KEY_free(ec); /* Drops our reference to it */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_ec.c: In function 'pkcs11_ecdsa_sign_sig': p11_ec.c:442:17: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | const EC_KEY_METHOD *meth = EC_KEY_OpenSSL(); | ^~~~~ /usr/include/openssl/ec.h:1282:44: note: declared here 1282 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ p11_ec.c:443:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 443 | EC_KEY_METHOD_get_sign((EC_KEY_METHOD *)meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1527:28: note: declared here 1527 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:455:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 455 | const EC_GROUP *group = EC_KEY_get0_group(ec); | ^~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_ecdh_compute_key': p11_ec.c:611:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 611 | const EC_GROUP *group = EC_KEY_get0_group(ecdh); | ^~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ p11_ec.c: In function 'PKCS11_get_ec_key_method': p11_ec.c:716:17: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 716 | ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL()); | ^~~ /usr/include/openssl/ec.h:1464:38: note: declared here 1464 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ p11_ec.c:716:17: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 716 | ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL()); | ^~~ /usr/include/openssl/ec.h:1282:44: note: declared here 1282 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ p11_ec.c:717:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 717 | EC_KEY_METHOD_get_sign(ops, &orig_sign, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1527:28: note: declared here 1527 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:718:17: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 718 | EC_KEY_METHOD_set_sign(ops, orig_sign, NULL, pkcs11_ecdsa_sign_sig); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1483:28: note: declared here 1483 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:719:17: warning: 'EC_KEY_METHOD_get_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 719 | EC_KEY_METHOD_get_compute_key(ops, &ossl_ecdh_compute_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1520:28: note: declared here 1520 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:720:17: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 720 | EC_KEY_METHOD_set_compute_key(ops, pkcs11_ec_ckey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1478:28: note: declared here 1478 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_pkey.lo `test -f 'p11_pkey.c' || echo './'`p11_pkey.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_pkey.c -fPIC -DPIC -o .libs/libp11_la-p11_pkey.o p11_pkey.c: In function 'pkcs11_try_pkey_rsa_sign': p11_pkey.c:318:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 318 | 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:1351:22: note: declared here 1351 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_pkey.c:318:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 318 | rsa = EVP_PKEY_get0_RSA(pkey); | ^ p11_pkey.c: In function 'pkcs11_try_pkey_rsa_decrypt': p11_pkey.c:422:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 422 | rsa = EVP_PKEY_get0_RSA(pkey); | ^~~ /usr/include/openssl/evp.h:1351:22: note: declared here 1351 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_pkey.c:422:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 422 | rsa = EVP_PKEY_get0_RSA(pkey); | ^ p11_pkey.c: In function 'pkcs11_pkey_method_rsa': p11_pkey.c:511:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_RSA); | ^~~~~~~~~ /usr/include/openssl/evp.h:1748:46: note: declared here 1748 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:512:9: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2084:28: note: declared here 2084 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:514:9: warning: 'EVP_PKEY_meth_get_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 514 | EVP_PKEY_meth_get_decrypt(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2112:28: note: declared here 2112 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_decrypt | ^~~~~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:518:9: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 518 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_RSA, | ^~~~~~~~ /usr/include/openssl/evp.h:1749:40: note: declared here 1749 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ p11_pkey.c:526:9: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 526 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1752:28: note: declared here 1752 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:528:9: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 528 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2015:28: note: declared here 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:530:9: warning: 'EVP_PKEY_meth_set_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | EVP_PKEY_meth_set_decrypt(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2042:28: note: declared here 2042 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_decrypt | ^~~~~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_ec_sign': p11_pkey.c:569:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 569 | eckey = (EC_KEY *)EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ /usr/include/openssl/evp.h:1377:25: note: declared here 1377 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ p11_pkey.c:573:9: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 573 | if (*siglen < (size_t)ECDSA_size(eckey)) | ^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1458:27: note: declared here 1458 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ p11_pkey.c: In function 'pkcs11_pkey_method_ec': p11_pkey.c:660:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 660 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_EC); | ^~~~~~~~~ /usr/include/openssl/evp.h:1748:46: note: declared here 1748 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:661:9: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 661 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2084:28: note: declared here 2084 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:664:9: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 664 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_EC, 0); | ^~~~~~~~ /usr/include/openssl/evp.h:1749:40: note: declared here 1749 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ p11_pkey.c:671:9: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 671 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1752:28: note: declared here 1752 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:673:9: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 673 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:2015:28: note: declared here 2015 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o p11_rsa.c: In function 'pkcs11_rsa': p11_rsa.c:38:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | rsa = 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:1351:22: note: declared here 1351 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:38:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 38 | rsa = EVP_PKEY_get0_RSA(evp_key); | ^ p11_rsa.c: In function 'pkcs11_sign': p11_rsa.c:51:9: 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: /usr/include/openssl/rsa.h:354:27: note: declared here 354 | 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:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 223 | rsa = RSA_new(); | ^~~ /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ p11_rsa.c:227:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | RSA_set0_key(rsa, rsa_n, rsa_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | 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:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 237 | return RSA_get_ex_data(rsa, rsa_ex_index); | ^~~~~~ /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:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | RSA_set_ex_data(rsa, rsa_ex_index, key); | ^~~~~~~~~~~~~~~ /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:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | rsa = EVP_PKEY_get1_RSA(evp); | ^~~ /usr/include/openssl/evp.h:1353:16: note: declared here 1353 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:256:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 256 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_get_evp_key_rsa': p11_rsa.c:271:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_rsa.c:274:9: 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 */ | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:5: note: declared here 1349 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:277:17: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 277 | RSA_set_method(rsa, PKCS11_get_rsa_method()); | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:308:27: note: declared here 308 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ p11_rsa.c:279:17: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 279 | RSA_set_flags(rsa, RSA_FLAG_EXT_PKEY); | ^~~~~~~~~~~~~ /usr/include/openssl/rsa.h:249:28: note: declared here 249 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); | ^~~~~~~~~~~~~ p11_rsa.c:292:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 292 | RSA_free(rsa); /* Drops our reference to it */ | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_modulus': p11_rsa.c:305:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 305 | RSA_get0_key(rsa, &rsa_n, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_exponent': p11_rsa.c:322:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 322 | RSA_get0_key(rsa, NULL, &rsa_e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_size': p11_rsa.c:336:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 336 | return RSA_size(rsa); | ^~~~~~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_priv_dec_method': p11_rsa.c:369:17: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ /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:369:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | 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:382:17: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ /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:382:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_free_method': p11_rsa.c:390:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 390 | RSA_set_ex_data(rsa, rsa_ex_index, NULL); | ^~~~~~~~~~~~~~~ /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:392:17: warning: 'RSA_meth_get_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 392 | RSA_meth_get_finish(RSA_get_default_method()); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:558:7: note: declared here 558 | int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa); | ^~~~~~~~~~~~~~~~~~~ p11_rsa.c:392:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 392 | RSA_meth_get_finish(RSA_get_default_method()); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'PKCS11_get_rsa_method': p11_rsa.c:493:17: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 493 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ /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:493:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 493 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ /usr/include/openssl/rsa.h:305:41: note: declared here 305 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:496:17: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 496 | RSA_meth_set1_name(ops, "libp11 RSA method"); | ^~~~~~~~~~~~~~~~~~ /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:497:17: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 497 | RSA_meth_set_flags(ops, 0); | ^~~~~~~~~~~~~~~~~~ /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:498:17: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 498 | RSA_meth_set_priv_enc(ops, pkcs11_rsa_priv_enc_method); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:516:5: note: declared here 516 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:499:17: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | RSA_meth_set_priv_dec(ops, pkcs11_rsa_priv_dec_method); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:526:5: note: declared here 526 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:500:17: warning: 'RSA_meth_set_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 500 | RSA_meth_set_finish(ops, pkcs11_rsa_free_method); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:560:5: note: declared here 560 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pkcs11_la-eng_parse.lo `test -f 'eng_parse.c' || echo './'`eng_parse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c eng_parse.c -fPIC -DPIC -o .libs/pkcs11_la-eng_parse.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_atfork.lo `test -f 'p11_atfork.c' || echo './'`p11_atfork.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_atfork.c -fPIC -DPIC -o .libs/libp11_la-p11_atfork.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o p11_key.c: In function 'pkcs11_store_key': p11_key.c:256:17: 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:1353:16: note: declared here 1353 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_key.c:258:17: 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: /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_key.c:259:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 259 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ p11_key.c:260:17: 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); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ p11_key.c:261:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 261 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libp11_la-p11_front.lo `test -f 'p11_front.c' || echo './'`p11_front.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c p11_front.c -fPIC -DPIC -o .libs/libp11_la-p11_front.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pkcs11_la-eng_back.lo `test -f 'eng_back.c' || echo './'`eng_back.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c eng_back.c -fPIC -DPIC -o .libs/pkcs11_la-eng_back.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -version-info 7:3:5 -Wl,--version-script=libp11.map -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 libtool: link: gcc -shared -Wl,--as-needed -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 -O2 -g -fstack-protector-strong -m64 -Wl,--version-script=libp11.map -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lcrypto -Wl,-soname -Wl,libp11.so.2 -o .libs/libp11.so.2.5.3 libtool: link: (cd ".libs" && rm -f "libp11.so.2" && ln -s "libp11.so.2.5.3" "libp11.so.2") libtool: link: (cd ".libs" && rm -f "libp11.so" && ln -s "libp11.so.2.5.3" "libp11.so") libtool: link: ( cd ".libs" && rm -f "libp11.la" && ln -s "../libp11.la" "libp11.la" ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -module -shared -shrext .so -avoid-version -export-symbols "./pkcs11.exports" -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o pkcs11.la -rpath /usr/lib64/engines-3 pkcs11_la-eng_front.lo pkcs11_la-eng_back.lo pkcs11_la-eng_parse.lo pkcs11_la-eng_err.lo libp11_la-libpkcs11.lo libp11_la-p11_attr.lo libp11_la-p11_cert.lo libp11_la-p11_err.lo libp11_la-p11_ckr.lo libp11_la-p11_key.lo libp11_la-p11_load.lo libp11_la-p11_misc.lo libp11_la-p11_rsa.lo libp11_la-p11_ec.lo libp11_la-p11_pkey.lo libp11_la-p11_slot.lo libp11_la-p11_front.lo libp11_la-p11_atfork.lo -lcrypto 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 -Wl,--as-needed -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 -O2 -g -fstack-protector-strong -m64 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lcrypto -Wl,-soname -Wl,pkcs11.so -Wl,-version-script -Wl,.libs/pkcs11.ver -o .libs/pkcs11.so libtool: link: ( cd ".libs" && rm -f "pkcs11.la" && ln -s "../pkcs11.la" "pkcs11.la" ) make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' Making all in doc make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/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 'COLS_IN_ALPHA_INDEX' at line 669 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 'CLASS_DIAGRAMS' at line 1144 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: Tag 'DOT_TRANSPARENT' at line 1282 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! /home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src/libp11.h:126: warning: found documented return type for PKCS11_CTX_init_args that does not return anything Doxygen version used: 1.10.0 (GIT-NOTFOUND) 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 /home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src Reading and parsing tag files Parsing files Preprocessing /home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src/libp11.h... Parsing file /home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src/libp11.h... Building macro definition list... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Building concept list... Computing nesting relations for classes... Associating documentation with classes... Associating documentation with concepts... Associating documentation with modules... 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... Computing module relations... 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... Computing tooltip texts... 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 concept documentation... Generating module documentation... Generating namespace documentation... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating topic index... Generating module index... Generating module member index... Generating namespace index... Generating namespace member index... Generating concept 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... type lookup cache used 187/65536 hits=372 misses=190 symbol lookup cache used 248/65536 hits=424 misses=248 finished... cp "."/*.gif api.out/html make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/doc' Making all in examples make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o getrandom.o getrandom.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o listkeys.o listkeys.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o decrypt.o decrypt.c decrypt.c: In function 'main': decrypt.c:172:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 172 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ In file included from ../src/libp11.h:31, from decrypt.c:48: /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ decrypt.c:172:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 172 | encrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32: /usr/include/openssl/evp.h:1351:22: note: declared here 1351 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c:183:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 183 | len = RSA_public_encrypt(RANDOM_SIZE, random, encrypted, | ^~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ decrypt.c:185:25: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | EVP_PKEY_get0_RSA(pubkey), | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1351:22: note: declared here 1351 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c:185:25: warning: passing argument 4 of 'RSA_public_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | EVP_PKEY_get0_RSA(pubkey), | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:289:29: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 289 | RSA *rsa, int padding); | ~~~~~^~~ decrypt.c:252:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | decrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ decrypt.c:252:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | decrypted = OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pubkey))); | ^~~~~~~~~ /usr/include/openssl/evp.h:1351:22: note: declared here 1351 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ decrypt.c:261:9: warning: 'PKCS11_private_decrypt' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 261 | rc = PKCS11_private_decrypt(len, encrypted, | ^~ ../src/libp11.h:494:32: note: declared here 494 | P11_DEPRECATED_FUNC extern int PKCS11_private_decrypt( | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' gcc -DHAVE_CONFIG_H -I. -I../src -I. -I../src -I../ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o auth.o auth.c auth.c: In function 'main': auth.c:252:9: warning: 'PKCS11_sign' is deprecated: This function will be removed in libp11 0.5.0 [-Wdeprecated-declarations] 252 | rc = PKCS11_sign(NID_sha1, random, RANDOM_SIZE, | ^~ In file included from auth.c:48: ../src/libp11.h:470:32: note: declared here 470 | P11_DEPRECATED_FUNC extern int PKCS11_sign(int type, | ^~~~~~~~~~~ auth.c:269:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | rc = RSA_verify(NID_sha1, random, RANDOM_SIZE, | ^~ In file included from ../src/libp11.h:31: /usr/include/openssl/rsa.h:357:27: note: declared here 357 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ auth.c:271:25: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | signature, siglen, EVP_PKEY_get0_RSA(pubkey)); | ^~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from ../src/libp11.h:32: /usr/include/openssl/evp.h:1351:22: note: declared here 1351 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ auth.c:271:44: warning: passing argument 6 of 'RSA_verify' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | signature, siglen, EVP_PKEY_get0_RSA(pubkey)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:360:64: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 360 | unsigned int siglen, RSA *rsa); | ~~~~~^~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o getrandom getrandom.o ../src/libp11.la -lcrypto libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/getrandom getrandom.o ../src/.libs/libp11.so -lcrypto make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o listkeys listkeys.o ../src/libp11.la -lcrypto libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/listkeys listkeys.o ../src/.libs/libp11.so -lcrypto make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o decrypt decrypt.o ../src/libp11.la -lcrypto libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/decrypt decrypt.o ../src/.libs/libp11.so -lcrypto make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o auth auth.o ../src/libp11.la -lcrypto libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o .libs/auth auth.o ../src/.libs/libp11.so -lcrypto make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' Making all in tests make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.79ctgd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64 + cd libp11-0.4.11 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/engines-3' /bin/sh ../libtool --mode=install /usr/bin/install -p pkcs11.la '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/engines-3' libtool: install: /usr/bin/install -p .libs/pkcs11.so /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/engines-3/pkcs11.so libtool: install: /usr/bin/install -p .libs/pkcs11.lai /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/engines-3/pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib64/engines-3' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libp11.la '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libp11.so.2.5.3 /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/libp11.so.2.5.3 libtool: install: (cd /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64 && { ln -s -f libp11.so.2.5.3 libp11.so.2 || { rm -f libp11.so.2 && ln -s libp11.so.2.5.3 libp11.so.2; }; }) libtool: install: (cd /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64 && { ln -s -f libp11.so.2.5.3 libp11.so || { rm -f libp11.so && ln -s libp11.so.2.5.3 libp11.so; }; }) libtool: install: /usr/bin/install -p .libs/libp11.lai /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/libp11.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/make install-exec-hook make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' cd '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/engines-3' && ln -s -f pkcs11.so libpkcs11.so make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/include' /usr/bin/install -p -m 644 libp11.h p11_err.h '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/include' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libp11.pc '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/pkgconfig' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/src' Making install in doc make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/doc' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/libp11/api' /usr/bin/install -p -m 644 api.out/html/annotated.html api.out/html/bc_s.png api.out/html/bc_sd.png api.out/html/classes.html api.out/html/clipboard.js api.out/html/closed.png api.out/html/doc.svg api.out/html/docd.svg api.out/html/doxygen.css api.out/html/doxygen.svg api.out/html/doxygen_crawl.html api.out/html/dynsections.js api.out/html/files.html api.out/html/folderclosed.svg api.out/html/folderclosedd.svg api.out/html/folderopen.svg api.out/html/folderopend.svg 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/minus.svg api.out/html/minusd.svg api.out/html/nav_f.png api.out/html/nav_fd.png api.out/html/nav_g.png api.out/html/nav_h.png api.out/html/nav_hd.png api.out/html/open.png api.out/html/opensc-logo.gif api.out/html/plus.svg api.out/html/plusd.svg api.out/html/splitbar.png '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/libp11/api' /usr/bin/install -p -m 644 api.out/html/splitbard.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_ad.png api.out/html/tab_b.png api.out/html/tab_bd.png api.out/html/tab_h.png api.out/html/tab_hd.png api.out/html/tab_s.png api.out/html/tab_sd.png api.out/html/tabs.css '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/libp11/api' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/doc' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/doc' Making install in examples make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/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 '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/examples' Making install in tests make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/tests' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/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 '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/tests' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11/tests' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/libp11' /usr/bin/install -p -m 644 NEWS '/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/libp11' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libp11-0.4.11' + mkdir /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/lib64p11-devel + mv /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/libp11/api /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/lib64p11-devel/ + rm -rf /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/libp11/ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.4.11-3.mga10 --unique-debug-suffix -0.4.11-3.mga10.x86_64 --unique-debug-src-base libp11-0.4.11-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libp11-0.4.11 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/libp11.so.2.5.3 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/engines-3/pkcs11.so original debug info size: 584kB, size after compression: 436kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 539 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: lib64p11_3-0.4.11-3.mga10.x86_64 error: File not found: /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/*.so.3{,.*} Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sw4z35 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libp11-0.4.11 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/lib64p11_3 + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/lib64p11_3 + cp -pr /home/pterjan/rpmbuild/BUILD/libp11-0.4.11/NEWS /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/share/doc/lib64p11_3 + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File not found: /home/pterjan/rpmbuild/BUILDROOT/libp11-0.4.11-3.mga10.x86_64/usr/lib64/*.so.3{,.*} I: [iurt_root_command] ERROR: chroot