D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/pkcs11-helper-1.27.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Ng8JyE + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pkcs11-helper-1.27.0 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/pkcs11-helper-1.27.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pkcs11-helper-1.27.0 + /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/iurt/rpmbuild/tmp/rpm-tmp.NO0FI3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pkcs11-helper-1.27.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi 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. configure.ac:406: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:406: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:406: the top level configure.ac:415: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:415: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:415: the top level configure.ac:251: installing './compile' configure.ac:63: installing './missing' lib/Makefile.am: installing './depcomp' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 + /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 . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-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-debug --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking for aarch64-mageia-linux-gnu-gcc... no checking for 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for m4... m4 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-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 aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes 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-mageia-linux-gnu-windres... no checking for windres... no checking for alarm... yes checking for vprintf... yes checking for working mktime... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for snprintf... yes checking for dlopen in -ldl... yes checking for pthread_create in -lpthread... yes checking for OPENSSL... yes checking for RSA_meth_dup... yes checking for RSA_meth_free... yes checking for RSA_meth_set_priv_enc... yes checking for RSA_meth_set_priv_dec... yes checking for RSA_meth_set1_name... yes checking for RSA_meth_set_flags... yes checking for DSA_meth_dup... yes checking for DSA_meth_free... yes checking for DSA_meth_set_sign... yes checking for DSA_meth_set1_name... yes checking for DSA_SIG_set0... yes checking for ECDSA_SIG_set0... yes checking for EC_KEY_METHOD_get_sign... yes checking for EC_KEY_METHOD_set_sign... yes checking for X509_get0_notBefore... yes checking for X509_get0_notAfter... yes checking for EC_KEY_METHOD_new... yes checking for OpenSSL ec support... yes checking for GNUTLS... no checking for NSS... no checking for mbedtls_x509_crt_init in -lmbedtls... no checking for x509_crt_parse in -lpolarssl... no checking for egrep... (cached) /usr/bin/grep -E checking for ISO C 1999 vararg macro support... yes checking for GNU GCC vararg macro support... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for size_t... (cached) yes checking size of size_t... 8 checking size_t printf format... %016lx checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdargs.h... no checking for malloc.h... yes checking for ctype.h... yes checking for string.h... (cached) yes checking for errno.h... yes checking for assert.h... yes checking for time.h... yes checking for signal.h... yes checking for dlfcn.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for pthread.h... yes checking OpenSSL interface... yes checking Win32 crypto engine... no checking OpenSSL crypto engine... yes checking GnuTLS crypto engine... no checking NSS crypto engine... no checking mbed TLS crypto engine... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config-w32-vc.h config.status: creating include/Makefile config.status: creating include/pkcs11-helper-1.0/Makefile config.status: creating include/pkcs11-helper-1.0/pkcs11h-version.h config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating doc/api/Makefile config.status: creating doc/api/Doxyfile config.status: creating lib/Makefile config.status: creating lib/libpkcs11-helper-1.pc config.status: creating lib/versioninfo.rc config.status: creating m4dir/Makefile config.status: creating distro/Makefile config.status: creating distro/rpm/Makefile config.status: creating distro/rpm/pkcs11-helper.spec config.status: creating distro/debian/Makefile config.status: creating tests/Makefile config.status: creating tests/test-basic/Makefile config.status: creating tests/test-certificate/Makefile config.status: creating tests/test-fork/Makefile config.status: creating tests/test-openssl/Makefile config.status: creating tests/test-slotevent/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in man make[2]: Nothing to be done for 'all'. Making all in include Making all in pkcs11-helper-1.0 make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in lib make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' cat "./core.exports" > pkcs11-helper.exports cat "./certificate.exports" >> pkcs11-helper.exports cat "./data.exports" >> pkcs11-helper.exports cat "./openssl.exports" >> pkcs11-helper.exports cat "./slotevent.exports" >> pkcs11-helper.exports cat "./token.exports" >> pkcs11-helper.exports make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /usr/bin/make all-am make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o _pkcs11h-crypto-cryptoapi.lo _pkcs11h-crypto-cryptoapi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c _pkcs11h-crypto-cryptoapi.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-cryptoapi.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o _pkcs11h-crypto-mbedtls.lo _pkcs11h-crypto-mbedtls.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c _pkcs11h-crypto-mbedtls.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-mbedtls.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o _pkcs11h-crypto-nss.lo _pkcs11h-crypto-nss.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c _pkcs11h-crypto-nss.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-nss.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o _pkcs11h-crypto-gnutls.lo _pkcs11h-crypto-gnutls.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c _pkcs11h-crypto-gnutls.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-gnutls.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-crypto.lo pkcs11h-crypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-crypto.c -fPIC -DPIC -o .libs/pkcs11h-crypto.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-sys.lo pkcs11h-sys.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-sys.c -fPIC -DPIC -o .libs/pkcs11h-sys.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-mem.lo pkcs11h-mem.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-mem.c -fPIC -DPIC -o .libs/pkcs11h-mem.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o _pkcs11h-crypto-openssl.lo _pkcs11h-crypto-openssl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c _pkcs11h-crypto-openssl.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-openssl.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-util.lo pkcs11h-util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-util.c -fPIC -DPIC -o .libs/pkcs11h-util.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-threading.lo pkcs11h-threading.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-threading.c -fPIC -DPIC -o .libs/pkcs11h-threading.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-slotevent.lo pkcs11h-slotevent.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-slotevent.c -fPIC -DPIC -o .libs/pkcs11h-slotevent.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-token.lo pkcs11h-token.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-token.c -fPIC -DPIC -o .libs/pkcs11h-token.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-session.lo pkcs11h-session.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-session.c -fPIC -DPIC -o .libs/pkcs11h-session.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-serialization.lo pkcs11h-serialization.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-serialization.c -fPIC -DPIC -o .libs/pkcs11h-serialization.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-data.lo pkcs11h-data.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-data.c -fPIC -DPIC -o .libs/pkcs11h-data.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-openssl.lo pkcs11h-openssl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-openssl.c -fPIC -DPIC -o .libs/pkcs11h-openssl.o pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_get_pkcs11h_certificate': pkcs11h-openssl.c:421:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | session = (pkcs11h_openssl_session_t)RSA_get_ex_data (rsa, __openssl_methods.rsa_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:446:29: note: declared here 446 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_dec': pkcs11h-openssl.c:477:22: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_NO_PADDING'? 477 | case RSA_SSLV23_PADDING: | ^~~~~~~~~~~~~~~~~~ | RSA_NO_PADDING pkcs11h-openssl.c:477:22: note: each undeclared identifier is reported only once for each function it appears in pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_enc': pkcs11h-openssl.c:586:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 586 | tlen = (size_t)RSA_size(rsa); | ^~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setRSA': pkcs11h-openssl.c:648:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 648 | (rsa = EVP_PKEY_get1_RSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:654:9: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 654 | RSA_set_method (rsa, __openssl_methods.rsa); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /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); | ^~~~~~~~~~~~~~ pkcs11h-openssl.c:655:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 655 | RSA_set_ex_data (rsa, __openssl_methods.rsa_index, openssl_session); | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:445:27: note: declared here 445 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c:674:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 674 | RSA_free (rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_dsa_get_pkcs11h_certificate': pkcs11h-openssl.c:700:9: warning: 'DSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 700 | session = (pkcs11h_openssl_session_t)DSA_get_ex_data (dsa, __openssl_methods.dsa_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:146:29: note: declared here 146 | OSSL_DEPRECATEDIN_3_0 void *DSA_get_ex_data(const DSA *d, int idx); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setDSA': pkcs11h-openssl.c:835:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 835 | (dsa = EVP_PKEY_get1_DSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1357:16: note: declared here 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:841:9: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 841 | DSA_set_method (dsa, __openssl_methods.dsa); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:122:27: note: declared here 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); | ^~~~~~~~~~~~~~ pkcs11h-openssl.c:842:9: warning: 'DSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 842 | DSA_set_ex_data (dsa, __openssl_methods.dsa_index, openssl_session); | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:145:27: note: declared here 145 | OSSL_DEPRECATEDIN_3_0 int DSA_set_ex_data(DSA *d, int idx, void *arg); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c:849:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 849 | DSA_free (dsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_eckey_get_pkcs11h_certificate': pkcs11h-openssl.c:875:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 875 | session = (pkcs11h_openssl_session_t)EC_KEY_get_ex_data (ec, __openssl_methods.eckey_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1082:29: note: declared here 1082 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setECDSA': pkcs11h-openssl.c:1022:17: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1022 | (ec = EVP_PKEY_get1_EC_KEY (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1028:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1028 | EC_KEY_set_method (ec, __openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1281:27: note: declared here 1281 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1029:9: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | EC_KEY_set_ex_data (ec, __openssl_methods.eckey_index, openssl_session); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1081:27: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1036:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1036 | EC_KEY_free (ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ pkcs11h-openssl.c: In function '_pkcs11h_openssl_initialize': pkcs11h-openssl.c:1062:17: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1062 | RSA_meth_free (__openssl_methods.rsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:474:28: note: declared here 474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1064:9: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1064 | if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) { | ^~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:475:35: note: declared here 475 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ pkcs11h-openssl.c:1064:9: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1064 | if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) { | ^~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1067:9: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1067 | RSA_meth_set1_name (__openssl_methods.rsa, "pkcs11h"); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:477:27: note: declared here 477 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1068:9: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1068 | RSA_meth_set_priv_dec (__openssl_methods.rsa, __pkcs11h_openssl_rsa_dec); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:520:5: note: declared here 520 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1069:9: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1069 | RSA_meth_set_priv_enc (__openssl_methods.rsa, __pkcs11h_openssl_rsa_enc); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:510:5: note: declared here 510 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1070:9: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1070 | RSA_meth_set_flags (__openssl_methods.rsa, RSA_METHOD_FLAG_NO_CHECK | RSA_FLAG_EXT_PKEY); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:480:27: note: declared here 480 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1075:17: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1075 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:245:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 245 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c:1081:17: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1081 | DSA_meth_free (__openssl_methods.dsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:219:28: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1083:9: warning: 'DSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1083 | __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:220:35: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam); | ^~~~~~~~~~~~ pkcs11h-openssl.c:1083:9: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1083 | __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:121:41: note: declared here 121 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1084:9: warning: 'DSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1084 | DSA_meth_set1_name (__openssl_methods.dsa, "pkcs11h"); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:222:27: note: declared here 222 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set1_name(DSA_METHOD *dsam, | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1085:9: warning: 'DSA_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1085 | DSA_meth_set_sign (__openssl_methods.dsa, __pkcs11h_openssl_dsa_do_sign); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:231:27: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set_sign(DSA_METHOD *dsam, | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1090:17: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1090 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:245:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 245 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c:1096:17: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1096 | EC_KEY_METHOD_free(__openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1460:28: note: declared here 1460 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1098:9: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1098 | __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1459:38: note: declared here 1459 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1098:9: warning: 'EC_KEY_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1098 | __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1278:44: note: declared here 1278 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1111:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1111 | EC_KEY_METHOD_get_sign(__openssl_methods.eckey, &sig, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1522:28: note: declared here 1522 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1112:17: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1112 | EC_KEY_METHOD_set_sign(__openssl_methods.eckey, sig, NULL, __pkcs11h_openssl_eckey_do_sign); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1478:28: note: declared here 1478 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1118:17: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1118 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:245:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 245 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c: In function '_pkcs11h_openssl_terminate': pkcs11h-openssl.c:1141:17: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1141 | RSA_meth_free (__openssl_methods.rsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:474:28: note: declared here 474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1147:17: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1147 | DSA_meth_free (__openssl_methods.dsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:219:28: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1153:17: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1153 | EC_KEY_METHOD_free(__openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1460:28: note: declared here 1460 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function 'pkcs11h_openssl_session_getRSA': pkcs11h-openssl.c:1395:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1395 | (rsa = EVP_PKEY_get1_RSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1411:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1411 | RSA_free (rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ make[3]: *** [Makefile:618: pkcs11h-openssl.lo] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-core.lo pkcs11h-core.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-core.c -fPIC -DPIC -o .libs/pkcs11h-core.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o pkcs11h-certificate.lo pkcs11h-certificate.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pkcs11h-certificate.c -fPIC -DPIC -o .libs/pkcs11h-certificate.o make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/pkcs11-helper-1.27.0/lib' make[2]: *** [Makefile:492: all] Error 2 make[1]: *** [Makefile:548: all-recursive] Error 1 make: *** [Makefile:457: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.NO0FI3 (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.NO0FI3 (%build) I: [iurt_root_command] ERROR: chroot