>>> tpm2-tools 4.3.2 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-0/output-1/build/.tpm2-tools-4.3.2.tar.gz.FTcyvH/output' 'https://github.com/tpm2-software/tpm2-tools/releases/download/4.3.2/tpm2-tools-4.3.2.tar.gz' --2021-07-30 12:57:48-- 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%2F20210730%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210730T125749Z&X-Amz-Expires=300&X-Amz-Signature=3c47082b02776debb4fc8b8294a065b7247cce4c08ec1d5bd9b868796c71d1a7&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-30 12:57:49-- https://github-releases.githubusercontent.com/41126332/e3367100-d273-11eb-8593-0552f09e0a66?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210730%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210730T125749Z&X-Amz-Expires=300&X-Amz-Signature=3c47082b02776debb4fc8b8294a065b7247cce4c08ec1d5bd9b868796c71d1a7&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.111.154, 185.199.110.154, 185.199.109.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.111.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 887708 (867K) [application/octet-stream] Saving to: '/tmp/instance-0/output-1/build/.tpm2-tools-4.3.2.tar.gz.FTcyvH/output' 0K .......... .......... .......... .......... .......... 5% 5.46M 0s 50K .......... .......... .......... .......... .......... 11% 6.10M 0s 100K .......... .......... .......... .......... .......... 17% 6.46M 0s 150K .......... .......... .......... .......... .......... 23% 5.55M 0s 200K .......... .......... .......... .......... .......... 28% 9.16M 0s 250K .......... .......... .......... .......... .......... 34% 6.43M 0s 300K .......... .......... .......... .......... .......... 40% 5.39M 0s 350K .......... .......... .......... .......... .......... 46% 7.26M 0s 400K .......... .......... .......... .......... .......... 51% 2.17M 0s 450K .......... .......... .......... .......... .......... 57% 7.41M 0s 500K .......... .......... .......... .......... .......... 63% 5.70M 0s 550K .......... .......... .......... .......... .......... 69% 8.43M 0s 600K .......... .......... .......... .......... .......... 74% 7.14M 0s 650K .......... .......... .......... .......... .......... 80% 5.52M 0s 700K .......... .......... .......... .......... .......... 86% 8.33M 0s 750K .......... .......... .......... .......... .......... 92% 5.86M 0s 800K .......... .......... .......... .......... .......... 98% 6.42M 0s 850K .......... ...... 100% 46.2M=0.1s 2021-07-30 12:57:49 (5.91 MB/s) - '/tmp/instance-0/output-1/build/.tpm2-tools-4.3.2.tar.gz.FTcyvH/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-0/dl/tpm2-tools/tpm2-tools-4.3.2.tar.gz | tar --strip-components=1 -C /tmp/instance-0/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-0/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-0/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-0/output-1/build/tpm2-tools-4.3.2/ && rm -rf config.cache && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arc-linux-ar" AS="/tmp/instance-0/output-1/host/bin/arc-linux-as" LD="/tmp/instance-0/output-1/host/bin/arc-linux-ld" NM="/tmp/instance-0/output-1/host/bin/arc-linux-nm" CC="/tmp/instance-0/output-1/host/bin/arc-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/arc-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/arc-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/arc-linux-g++" FC="/tmp/instance-0/output-1/host/bin/arc-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/arc-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arc-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arc-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arc-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arc-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arc-linux-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-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arc-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arc-linux-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-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arc-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=arc-buildroot-linux-uclibc --host=arc-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 arc-buildroot-linux-uclibc-gcc... /tmp/instance-0/output-1/host/bin/arc-linux-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-0/output-1/host/bin/arc-linux-gcc accepts -g... yes checking for /tmp/instance-0/output-1/host/bin/arc-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-0/output-1/host/bin/arc-linux-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... arc-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-0/output-1/host/bin/arc-linux-gcc... /tmp/instance-0/output-1/host/bin/arc-linux-ld checking if the linker (/tmp/instance-0/output-1/host/bin/arc-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-0/output-1/host/bin/arc-linux-nm checking the name lister (/tmp/instance-0/output-1/host/bin/arc-linux-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 arc-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-0/output-1/host/bin/arc-linux-ld option to reload object files... -r checking for arc-buildroot-linux-uclibc-objdump... /tmp/instance-0/output-1/host/bin/arc-linux-objdump checking how to recognize dependent libraries... pass_all checking for arc-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arc-buildroot-linux-uclibc-ar... /tmp/instance-0/output-1/host/bin/arc-linux-ar checking for archiver @FILE support... @ checking for arc-buildroot-linux-uclibc-strip... /tmp/instance-0/output-1/host/bin/arc-linux-strip checking for arc-buildroot-linux-uclibc-ranlib... /tmp/instance-0/output-1/host/bin/arc-linux-ranlib checking for gawk... gawk checking command to parse /tmp/instance-0/output-1/host/bin/arc-linux-nm output from /tmp/instance-0/output-1/host/bin/arc-linux-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 arc-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-0/output-1/host/bin/arc-linux-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-0/output-1/host/bin/arc-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-0/output-1/host/bin/arc-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-0/output-1/host/bin/arc-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-0/output-1/host/bin/arc-linux-gcc static flag -static works... yes checking if /tmp/instance-0/output-1/host/bin/arc-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-0/output-1/host/bin/arc-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-0/output-1/host/bin/arc-linux-gcc linker (/tmp/instance-0/output-1/host/bin/arc-linux-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 arc-buildroot-linux-uclibc-strip... (cached) /tmp/instance-0/output-1/host/bin/arc-linux-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-0/output-1/host/bin/arc-linux-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-0/output-1/host/bin:/tmp/instance-0/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-0/output-1/build/tpm2-tools-4.3.2/ make[1]: Entering directory '/tmp/instance-0/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-tool_rc.o CC lib/libcommon_a-tpm2.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_cc_util.o CC lib/libcommon_a-tpm2_capability.o CC lib/libcommon_a-tpm2_convert.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_kdfe.o CC lib/libcommon_a-tpm2_openssl.o CC lib/libcommon_a-tpm2_options.o CC lib/libcommon_a-tpm2_policy.o CC lib/libcommon_a-tpm2_session.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_list.o CC tools/fapi/tss2_list-tss2_template.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_import-tss2_template.o CC tools/fapi/tss2_delete-tss2_delete.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 CC tools/fapi/tss2_createseal-tss2_createseal.o CC tools/fapi/tss2_exportkey-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_exportkey-tss2_exportkey.o CC tools/fapi/tss2_getcertificate-tss2_template.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-0/output-1/build/tpm2-tools-4.3.2' make: *** [package/pkg-generic.mk:270: /tmp/instance-0/output-1/build/tpm2-tools-4.3.2/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'