D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/swtpm-0.5.2-4.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TzyGPb + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/swtpm-e59c0c1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'swtpm-0.5.2 base' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.MvBNgG + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + NOCONFIGURE=1 + ./autogen.sh autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. 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' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:29: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:29: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:29: the top level configure.ac:53: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:53: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:53: the top level configure.ac:76: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:76: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:76: the top level configure.ac:81: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:81: the top level configure.ac:202: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:202: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:202: the top level configure.ac:267: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:267: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:267: the top level configure.ac:430: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:430: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:430: the top level configure.ac:437: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:437: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:437: the top level configure.ac:517: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:517: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:517: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:40: installing './compile' configure.ac:43: installing './config.guess' configure.ac:43: installing './config.sub' configure.ac:41: installing './install-sh' configure.ac:48: installing './missing' Makefile.am:34: warning: .PHONY was already defined in condition WITH_SELINUX, which is included in condition TRUE ... Makefile.am:28: ... '.PHONY' previously defined here src/swtpm/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' + 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 --with-gnutls --without-cuse 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 for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu 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 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 for gawk... gawk 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 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... yes checking target system type... aarch64-mageia-linux-gnu checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking whether make supports nested variables... (cached) yes checking for debug-enabled build... no checking for egrep... (cached) /usr/bin/grep -E checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking return type of signal handlers... void checking for aarch64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for semodule... no checking for AES_set_encrypt_key in -lcrypto... yes checking for openssl/aes.h... yes Building with openssl crypto library 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 LIBTPMS... yes checking for TPMLIB_ChooseTPMVersion in -ltpms... yes checking for clock_gettime in -lc... yes checking for tcsd... /usr/sbin/tcsd checking for netstat... /usr/bin/netstat checking for whether to build with CUSE interface... no checking for whether to build with chardev interface... no checking for certtool... /usr/bin/certtool checking for gnutls_load_file in -lgnutls... yes checking for gnutls/abstract.h... yes checking for expect... /usr/bin/expect checking for gawk... /usr/bin/gawk checking for socat... /usr/bin/socat checking for base64... /usr/bin/base64 checking for cp... /usr/bin/cp checking for a Python interpreter with version >= 3.3... python checking for python... /usr/bin/python checking for python version... 3.9 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.9/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.9/site-packages checking for pip3... /usr/bin/pip3 checking for python setuptools package... yes checking for python cryptography package... yes checking whether linker supports -Wl,-z,relro... yes checking whether linker supports -Wl,-z,now... yes checking whether TSS_USER tss is available... yes checking whether TSS_GROUP tss is available... yes checking for aarch64-mageia-linux-gnu-pkg-config... (cached) /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking Checking the crypto library libtpms is linked to... openssl checking for whether to build with seccomp profile... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating debian/swtpm-tools.postinst config.status: creating dist/swtpm.spec config.status: creating etc/Makefile config.status: creating etc/swtpm_setup.conf config.status: creating samples/Makefile config.status: creating samples/py_swtpm_localca/swtpm_localca_conf.py config.status: creating samples/swtpm-localca.conf config.status: creating samples/swtpm-create-user-config-files config.status: creating include/Makefile config.status: creating include/swtpm/Makefile config.status: creating include/swtpm.h config.status: creating src/Makefile config.status: creating src/selinux/Makefile config.status: creating src/swtpm/Makefile config.status: creating src/swtpm_bios/Makefile config.status: creating src/swtpm_cert/Makefile config.status: creating src/swtpm_ioctl/Makefile config.status: creating src/swtpm_setup/Makefile config.status: creating src/swtpm_setup/py_swtpm_setup/swtpm_setup_conf.py config.status: creating man/Makefile config.status: creating man/man3/Makefile config.status: creating man/man8/Makefile config.status: creating tests/Makefile config.status: creating tests/test_config config.status: creating samples/swtpm-localca config.status: creating src/swtpm_setup/swtpm_setup config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands with_gnutls : yes (no = swtpm_cert will NOT be built) with_selinux : no (no = SELinux policy extensions will NOT be built) with_cuse : no (no = no CUSE interface) with_chardev : yes (no = no chardev interface) with_vtpm_proxy : yes (no = no vtpm proxy support; Linux only) with_seccomp : yes (no = no seccomp profile; Linux only) Version to build : 0.5.2 Crypto library : openssl CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 HARDENING_CFLAGS=-fstack-protector-strong -Wstack-protector HARDENING_LDFLAGS= -Wl,-z,relro -Wl,-z,now LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ltpms LIBSECCOMP_LIBS=-lseccomp TSS_USER=tss TSS_GROUP=tss + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in etc make[2]: Nothing to be done for 'all'. Making all in include Making all in swtpm make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in man Making all in man3 Making all in man8 make[3]: Nothing to be done for 'all-am'. Making all in samples make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/samples' ./setup.py sdist running sdist running egg_info creating swtpm_localca.egg-info writing swtpm_localca.egg-info/PKG-INFO writing dependency_links to swtpm_localca.egg-info/dependency_links.txt writing top-level names to swtpm_localca.egg-info/top_level.txt writing manifest file 'swtpm_localca.egg-info/SOURCES.txt' reading manifest file 'swtpm_localca.egg-info/SOURCES.txt' writing manifest file 'swtpm_localca.egg-info/SOURCES.txt' warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md running check creating swtpm-localca-0.5.2 creating swtpm-localca-0.5.2/py_swtpm_localca creating swtpm-localca-0.5.2/swtpm_localca.egg-info copying files to swtpm-localca-0.5.2... copying setup.py -> swtpm-localca-0.5.2 copying py_swtpm_localca/__init__.py -> swtpm-localca-0.5.2/py_swtpm_localca copying py_swtpm_localca/swtpm_localca.py -> swtpm-localca-0.5.2/py_swtpm_localca copying py_swtpm_localca/swtpm_localca_conf.py -> swtpm-localca-0.5.2/py_swtpm_localca copying py_swtpm_localca/swtpm_utils.py -> swtpm-localca-0.5.2/py_swtpm_localca copying swtpm_localca.egg-info/PKG-INFO -> swtpm-localca-0.5.2/swtpm_localca.egg-info copying swtpm_localca.egg-info/SOURCES.txt -> swtpm-localca-0.5.2/swtpm_localca.egg-info copying swtpm_localca.egg-info/dependency_links.txt -> swtpm-localca-0.5.2/swtpm_localca.egg-info copying swtpm_localca.egg-info/top_level.txt -> swtpm-localca-0.5.2/swtpm_localca.egg-info Writing swtpm-localca-0.5.2/setup.cfg creating dist Creating tar archive removing 'swtpm-localca-0.5.2' (and everything under it) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/samples' Making all in src Making all in swtpm make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -DHAVE_SWTPM_CUSE_MAIN -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o swtpm-osx.o `test -f 'osx.c' || echo './'`osx.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -DHAVE_SWTPM_CUSE_MAIN -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o swtpm-main.o `test -f 'main.c' || echo './'`main.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -DHAVE_SWTPM_CUSE_MAIN -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o swtpm-swtpm.o `test -f 'swtpm.c' || echo './'`swtpm.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -DHAVE_SWTPM_CUSE_MAIN -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o swtpm-swtpm_chardev.o `test -f 'swtpm_chardev.c' || echo './'`swtpm_chardev.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-capabilities.lo `test -f 'capabilities.c' || echo './'`capabilities.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c capabilities.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-capabilities.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c capabilities.c -o libswtpm_libtpms_la-capabilities.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-logging.lo `test -f 'logging.c' || echo './'`logging.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c logging.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-logging.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c logging.c -o libswtpm_libtpms_la-logging.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-key.lo `test -f 'key.c' || echo './'`key.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c key.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-key.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c key.c -o libswtpm_libtpms_la-key.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-ctrlchannel.lo `test -f 'ctrlchannel.c' || echo './'`ctrlchannel.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c ctrlchannel.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-ctrlchannel.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c ctrlchannel.c -o libswtpm_libtpms_la-ctrlchannel.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-common.lo `test -f 'common.c' || echo './'`common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c common.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-common.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c common.c -o libswtpm_libtpms_la-common.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-mainloop.lo `test -f 'mainloop.c' || echo './'`mainloop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c mainloop.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-mainloop.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c mainloop.c -o libswtpm_libtpms_la-mainloop.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-seccomp_profile.lo `test -f 'seccomp_profile.c' || echo './'`seccomp_profile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c seccomp_profile.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-seccomp_profile.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c seccomp_profile.c -o libswtpm_libtpms_la-seccomp_profile.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-pidfile.lo `test -f 'pidfile.c' || echo './'`pidfile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c pidfile.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-pidfile.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c pidfile.c -o libswtpm_libtpms_la-pidfile.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-options.lo `test -f 'options.c' || echo './'`options.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c options.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-options.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c options.c -o libswtpm_libtpms_la-options.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-server.lo `test -f 'server.c' || echo './'`server.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c server.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-server.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c server.c -o libswtpm_libtpms_la-server.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-swtpm_aes.lo `test -f 'swtpm_aes.c' || echo './'`swtpm_aes.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c swtpm_aes.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-swtpm_aes.o swtpm_aes.c: In function 'SWTPM_SymmetricKeyData_Encrypt': swtpm_aes.c:127:9: error: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 127 | if (AES_set_encrypt_key(tpm_symmetric_key_data->userKey, | ^~ In file included from swtpm_aes.c:46: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ swtpm_aes.c:142:9: error: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 142 | AES_cbc_encrypt(decrypt_data_pad, | ^~~~~~~~~~~~~~~ In file included from swtpm_aes.c:46: /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ swtpm_aes.c: In function 'SWTPM_SymmetricKeyData_Decrypt': swtpm_aes.c:214:9: error: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 214 | if (AES_set_decrypt_key(tpm_symmetric_key_data->userKey, | ^~ In file included from swtpm_aes.c:46: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ swtpm_aes.c:225:9: error: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 225 | AES_cbc_encrypt(encrypt_data, | ^~~~~~~~~~~~~~~ In file included from swtpm_aes.c:46: /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:810: libswtpm_libtpms_la-swtpm_aes.lo] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-swtpm_debug.lo `test -f 'swtpm_debug.c' || echo './'`swtpm_debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c swtpm_debug.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-swtpm_debug.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c swtpm_debug.c -o libswtpm_libtpms_la-swtpm_debug.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-swtpm_io.lo `test -f 'swtpm_io.c' || echo './'`swtpm_io.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c swtpm_io.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-swtpm_io.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c swtpm_io.c -o libswtpm_libtpms_la-swtpm_io.o >/dev/null 2>&1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c -o libswtpm_libtpms_la-swtpm_nvfile.lo `test -f 'swtpm_nvfile.c' || echo './'`swtpm_nvfile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../include/swtpm -fstack-protector-strong -Wstack-protector -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 -c swtpm_nvfile.c -fPIC -DPIC -o .libs/libswtpm_libtpms_la-swtpm_nvfile.o swtpm_nvfile.c: In function 'SWTPM_HMAC': swtpm_nvfile.c:760:5: error: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 760 | HMAC_CTX *ctx = HMAC_CTX_new(); | ^~~~~~~~ In file included from swtpm_nvfile.c:71: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ swtpm_nvfile.c:767:5: error: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 767 | if (!HMAC_Init_ex(ctx, key, key_len, EVP_sha256(), NULL) || | ^~ In file included from swtpm_nvfile.c:71: /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ swtpm_nvfile.c:768:9: error: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 768 | !HMAC_Update(ctx, in, in_length)) | ^ In file included from swtpm_nvfile.c:71: /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ swtpm_nvfile.c:772:9: error: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 772 | !HMAC_Update(ctx, ivec, ivec_length)) | ^ In file included from swtpm_nvfile.c:71: /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ swtpm_nvfile.c:775:5: error: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 775 | if (!HMAC_Final(ctx, md, md_len)) | ^~ In file included from swtpm_nvfile.c:71: /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ swtpm_nvfile.c:784:5: error: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 784 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ In file included from swtpm_nvfile.c:71: /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:831: libswtpm_libtpms_la-swtpm_nvfile.lo] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/swtpm-e59c0c1a7b4c8d652dbb280fd6126895a7057464/src/swtpm' make[2]: *** [Makefile:410: all-recursive] Error 1 make[1]: *** [Makefile:495: all-recursive] Error 1 make: *** [Makefile:419: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.MvBNgG (%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.MvBNgG (%build) I: [iurt_root_command] ERROR: chroot