>>> tpm2-tools 4.3.2 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-2/output-1/build/.tpm2-tools-4.3.2.tar.gz.HLjnXY/output' 'https://github.com/tpm2-software/tpm2-tools/releases/download/4.3.2/tpm2-tools-4.3.2.tar.gz' --2021-07-30 14:35:56-- 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=20210730T143556Z&X-Amz-Expires=300&X-Amz-Signature=76ba11f9ed6ace4b16cd52109bf547a575097b42c201d2a25981f0d0edccef9f&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 14:35:56-- 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=20210730T143556Z&X-Amz-Expires=300&X-Amz-Signature=76ba11f9ed6ace4b16cd52109bf547a575097b42c201d2a25981f0d0edccef9f&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.109.154, 185.199.111.154, 185.199.110.154, ... Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.109.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 887708 (867K) [application/octet-stream] Saving to: '/tmp/instance-2/output-1/build/.tpm2-tools-4.3.2.tar.gz.HLjnXY/output' 0K .......... .......... .......... .......... .......... 5% 8.30M 0s 50K .......... .......... .......... .......... .......... 11% 8.16M 0s 100K .......... .......... .......... .......... .......... 17% 63.1M 0s 150K .......... .......... .......... .......... .......... 23% 10.0M 0s 200K .......... .......... .......... .......... .......... 28% 11.9M 0s 250K .......... .......... .......... .......... .......... 34% 10.4M 0s 300K .......... .......... .......... .......... .......... 40% 9.78M 0s 350K .......... .......... .......... .......... .......... 46% 10.1M 0s 400K .......... .......... .......... .......... .......... 51% 12.3M 0s 450K .......... .......... .......... .......... .......... 57% 11.9M 0s 500K .......... .......... .......... .......... .......... 63% 9.56M 0s 550K .......... .......... .......... .......... .......... 69% 8.09M 0s 600K .......... .......... .......... .......... .......... 74% 13.6M 0s 650K .......... .......... .......... .......... .......... 80% 6.84M 0s 700K .......... .......... .......... .......... .......... 86% 23.4M 0s 750K .......... .......... .......... .......... .......... 92% 9.71M 0s 800K .......... .......... .......... .......... .......... 98% 8.45M 0s 850K .......... ...... 100% 369M=0.08s 2021-07-30 14:35:56 (10.7 MB/s) - '/tmp/instance-2/output-1/build/.tpm2-tools-4.3.2.tar.gz.HLjnXY/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-2/dl/tpm2-tools/tpm2-tools-4.3.2.tar.gz | tar --strip-components=1 -C /tmp/instance-2/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-2/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-2/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-2/output-1/build/tpm2-tools-4.3.2/ && rm -rf config.cache && PATH="/tmp/instance-2/output-1/host/bin:/tmp/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-2/output-1/host/bin/powerpc-linux-ar" AS="/tmp/instance-2/output-1/host/bin/powerpc-linux-as" LD="/tmp/instance-2/output-1/host/bin/powerpc-linux-ld" NM="/tmp/instance-2/output-1/host/bin/powerpc-linux-nm" CC="/tmp/instance-2/output-1/host/bin/powerpc-linux-gcc" GCC="/tmp/instance-2/output-1/host/bin/powerpc-linux-gcc" CPP="/tmp/instance-2/output-1/host/bin/powerpc-linux-cpp" CXX="/tmp/instance-2/output-1/host/bin/powerpc-linux-g++" FC="/tmp/instance-2/output-1/host/bin/powerpc-linux-gfortran" F77="/tmp/instance-2/output-1/host/bin/powerpc-linux-gfortran" RANLIB="/tmp/instance-2/output-1/host/bin/powerpc-linux-ranlib" READELF="/tmp/instance-2/output-1/host/bin/powerpc-linux-readelf" STRIP="/tmp/instance-2/output-1/host/bin/powerpc-linux-strip" OBJCOPY="/tmp/instance-2/output-1/host/bin/powerpc-linux-objcopy" OBJDUMP="/tmp/instance-2/output-1/host/bin/powerpc-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-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-2/output-1/host/lib -Wl,-rpath,/tmp/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-2/output-1/host/bin/powerpc-linux-as" DEFAULT_LINKER="/tmp/instance-2/output-1/host/bin/powerpc-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 -g2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 " LDFLAGS="" FCFLAGS=" -Os -g2" FFLAGS=" -Os -g2" PKG_CONFIG="/tmp/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-2/output-1/host/powerpc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no 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=yes ac_cv_prog_PANDOC='' CONFIG_SITE=/dev/null ./configure --target=powerpc-buildroot-linux-uclibc --host=powerpc-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 powerpc-buildroot-linux-uclibc-gcc... /tmp/instance-2/output-1/host/bin/powerpc-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-2/output-1/host/bin/powerpc-linux-gcc accepts -g... yes checking for /tmp/instance-2/output-1/host/bin/powerpc-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-2/output-1/host/bin/powerpc-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... powerpc-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-2/output-1/host/bin/powerpc-linux-gcc... /tmp/instance-2/output-1/host/bin/powerpc-linux-ld checking if the linker (/tmp/instance-2/output-1/host/bin/powerpc-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-2/output-1/host/bin/powerpc-linux-nm checking the name lister (/tmp/instance-2/output-1/host/bin/powerpc-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 powerpc-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-2/output-1/host/bin/powerpc-linux-ld option to reload object files... -r checking for powerpc-buildroot-linux-uclibc-objdump... /tmp/instance-2/output-1/host/bin/powerpc-linux-objdump checking how to recognize dependent libraries... pass_all checking for powerpc-buildroot-linux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc-buildroot-linux-uclibc-ar... /tmp/instance-2/output-1/host/bin/powerpc-linux-ar checking for archiver @FILE support... @ checking for powerpc-buildroot-linux-uclibc-strip... /tmp/instance-2/output-1/host/bin/powerpc-linux-strip checking for powerpc-buildroot-linux-uclibc-ranlib... /tmp/instance-2/output-1/host/bin/powerpc-linux-ranlib checking for gawk... gawk checking command to parse /tmp/instance-2/output-1/host/bin/powerpc-linux-nm output from /tmp/instance-2/output-1/host/bin/powerpc-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 powerpc-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-2/output-1/host/bin/powerpc-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-2/output-1/host/bin/powerpc-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-2/output-1/host/bin/powerpc-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-2/output-1/host/bin/powerpc-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-2/output-1/host/bin/powerpc-linux-gcc static flag -static works... yes checking if /tmp/instance-2/output-1/host/bin/powerpc-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-2/output-1/host/bin/powerpc-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-2/output-1/host/bin/powerpc-linux-gcc linker (/tmp/instance-2/output-1/host/bin/powerpc-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 powerpc-buildroot-linux-uclibc-strip... (cached) /tmp/instance-2/output-1/host/bin/powerpc-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-2/output-1/host/bin/powerpc-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... no checking for TSS2_FAPI_3_0... no 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-2/output-1/host/bin:/tmp/instance-2/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-2/output-1/build/tpm2-tools-4.3.2/ make[1]: Entering directory '/tmp/instance-2/output-1/build/tpm2-tools-4.3.2' CC tools/misc/tpm2_checkquote.o CC tools/misc/tpm2_eventlog.o CC tools/misc/tpm2_print.o CC tools/tpm2_activatecredential.o CC tools/misc/tpm2_rc_decode.o CC tools/tpm2_certify.o CC tools/tpm2_changeeps.o CC tools/tpm2_changeauth.o CC tools/tpm2_changepps.o CC tools/tpm2_clear.o CC tools/tpm2_clockrateadjust.o CC tools/tpm2_clearcontrol.o CC tools/tpm2_create.o CC tools/tpm2_createak.o CC tools/tpm2_createek.o CC tools/tpm2_setprimarypolicy.o CC tools/tpm2_createpolicy.o CC tools/tpm2_dictionarylockout.o CC tools/tpm2_createprimary.o CC tools/tpm2_duplicate.o CC tools/tpm2_getcap.o CC tools/tpm2_gettestresult.o CC tools/tpm2_encryptdecrypt.o CC tools/tpm2_evictcontrol.o CC tools/tpm2_flushcontext.o CC tools/tpm2_getekcertificate-tpm2_getekcertificate.o CC tools/tpm2_getekcertificate-tpm2_tool.o CC tools/tpm2_getrandom.o CC tools/tpm2_gettime.o CC tools/tpm2_hash.o CC tools/tpm2_hierarchycontrol.o CC tools/tpm2_hmac.o CC tools/tpm2_import.o CC tools/tpm2_incrementalselftest.o CC tools/tpm2_load.o CC tools/tpm2_loadexternal.o CC tools/tpm2_makecredential.o CC tools/tpm2_nvdefine.o CC tools/tpm2_nvextend.o CC tools/tpm2_nvincrement.o CC tools/tpm2_nvreadpublic.o CC tools/tpm2_nvread.o CC tools/tpm2_nvreadlock.o CC tools/tpm2_nvundefine.o CC tools/tpm2_nvwrite.o CC tools/tpm2_nvwritelock.o CC tools/tpm2_nvsetbits.o CC tools/tpm2_pcrevent.o CC tools/tpm2_pcrallocate.o CC tools/tpm2_pcrextend.o CC tools/tpm2_pcrread.o CC tools/tpm2_pcrreset.o CC tools/tpm2_policypcr.o CC tools/tpm2_policyauthorize.o CC tools/tpm2_policyauthorizenv.o CC tools/tpm2_policynv.o CC tools/tpm2_policycountertimer.o CC tools/tpm2_policyor.o CC tools/tpm2_policynamehash.o CC tools/tpm2_policytemplate.o CC tools/tpm2_policycphash.o CC tools/tpm2_policypassword.o CC tools/tpm2_policysigned.o CC tools/tpm2_policyticket.o CC tools/tpm2_policyauthvalue.o CC tools/tpm2_policysecret.o CC tools/tpm2_policyrestart.o CC tools/tpm2_policycommandcode.o CC tools/tpm2_policynvwritten.o CC tools/tpm2_policyduplicationselect.o CC tools/tpm2_policylocality.o CC tools/tpm2_quote.o CC tools/tpm2_readclock.o CC tools/tpm2_readpublic.o CC tools/tpm2_rsadecrypt.o CC tools/tpm2_rsaencrypt.o CC tools/tpm2_send.o CC tools/tpm2_selftest.o CC tools/tpm2_setclock.o CC tools/tpm2_shutdown.o CC tools/tpm2_sign.o CC tools/tpm2_certifycreation.o CC tools/tpm2_nvcertify.o CC tools/tpm2_startauthsession.o CC tools/tpm2_startup.o CC tools/tpm2_stirrandom.o CC tools/tpm2_testparms.o CC tools/tpm2_unseal.o CC tools/tpm2_verifysignature.o CC tools/tpm2_tool.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_capability.o CC lib/libcommon_a-tpm2_cc_util.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 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); | ^~~~~~~~ make[1]: *** [Makefile:5002: lib/libcommon_a-tpm2_eventlog_yaml.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/tmp/instance-2/output-1/build/tpm2-tools-4.3.2' make: *** [package/pkg-generic.mk:270: /tmp/instance-2/output-1/build/tpm2-tools-4.3.2/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-2/buildroot'