>>> tpm2-tools 4.3.2 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-3/output-1/build/.tpm2-tools-4.3.2.tar.gz.yv2Ndq/output' 'https://github.com/tpm2-software/tpm2-tools/releases/download/4.3.2/tpm2-tools-4.3.2.tar.gz' --2021-07-31 06:59:23-- https://github.com/tpm2-software/tpm2-tools/releases/download/4.3.2/tpm2-tools-4.3.2.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-releases.githubusercontent.com/41126332/e3367100-d273-11eb-8593-0552f09e0a66?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210731%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210731T065923Z&X-Amz-Expires=300&X-Amz-Signature=94751c20d2504b404cca22e1fa4601fd98a5b152afbd01b2ba7a439a85abd62b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=41126332&response-content-disposition=attachment%3B%20filename%3Dtpm2-tools-4.3.2.tar.gz&response-content-type=application%2Foctet-stream [following] --2021-07-31 06:59:23-- https://github-releases.githubusercontent.com/41126332/e3367100-d273-11eb-8593-0552f09e0a66?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210731%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210731T065923Z&X-Amz-Expires=300&X-Amz-Signature=94751c20d2504b404cca22e1fa4601fd98a5b152afbd01b2ba7a439a85abd62b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=41126332&response-content-disposition=attachment%3B%20filename%3Dtpm2-tools-4.3.2.tar.gz&response-content-type=application%2Foctet-stream Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.110.154, 185.199.111.154, 185.199.108.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.110.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 887708 (867K) [application/octet-stream] Saving to: '/tmp/instance-3/output-1/build/.tpm2-tools-4.3.2.tar.gz.yv2Ndq/output' 0K .......... .......... .......... .......... .......... 5% 8.50M 0s 50K .......... .......... .......... .......... .......... 11% 8.81M 0s 100K .......... .......... .......... .......... .......... 17% 40.0M 0s 150K .......... .......... .......... .......... .......... 23% 26.9M 0s 200K .......... .......... .......... .......... .......... 28% 12.8M 0s 250K .......... .......... .......... .......... .......... 34% 38.3M 0s 300K .......... .......... .......... .......... .......... 40% 15.3M 0s 350K .......... .......... .......... .......... .......... 46% 36.4M 0s 400K .......... .......... .......... .......... .......... 51% 25.7M 0s 450K .......... .......... .......... .......... .......... 57% 18.1M 0s 500K .......... .......... .......... .......... .......... 63% 30.4M 0s 550K .......... .......... .......... .......... .......... 69% 13.3M 0s 600K .......... .......... .......... .......... .......... 74% 36.9M 0s 650K .......... .......... .......... .......... .......... 80% 25.2M 0s 700K .......... .......... .......... .......... .......... 86% 90.4M 0s 750K .......... .......... .......... .......... .......... 92% 14.9M 0s 800K .......... .......... .......... .......... .......... 98% 80.3M 0s 850K .......... ...... 100% 10.9M=0.04s 2021-07-31 06:59:23 (19.7 MB/s) - '/tmp/instance-3/output-1/build/.tpm2-tools-4.3.2.tar.gz.yv2Ndq/output' saved [887708/887708] tpm2-tools-4.3.2.tar.gz: OK (sha256: e2802d4093a24b2c65b1f913d0f4c68eadde9b8fd8a9b7a3b17a6e50765e8350) >>> tpm2-tools 4.3.2 Extracting gzip -d -c /tmp/instance-3/dl/tpm2-tools/tpm2-tools-4.3.2.tar.gz | tar --strip-components=1 -C /tmp/instance-3/output-1/build/tpm2-tools-4.3.2 -xf - >>> tpm2-tools 4.3.2 Patching >>> tpm2-tools 4.3.2 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-3/output-1/build/tpm2-tools-4.3.2 -name $file); do cp support/gnuconfig/$file $i; done; done >>> tpm2-tools 4.3.2 Patching libtool patching file /tmp/instance-3/output-1/build/tpm2-tools-4.3.2/ltmain.sh Hunk #1 succeeded at 2786 (offset 99 lines). Hunk #2 succeeded at 4376 (offset 99 lines). Hunk #3 succeeded at 6671 (offset 117 lines). Hunk #4 succeeded at 6681 (offset 117 lines). Hunk #5 succeeded at 6974 (offset 117 lines). Hunk #6 succeeded at 7266 (offset 117 lines). Hunk #7 succeeded at 8241 (offset 129 lines). Hunk #8 succeeded at 10873 (offset 163 lines). >>> tpm2-tools 4.3.2 Configuring (cd /tmp/instance-3/output-1/build/tpm2-tools-4.3.2/ && rm -rf config.cache && PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar" AS="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" LD="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" NM="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm" CC="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" GCC="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc" CPP="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp" CXX="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-g++" FC="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" F77="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gfortran" RANLIB="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ranlib" READELF="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-readelf" STRIP="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip" OBJCOPY="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-objcopy" OBJDUMP="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-3/output-1/host/lib -Wl,-rpath,/tmp/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-as" DEFAULT_LINKER="/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/tmp/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-3/output-1/host/riscv64-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no ac_cv_prog_PANDOC='' CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-uclibc --host=riscv64-buildroot-linux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-hardening ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking whether to enable debugging... no checking for riscv64-buildroot-linux-uclibc-gcc... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc accepts -g... yes checking for /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to accept ISO C89... none needed checking whether /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc understands -c and -o together... yes checking whether ln -s works... yes checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-uclibc 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 /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld checking if the linker (/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm checking the name lister (/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-uclibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ld option to reload object files... -r checking for riscv64-buildroot-linux-uclibc-objdump... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-buildroot-linux-uclibc-ar... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ar checking for archiver @FILE support... @ checking for riscv64-buildroot-linux-uclibc-strip... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip checking for riscv64-buildroot-linux-uclibc-ranlib... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-ranlib checking for gawk... gawk checking command to parse /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-nm output from /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-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 riscv64-buildroot-linux-uclibc-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc static flag -static works... yes checking if /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o... yes checking if /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc linker (/tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-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... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv64-buildroot-linux-uclibc-strip... (cached) /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-strip checking for a thread-safe 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 /tmp/instance-3/output-1/host/bin/riscv64-buildroot-linux-uclibc-gcc... none checking whether make supports nested variables... (cached) yes checking whether to build with code coverage support... no checking for pandoc... (cached) no configure: WARNING: Required executable pandoc not found, man pages will not be built checking pkg-config is at least version 0.9.0... yes checking for TSS2_FAPI... yes checking for TSS2_FAPI_3_0... yes checking for TSS2_ESYS_3_0... yes checking for TSS2_TCTILDR... yes checking for TSS2_MU... yes checking for TSS2_RC... yes checking for TSS2_SYS... yes checking for CRYPTO... yes checking for CURL... yes checking for UUID... yes configure: WARNING: Compiling with --disable-hardening is dangerous! you should consider fixing the configure script compiler flags and submitting patches upstream! checking whether C compiler accepts -D_GNU_SOURCE... yes checking whether C compiler accepts -Wstringop-overflow=4... yes checking whether C compiler accepts -Wstringop-truncation... yes checking whether C compiler accepts -Wduplicated-branches... yes checking whether C compiler accepts -Wduplicated-cond... yes checking whether C compiler accepts -fdata-sections... yes checking whether C compiler accepts -ffunction-sections... yes checking whether the linker accepts -Wl,--gc-sections... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/config.h config.status: executing libtool commands config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls - tpm2-tools: 4.3.2 - Man pages: no - Unit tests: no >>> tpm2-tools 4.3.2 Building PATH="/tmp/instance-3/output-1/host/bin:/tmp/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-3/output-1/build/tpm2-tools-4.3.2/ make[1]: Entering directory '/tmp/instance-3/output-1/build/tpm2-tools-4.3.2' CC tools/fapi/tss2_decrypt-tss2_template.o CC tools/fapi/tss2_decrypt-tss2_decrypt.o CC lib/libcommon_a-files.o CC lib/libcommon_a-log.o CC lib/libcommon_a-object.o CC lib/libcommon_a-pcr.o CC lib/libcommon_a-tpm2.o CC lib/libcommon_a-tool_rc.o CC lib/libcommon_a-tpm2_alg_util.o CC lib/libcommon_a-tpm2_attr_util.o CC lib/libcommon_a-tpm2_auth_util.o CC lib/libcommon_a-tpm2_capability.o CC lib/libcommon_a-tpm2_convert.o CC lib/libcommon_a-tpm2_cc_util.o CC lib/libcommon_a-tpm2_ctx_mgmt.o CC lib/libcommon_a-tpm2_errata.o CC lib/libcommon_a-tpm2_eventlog.o CC lib/libcommon_a-tpm2_eventlog_yaml.o CC lib/libcommon_a-tpm2_hash.o CC lib/libcommon_a-tpm2_hierarchy.o CC lib/libcommon_a-tpm2_identity_util.o CC lib/libcommon_a-tpm2_kdfa.o CC lib/libcommon_a-tpm2_openssl.o CC lib/libcommon_a-tpm2_kdfe.o CC lib/libcommon_a-tpm2_options.o CC lib/libcommon_a-tpm2_session.o CC lib/libcommon_a-tpm2_policy.o CC lib/libcommon_a-tpm2_tool_output.o CC lib/libcommon_a-tpm2_util.o CC tools/fapi/tss2_encrypt-tss2_template.o CC tools/fapi/tss2_encrypt-tss2_encrypt.o CC tools/fapi/tss2_list-tss2_template.o CC tools/fapi/tss2_list-tss2_list.o CC tools/fapi/tss2_changeauth-tss2_template.o CC tools/fapi/tss2_changeauth-tss2_changeauth.o CC tools/fapi/tss2_delete-tss2_template.o CC tools/fapi/tss2_delete-tss2_delete.o CC tools/fapi/tss2_import-tss2_template.o CC tools/fapi/tss2_import-tss2_import.o CC tools/fapi/tss2_getinfo-tss2_template.o CC tools/fapi/tss2_getinfo-tss2_getinfo.o CC tools/fapi/tss2_createkey-tss2_template.o CC tools/fapi/tss2_createkey-tss2_createkey.o CC tools/fapi/tss2_createseal-tss2_template.o lib/tpm2_eventlog_yaml.c: In function 'yaml_uefi_var_unicodename': lib/tpm2_eventlog_yaml.c:122:5: error: unknown type name 'mbstate_t' 122 | mbstate_t st = { 0, }; | ^~~~~~~~~ lib/tpm2_eventlog_yaml.c:131:15: warning: implicit declaration of function 'c16rtomb' [-Wimplicit-function-declaration] 131 | ret = c16rtomb(tmp, data->UnicodeName[i], &st); | ^~~~~~~~ CC tools/fapi/tss2_createseal-tss2_createseal.o CC tools/fapi/tss2_exportkey-tss2_template.o CC tools/fapi/tss2_getcertificate-tss2_template.o CC tools/fapi/tss2_exportkey-tss2_exportkey.o make[1]: *** [Makefile:5002: lib/libcommon_a-tpm2_eventlog_yaml.o] Error 1 make[1]: *** Waiting for unfinished jobs.... CC tools/fapi/tss2_getcertificate-tss2_getcertificate.o make[1]: Leaving directory '/tmp/instance-3/output-1/build/tpm2-tools-4.3.2' make: *** [package/pkg-generic.mk:270: /tmp/instance-3/output-1/build/tpm2-tools-4.3.2/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-3/buildroot'