Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libtpms.spec'], chrootPath='/var/lib/mock/c9s-build-53183-13567/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libtpms.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1625011200 Wrote: /builddir/build/SRPMS/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libtpms.spec'], chrootPath='/var/lib/mock/c9s-build-53183-13567/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libtpms.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1625011200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lCDGz4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtpms-20210301 + /usr/bin/xz -dc /builddir/build/SOURCES/libtpms-20210301.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtpms-20210301 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-build-sys-leave-CFLAGS-LDFLAGS-for-user-to-be-define.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-tpm2-Reset-TPM2B-buffer-sizes-after-test-fails-for-v.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-tpm2-Add-maxSize-parameter-to-TPM2B_Marshal-for-sani.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-tpm2-Restore-original-value-if-unmarshalled-value-wa.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JsaXPO + umask 022 + cd /builddir/build/BUILD + cd libtpms-20210301 + NOCONFIGURE=1 + sh autogen.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:57: installing './compile' configure.ac:13: installing './config.guess' configure.ac:13: installing './config.sub' configure.ac:14: installing './install-sh' configure.ac:14: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory `.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-06-30 07:04:19.635538473 +0000 +++ ./configure 2021-06-30 07:04:20.875538473 +0000 @@ -1901,7 +1901,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-06-30 07:04:20.875538473 +0000 +++ ./configure 2021-06-30 07:04:20.895538473 +0000 @@ -8581,7 +8581,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -19936,7 +19936,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-tpm2 --with-openssl checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking target system type... s390x-ibm-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for debug-enabled build... no checking whether make supports the include directive... yes (GNU style) checking for s390x-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking whether the linker accepts -Wl,--version-script=./src/test.syms... yes Building with TPM2 support checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for AES_set_encrypt_key in -lcrypto... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes Building with openssl crypto library checking for EVP_CIPHER_CTX_new in -lcrypto... yes checking for EVP_EncryptInit_ex in -lcrypto... yes checking for EVP_aes_128_cbc in -lcrypto... yes checking for EVP_des_ede3_cbc in -lcrypto... yes checking for EVP_camellia_128_cbc in -lcrypto... yes checking for DES_random_key in -lcrypto... yes checking for EVP_CIPHER_CTX_iv in -lcrypto... yes checking for EC_KEY_set_group in -lcrypto... yes checking for EC_KEY_generate_key in -lcrypto... yes checking for EC_KEY_get0_private_key in -lcrypto... yes checking for ECDSA_SIG_new in -lcrypto... yes checking for ECDSA_SIG_set0 in -lcrypto... yes checking for ECDSA_do_verify in -lcrypto... yes checking for ECDSA_do_sign in -lcrypto... yes checking for EC_KEY_set_group in -lcrypto... (cached) yes checking for RSA_set0_key in -lcrypto... yes checking for RSA_set0_factors in -lcrypto... yes checking for RSA_set0_crt_params in -lcrypto... yes checking for RSA_generate_key_ex in -lcrypto... yes checking for EVP_PKEY_CTX_new in -lcrypto... yes checking for EVP_PKEY_assign in -lcrypto... yes checking for EVP_PKEY_encrypt_init in -lcrypto... yes checking for EVP_PKEY_encrypt in -lcrypto... yes checking for EVP_PKEY_decrypt_init in -lcrypto... yes checking for EVP_PKEY_decrypt in -lcrypto... yes checking for EVP_PKEY_sign_init in -lcrypto... yes checking for EVP_PKEY_sign in -lcrypto... yes checking for EVP_PKEY_verify_init in -lcrypto... yes checking for EVP_PKEY_verify in -lcrypto... yes checking for EVP_get_digestbyname in -lcrypto... yes checking whether EVP_PKEY_CTX_set0_rsa_oaep_label is defined in ... no checking whether EVP_PKEY_CTX_set_rsa_padding is defined in ... no checking whether EVP_PKEY_CTX_set_rsa_oaep_md is defined in ... no checking whether EVP_PKEY_CTX_set_signature_md is defined in ... no 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 s390x-ibm-linux-gnu file names to s390x-ibm-linux-gnu format... func_convert_file_noop checking how to convert s390x-ibm-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for s390x-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for s390x-redhat-linux-gnu-dlltool... no checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for s390x-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for s390x-redhat-linux-gnu-strip... no checking for strip... strip checking for s390x-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8587: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for s390x-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf64_s390) 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 s390x-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf64_s390 checking if the linker (/usr/bin/ld -m elf64_s390) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf64_s390) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf64_s390) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for clock_gettime in -lc... yes checking whether linker supports -Wl,-z,relro... yes checking whether linker supports -Wl,-z,now... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dist/libtpms.spec config.status: creating include/Makefile config.status: creating include/libtpms/Makefile config.status: creating include/libtpms/tpm_library.h config.status: creating man/Makefile config.status: creating man/man3/Makefile config.status: creating src/Makefile config.status: creating libtpms.pc config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands AM_CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -DUSE_OPENSSL_FUNCTIONS_SYMMETRIC=1 -DUSE_OPENSSL_FUNCTIONS_EC=1 -DUSE_OPENSSL_FUNCTIONS_ECDSA=1 -DUSE_OPENSSL_FUNCTIONS_RSA=0 -Wall -Werror -Wreturn-type -Wsign-compare -Wno-self-assign -Wmissing-prototypes HARDENING_CFLAGS=-fstack-protector-strong HARDENING_LDFLAGS= -Wl,-z,relro -Wl,-z,now AM_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Version to build : 0.8.2 Crypto library : openssl Debug build : no With TPM2 support : yes HAVE_VERSION_SCRIPT : yes Use openssl crypto for : symmetric (AES, TDES) general elliptic curve (EC) elliptic curve (ECDSA) + make -j16 CFLAGS=-Wno-error=deprecated-declarations make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301' Making all in include make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include' Making all in libtpms make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include' Making all in man make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man' Making all in man3 make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/src' CC libtpms_la-tpm_library.lo CC libtpms_tpm12_la-tpm_tpm12_tis.lo CC libtpms_tpm12_la-tpm_tpm12_interface.lo CC libtpms_tpm2_la-tpm_tpm2_interface.lo CC libtpms_tpm2_la-tpm_tpm2_tis.lo CC tpm12/libtpms_tpm12_la-tpm_admin.lo CC tpm12/libtpms_tpm12_la-tpm_audit.lo CC tpm12/libtpms_tpm12_la-tpm_auth.lo CC tpm12/libtpms_tpm12_la-tpm_cryptoh.lo CC tpm12/libtpms_tpm12_la-tpm_counter.lo CC tpm12/libtpms_tpm12_la-tpm_daa.lo CC tpm12/libtpms_tpm12_la-tpm_debug.lo CC tpm12/libtpms_tpm12_la-tpm_delegate.lo CC tpm12/libtpms_tpm12_la-tpm_digest.lo CC tpm12/libtpms_tpm12_la-tpm_error.lo CC tpm12/libtpms_tpm12_la-tpm_global.lo CC tpm12/libtpms_tpm12_la-tpm_identity.lo CC tpm12/libtpms_tpm12_la-tpm_init.lo CC tpm12/libtpms_tpm12_la-tpm_libtpms_io.lo CC tpm12/libtpms_tpm12_la-tpm_key.lo CC tpm12/libtpms_tpm12_la-tpm_load.lo CC tpm12/libtpms_tpm12_la-tpm_maint.lo CC tpm12/libtpms_tpm12_la-tpm_memory.lo CC tpm12/libtpms_tpm12_la-tpm_migration.lo CC tpm12/libtpms_tpm12_la-tpm_nonce.lo CC tpm12/libtpms_tpm12_la-tpm_nvfile.lo CC tpm12/libtpms_tpm12_la-tpm_nvram.lo CC tpm12/libtpms_tpm12_la-tpm_openssl_helpers.lo CC tpm12/libtpms_tpm12_la-tpm_owner.lo CC tpm12/libtpms_tpm12_la-tpm_pcr.lo CC tpm12/libtpms_tpm12_la-tpm_permanent.lo CC tpm12/libtpms_tpm12_la-tpm_platform.lo CC tpm12/libtpms_tpm12_la-tpm_process.lo CC tpm12/libtpms_tpm12_la-tpm_secret.lo CC tpm12/libtpms_tpm12_la-tpm_session.lo CC tpm12/libtpms_tpm12_la-tpm_sizedbuffer.lo CC tpm12/libtpms_tpm12_la-tpm_startup.lo CC tpm12/libtpms_tpm12_la-tpm_store.lo CC tpm12/libtpms_tpm12_la-tpm_storage.lo CC tpm12/libtpms_tpm12_la-tpm_ticks.lo CC tpm12/libtpms_tpm12_la-tpm_time.lo CC tpm12/libtpms_tpm12_la-tpm_transport.lo CC tpm12/libtpms_tpm12_la-tpm_ver.lo CC tpm12/libtpms_tpm12_la-tpm_svnrevision.lo CC tpm12/libtpms_tpm12_la-tpm_crypto.lo CC tpm2/libtpms_tpm2_la-ACT_spt.lo CC tpm2/libtpms_tpm2_la-ACTCommands.lo CC tpm2/libtpms_tpm2_la-AlgorithmCap.lo CC tpm2/libtpms_tpm2_la-AlgorithmTests.lo CC tpm2/libtpms_tpm2_la-AsymmetricCommands.lo CC tpm2/libtpms_tpm2_la-AttestationCommands.lo CC tpm2/libtpms_tpm2_la-Attest_spt.lo tpm12/tpm_crypto.c: In function 'TPM_Crypto_TestSpecific': tpm12/tpm_crypto.c:239:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | SHA1_Init(context1); | ^~~~~~~~~ In file included from tpm12/tpm_crypto.c:49: /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ tpm12/tpm_crypto.c:240:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 240 | SHA1_Update(context1, buffer1, 16); | ^~~~~~~~~~~ In file included from tpm12/tpm_crypto.c:49: /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ tpm12/tpm_crypto.c:254:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | SHA1_Update(context2, buffer1 + 16, sizeof(buffer1) - 17); | ^~~~~~~~~~~ In file included from tpm12/tpm_crypto.c:49: /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ tpm12/tpm_crypto.c:255:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 255 | SHA1_Final(actual, context2); | ^~~~~~~~~~ In file included from tpm12/tpm_crypto.c:49: /usr/include/openssl/sha.h:52:27: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSAGenerateKeyPair': tpm12/tpm_crypto.c:374:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 374 | rsa = RSA_new(); /* freed @1 */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ tpm12/tpm_crypto.c:385:9: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 385 | int irc = RSA_generate_key_ex(rsa, num_bits, bne, NULL); | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:257:27: note: declared here 257 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:401:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | RSA_get0_key(rsa, &bnn, &bnetmp, &bnd); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ tpm12/tpm_crypto.c:402:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | RSA_get0_factors(rsa, &bnp, &bnq); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:436:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 436 | RSA_free(rsa); /* @1 */ | ^~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:290:28: note: declared here 290 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSAGeneratePublicToken': tpm12/tpm_crypto.c:468:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 468 | *rsa_pub_key = RSA_new(); /* freed by caller */ | ^ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ tpm12/tpm_crypto.c:486:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 486 | int irc = RSA_set0_key(*rsa_pub_key, n, e, NULL); | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSAGeneratePrivateToken': tpm12/tpm_crypto.c:523:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 523 | *rsa_pri_key = RSA_new(); /* freed by caller */ | ^ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ tpm12/tpm_crypto.c:545:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 545 | int irc = RSA_set0_key(*rsa_pri_key, n, e, d); | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSAPrivateDecrypt': tpm12/tpm_crypto.c:597:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 597 | padded_data_size = RSA_size(rsa_pri_key); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ tpm12/tpm_crypto.c:604:13: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 604 | irc = RSA_private_decrypt(encrypt_data_size, /* length */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:621:13: warning: 'RSA_padding_check_PKCS1_OAEP' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 621 | irc = RSA_padding_check_PKCS1_OAEP(decrypt_data, /* to */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:394:5: note: declared here 394 | int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:636:13: warning: 'RSA_padding_check_PKCS1_type_2' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 636 | irc = RSA_padding_check_PKCS1_type_2(decrypt_data, /* to */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:383:5: note: declared here 383 | int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:658:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 658 | RSA_free(rsa_pri_key); /* @1 */ | ^~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:290:28: note: declared here 290 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSAPublicEncrypt': tpm12/tpm_crypto.c:825:13: warning: 'RSA_padding_add_PKCS1_OAEP' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 825 | irc = RSA_padding_add_PKCS1_OAEP(padded_data, /* to */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:390:5: note: declared here 390 | int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:842:13: warning: 'RSA_padding_add_PKCS1_type_2' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 842 | irc = RSA_padding_add_PKCS1_type_2(padded_data, /* to */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:380:5: note: declared here 380 | int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:865:13: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 865 | irc = RSA_public_encrypt(encrypt_data_size, /* from length */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:279:5: note: declared here 279 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:879:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 879 | RSA_free(rsa_pub_key); /* @1 */ | ^~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:290:28: note: declared here 290 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSASign': tpm12/tpm_crypto.c:1112:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1112 | key_size = (unsigned int)RSA_size(rsa_pri_key); /* openSSL returns an int, but never | ^~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ tpm12/tpm_crypto.c:1149:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1149 | RSA_free(rsa_pri_key); /* @1 */ | ^~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:290:28: note: declared here 290 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSASignSHA1': tpm12/tpm_crypto.c:1180:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1180 | irc = RSA_sign(NID_sha1, /* type */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:345:27: note: declared here 345 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSASignDER': tpm12/tpm_crypto.c:1217:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1217 | key_size = RSA_size(rsa_pri_key); | ^~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ tpm12/tpm_crypto.c:1234:9: warning: 'RSA_padding_add_PKCS1_type_1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1234 | irc = RSA_padding_add_PKCS1_type_1(message_pad, /* to */ | ^~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:373:5: note: declared here 373 | int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:1249:13: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1249 | int_sig_len = RSA_private_encrypt(key_size, /* int flen */ | ^~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:282:5: note: declared here 282 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_RSAVerifySHA1': tpm12/tpm_crypto.c:1301:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1301 | valid = RSA_verify(NID_sha1, | ^~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ tpm12/tpm_crypto.c:1310:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1310 | RSA_free(rsa_pub_key); /* @1 */ | ^~~~~~~~ In file included from /usr/include/openssl/engine.h:25, from tpm12/tpm_crypto.c:50: /usr/include/openssl/rsa.h:290:28: note: declared here 290 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_OpenSSL_PrintError': tpm12/tpm_crypto.c:1500:5: warning: 'ERR_get_error_line_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1500 | error = ERR_get_error_line_data(&file, &line, &data, &flags); | ^~~~~ In file included from /usr/include/openssl/engine.h:31, from tpm12/tpm_crypto.c:50: /usr/include/openssl/err.h:415:15: note: declared here 415 | unsigned long ERR_get_error_line_data(const char **file, int *line, | ^~~~~~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_SHA1InitCmd': tpm12/tpm_crypto.c:2016:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2016 | SHA1_Init(*context); | ^~~~~~~~~ In file included from tpm12/tpm_crypto.c:49: /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_SHA1UpdateCmd': tpm12/tpm_crypto.c:2030:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2030 | SHA1_Update(context, data, length); | ^~~~~~~~~~~ In file included from tpm12/tpm_crypto.c:49: /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_SHA1FinalCmd': tpm12/tpm_crypto.c:2048:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2048 | SHA1_Final(md, context); | ^~~~~~~~~~ In file included from tpm12/tpm_crypto.c:49: /usr/include/openssl/sha.h:52:27: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_SymmetricKeyData_SetKeys': tpm12/tpm_crypto.c:2760:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2760 | irc = AES_set_encrypt_key(tpm_symmetric_key_data->userKey, | ^~~ In file included from tpm12/tpm_crypto.c:134: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c:2770:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2770 | irc = AES_set_decrypt_key(tpm_symmetric_key_data->userKey, | ^~~ In file included from tpm12/tpm_crypto.c:134: /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_SymmetricKeyData_Encrypt': tpm12/tpm_crypto.c:2829:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2829 | AES_cbc_encrypt(decrypt_data_pad, | ^~~~~~~~~~~~~~~ In file included from tpm12/tpm_crypto.c:134: /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_SymmetricKeyData_Decrypt': tpm12/tpm_crypto.c:2882:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2882 | AES_cbc_encrypt(encrypt_data, | ^~~~~~~~~~~~~~~ In file included from tpm12/tpm_crypto.c:134: /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_AES_ctr128_encrypt': tpm12/tpm_crypto.c:2995:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2995 | AES_encrypt(ctr, pad_buffer, aes_enc_key); | ^~~~~~~~~~~ In file included from tpm12/tpm_crypto.c:134: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ tpm12/tpm_crypto.c: In function 'TPM_SymmetricKeyData_OfbCrypt': tpm12/tpm_crypto.c:3077:9: warning: 'AES_ofb128_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3077 | AES_ofb128_encrypt(data_in, | ^~~~~~~~~~~~~~~~~~ In file included from tpm12/tpm_crypto.c:134: /usr/include/openssl/aes.h:82:6: note: declared here 82 | void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~~~~ CC tpm2/libtpms_tpm2_la-AuditCommands.lo CC tpm2/libtpms_tpm2_la-Bits.lo CC tpm2/libtpms_tpm2_la-BnConvert.lo CC tpm2/libtpms_tpm2_la-BnMath.lo CC tpm2/libtpms_tpm2_la-BnMemory.lo CC tpm2/libtpms_tpm2_la-Cancel.lo CC tpm2/libtpms_tpm2_la-CapabilityCommands.lo CC tpm2/libtpms_tpm2_la-Clock.lo CC tpm2/libtpms_tpm2_la-ClockCommands.lo CC tpm2/libtpms_tpm2_la-CommandAudit.lo CC tpm2/libtpms_tpm2_la-CommandCodeAttributes.lo CC tpm2/libtpms_tpm2_la-CommandDispatcher.lo CC tpm2/libtpms_tpm2_la-ContextCommands.lo CC tpm2/libtpms_tpm2_la-Context_spt.lo CC tpm2/libtpms_tpm2_la-CryptEccData.lo CC tpm2/libtpms_tpm2_la-CryptSelfTest.lo CC tpm2/libtpms_tpm2_la-CryptUtil.lo CC tpm2/libtpms_tpm2_la-DA.lo CC tpm2/libtpms_tpm2_la-DebugHelpers.lo tpm12/tpm_crypto.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics CC tpm2/libtpms_tpm2_la-DictionaryCommands.lo CC tpm2/libtpms_tpm2_la-DuplicationCommands.lo CC tpm2/libtpms_tpm2_la-EACommands.lo CC tpm2/libtpms_tpm2_la-EncryptDecrypt_spt.lo CC tpm2/libtpms_tpm2_la-Entity.lo CC tpm2/libtpms_tpm2_la-Entropy.lo CC tpm2/libtpms_tpm2_la-EphemeralCommands.lo CC tpm2/libtpms_tpm2_la-ExecCommand.lo CC tpm2/libtpms_tpm2_la-Global.lo CC tpm2/libtpms_tpm2_la-Handle.lo CC tpm2/libtpms_tpm2_la-HashCommands.lo CC tpm2/libtpms_tpm2_la-Hierarchy.lo CC tpm2/libtpms_tpm2_la-HierarchyCommands.lo CC tpm2/libtpms_tpm2_la-IntegrityCommands.lo CC tpm2/libtpms_tpm2_la-IoBuffers.lo CC tpm2/libtpms_tpm2_la-Locality.lo CC tpm2/libtpms_tpm2_la-LocalityPlat.lo CC tpm2/libtpms_tpm2_la-ManagementCommands.lo CC tpm2/libtpms_tpm2_la-Manufacture.lo CC tpm2/libtpms_tpm2_la-Marshal.lo CC tpm2/libtpms_tpm2_la-MathOnByteBuffers.lo CC tpm2/libtpms_tpm2_la-Memory.lo CC tpm2/libtpms_tpm2_la-NVCommands.lo CC tpm2/libtpms_tpm2_la-NVDynamic.lo CC tpm2/libtpms_tpm2_la-NVMem.lo CC tpm2/libtpms_tpm2_la-NVReserved.lo CC tpm2/libtpms_tpm2_la-NV_spt.lo CC tpm2/libtpms_tpm2_la-Object.lo CC tpm2/libtpms_tpm2_la-ObjectCommands.lo CC tpm2/libtpms_tpm2_la-Object_spt.lo CC tpm2/libtpms_tpm2_la-PCR.lo CC tpm2/libtpms_tpm2_la-PlatformACT.lo CC tpm2/libtpms_tpm2_la-PlatformData.lo CC tpm2/libtpms_tpm2_la-Policy_spt.lo CC tpm2/libtpms_tpm2_la-Power.lo CC tpm2/libtpms_tpm2_la-PowerPlat.lo CC tpm2/libtpms_tpm2_la-PP.lo CC tpm2/libtpms_tpm2_la-PPPlat.lo CC tpm2/libtpms_tpm2_la-PrimeData.lo CC tpm2/libtpms_tpm2_la-PropertyCap.lo CC tpm2/libtpms_tpm2_la-RandomCommands.lo CC tpm2/libtpms_tpm2_la-Response.lo CC tpm2/libtpms_tpm2_la-ResponseCodeProcessing.lo CC tpm2/libtpms_tpm2_la-RunCommand.lo CC tpm2/libtpms_tpm2_la-Session.lo CC tpm2/libtpms_tpm2_la-SessionCommands.lo CC tpm2/libtpms_tpm2_la-SessionProcess.lo CC tpm2/libtpms_tpm2_la-SigningCommands.lo CC tpm2/libtpms_tpm2_la-StartupCommands.lo CC tpm2/libtpms_tpm2_la-SymmetricCommands.lo CC tpm2/libtpms_tpm2_la-TestingCommands.lo CC tpm2/libtpms_tpm2_la-Ticket.lo CC tpm2/libtpms_tpm2_la-Time.lo CC tpm2/libtpms_tpm2_la-TpmAsn1.lo CC tpm2/libtpms_tpm2_la-TpmSizeChecks.lo CC tpm2/libtpms_tpm2_la-TPMCmdp.lo CC tpm2/libtpms_tpm2_la-TpmFail.lo CC tpm2/libtpms_tpm2_la-Unique.lo CC tpm2/libtpms_tpm2_la-Unmarshal.lo CC tpm2/libtpms_tpm2_la-Vendor_TCG_Test.lo CC tpm2/libtpms_tpm2_la-X509_ECC.lo CC tpm2/libtpms_tpm2_la-X509_RSA.lo CC tpm2/libtpms_tpm2_la-X509_spt.lo CC tpm2/libtpms_tpm2_la-BackwardsCompatibilityObject.lo CC tpm2/libtpms_tpm2_la-LibtpmsCallbacks.lo CC tpm2/libtpms_tpm2_la-NVMarshal.lo CC tpm2/libtpms_tpm2_la-StateMarshal.lo CC tpm2/libtpms_tpm2_la-Volatile.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptCmac.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptDes.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptEccKeyExchange.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptEccMain.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptEccSignature.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptHash.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptPrime.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptPrimeSieve.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptRand.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptRsa.lo tpm2/crypto/openssl/CryptCmac.c: In function 'CryptCmacData': tpm2/crypto/openssl/CryptCmac.c:125:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | SELECT(ENCRYPT); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptCmac.c:69: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptCmac.c:125:5: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | SELECT(ENCRYPT); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptCmac.c:69: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptCmac.c: In function 'CryptCmacEnd': tpm2/crypto/openssl/CryptCmac.c:164:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | SELECT(ENCRYPT); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptCmac.c:69: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptCmac.c:164:5: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | SELECT(ENCRYPT); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptCmac.c:69: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptSmac.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-CryptSym.lo tpm2/crypto/openssl/CryptCmac.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics CC tpm2/crypto/openssl/libtpms_tpm2_la-Helpers.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-TpmToOsslDesSupport.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-TpmToOsslMath.lo CC tpm2/crypto/openssl/libtpms_tpm2_la-TpmToOsslSupport.lo tpm2/crypto/openssl/CryptEccSignature.c: In function 'BnSignEcdsa': tpm2/crypto/openssl/CryptEccSignature.c:231:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | eckey = EC_KEY_new(); | ^~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:964:31: note: declared here 964 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:236:5: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 236 | if (EC_KEY_set_group(eckey, E->G) != 1) | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:1038:27: note: declared here 1038 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:239:5: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | if (EC_KEY_set_private_key(eckey, d) != 1) | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:1052:27: note: declared here 1052 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:242:5: warning: 'ECDSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | sig = ECDSA_do_sign(digest->b.buffer, digest->b.size, eckey); | ^~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:1361:34: note: declared here 1361 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:254:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | EC_KEY_free(eckey); | ^~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:999:28: note: declared here 999 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:73:1: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | HASH_DEF_TEMPLATE(SHA1, Sha1); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:73:1: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | HASH_DEF_TEMPLATE(SHA1, Sha1); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:73:1: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 73 | HASH_DEF_TEMPLATE(SHA1, Sha1); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:52:27: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:76:1: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | HASH_DEF_TEMPLATE(SHA256, Sha256); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:77:27: note: declared here 77 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:76:1: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | HASH_DEF_TEMPLATE(SHA256, Sha256); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:78:27: note: declared here 78 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:76:1: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | HASH_DEF_TEMPLATE(SHA256, Sha256); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:80:27: note: declared here 80 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:79:1: warning: 'SHA384_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | HASH_DEF_TEMPLATE(SHA384, Sha384); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:123:27: note: declared here 123 | OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c); | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:79:1: warning: 'SHA384_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | HASH_DEF_TEMPLATE(SHA384, Sha384); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:124:27: note: declared here 124 | OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c, | ^~~~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:79:1: warning: 'SHA384_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | HASH_DEF_TEMPLATE(SHA384, Sha384); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:126:27: note: declared here 126 | OSSL_DEPRECATEDIN_3_0 int SHA384_Final(unsigned char *md, SHA512_CTX *c); | ^~~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:82:1: warning: 'SHA512_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | HASH_DEF_TEMPLATE(SHA512, Sha512); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:129:27: note: declared here 129 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:82:1: warning: 'SHA512_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | HASH_DEF_TEMPLATE(SHA512, Sha512); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:130:27: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c, | ^~~~~~~~~~~~~ tpm2/crypto/openssl/CryptHash.c:82:1: warning: 'SHA512_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | HASH_DEF_TEMPLATE(SHA512, Sha512); | ^~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:69, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptHash.c:67: /usr/include/openssl/sha.h:132:27: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c); | ^~~~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c: In function 'BnValidateSignatureEcdsa': tpm2/crypto/openssl/CryptEccSignature.c:729:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 729 | eckey = EC_KEY_new(); | ^~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:964:31: note: declared here 964 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:734:5: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 734 | if (EC_KEY_set_group(eckey, E->G) != 1) | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:1038:27: note: declared here 1038 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:737:5: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 737 | if (EC_KEY_set_public_key(eckey, q) != 1) | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:1066:27: note: declared here 1066 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:747:5: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 747 | rc = ECDSA_do_verify(digest->b.buffer, digest->b.size, sig, eckey); | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:1387:27: note: declared here 1387 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptEccSignature.c:761:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 761 | EC_KEY_free(eckey); | ^~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/CryptEccSignature.c:64: /usr/include/openssl/ec.h:999:28: note: declared here 999 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptRand.c: In function 'DfCompute': tpm2/crypto/openssl/CryptRand.c:106:13: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | DRBG_ENCRYPT(&dfState->keySchedule, &temp, pIv); | ^~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptRand.c:62: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptRand.c: In function 'DfStart': tpm2/crypto/openssl/CryptRand.c:133:5: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | DRBG_ENCRYPT_SETUP(&dfKey[0], DRBG_KEY_SIZE_BITS, &dfState->keySchedule); | ^~~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptRand.c:62: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptRand.c: In function 'EncryptDRBG': tpm2/crypto/openssl/CryptRand.c:331:13: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 331 | DRBG_ENCRYPT(keySchedule, iv, dOut); | ^~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptRand.c:62: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptRand.c:340:13: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 340 | DRBG_ENCRYPT(keySchedule, iv, temp); | ^~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptRand.c:62: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptRand.c: In function 'DRBG_Update': tpm2/crypto/openssl/CryptRand.c:372:13: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 372 | if(DRBG_ENCRYPT_SETUP((BYTE *)key, | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptRand.c:62: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptRand.c: In function 'DRBG_Generate': tpm2/crypto/openssl/CryptRand.c:811:13: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 811 | if(DRBG_ENCRYPT_SETUP((BYTE *)pDRBG_KEY(seed), | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:72, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptRand.c:62: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/Helpers.c: In function 'OpenSSLCryptGenerateKeyDes': tpm2/crypto/openssl/Helpers.c:93:9: warning: 'DES_random_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 93 | if (DES_random_key(key) != 1) | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:74, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/Helpers.c:61: /usr/include/openssl/des.h:175:27: note: declared here 175 | OSSL_DEPRECATEDIN_3_0 int DES_random_key(DES_cblock *ret); | ^~~~~~~~~~~~~~ tpm2/crypto/openssl/Helpers.c: In function 'OpenSSLEccGetPrivate': tpm2/crypto/openssl/Helpers.c:286:5: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 286 | EC_KEY *eckey = EC_KEY_new(); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/Helpers.c:61: /usr/include/openssl/ec.h:964:31: note: declared here 964 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ tpm2/crypto/openssl/Helpers.c:297:5: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 297 | if (EC_KEY_set_group(eckey, G) != 1) | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/Helpers.c:61: /usr/include/openssl/ec.h:1038:27: note: declared here 1038 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ tpm2/crypto/openssl/Helpers.c:307:9: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 307 | if (EC_KEY_generate_key(eckey) == 1) { | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/Helpers.c:61: /usr/include/openssl/ec.h:1097:27: note: declared here 1097 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/Helpers.c:308:13: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | D = EC_KEY_get0_private_key(eckey); | ^ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/Helpers.c:61: /usr/include/openssl/ec.h:1044:37: note: declared here 1044 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/Helpers.c:328:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 328 | EC_KEY_free(eckey); | ^~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/Helpers.c:61: /usr/include/openssl/ec.h:999:28: note: declared here 999 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ tpm2/crypto/openssl/CryptSym.c: In function 'CryptSymmetricEncrypt': tpm2/crypto/openssl/CryptSym.c:606:9: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 606 | memcpy(ivInOut->t.buffer, EVP_CIPHER_CTX_iv(ctx), ivInOut->t.size); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:68, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptSym.c:69: /usr/include/openssl/evp.h:597:44: note: declared here 597 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/CryptSym.c: In function 'CryptSymmetricDecrypt': tpm2/crypto/openssl/CryptSym.c:728:9: warning: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 728 | memcpy(ivInOut->t.buffer, EVP_CIPHER_CTX_iv(ctx), ivInOut->t.size); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslHash.h:68, from ./tpm2/crypto/openssl/LibSupport.h:94, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/CryptSym.c:69: /usr/include/openssl/evp.h:597:44: note: declared here 597 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslDesSupport.c: In function 'TDES_set_encrypt_key': tpm2/crypto/openssl/TpmToOsslDesSupport.c:81:5: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 81 | DES_set_key_unchecked((const_DES_cblock *)key, &keySchedule[0]); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:74, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/TpmToOsslDesSupport.c:67: /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslDesSupport.c:82:5: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | DES_set_key_unchecked((const_DES_cblock *)&key[8], &keySchedule[1]); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:74, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/TpmToOsslDesSupport.c:67: /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslDesSupport.c:88:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 88 | DES_set_key_unchecked((const_DES_cblock *)&key[16], | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:74, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/TpmToOsslDesSupport.c:67: /usr/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslDesSupport.c: In function 'TDES_encrypt': tpm2/crypto/openssl/TpmToOsslDesSupport.c:100:5: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 100 | DES_ecb3_encrypt((const_DES_cblock *)in, (DES_cblock *)out, | ^~~~~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslSym.h:74, from ./tpm2/crypto/openssl/LibSupport.h:93, from ./tpm2/Tpm.h:73, from tpm2/crypto/openssl/TpmToOsslDesSupport.c:67: /usr/include/openssl/des.h:78:6: note: declared here 78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslDesSupport.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics tpm2/crypto/openssl/Helpers.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics CCLD libtpms_tpm12.la tpm2/crypto/openssl/CryptSym.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics tpm2/crypto/openssl/TpmToOsslMath.c: In function 'PointFromOssl': tpm2/crypto/openssl/TpmToOsslMath.c:507:5: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 507 | OK = EC_POINT_get_affine_coordinates_GFp(E->G, pIn, x, y, E->CTX); | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/TpmToOsslMath.c:81: /usr/include/openssl/ec.h:655:27: note: declared here 655 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslMath.c: In function 'EcPointInitialized': tpm2/crypto/openssl/TpmToOsslMath.c:541:13: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 541 | if(!EC_POINT_set_affine_coordinates_GFp(E->G, P, bnX, bnY, E->CTX)) | ^~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/TpmToOsslMath.c:81: /usr/include/openssl/ec.h:642:27: note: declared here 642 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslMath.c: In function 'BnCurveInitialize': tpm2/crypto/openssl/TpmToOsslMath.c:598:13: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 598 | VERIFY(EC_POINT_set_affine_coordinates_GFp(E->G, P, bnX, bnY, CTX)); | ^~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/TpmToOsslMath.c:81: /usr/include/openssl/ec.h:642:27: note: declared here 642 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tpm2/crypto/openssl/TpmToOsslMath.c: In function 'BnEccModMult2': tpm2/crypto/openssl/TpmToOsslMath.c:696:13: warning: 'EC_POINTs_mul' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 696 | EC_POINTs_mul(E->G, pR, NULL, 2, points, scalars, E->CTX); | ^~~~~~~~~~~~~ In file included from ./tpm2/crypto/openssl/TpmToOsslMath.h:72, from ./tpm2/crypto/openssl/BnValues.h:326, from ./tpm2/Global.h:81, from ./tpm2/Tpm.h:78, from tpm2/crypto/openssl/TpmToOsslMath.c:81: /usr/include/openssl/ec.h:855:27: note: declared here 855 | OSSL_DEPRECATEDIN_3_0 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, | ^~~~~~~~~~~~~ tpm2/crypto/openssl/CryptRand.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics tpm2/crypto/openssl/TpmToOsslMath.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics tpm2/crypto/openssl/CryptEccSignature.c: At top level: cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics CCLD libtpms_tpm2.la CCLD libtpms.la tpm2/NVDynamic.c: In function 'NvRamGetIndex': tpm2/NVDynamic.c:411:12: warning: function may return address of local variable [-Wreturn-local-addr] 411 | return currentAddr; | ^ tpm2/NVDynamic.c:339:26: note: declared here 339 | NV_RAM_HEADER header; | ^ tpm2/NVDynamic.c: In function 'NvRamGetEnd': tpm2/NVDynamic.c:378:12: warning: function may return address of local variable [-Wreturn-local-addr] 378 | return iter; | ^ tpm2/NVDynamic.c:339:26: note: declared here 339 | NV_RAM_HEADER header; | ^ make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/src' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/tests' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5hNLFG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x ++ dirname /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x + cd libtpms-20210301 + make DESTDIR=/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x install Making install in include make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include' Making install in libtpms make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/include/libtpms' /usr/bin/install -c -m 644 tpm_error.h tpm_library.h tpm_memory.h tpm_nvfilename.h tpm_tis.h tpm_types.h '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/include/libtpms' make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include' make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/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 '/builddir/build/BUILD/libtpms-20210301/include' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include' Making install in man make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man' Making install in man3 make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/man/man3' /usr/bin/install -c -m 644 TPM_Free.3 TPM_IO_Hash_Data.3 TPM_IO_Hash_End.3 TPMLIB_GetState.3 TPMLIB_SetDebugPrefix.3 TPMLIB_SetDebugLevel.3 TPM_IO_TpmEstablished_Reset.3 TPMLIB_Terminate.3 TPM_Realloc.3 TPM_IO_Hash_Start.3 TPM_IO_TpmEstablished_Get.3 TPMLIB_CancelCommand.3 TPMLIB_ChooseTPMVersion.3 TPMLIB_DecodeBlob.3 TPMLIB_GetInfo.3 TPMLIB_GetTPMProperty.3 TPMLIB_GetVersion.3 TPMLIB_MainInit.3 TPMLIB_Process.3 TPMLIB_SetDebugFD.3 TPMLIB_SetBufferSize.3 TPMLIB_SetState.3 TPMLIB_RegisterCallbacks.3 TPMLIB_ValidateState.3 TPMLIB_VolatileAll_Store.3 TPM_Malloc.3 '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/man/man3' make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man' make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/src' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libtpms.la '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64' libtool: install: /usr/bin/install -c .libs/libtpms.so.0.8.2 /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64/libtpms.so.0.8.2 libtool: install: (cd /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64 && { ln -s -f libtpms.so.0.8.2 libtpms.so.0 || { rm -f libtpms.so.0 && ln -s libtpms.so.0.8.2 libtpms.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64 && { ln -s -f libtpms.so.0.8.2 libtpms.so || { rm -f libtpms.so && ln -s libtpms.so.0.8.2 libtpms.so; }; }) libtool: install: /usr/bin/install -c .libs/libtpms.lai /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64/libtpms.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/src' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/tests' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/tests' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/tests' make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libtpms.pc '/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301' + find /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x -type f -name '*.la' + xargs rm -f -- + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 0.8.2-0.20210301git729fc6a4ca.el9.5 --unique-debug-suffix -0.8.2-0.20210301git729fc6a4ca.el9.5.s390x --unique-debug-src-base libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libtpms-20210301 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64/libtpms.so.0.8.2 extracting debug info from /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/lib64/libtpms.so.0.8.2 original debug info size: 4772kB, size after compression: 4196kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 13054 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qYSrez + umask 022 + cd /builddir/build/BUILD + cd libtpms-20210301 + make check Making check in include make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include' Making check in libtpms make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include/libtpms' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/include' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/include' Making check in man make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man' Making check in man3 make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man/man3' make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/man' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/man' Making check in src make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/src' make check-local make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/src' rm a.out || true make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/src' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/src' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301/tests' make base64decode nvram_offsets tpm2_createprimary tpm2_pcr_read tpm2_selftest fuzz make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/tests' CC base64decode.o CCLD base64decode CC nvram_offsets-nvram_offsets.o CCLD nvram_offsets CC tpm2_createprimary.o CCLD tpm2_createprimary CC tpm2_pcr_read.o CCLD tpm2_pcr_read CC tpm2_selftest.o CCLD tpm2_selftest CXX fuzz-fuzz.o CC fuzz-main.o CXXLD fuzz make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/tests' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/libtpms-20210301/tests' make[3]: Entering directory '/builddir/build/BUILD/libtpms-20210301/tests' PASS: base64decode.sh PASS: fuzz.sh PASS: nvram_offsets PASS: tpm2_createprimary.sh PASS: tpm2_pcr_read.sh PASS: tpm2_selftest.sh ============================================================================ Testsuite summary for libtpms 0.8.2 ============================================================================ # TOTAL: 6 # PASS: 6 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/tests' make[2]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/tests' make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301/tests' make[1]: Entering directory '/builddir/build/BUILD/libtpms-20210301' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/builddir/build/BUILD/libtpms-20210301' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.e3nLp0 + umask 022 + cd /builddir/build/BUILD + cd libtpms-20210301 + DOCDIR=/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/doc/libtpms + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/doc/libtpms + cp -pr README /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/doc/libtpms + cp -pr CHANGES /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/doc/libtpms + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UNvMOe + umask 022 + cd /builddir/build/BUILD + cd libtpms-20210301 + LICENSEDIR=/builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/licenses/libtpms + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/licenses/libtpms + cp -pr LICENSE /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x/usr/share/licenses/libtpms + RPM_EC=0 ++ jobs -p + exit 0 Provides: libtpms = 0.8.2-0.20210301git729fc6a4ca.el9.5 libtpms(s390-64) = 0.8.2-0.20210301git729fc6a4ca.el9.5 libtpms.so.0()(64bit) libtpms.so.0(LIBTPMS_0.5.1)(64bit) libtpms.so.0(LIBTPMS_0.6.0)(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.11)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: libtpms-devel-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x Provides: libtpms-devel = 0.8.2-0.20210301git729fc6a4ca.el9.5 libtpms-devel(s390-64) = 0.8.2-0.20210301git729fc6a4ca.el9.5 pkgconfig(libtpms) = 0.8.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libtpms.so.0()(64bit) Processing files: libtpms-debugsource-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x Provides: libtpms-debugsource = 0.8.2-0.20210301git729fc6a4ca.el9.5 libtpms-debugsource(s390-64) = 0.8.2-0.20210301git729fc6a4ca.el9.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libtpms-debuginfo-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x Provides: debuginfo(build-id) = c8e2ae153f32befccd98506b6e39d533ad5441c1 libtpms-debuginfo = 0.8.2-0.20210301git729fc6a4ca.el9.5 libtpms-debuginfo(s390-64) = 0.8.2-0.20210301git729fc6a4ca.el9.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libtpms-debugsource(s390-64) = 0.8.2-0.20210301git729fc6a4ca.el9.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x Wrote: /builddir/build/RPMS/libtpms-devel-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x.rpm Wrote: /builddir/build/RPMS/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x.rpm Wrote: /builddir/build/RPMS/libtpms-debuginfo-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x.rpm Wrote: /builddir/build/RPMS/libtpms-debugsource-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3pQ32Q + umask 022 + cd /builddir/build/BUILD + cd libtpms-20210301 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libtpms-0.8.2-0.20210301git729fc6a4ca.el9.5.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0