D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/pkcs11-helper-1.30.0-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7JY1Mf
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.i4sOvl
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ rm -rf pkcs11-helper-1.30.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pkcs11-helper-1.30.0.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pkcs11-helper-1.30.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/pterjan/rpmbuild/tmp/rpm-tmp.k1RM9K
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd pkcs11-helper-1.30.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:252: installing './compile'
configure.ac:63: installing './missing'
lib/Makefile.am: installing './depcomp'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ 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 .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./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-debug --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
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 xargs -n works... yes
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 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 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 for m4... m4
checking how to print strings... printf
checking for a sed that does not truncate output... /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 whether ln -s works... yes
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 file... file
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-ranlib... no
checking for ranlib... ranlib
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 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 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 -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 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 libcrypto >= 0.9.7... 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 >= 1.4... no
checking for nss >= 3.11... no
checking for mbedtls_x509_crt_init in -lmbedtls... no
checking for x509_crt_parse in -lpolarssl... no
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 -j16 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/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
/usr/bin/make  all-am
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c _pkcs11h-crypto-nss.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-nss.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c _pkcs11h-crypto-mbedtls.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-mbedtls.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c _pkcs11h-crypto-cryptoapi.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-cryptoapi.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-crypto.c  -fPIC -DPIC -o .libs/pkcs11h-crypto.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-sys.c  -fPIC -DPIC -o .libs/pkcs11h-sys.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c _pkcs11h-crypto-gnutls.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-gnutls.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-mem.c  -fPIC -DPIC -o .libs/pkcs11h-mem.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-threading.c  -fPIC -DPIC -o .libs/pkcs11h-threading.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-util.c  -fPIC -DPIC -o .libs/pkcs11h-util.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-slotevent.c  -fPIC -DPIC -o .libs/pkcs11h-slotevent.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c _pkcs11h-crypto-openssl.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-openssl.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-token.c  -fPIC -DPIC -o .libs/pkcs11h-token.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-data.c  -fPIC -DPIC -o .libs/pkcs11h-data.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-serialization.c  -fPIC -DPIC -o .libs/pkcs11h-serialization.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-session.c  -fPIC -DPIC -o .libs/pkcs11h-session.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-core.c  -fPIC -DPIC -o .libs/pkcs11h-core.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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:425:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  425 |         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:457:29: note: declared here
  457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx);
      |                             ^~~~~~~~~~~~~~~
pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_enc':
pkcs11h-openssl.c:587:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  587 |         tlen = (size_t)RSA_size(rsa);
      |         ^~~~
/usr/include/openssl/rsa.h:215:27: note: declared here
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setRSA':
pkcs11h-openssl.c:649:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  649 |                 (rsa = EVP_PKEY_get1_RSA (evp)) == NULL
      |                 ^
In file included from /usr/include/openssl/x509.h:29:
/usr/include/openssl/evp.h:1407:16: note: declared here
 1407 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:655:9: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  655 |         RSA_set_method (rsa, __openssl_methods.rsa);
      |         ^~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:313:27: note: declared here
  313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
      |                           ^~~~~~~~~~~~~~
pkcs11h-openssl.c:656:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  656 |         RSA_set_ex_data (rsa, __openssl_methods.rsa_index, openssl_session);
      |         ^~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:456:27: note: declared here
  456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~
pkcs11h-openssl.c:660:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  660 |         if (EVP_PKEY_set1_RSA (evp, rsa) != 1) {
      |         ^~
/usr/include/openssl/evp.h:1403:5: note: declared here
 1403 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
      |     ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:679:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  679 |                 RSA_free (rsa);
      |                 ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
pkcs11h-openssl.c: In function '__pkcs11h_openssl_dsa_get_pkcs11h_certificate':
pkcs11h-openssl.c:705:9: warning: 'DSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  705 |         session = (pkcs11h_openssl_session_t)DSA_get_ex_data (dsa, __openssl_methods.dsa_index);
      |         ^~~~~~~
In file included from /usr/include/openssl/x509.h:37:
/usr/include/openssl/dsa.h:151:29: note: declared here
  151 | 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:851:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  851 |                 (dsa = EVP_PKEY_get1_DSA (evp)) == NULL
      |                 ^
/usr/include/openssl/evp.h:1416:16: note: declared here
 1416 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:857:9: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  857 |         DSA_set_method (dsa, __openssl_methods.dsa);
      |         ^~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:127:27: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
      |                           ^~~~~~~~~~~~~~
pkcs11h-openssl.c:858:9: warning: 'DSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  858 |         DSA_set_ex_data (dsa, __openssl_methods.dsa_index, openssl_session);
      |         ^~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:150:27: note: declared here
  150 | OSSL_DEPRECATEDIN_3_0 int DSA_set_ex_data(DSA *d, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~
pkcs11h-openssl.c:860:9: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  860 |         if (EVP_PKEY_set1_DSA (evp, dsa) != 1) {
      |         ^~
/usr/include/openssl/evp.h:1412:5: note: declared here
 1412 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
      |     ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:870:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  870 |                 DSA_free (dsa);
      |                 ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
pkcs11h-openssl.c: In function '__pkcs11h_openssl_eckey_get_pkcs11h_certificate':
pkcs11h-openssl.c:896:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  896 |         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:
/usr/include/openssl/ec.h:1103:29: note: declared here
 1103 | 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:1054:17: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1054 |                 (ec = EVP_PKEY_get1_EC_KEY (evp)) == NULL
      |                 ^
/usr/include/openssl/evp.h:1433:19: note: declared here
 1433 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1060:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1060 |         EC_KEY_set_method (ec, __openssl_methods.eckey);
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1302:27: note: declared here
 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1061:9: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1061 |         EC_KEY_set_ex_data (ec, __openssl_methods.eckey_index, openssl_session);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1102:27: note: declared here
 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1063:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1063 |         if (EVP_PKEY_set1_EC_KEY (evp, ec) != 1) {
      |         ^~
/usr/include/openssl/evp.h:1429:5: note: declared here
 1429 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
      |     ^~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1073:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1073 |                 EC_KEY_free (ec);
      |                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1022:28: note: declared here
 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
pkcs11h-openssl.c: In function '_pkcs11h_openssl_initialize':
pkcs11h-openssl.c:1099:17: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1099 |                 RSA_meth_free (__openssl_methods.rsa);
      |                 ^~~~~~~~~~~~~
/usr/include/openssl/rsa.h:485:28: note: declared here
  485 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth);
      |                            ^~~~~~~~~~~~~
pkcs11h-openssl.c:1101:9: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1101 |         if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) {
      |         ^~
/usr/include/openssl/rsa.h:486:35: note: declared here
  486 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
      |                                   ^~~~~~~~~~~~
pkcs11h-openssl.c:1101:9: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1101 |         if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) {
      |         ^~
/usr/include/openssl/rsa.h:310:41: note: declared here
  310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1104:9: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1104 |         RSA_meth_set1_name (__openssl_methods.rsa, "pkcs11h");
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:488:27: note: declared here
  488 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth,
      |                           ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1105:9: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1105 |         RSA_meth_set_priv_dec (__openssl_methods.rsa, __pkcs11h_openssl_rsa_dec);
      |         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:531:5: note: declared here
  531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1106:9: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1106 |         RSA_meth_set_priv_enc (__openssl_methods.rsa, __pkcs11h_openssl_rsa_enc);
      |         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:521:5: note: declared here
  521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
      |     ^~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1107:9: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1107 |         RSA_meth_set_flags (__openssl_methods.rsa, RSA_METHOD_FLAG_NO_CHECK | RSA_FLAG_EXT_PKEY);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:491:27: note: declared here
  491 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
      |                           ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1118:17: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1118 |                 DSA_meth_free (__openssl_methods.dsa);
      |                 ^~~~~~~~~~~~~
/usr/include/openssl/dsa.h:224:28: note: declared here
  224 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam);
      |                            ^~~~~~~~~~~~~
pkcs11h-openssl.c:1120:9: warning: 'DSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1120 |         __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ());
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:225:35: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam);
      |                                   ^~~~~~~~~~~~
pkcs11h-openssl.c:1120:9: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1120 |         __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ());
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:126:41: note: declared here
  126 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1121:9: warning: 'DSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1121 |         DSA_meth_set1_name (__openssl_methods.dsa, "pkcs11h");
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:227:27: note: declared here
  227 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set1_name(DSA_METHOD *dsam,
      |                           ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1122:9: warning: 'DSA_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1122 |         DSA_meth_set_sign (__openssl_methods.dsa, __pkcs11h_openssl_dsa_do_sign);
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/dsa.h:236:27: note: declared here
  236 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set_sign(DSA_METHOD *dsam,
      |                           ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1133:17: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1133 |                 EC_KEY_METHOD_free(__openssl_methods.eckey);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1481:28: note: declared here
 1481 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth);
      |                            ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1135:9: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1135 |         __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ());
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1480:38: note: declared here
 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
      |                                      ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1135:9: warning: 'EC_KEY_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1135 |         __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ());
      |         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1299:44: note: declared here
 1299 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_default_method(void);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1148:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1148 |                 EC_KEY_METHOD_get_sign(__openssl_methods.eckey, &sig, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1543:28: note: declared here
 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign
      |                            ^~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1149:17: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1149 |                 EC_KEY_METHOD_set_sign(__openssl_methods.eckey, sig, NULL, __pkcs11h_openssl_eckey_do_sign);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1499:28: note: declared here
 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign
      |                            ^~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c: In function '_pkcs11h_openssl_terminate':
pkcs11h-openssl.c:1178:17: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1178 |                 RSA_meth_free (__openssl_methods.rsa);
      |                 ^~~~~~~~~~~~~
/usr/include/openssl/rsa.h:485:28: note: declared here
  485 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth);
      |                            ^~~~~~~~~~~~~
pkcs11h-openssl.c:1184:17: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1184 |                 DSA_meth_free (__openssl_methods.dsa);
      |                 ^~~~~~~~~~~~~
/usr/include/openssl/dsa.h:224:28: note: declared here
  224 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam);
      |                            ^~~~~~~~~~~~~
pkcs11h-openssl.c:1190:17: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1190 |                 EC_KEY_METHOD_free(__openssl_methods.eckey);
      |                 ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1481:28: note: declared here
 1481 | 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:1432:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1432 |                 (rsa = EVP_PKEY_get1_RSA (evp)) == NULL
      |                 ^
/usr/include/openssl/evp.h:1407:16: note: declared here
 1407 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1448:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1448 |                 RSA_free (rsa);
      |                 ^~~~~~~~
/usr/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pkcs11h-certificate.c  -fPIC -DPIC -o .libs/pkcs11h-certificate.o
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full   -version-info 1:0:0 -export-symbols "pkcs11-helper.exports" -no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libpkcs11-helper.la -rpath /usr/lib64 pkcs11h-mem.lo pkcs11h-sys.lo pkcs11h-crypto.lo _pkcs11h-crypto-openssl.lo _pkcs11h-crypto-nss.lo _pkcs11h-crypto-gnutls.lo _pkcs11h-crypto-mbedtls.lo _pkcs11h-crypto-cryptoapi.lo pkcs11h-threading.lo pkcs11h-util.lo pkcs11h-session.lo pkcs11h-token.lo pkcs11h-certificate.lo pkcs11h-slotevent.lo pkcs11h-core.lo pkcs11h-data.lo pkcs11h-serialization.lo pkcs11h-openssl.lo    -lpthread -ldl  -lcrypto
libtool: link: echo "{ global:" > .libs/libpkcs11-helper.ver
libtool: link:  cat pkcs11-helper.exports | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/libpkcs11-helper.ver
libtool: link:  echo "local: *; };" >> .libs/libpkcs11-helper.ver
libtool: link:  gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/pkcs11h-mem.o .libs/pkcs11h-sys.o .libs/pkcs11h-crypto.o .libs/_pkcs11h-crypto-openssl.o .libs/_pkcs11h-crypto-nss.o .libs/_pkcs11h-crypto-gnutls.o .libs/_pkcs11h-crypto-mbedtls.o .libs/_pkcs11h-crypto-cryptoapi.o .libs/pkcs11h-threading.o .libs/pkcs11h-util.o .libs/pkcs11h-session.o .libs/pkcs11h-token.o .libs/pkcs11h-certificate.o .libs/pkcs11h-slotevent.o .libs/pkcs11h-core.o .libs/pkcs11h-data.o .libs/pkcs11h-serialization.o .libs/pkcs11h-openssl.o   -O2 -g -Werror=format-security -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld    -lpthread -ldl -lcrypto -Wl,-soname -Wl,libpkcs11-helper.so.1 -Wl,-version-script -Wl,.libs/libpkcs11-helper.ver -o .libs/libpkcs11-helper.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libpkcs11-helper.so.1" && ln -s "libpkcs11-helper.so.1.0.0" "libpkcs11-helper.so.1")
libtool: link: (cd ".libs" && rm -f "libpkcs11-helper.so" && ln -s "libpkcs11-helper.so.1.0.0" "libpkcs11-helper.so")
libtool: link: ( cd ".libs" && rm -f "libpkcs11-helper.la" && ln -s "../libpkcs11-helper.la" "libpkcs11-helper.la" )
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
Making all in m4dir
make[2]: Nothing to be done for 'all'.
Making all in doc
Making all in api
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all-am'.
Making all in distro
Making all in rpm
make[3]: Nothing to be done for 'all'.
Making all in debian
/usr/bin/make  all-am
make[4]: Nothing to be done for 'all-am'.
make[3]: Nothing to be done for 'all-am'.
Making all in tests
make[3]: 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.3sJevt
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd pkcs11-helper-1.30.0
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
Making install in man
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/man'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/share/man/man8'
 /usr/bin/install -p -m 644 pkcs11-helper-1.8 '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/share/man/man8'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/man'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/man'
Making install in include
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include'
Making install in pkcs11-helper-1.0
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include/pkcs11-helper-1.0'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include/pkcs11-helper-1.0'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/include/pkcs11-helper-1.0'
 /usr/bin/install -p -m 644 pkcs11.h pkcs11h-def.h pkcs11h-engines.h pkcs11h-core.h pkcs11h-version.h pkcs11h-certificate.h pkcs11h-data.h pkcs11h-openssl.h pkcs11h-token.h '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/include/pkcs11-helper-1.0'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include/pkcs11-helper-1.0'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include/pkcs11-helper-1.0'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/include'
Making install in lib
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
/usr/bin/make  install-am
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libpkcs11-helper.la '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libpkcs11-helper.so.1.0.0 /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64/libpkcs11-helper.so.1.0.0
libtool: install: (cd /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64 && { ln -s -f libpkcs11-helper.so.1.0.0 libpkcs11-helper.so.1 || { rm -f libpkcs11-helper.so.1 && ln -s libpkcs11-helper.so.1.0.0 libpkcs11-helper.so.1; }; })
libtool: install: (cd /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64 && { ln -s -f libpkcs11-helper.so.1.0.0 libpkcs11-helper.so || { rm -f libpkcs11-helper.so && ln -s libpkcs11-helper.so.1.0.0 libpkcs11-helper.so; }; })
libtool: install: /usr/bin/install -p .libs/libpkcs11-helper.lai /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64/libpkcs11-helper.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 libpkcs11-helper-1.pc '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64/pkgconfig'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/lib'
Making install in m4dir
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/m4dir'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/m4dir'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/share/aclocal'
 /usr/bin/install -p -m 644 pkcs11-helper-1.m4 '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/share/aclocal'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/m4dir'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/m4dir'
Making install in doc
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc'
Making install in api
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc/api'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc/api'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc/api'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc/api'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/doc'
Making install in distro
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro'
Making install in rpm
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/rpm'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/rpm'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/rpm'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/rpm'
Making install in debian
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/debian'
/usr/bin/make  install-am
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/debian'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/debian'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/debian'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/debian'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro/debian'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/distro'
Making install in tests
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/tests'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/tests'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/tests'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/tests'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0/tests'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/share/doc/pkcs11-helper'
 /usr/bin/install -p -m 644 README COPYING.GPL COPYING.BSD COPYING '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/share/doc/pkcs11-helper'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0'
+ rm -rf /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT/usr/lib64/libpkcs11-helper.la
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.30.0-1.mga10 --unique-debug-suffix -1.30.0-1.mga10.x86_64 --unique-debug-src-base pkcs11-helper-1.30.0-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/pkcs11-helper-1.30.0
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/pkcs11-helper-1.30.0-1.mga10.x86_64
find-debuginfo: done
+ /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
Reading /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: lib64pkcs11-helper1-1.30.0-1.mga10.x86_64
Provides: lib64pkcs11-helper1 = 1.30.0-1.mga10 lib64pkcs11-helper1(x86-64) = 1.30.0-1.mga10 libpkcs11-helper.so.1()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit)
Processing files: lib64pkcs11-helper-devel-1.30.0-1.mga10.x86_64
Provides: devel(libpkcs11-helper(64bit)) lib64pkcs11-helper-devel = 1.30.0-1.mga10 lib64pkcs11-helper-devel(x86-64) = 1.30.0-1.mga10 libpkcs11-helper-devel = 1.30.0-1.mga10 pkcs11-helper-devel = 1.30.0-1.mga10 pkgconfig(libpkcs11-helper-1) = 1.30.0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: devel(libcrypto(64bit)) pkgconfig
Processing files: pkcs11-helper-debugsource-1.30.0-1.mga10.x86_64
Provides: pkcs11-helper-debugsource = 1.30.0-1.mga10 pkcs11-helper-debugsource(x86-64) = 1.30.0-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: lib64pkcs11-helper1-debuginfo-1.30.0-1.mga10.x86_64
Provides: debuginfo(build-id) = 20c6f97633076d191490cf38607bfa9e7fbae796 lib64pkcs11-helper1-debuginfo = 1.30.0-1.mga10 lib64pkcs11-helper1-debuginfo(x86-64) = 1.30.0-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: pkcs11-helper-debugsource(x86-64) = 1.30.0-1.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64pkcs11-helper1-1.30.0-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64pkcs11-helper-devel-1.30.0-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64pkcs11-helper1-debuginfo-1.30.0-1.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/pkcs11-helper-debugsource-1.30.0-1.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5Riz9Z
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/pkcs11-helper-1.30.0-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!