checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for 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) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking target system type... riscv64-unknown-linux-gnu checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether make supports nested variables... (cached) yes checking for debug-enabled build... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for semodule... no checking for AES_set_encrypt_key in -lcrypto... yes checking for openssl/aes.h... yes Building with openssl crypto library checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBTPMS... yes checking for TPMLIB_ChooseTPMVersion in -ltpms... yes checking for clock_gettime in -lc... yes checking for tcsd... no configure: WARNING: tcsd could not be found; typically need it for tss user account and tests checking for netstat... no checking for ss... /usr/bin/ss checking for whether to build with CUSE interface... yes checking for whether to build with chardev interface... yes checking for certtool... /usr/bin/certtool checking for gnutls 3.4.0 or later... yes checking for gnutls_load_file in -lgnutls... yes checking for gnutls/abstract.h... yes checking which PCR banks to activate by default... sha256 checking for expect... /usr/bin/expect checking for gawk... /usr/bin/gawk checking for socat... /usr/bin/socat checking for base64... /usr/bin/base64 checking for cp... /usr/bin/cp checking for a Python interpreter with version >= 3.3... python checking for python... /usr/bin/python checking for python version... 3.10 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages checking whether linker supports -Wl,-z,relro... yes checking whether linker supports -Wl,-z,now... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking Checking the crypto library libtpms is linked to... openssl checking for whether to build with seccomp profile... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating debian/swtpm-tools.postinst config.status: creating swtpm.spec config.status: creating samples/Makefile config.status: creating samples/swtpm-localca.conf config.status: creating samples/swtpm-create-user-config-files config.status: creating samples/swtpm_setup.conf config.status: creating include/Makefile config.status: creating include/swtpm/Makefile config.status: creating include/swtpm.h config.status: creating src/Makefile config.status: creating src/selinux/Makefile config.status: creating src/swtpm/Makefile config.status: creating src/swtpm_bios/Makefile config.status: creating src/swtpm_cert/Makefile config.status: creating src/swtpm_ioctl/Makefile config.status: creating src/swtpm_localca/Makefile config.status: creating src/swtpm_localca/swtpm_localca_conf.h config.status: creating src/swtpm_setup/Makefile config.status: creating src/swtpm_setup/swtpm_setup_conf.h config.status: creating src/utils/Makefile config.status: creating man/Makefile config.status: creating man/man3/Makefile config.status: creating man/man8/Makefile config.status: creating tests/Makefile config.status: creating tests/test_config config.status: creating samples/swtpm-localca config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands with_gnutls : yes (no = swtpm_cert will NOT be built) with_selinux : no (no = SELinux policy extensions will NOT be built) with_cuse : yes (no = no CUSE interface) with_chardev : yes (no = no chardev interface) with_vtpm_proxy : yes (no = no vtpm proxy support; Linux only) with_seccomp : yes (no = no seccomp profile; Linux only) active PCR banks : sha256 Version to build : 0.7.0 Crypto library : openssl MY_CFLAGS = -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wreturn-type -Wsign-compare -Wswitch-enum -Wmissing-prototypes -Wall -Werror -Wformat -Wformat-security -I/usr/include/p11-kit-1 HARDENING_CFLAGS = -fstack-protector-strong -Wstack-protector -D_FORTIFY_SOURCE=2 HARDENING_LDFLAGS = -Wl,-z,relro -Wl,-z,now MY_LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ltpms LIBSECCOMP_LIBS = -lseccomp JSON_GLIB_CFLAGS = -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid JSON_GLIB_LIBS = -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include GLIB_LIBS = -lglib-2.0 TSS_USER=tss TSS_GROUP=tss /usr/bin/make all-recursive make[1]: Entering directory '/build/swtpm/src/swtpm' Making all in include make[2]: Entering directory '/build/swtpm/src/swtpm/include' Making all in swtpm make[3]: Entering directory '/build/swtpm/src/swtpm/include/swtpm' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/swtpm/src/swtpm/include/swtpm' make[3]: Entering directory '/build/swtpm/src/swtpm/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/swtpm/src/swtpm/include' make[2]: Leaving directory '/build/swtpm/src/swtpm/include' Making all in man make[2]: Entering directory '/build/swtpm/src/swtpm/man' Making all in man3 make[3]: Entering directory '/build/swtpm/src/swtpm/man/man3' make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man3' Making all in man8 make[3]: Entering directory '/build/swtpm/src/swtpm/man/man8' make[3]: Leaving directory '/build/swtpm/src/swtpm/man/man8' make[3]: Entering directory '/build/swtpm/src/swtpm/man' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/swtpm/src/swtpm/man' make[2]: Leaving directory '/build/swtpm/src/swtpm/man' Making all in samples make[2]: Entering directory '/build/swtpm/src/swtpm/samples' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/swtpm/src/swtpm/samples' Making all in src make[2]: Entering directory '/build/swtpm/src/swtpm/src' Making all in utils make[3]: Entering directory '/build/swtpm/src/swtpm/src/utils' CC libswtpm_utils_la-swtpm_utils.lo CCLD libswtpm_utils.la make[3]: Leaving directory '/build/swtpm/src/swtpm/src/utils' Making all in swtpm make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm' CC swtpm-main.o CC libswtpm_libtpms_la-capabilities.lo CC libswtpm_libtpms_la-ctrlchannel.lo CC swtpm-daemonize.o CC libswtpm_libtpms_la-logging.lo CC swtpm-swtpm.o CC swtpm-swtpm_chardev.o CC libswtpm_libtpms_la-seccomp_profile.lo CC libswtpm_libtpms_la-swtpm_aes.lo CC libswtpm_libtpms_la-mainloop.lo CC libswtpm_libtpms_la-key.lo CC libswtpm_libtpms_la-pidfile.lo CC libswtpm_libtpms_la-swtpm_nvstore_linear.lo CC libswtpm_libtpms_la-swtpm_nvstore.lo CC libswtpm_libtpms_la-swtpm_nvstore_linear_file.lo CC libswtpm_libtpms_la-common.lo CC swtpm-cuse_tpm.o CC libswtpm_libtpms_la-tpmlib.lo CC libswtpm_libtpms_la-tlv.lo CC libswtpm_libtpms_la-swtpm_debug.lo CC libswtpm_libtpms_la-options.lo CC libswtpm_libtpms_la-server.lo CC libswtpm_libtpms_la-swtpm_io.lo CC libswtpm_libtpms_la-swtpm_nvstore_dir.lo CC libswtpm_libtpms_la-tpmstate.lo CC libswtpm_libtpms_la-utils.lo CC libswtpm_libtpms_la-threadpool.lo CC swtpm_cuse-cuse_tpm.o CCLD libswtpm_libtpms.la CCLD swtpm CCLD swtpm_cuse make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm' Making all in swtpm_bios make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_bios' CC swtpm_bios-tpm_bios.o CCLD swtpm_bios make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_bios' Making all in swtpm_cert make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_cert' CC swtpm_cert-ek-cert.o CCLD swtpm_cert make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_cert' Making all in swtpm_ioctl make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_ioctl' CC swtpm_ioctl-tpm_ioctl.o CCLD swtpm_ioctl make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_ioctl' Making all in swtpm_localca make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_localca' CC swtpm_localca-swtpm_localca.o CC swtpm_localca-swtpm_localca_utils.o CCLD swtpm_localca make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_localca' Making all in swtpm_setup make[3]: Entering directory '/build/swtpm/src/swtpm/src/swtpm_setup' CC swtpm_setup-swtpm.o CC swtpm_setup-swtpm_backend_dir.o CC swtpm_setup-swtpm_setup_utils.o CC swtpm_setup-swtpm_setup.o CC swtpm_setup-swtpm_backend_file.o CCLD swtpm_setup make[3]: Leaving directory '/build/swtpm/src/swtpm/src/swtpm_setup' make[3]: Entering directory '/build/swtpm/src/swtpm/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/swtpm/src/swtpm/src' make[2]: Leaving directory '/build/swtpm/src/swtpm/src' Making all in tests make[2]: Entering directory '/build/swtpm/src/swtpm/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/swtpm/src/swtpm/tests' make[2]: Entering directory '/build/swtpm/src/swtpm' make[2]: Leaving directory '/build/swtpm/src/swtpm' make[1]: Leaving directory '/build/swtpm/src/swtpm'