Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tss2.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45344-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tss2.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tss2-1.6.0-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tss2.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45344-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tss2.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YOXlpK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tss2-1.6.0 + /usr/bin/mkdir -p tss2-1.6.0 + cd tss2-1.6.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ibmtss1.6.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/tss2-1.6.0-manpage-cleanup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h8c6va + umask 022 + cd /builddir/build/BUILD + cd tss2-1.6.0 + autoreconf -vi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/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 -I m4 autoreconf: running: /usr/bin/autoconf configure.ac:47: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:47: the top level autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:30: installing 'build-aux/compile' configure.ac:23: installing 'build-aux/config.guess' configure.ac:23: installing 'build-aux/config.sub' configure.ac:19: installing 'build-aux/install-sh' configure.ac:19: installing 'build-aux/missing' utils/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=x86_64-opencloudos-linux-gnu --build=x86_64-opencloudos-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 --disable-tpm-1.2 --program-prefix=tss configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking for gawk... (cached) gawk checking for x86_64-opencloudos-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes 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 x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-file... no checking for file... file checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-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... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBCRYPTO... yes checking for openssl/conf.h... yes checking for EFIBOOT... no checking for efiboot.h... no checking for egrep... (cached) /usr/bin/grep -E checking for arpa/inet.h... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/param.h... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for gethostbyname... yes checking for memmove... yes checking for memset... yes checking for socket... yes checking for strerror... yes checking for strtoul... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating utils/Makefile config.status: creating utils12/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Configuration: CFLAGS: -DTPM_POSIX -O2 -g tpm12: no tpm20: yes hwtpm: yes rmtpm: yes nofile: no noprint: no nocrypto: no noecc: no + CCFLAGS='-O2 -g' + LNFLAGS=-Wl,-z,relro + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in utils make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-CommandAttributeData.lo `test -f 'CommandAttributeData.c' || echo './'`CommandAttributeData.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c CommandAttributeData.c -fPIC -DPIC -o .libs/libibmtss_la-CommandAttributeData.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssccattributes.lo `test -f 'tssccattributes.c' || echo './'`tssccattributes.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssccattributes.c -fPIC -DPIC -o .libs/libibmtss_la-tssccattributes.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssresponsecode.lo `test -f 'tssresponsecode.c' || echo './'`tssresponsecode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssresponsecode.c -fPIC -DPIC -o .libs/libibmtss_la-tssresponsecode.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o activatecredential-activatecredential.o `test -f 'activatecredential.c' || echo './'`activatecredential.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssntc.lo `test -f 'tssntc.c' || echo './'`tssntc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssntc.c -fPIC -DPIC -o .libs/libibmtss_la-tssntc.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tsstransmit.lo `test -f 'tsstransmit.c' || echo './'`tsstransmit.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tsstransmit.c -fPIC -DPIC -o .libs/libibmtss_la-tsstransmit.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-ntc2lib.lo `test -f 'ntc2lib.c' || echo './'`ntc2lib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c ntc2lib.c -fPIC -DPIC -o .libs/libibmtss_la-ntc2lib.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssdev.lo `test -f 'tssdev.c' || echo './'`tssdev.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssdev.c -fPIC -DPIC -o .libs/libibmtss_la-tssdev.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssutils.lo `test -f 'tssutils.c' || echo './'`tssutils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssutils.c -fPIC -DPIC -o .libs/libibmtss_la-tssutils.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssfile.lo `test -f 'tssfile.c' || echo './'`tssfile.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssfile.c -fPIC -DPIC -o .libs/libibmtss_la-tssfile.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o certify-certify.o `test -f 'certify.c' || echo './'`certify.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssauth.lo `test -f 'tssauth.c' || echo './'`tssauth.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssauth.c -fPIC -DPIC -o .libs/libibmtss_la-tssauth.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o certifycreation-certifycreation.o `test -f 'certifycreation.c' || echo './'`certifycreation.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tss.lo `test -f 'tss.c' || echo './'`tss.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tss.c -fPIC -DPIC -o .libs/libibmtss_la-tss.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssproperties.lo `test -f 'tssproperties.c' || echo './'`tssproperties.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssproperties.c -fPIC -DPIC -o .libs/libibmtss_la-tssproperties.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o changeeps-changeeps.o `test -f 'changeeps.c' || echo './'`changeeps.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -DTPM_POSIX -O2 -g -c -o changepps-changepps.o `test -f 'changepps.c' || echo './'`changepps.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tsscryptoh.lo `test -f 'tsscryptoh.c' || echo './'`tsscryptoh.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tsscryptoh.c -fPIC -DPIC -o .libs/libibmtss_la-tsscryptoh.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o eventextend-eventextend.o `test -f 'eventextend.c' || echo './'`eventextend.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o clear-clear.o `test -f 'clear.c' || echo './'`clear.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o contextload-contextload.o `test -f 'contextload.c' || echo './'`contextload.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o clearcontrol-clearcontrol.o `test -f 'clearcontrol.c' || echo './'`clearcontrol.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o clockrateadjust-clockrateadjust.o `test -f 'clockrateadjust.c' || echo './'`clockrateadjust.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o imaextend-imaextend.o `test -f 'imaextend.c' || echo './'`imaextend.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o contextsave-contextsave.o `test -f 'contextsave.c' || echo './'`contextsave.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tsssocket.lo `test -f 'tsssocket.c' || echo './'`tsssocket.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tsssocket.c -fPIC -DPIC -o .libs/libibmtss_la-tsssocket.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssauth20.lo `test -f 'tssauth20.c' || echo './'`tssauth20.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssauth20.c -fPIC -DPIC -o .libs/libibmtss_la-tssauth20.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o clockset-clockset.o `test -f 'clockset.c' || echo './'`clockset.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o create-objecttemplates.o `test -f 'objecttemplates.c' || echo './'`objecttemplates.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o commit-commit.o `test -f 'commit.c' || echo './'`commit.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o createloaded-objecttemplates.o `test -f 'objecttemplates.c' || echo './'`objecttemplates.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o dictionaryattacklockreset-dictionaryattacklockreset.o `test -f 'dictionaryattacklockreset.c' || echo './'`dictionaryattacklockreset.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o dictionaryattackparameters-dictionaryattackparameters.o `test -f 'dictionaryattackparameters.c' || echo './'`dictionaryattackparameters.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o createprimary-objecttemplates.o `test -f 'objecttemplates.c' || echo './'`objecttemplates.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o eccparameters-eccparameters.o `test -f 'eccparameters.c' || echo './'`eccparameters.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o flushcontext-flushcontext.o `test -f 'flushcontext.c' || echo './'`flushcontext.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o ecephemeral-ecephemeral.o `test -f 'ecephemeral.c' || echo './'`ecephemeral.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o evictcontrol-evictcontrol.o `test -f 'evictcontrol.c' || echo './'`evictcontrol.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o duplicate-duplicate.o `test -f 'duplicate.c' || echo './'`duplicate.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o encryptdecrypt-encryptdecrypt.o `test -f 'encryptdecrypt.c' || echo './'`encryptdecrypt.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o gettestresult-gettestresult.o `test -f 'gettestresult.c' || echo './'`gettestresult.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtssutils_la-eventlib.lo `test -f 'eventlib.c' || echo './'`eventlib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c eventlib.c -fPIC -DPIC -o .libs/libibmtssutils_la-eventlib.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o eventsequencecomplete-eventsequencecomplete.o `test -f 'eventsequencecomplete.c' || echo './'`eventsequencecomplete.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o getcryptolibrary-getcryptolibrary.o `test -f 'getcryptolibrary.c' || echo './'`getcryptolibrary.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o getrandom-getrandom.o `test -f 'getrandom.c' || echo './'`getrandom.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o getcommandauditdigest-getcommandauditdigest.o `test -f 'getcommandauditdigest.c' || echo './'`getcommandauditdigest.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o hashsequencestart-hashsequencestart.o `test -f 'hashsequencestart.c' || echo './'`hashsequencestart.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssprintcmd.lo `test -f 'tssprintcmd.c' || echo './'`tssprintcmd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssprintcmd.c -fPIC -DPIC -o .libs/libibmtss_la-tssprintcmd.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o hierarchycontrol-hierarchycontrol.o `test -f 'hierarchycontrol.c' || echo './'`hierarchycontrol.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o hash-hash.o `test -f 'hash.c' || echo './'`hash.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o getsessionauditdigest-getsessionauditdigest.o `test -f 'getsessionauditdigest.c' || echo './'`getsessionauditdigest.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtssutils_la-imalib.lo `test -f 'imalib.c' || echo './'`imalib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c imalib.c -fPIC -DPIC -o .libs/libibmtssutils_la-imalib.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o gettime-gettime.o `test -f 'gettime.c' || echo './'`gettime.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o hierarchychangeauth-hierarchychangeauth.o `test -f 'hierarchychangeauth.c' || echo './'`hierarchychangeauth.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o createloaded-createloaded.o `test -f 'createloaded.c' || echo './'`createloaded.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o hmacstart-hmacstart.o `test -f 'hmacstart.c' || echo './'`hmacstart.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o hmac-hmac.o `test -f 'hmac.c' || echo './'`hmac.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o create-create.o `test -f 'create.c' || echo './'`create.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o import-import.o `test -f 'import.c' || echo './'`import.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tsscrypto.lo `test -f 'tsscrypto.c' || echo './'`tsscrypto.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tsscrypto.c -fPIC -DPIC -o .libs/libibmtss_la-tsscrypto.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' tsscrypto.c: In function 'TSS_HMAC_Generate_valist': tsscrypto.c:190:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | ctx = HMAC_CTX_new(); | ^~~ In file included from tsscrypto.c:54: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ tsscrypto.c:202:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 202 | irc = HMAC_Init_ex(ctx, | ^~~ /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, | ^~~~~~~~~~~~ tsscrypto.c:224:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | irc = HMAC_Update(ctx, buffer, length); | ^~~ /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, | ^~~~~~~~~~~ tsscrypto.c:241:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | irc = HMAC_Final(ctx, (uint8_t *)&digest->digest, NULL); | ^~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ tsscrypto.c:250:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 250 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ tsscrypto.c: In function 'TSS_RsaNew': tsscrypto.c:357:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 357 | *rsaKey = RSA_new(); /* freed by caller */ | ^ In file included from tsscrypto.c:57: /usr/include/openssl/rsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ tsscrypto.c: In function 'TSS_RsaFree': tsscrypto.c:376:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 376 | RSA_free(rsaKey); | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ tsscrypto.c: In function 'TSS_RSAGeneratePublicTokenI': tsscrypto.c:434:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 434 | int irc = RSA_set0_key(*rsaPubKey, n, e, NULL); | ^~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ tsscrypto.c: In function 'TSS_RSAPublicEncrypt': tsscrypto.c:498:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 498 | irc = RSA_public_encrypt((int)encrypt_data_size, /* from length */ | ^~~ /usr/include/openssl/rsa.h:290:5: note: declared here 290 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ tsscrypto.c: In function 'TSS_ECC_GeneratePlatformEphemeralKey': tsscrypto.c:585:9: warning: 'EC_GROUP_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 585 | eCurveData->G = EC_GROUP_new(EC_GFp_mont_method()); /* freed @4 */ | ^~~~~~~~~~ In file included from /usr/include/openssl/engine.h:28, from tsscrypto.c:60: /usr/include/openssl/ec.h:171:33: note: declared here 171 | OSSL_DEPRECATEDIN_3_0 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth); | ^~~~~~~~~~~~ tsscrypto.c:585:9: warning: 'EC_GFp_mont_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 585 | eCurveData->G = EC_GROUP_new(EC_GFp_mont_method()); /* freed @4 */ | ^~~~~~~~~~ /usr/include/openssl/ec.h:126:40: note: declared here 126 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GFp_mont_method(void); | ^~~~~~~~~~~~~~~~~~ tsscrypto.c:594:9: warning: 'EC_GROUP_set_curve_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 594 | if (EC_GROUP_set_curve_GFp(eCurveData->G, p, a, b, eCurveData->ctx) == 0) { | ^~ /usr/include/openssl/ec.h:339:27: note: declared here 339 | OSSL_DEPRECATEDIN_3_0 int EC_GROUP_set_curve_GFp(EC_GROUP *group, | ^~~~~~~~~~~~~~~~~~~~~~ tsscrypto.c:672:9: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 672 | if (EC_KEY_set_group(myecc, eCurveData->G) == 0) { | ^~ /usr/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ tsscrypto.c:690:9: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 690 | if (EC_KEY_generate_key(myecc) == 0) { | ^~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ tsscrypto.c:697:9: warning: 'EC_KEY_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 697 | if (!EC_KEY_check_key(myecc)) { | ^~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ tsscrypto.c: In function 'TSS_ECC_Salt': tsscrypto.c:775:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 775 | myecc = EC_KEY_new(); /* freed @1 */ | ^~~~~ /usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ tsscrypto.c:798:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 798 | d_caller = EC_KEY_get0_private_key(myecc); /* ephemeral private key */ | ^~~~~~~~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ tsscrypto.c:799:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 799 | callerPointPub = EC_KEY_get0_public_key(myecc); /* ephemeral public key */ | ^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ tsscrypto.c:942:9: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 942 | thepoint = EC_POINT_point2bn(eCurveData.G, rPoint, POINT_CONVERSION_UNCOMPRESSED, | ^~~~~~~~ /usr/include/openssl/ec.h:770:31: note: declared here 770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ tsscrypto.c:1134:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1134 | if (myecc != NULL) EC_KEY_free(myecc); /* @1 */ | ^~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ tsscrypto.c: In function 'TSS_AES_KeyGenerate': tsscrypto.c:1304:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1304 | irc = AES_set_encrypt_key(userKey, | ^~~ In file included from tsscrypto.c:55: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tsscrypto.c:1315:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1315 | irc = AES_set_decrypt_key(userKey, | ^~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tsscrypto.c: In function 'TSS_AES_Encrypt': tsscrypto.c:1371:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1371 | AES_cbc_encrypt(decrypt_data_pad, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ tsscrypto.c: In function 'TSS_AES_Decrypt': tsscrypto.c:1419:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1419 | AES_cbc_encrypt(encrypt_data, | ^~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ tsscrypto.c: In function 'TSS_AES_EncryptCFB': tsscrypto.c:1469:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1469 | irc = AES_set_encrypt_key(key, keySizeInBits, &aeskey); | ^~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tsscrypto.c:1480:13: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1480 | AES_encrypt(iv, iv, &aeskey); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ tsscrypto.c: In function 'TSS_AES_DecryptCFB': tsscrypto.c:1505:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1505 | irc = AES_set_encrypt_key(key, keySizeInBits, &aesKey); | ^~~ /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ tsscrypto.c:1514:13: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1514 | AES_encrypt(iv, tmp, &aesKey); | ^~~~~~~~~~~ /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o getcapability-getcapability.o `test -f 'getcapability.c' || echo './'`getcapability.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o load-load.o `test -f 'load.c' || echo './'`load.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o importpem-objecttemplates.o `test -f 'objecttemplates.c' || echo './'`objecttemplates.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtssutils_la-cryptoutils.lo `test -f 'cryptoutils.c' || echo './'`cryptoutils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c cryptoutils.c -fPIC -DPIC -o .libs/libibmtssutils_la-cryptoutils.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' cryptoutils.c: In function 'convertPemToRsaPrivKey': cryptoutils.c:270:9: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 270 | *rsaKey = (void *)PEM_read_RSAPrivateKey(pemKeyFile, NULL, NULL, (void *)password); | ^ In file included from cryptoutils.c:63: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertEvpPkeyToEckey': cryptoutils.c:295:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 295 | *ecKey = EVP_PKEY_get1_EC_KEY(evpPkey); | ^ In file included from cryptoutils.c:62: /usr/include/openssl/evp.h:1385:19: note: declared here 1385 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertEvpPkeyToRsakey': cryptoutils.c:315:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 315 | *rsaKey = EVP_PKEY_get1_RSA(evpPkey); | ^ /usr/include/openssl/evp.h:1359:16: note: declared here 1359 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertEcKeyToPrivateKeyBin': cryptoutils.c:344:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | ecGroup = EC_KEY_get0_group(ecKey); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ cryptoutils.c:368:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | privateKeyBn = EC_KEY_get0_private_key(ecKey); | ^~~~~~~~~~~~ /usr/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertEcKeyToPublicKeyBin': cryptoutils.c:439:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 439 | ecPoint = EC_KEY_get0_public_key(ecKey); | ^~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ cryptoutils.c:446:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 446 | ecGroup = EC_KEY_get0_group(ecKey); | ^~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertEcPemToKeyPair': cryptoutils.c:1008:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1008 | EC_KEY_free(ecKey); /* @2 */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ cryptoutils.c: In function 'convertEcPemToPublic': cryptoutils.c:1054:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1054 | EC_KEY_free(ecKey); /* @2 */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ cryptoutils.c: In function 'convertEcDerToKeyPair': cryptoutils.c:1150:9: warning: 'd2i_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1150 | ecKey = d2i_ECPrivateKey(NULL, &tmpPtr, (long)derSize); /* freed @2 */ | ^~~~~ /usr/include/openssl/ec.h:1187:31: note: declared here 1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, | ^~~~~~~~~~~~~~~~ cryptoutils.c:1172:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | EC_KEY_free(ecKey); /* @2 */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ cryptoutils.c: In function 'convertEcDerToPublic': cryptoutils.c:1226:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1226 | EC_KEY_free(ecKey); /* @2 */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ cryptoutils.c: In function 'convertRsaDerToKeyPair': cryptoutils.c:1266:9: warning: 'd2i_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1266 | rsaKey = d2i_RSAPrivateKey(NULL, &tmpPtr, (long)derSize); /* freed @2 */ | ^~~~~~ In file included from /usr/include/openssl/rsa.h:21, from cryptoutils.c:59: /usr/include/openssl/rsa.h:317:1: note: declared here 317 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertRsaDerToPublic': cryptoutils.c:1316:9: warning: 'd2i_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1316 | rsaKey = d2i_RSA_PUBKEY(NULL, &tmpPtr, (long)derSize); /* freed @2 */ | ^~~~~~ /usr/include/openssl/x509.h:710:1: note: declared here 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertRsaPemToPublic': cryptoutils.c:1371:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1371 | RSA_free(rsaKey); /* @2 */ | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ cryptoutils.c: In function 'getRsaKeyParts': cryptoutils.c:1395:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1395 | RSA_get0_key(rsaKey, n, e, d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ cryptoutils.c:1398:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1398 | RSA_get0_factors(rsaKey, p, q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertRsaPublicToEvpPubKey': cryptoutils.c:1497:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1497 | irc = EVP_PKEY_assign_RSA(*evpPubkey, rsaPubKey); | ^~~ /usr/include/openssl/evp.h:1339:5: note: declared here 1339 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ cryptoutils.c: In function 'convertEcPublicToEvpPubKey': cryptoutils.c:1528:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1528 | ecKey = EC_KEY_new(); /* freed @1 */ | ^~~~~ /usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ cryptoutils.c:1547:9: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1547 | irc = EC_KEY_set_group(ecKey, ecGroup); | ^~~ /usr/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ cryptoutils.c:1564:9: warning: 'EC_KEY_set_public_key_affine_coordinates' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1564 | irc = EC_KEY_set_public_key_affine_coordinates(ecKey, x, y); | ^~~ /usr/include/openssl/ec.h:1122:27: note: declared here 1122 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoutils.c:1579:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1579 | irc = EVP_PKEY_set1_EC_KEY(*evpPubkey, ecKey); | ^~~ /usr/include/openssl/evp.h:1381:5: note: declared here 1381 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ cryptoutils.c:1590:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1590 | EC_KEY_free(ecKey); /* @1 */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ cryptoutils.c: In function 'convertEcTPMTPublicToEvpPubKey': cryptoutils.c:1619:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1619 | ecKey = EC_KEY_new(); /* freed @1 */ | ^~~~~ /usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ cryptoutils.c:1642:9: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1642 | irc = EC_KEY_set_group(ecKey, ecGroup); | ^~~ /usr/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ cryptoutils.c:1659:9: warning: 'EC_KEY_set_public_key_affine_coordinates' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1659 | irc = EC_KEY_set_public_key_affine_coordinates(ecKey, x, y); | ^~~ /usr/include/openssl/ec.h:1122:27: note: declared here 1122 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cryptoutils.c:1674:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1674 | irc = EVP_PKEY_set1_EC_KEY(*evpPubkey, ecKey); | ^~~ /usr/include/openssl/evp.h:1381:5: note: declared here 1381 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ cryptoutils.c:1685:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1685 | EC_KEY_free(ecKey); /* @1 */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ cryptoutils.c: In function 'verifyRSASignatureFromEvpPubKey': cryptoutils.c:1805:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1805 | rsaPubKey = EVP_PKEY_get1_RSA(evpPkey); /* freed @1 */ | ^~~~~~~~~ /usr/include/openssl/evp.h:1359:16: note: declared here 1359 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'signRSAFromRSA': cryptoutils.c:1857:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1857 | unsigned int keySize = RSA_size(rsaKey); | ^~~~~~~~ /usr/include/openssl/rsa.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ cryptoutils.c:1866:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1866 | irc = RSA_sign(nid, | ^~~ /usr/include/openssl/rsa.h:356:27: note: declared here 356 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ cryptoutils.c: In function 'verifyRSASignatureFromRSA': cryptoutils.c:1923:13: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1923 | irc = RSA_verify(nid, | ^~~ /usr/include/openssl/rsa.h:359:27: note: declared here 359 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ cryptoutils.c:1937:13: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1937 | irc = RSA_public_decrypt(tSignature->signature.rsapss.sig.t.size, | ^~~ /usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ cryptoutils.c:1948:13: warning: 'RSA_verify_PKCS1_PSS' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1948 | irc = RSA_verify_PKCS1_PSS(rsaPubKey, | ^~~ /usr/include/openssl/rsa.h:432:5: note: declared here 432 | int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~ cryptoutils.c: In function 'verifyEcSignatureFromEvpPubKey': cryptoutils.c:1989:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1989 | ecKey = EVP_PKEY_get1_EC_KEY(evpPkey); /* freed @1 */ | ^~~~~ /usr/include/openssl/evp.h:1385:19: note: declared here 1385 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ cryptoutils.c:2023:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2023 | irc = ECDSA_do_verify(message, messageSize, | ^~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ cryptoutils.c:2031:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2031 | EC_KEY_free(ecKey); /* @1 */ | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ cryptoutils.c: In function 'getEcCurve': cryptoutils.c:2176:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2176 | ecGroup = EC_KEY_get0_group(ecKey); | ^~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o certifyx509-certifyx509.o `test -f 'certifyx509.c' || echo './'`certifyx509.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o createprimary-createprimary.o `test -f 'createprimary.c' || echo './'`createprimary.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o makecredential-makecredential.o `test -f 'makecredential.c' || echo './'`makecredential.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvchangeauth-nvchangeauth.o `test -f 'nvchangeauth.c' || echo './'`nvchangeauth.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvglobalwritelock-nvglobalwritelock.o `test -f 'nvglobalwritelock.c' || echo './'`nvglobalwritelock.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvextend-nvextend.o `test -f 'nvextend.c' || echo './'`nvextend.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-Commands.lo `test -f 'Commands.c' || echo './'`Commands.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c Commands.c -fPIC -DPIC -o .libs/libibmtss_la-Commands.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvincrement-nvincrement.o `test -f 'nvincrement.c' || echo './'`nvincrement.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvundefinespacespecial-nvundefinespacespecial.o `test -f 'nvundefinespacespecial.c' || echo './'`nvundefinespacespecial.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvundefinespace-nvundefinespace.o `test -f 'nvundefinespace.c' || echo './'`nvundefinespace.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvreadlock-nvreadlock.o `test -f 'nvreadlock.c' || echo './'`nvreadlock.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvsetbits-nvsetbits.o `test -f 'nvsetbits.c' || echo './'`nvsetbits.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvcertify-nvcertify.o `test -f 'nvcertify.c' || echo './'`nvcertify.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvwritelock-nvwritelock.o `test -f 'nvwritelock.c' || echo './'`nvwritelock.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtssutils_la-ekutils.lo `test -f 'ekutils.c' || echo './'`ekutils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c ekutils.c -fPIC -DPIC -o .libs/libibmtssutils_la-ekutils.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' ekutils.c: In function 'getPubKeyFromX509Cert': ekutils.c:631:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 631 | *rsaPkey = EVP_PKEY_get1_RSA(evpPkey); | ^ In file included from /usr/include/openssl/pem.h:22, from ekutils.c:62: /usr/include/openssl/evp.h:1359:16: note: declared here 1359 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ ekutils.c: In function 'convertX509ToEc': ekutils.c:1089:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1089 | *ecKey = EVP_PKEY_get1_EC_KEY(evpPkey); | ^ /usr/include/openssl/evp.h:1385:19: note: declared here 1385 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ekutils.c: In function 'convertCertificatePubKey': ekutils.c:1172:27: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1172 | rsaKey = EVP_PKEY_get1_RSA(pkey); /* freed @3 */ | ^~~~~~ /usr/include/openssl/evp.h:1359:16: note: declared here 1359 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ ekutils.c:1188:23: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1188 | RSA_free(rsaKey); /* @3 */ | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23: /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ekutils.c:1211:27: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1211 | ecKey = EVP_PKEY_get1_EC_KEY(pkey); /* freed @3 */ | ^~~~~ /usr/include/openssl/evp.h:1385:19: note: declared here 1385 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ekutils.c:1227:23: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1227 | EC_KEY_free(ecKey); /* @3 */ | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ekutils.c: In function 'convertCertificatePubKey12': ekutils.c:1281:9: warning: 'd2i_RSAPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1281 | rsaKey = d2i_RSAPublicKey(NULL, &tmppk, ppklen); /* freed @1 */ | ^~~~~~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43: /usr/include/openssl/rsa.h:315:1: note: declared here 315 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ekutils.c:1294:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1294 | RSA_free(rsaKey); /* @1 */ | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssprint.lo `test -f 'tssprint.c' || echo './'`tssprint.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssprint.c -fPIC -DPIC -o .libs/libibmtss_la-tssprint.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o pcrreset-pcrreset.o `test -f 'pcrreset.c' || echo './'`pcrreset.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvdefinespace-nvdefinespace.o `test -f 'nvdefinespace.c' || echo './'`nvdefinespace.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o importpem-importpem.o `test -f 'importpem.c' || echo './'`importpem.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policyauthvalue-policyauthvalue.o `test -f 'policyauthvalue.c' || echo './'`policyauthvalue.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvreadpublic-nvreadpublic.o `test -f 'nvreadpublic.c' || echo './'`nvreadpublic.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o objectchangeauth-objectchangeauth.o `test -f 'objectchangeauth.c' || echo './'`objectchangeauth.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policycommandcode-policycommandcode.o `test -f 'policycommandcode.c' || echo './'`policycommandcode.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o pcrallocate-pcrallocate.o `test -f 'pcrallocate.c' || echo './'`pcrallocate.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o pcrextend-pcrextend.o `test -f 'pcrextend.c' || echo './'`pcrextend.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policycphash-policycphash.o `test -f 'policycphash.c' || echo './'`policycphash.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o loadexternal-loadexternal.o `test -f 'loadexternal.c' || echo './'`loadexternal.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o pcrevent-pcrevent.o `test -f 'pcrevent.c' || echo './'`pcrevent.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policygetdigest-policygetdigest.o `test -f 'policygetdigest.c' || echo './'`policygetdigest.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policynamehash-policynamehash.o `test -f 'policynamehash.c' || echo './'`policynamehash.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policyauthorize-policyauthorize.o `test -f 'policyauthorize.c' || echo './'`policyauthorize.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policycountertimer-policycountertimer.o `test -f 'policycountertimer.c' || echo './'`policycountertimer.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policyduplicationselect-policyduplicationselect.o `test -f 'policyduplicationselect.c' || echo './'`policyduplicationselect.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o pcrread-pcrread.o `test -f 'pcrread.c' || echo './'`pcrread.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvwrite-nvwrite.o `test -f 'nvwrite.c' || echo './'`nvwrite.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policypassword-policypassword.o `test -f 'policypassword.c' || echo './'`policypassword.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policyauthorizenv-policyauthorizenv.o `test -f 'policyauthorizenv.c' || echo './'`policyauthorizenv.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policyor-policyor.o `test -f 'policyor.c' || echo './'`policyor.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policynvwritten-policynvwritten.o `test -f 'policynvwritten.c' || echo './'`policynvwritten.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o powerup-powerup.o `test -f 'powerup.c' || echo './'`powerup.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policytemplate-policytemplate.o `test -f 'policytemplate.c' || echo './'`policytemplate.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policynv-policynv.o `test -f 'policynv.c' || echo './'`policynv.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o returncode-returncode.o `test -f 'returncode.c' || echo './'`returncode.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o nvread-nvread.o `test -f 'nvread.c' || echo './'`nvread.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policymaker-policymaker.o `test -f 'policymaker.c' || echo './'`policymaker.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policyrestart-policyrestart.o `test -f 'policyrestart.c' || echo './'`policyrestart.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o readclock-readclock.o `test -f 'readclock.c' || echo './'`readclock.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policypcr-policypcr.o `test -f 'policypcr.c' || echo './'`policypcr.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policymakerpcr-policymakerpcr.o `test -f 'policymakerpcr.c' || echo './'`policymakerpcr.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policyticket-policyticket.o `test -f 'policyticket.c' || echo './'`policyticket.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policysecret-policysecret.o `test -f 'policysecret.c' || echo './'`policysecret.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o sequenceupdate-sequenceupdate.o `test -f 'sequenceupdate.c' || echo './'`sequenceupdate.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o shutdown-shutdown.o `test -f 'shutdown.c' || echo './'`shutdown.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o rsaencrypt-rsaencrypt.o `test -f 'rsaencrypt.c' || echo './'`rsaencrypt.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o rewrap-rewrap.o `test -f 'rewrap.c' || echo './'`rewrap.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o setcommandcodeauditstatus-setcommandcodeauditstatus.o `test -f 'setcommandcodeauditstatus.c' || echo './'`setcommandcodeauditstatus.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o stirrandom-stirrandom.o `test -f 'stirrandom.c' || echo './'`stirrandom.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o quote-quote.o `test -f 'quote.c' || echo './'`quote.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o startup-startup.o `test -f 'startup.c' || echo './'`startup.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o tpmpublic2eccpoint-tpmpublic2eccpoint.o `test -f 'tpmpublic2eccpoint.c' || echo './'`tpmpublic2eccpoint.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o sequencecomplete-sequencecomplete.o `test -f 'sequencecomplete.c' || echo './'`sequencecomplete.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o setprimarypolicy-setprimarypolicy.o `test -f 'setprimarypolicy.c' || echo './'`setprimarypolicy.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o startauthsession-startauthsession.o `test -f 'startauthsession.c' || echo './'`startauthsession.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o unseal-unseal.o `test -f 'unseal.c' || echo './'`unseal.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o rsadecrypt-rsadecrypt.o `test -f 'rsadecrypt.c' || echo './'`rsadecrypt.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o readpublic-readpublic.o `test -f 'readpublic.c' || echo './'`readpublic.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o ntc2getconfig-ntc2getconfig.o `test -f 'ntc2getconfig.c' || echo './'`ntc2getconfig.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o printattr-printattr.o `test -f 'printattr.c' || echo './'`printattr.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o zgen2phase-zgen2phase.o `test -f 'zgen2phase.c' || echo './'`zgen2phase.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o tpmcmd-tpmcmd.o `test -f 'tpmcmd.c' || echo './'`tpmcmd.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o policysigned-policysigned.o `test -f 'policysigned.c' || echo './'`policysigned.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o ntc2lockconfig-ntc2lockconfig.o `test -f 'ntc2lockconfig.c' || echo './'`ntc2lockconfig.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o tpm2pem-tpm2pem.o `test -f 'tpm2pem.c' || echo './'`tpm2pem.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o timepacket-timepacket.o `test -f 'timepacket.c' || echo './'`timepacket.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtssutils_la-efilib.lo `test -f 'efilib.c' || echo './'`efilib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_TPM20 -DTPM_POSIX -O2 -g -c efilib.c -fPIC -DPIC -o .libs/libibmtssutils_la-efilib.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' efilib.c: In function 'TSS_EfiEventTag_Trace': efilib.c:4820:13: warning: 'd2i_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4820 | rsaKey = d2i_RSA_PUBKEY(NULL, &tmpData , taggedEvent->taggedEventDataSize); /* freed @2 */ | ^~~~~~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:43, from /usr/include/openssl/x509.h:29, from efilib.c:61: /usr/include/openssl/x509.h:710:1: note: declared here 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ efilib.c:4822:17: warning: 'RSA_print_fp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4822 | RSA_print_fp(stdout, rsaKey, 4); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:347:27: note: declared here 347 | OSSL_DEPRECATEDIN_3_0 int RSA_print_fp(FILE *fp, const RSA *r, int offset); | ^~~~~~~~~~~~ efilib.c:4825:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4825 | RSA_free(rsaKey); | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o writeapp-writeapp.o `test -f 'writeapp.c' || echo './'`writeapp.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o sign-sign.o `test -f 'sign.c' || echo './'`sign.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o createek-createek.o `test -f 'createek.c' || echo './'`createek.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o ntc2preconfig-ntc2preconfig.o `test -f 'ntc2preconfig.c' || echo './'`ntc2preconfig.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o createekcert-createekcert.o `test -f 'createekcert.c' || echo './'`createekcert.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o verifysignature-verifysignature.o `test -f 'verifysignature.c' || echo './'`verifysignature.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o publicname-publicname.o `test -f 'publicname.c' || echo './'`publicname.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc -DHAVE_CONFIG_H -I. -I.. -DTPM_POSIX -O2 -g -c -o signapp-signapp.o `test -f 'signapp.c' || echo './'`signapp.c make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-Unmarshal.lo `test -f 'Unmarshal.c' || echo './'`Unmarshal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c Unmarshal.c -fPIC -DPIC -o .libs/libibmtss_la-Unmarshal.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tss20.lo `test -f 'tss20.c' || echo './'`tss20.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tss20.c -fPIC -DPIC -o .libs/libibmtss_la-tss20.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c -o libibmtss_la-tssmarshal.lo `test -f 'tssmarshal.c' || echo './'`tssmarshal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fPIC -DTPM_INTERFACE_TYPE_DEFAULT=\"dev\" -DTPM_DEVICE_DEFAULT=\"/dev/tpmrm0\" -DTPM_TPM20 -DTPM_POSIX -O2 -g -c tssmarshal.c -fPIC -DPIC -o .libs/libibmtss_la-tssmarshal.o make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' make[2]: Entering directory '/builddir/build/BUILD/tss2-1.6.0/utils' /bin/sh ../libtool --tag=CC --mode=link gcc -fPIC -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\"" -DTPM_TPM20 -DTPM_POSIX -O2 -g -version-info 7:0:6 -o libibmtss.la -rpath /usr/lib64 libibmtss_la-tssfile.lo libibmtss_la-tsscryptoh.lo libibmtss_la-tsscrypto.lo libibmtss_la-tss.lo libibmtss_la-tssproperties.lo libibmtss_la-tssmarshal.lo libibmtss_la-tssauth.lo libibmtss_la-tssutils.lo libibmtss_la-tsssocket.lo libibmtss_la-tssdev.lo libibmtss_la-tsstransmit.lo libibmtss_la-tssresponsecode.lo libibmtss_la-tssccattributes.lo libibmtss_la-tssprint.lo libibmtss_la-Unmarshal.lo libibmtss_la-CommandAttributeData.lo libibmtss_la-tss20.lo libibmtss_la-tssauth20.lo libibmtss_la-Commands.lo libibmtss_la-tssprintcmd.lo libibmtss_la-ntc2lib.lo libibmtss_la-tssntc.lo -lcrypto libtool: link: gcc -shared -fPIC -DPIC .libs/libibmtss_la-tssfile.o .libs/libibmtss_la-tsscryptoh.o .libs/libibmtss_la-tsscrypto.o .libs/libibmtss_la-tss.o .libs/libibmtss_la-tssproperties.o .libs/libibmtss_la-tssmarshal.o .libs/libibmtss_la-tssauth.o .libs/libibmtss_la-tssutils.o .libs/libibmtss_la-tsssocket.o .libs/libibmtss_la-tssdev.o .libs/libibmtss_la-tsstransmit.o .libs/libibmtss_la-tssresponsecode.o .libs/libibmtss_la-tssccattributes.o .libs/libibmtss_la-tssprint.o .libs/libibmtss_la-Unmarshal.o .libs/libibmtss_la-CommandAttributeData.o .libs/libibmtss_la-tss20.o .libs/libibmtss_la-tssauth20.o .libs/libibmtss_la-Commands.o .libs/libibmtss_la-tssprintcmd.o .libs/libibmtss_la-ntc2lib.o .libs/libibmtss_la-tssntc.o -lcrypto -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,-soname -Wl,libibmtss.so.1 -o .libs/libibmtss.so.1.6.0 make[2]: Leaving directory '/builddir/build/BUILD/tss2-1.6.0/utils' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:2359: libibmtss.la] Error 1 make[1]: *** [Makefile:416: all-recursive] Error 1 make: *** [Makefile:348: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.h8c6va (%build) Bad exit status from /var/tmp/rpm-tmp.h8c6va (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tss2.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tss2.spec