make[1]: Leaving directory '/tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3' >>> tpm2-abrmd 2.3.3 Fixing libtool files for la in $(find /tmp/instance-0/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/tmp/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-0/output-1/host/sparc64-buildroot-linux-gnu/sysroot:@STAGING_DIR@:g" \ -e "s:/tmp/instance-0/output-1/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/tmp/instance-0/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/tmp/instance-0/output-1/host/sparc64-buildroot-linux-gnu/sysroot:g" \ -e "s:@BASE_DIR@:/tmp/instance-0/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> tpm2-abrmd 2.3.3 Installing to target 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 -j1 DESTDIR=/tmp/instance-0/output-1/target install -C /tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3/ make[1]: Entering directory '/tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3' /usr/bin/make install-am make[2]: Entering directory '/tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3' make[3]: Entering directory '/tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib' /bin/bash ./libtool --mode=install /usr/bin/install -c src/libtss2-tcti-tabrmd.la '/tmp/instance-0/output-1/target/usr/lib' libtool: install: /usr/bin/install -c src/.libs/libtss2-tcti-tabrmd.so.0.0.0 /tmp/instance-0/output-1/target/usr/lib/libtss2-tcti-tabrmd.so.0.0.0 libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f libtss2-tcti-tabrmd.so.0.0.0 libtss2-tcti-tabrmd.so.0 || { rm -f libtss2-tcti-tabrmd.so.0 && ln -s libtss2-tcti-tabrmd.so.0.0.0 libtss2-tcti-tabrmd.so.0; }; }) libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f libtss2-tcti-tabrmd.so.0.0.0 libtss2-tcti-tabrmd.so || { rm -f libtss2-tcti-tabrmd.so && ln -s libtss2-tcti-tabrmd.so.0.0.0 libtss2-tcti-tabrmd.so; }; }) libtool: install: /usr/bin/install -c src/.libs/libtss2-tcti-tabrmd.lai /tmp/instance-0/output-1/target/usr/lib/libtss2-tcti-tabrmd.la libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/sbin' /bin/bash ./libtool --mode=install /usr/bin/install -c src/tpm2-abrmd '/tmp/instance-0/output-1/target/usr/sbin' libtool: install: /usr/bin/install -c src/tpm2-abrmd /tmp/instance-0/output-1/target/usr/sbin/tpm2-abrmd /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/etc/dbus-1/system.d' /usr/bin/install -c -m 644 dist/tpm2-abrmd.conf '/tmp/instance-0/output-1/target/etc/dbus-1/system.d' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/include/tss2' /usr/bin/install -c -m 644 ./src/include/tss2-tcti-tabrmd.h '/tmp/instance-0/output-1/target/usr/include/tss2' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/share/man/man3' /usr/bin/install -c -m 644 man/man3/Tss2_Tcti_Tabrmd_Init.3 '/tmp/instance-0/output-1/target/usr/share/man/man3' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/share/man/man7' /usr/bin/install -c -m 644 man/man7/tss2-tcti-tabrmd.7 '/tmp/instance-0/output-1/target/usr/share/man/man7' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/share/man/man8' /usr/bin/install -c -m 644 man/man8/tpm2-abrmd.8 '/tmp/instance-0/output-1/target/usr/share/man/man8' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' /usr/bin/install -c -m 644 dist/tss2-tcti-tabrmd.pc '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' make[3]: Leaving directory '/tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3' make[1]: Leaving directory '/tmp/instance-0/output-1/build/tpm2-abrmd-2.3.3' /usr/bin/install -D -m 0755 package/tpm2-abrmd//S80tpm2-abrmd /tmp/instance-0/output-1/target/etc/init.d/S80tpm2-abrmd tpm2-pkcs11-1.6.0.tar.gz: OK (sha256: 61e2849c07acb4acbf756bdd6a9fe44f9475343256fa0bdc966b77321169c125) >>> tpm2-pkcs11 1.6.0 Extracting gzip -d -c /tmp/instance-0/dl/tpm2-pkcs11/tpm2-pkcs11-1.6.0.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0 -xf - >>> tpm2-pkcs11 1.6.0 Patching >>> tpm2-pkcs11 1.6.0 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-pkcs11-1.6.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> tpm2-pkcs11 1.6.0 Patching libtool patching file /tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0/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-pkcs11 1.6.0 Configuring (cd /tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0/ && 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/sparc64-linux-ar" AS="/tmp/instance-0/output-1/host/bin/sparc64-linux-as" LD="/tmp/instance-0/output-1/host/bin/sparc64-linux-ld" NM="/tmp/instance-0/output-1/host/bin/sparc64-linux-nm" CC="/tmp/instance-0/output-1/host/bin/sparc64-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/sparc64-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/sparc64-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/sparc64-linux-g++" FC="/tmp/instance-0/output-1/host/bin/sparc64-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/sparc64-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/sparc64-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/sparc64-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/sparc64-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/sparc64-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/sparc64-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/sparc64-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/sparc64-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 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" 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/sparc64-buildroot-linux-gnu/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=yes CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -std=gnu99" ac_cv_prog_PANDOC='' ac_cv_prog_tpm2_createprimary=yes ac_cv_prog_tpm2_create=yes ac_cv_prog_tpm2_evictcontrol=yes ac_cv_prog_tpm2_readpublic=yes ac_cv_prog_tpm2_load=yes ac_cv_prog_tpm2_loadexternal=yes ac_cv_prog_tpm2_unseal=yes ac_cv_prog_tpm2_encryptdecrypt=yes ac_cv_prog_tpm2_sign=yes ac_cv_prog_tpm2_getcap=yes ac_cv_prog_tpm2_import=yes ac_cv_prog_tpm2_changeauth=yes CONFIG_SITE=/dev/null ./configure --target=sparc64-buildroot-linux-gnu --host=sparc64-buildroot-linux-gnu --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 --enable-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, --enable-nls checking whether to enable debugging... no checking for sparc64-buildroot-linux-gnu-gcc... /tmp/instance-0/output-1/host/bin/sparc64-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/sparc64-linux-gcc accepts -g... yes checking for /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc understands -c and -o together... yes checking build system type... x86_64-pc-linux-gnu checking host system type... sparc64-buildroot-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 /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc... /tmp/instance-0/output-1/host/bin/sparc64-linux-ld checking if the linker (/tmp/instance-0/output-1/host/bin/sparc64-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-0/output-1/host/bin/sparc64-linux-nm checking the name lister (/tmp/instance-0/output-1/host/bin/sparc64-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to sparc64-buildroot-linux-gnu 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/sparc64-linux-ld option to reload object files... -r checking for sparc64-buildroot-linux-gnu-objdump... /tmp/instance-0/output-1/host/bin/sparc64-linux-objdump checking how to recognize dependent libraries... pass_all checking for sparc64-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for sparc64-buildroot-linux-gnu-ar... /tmp/instance-0/output-1/host/bin/sparc64-linux-ar checking for archiver @FILE support... @ checking for sparc64-buildroot-linux-gnu-strip... /tmp/instance-0/output-1/host/bin/sparc64-linux-strip checking for sparc64-buildroot-linux-gnu-ranlib... /tmp/instance-0/output-1/host/bin/sparc64-linux-ranlib checking for gawk... gawk checking command to parse /tmp/instance-0/output-1/host/bin/sparc64-linux-nm output from /tmp/instance-0/output-1/host/bin/sparc64-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 sparc64-buildroot-linux-gnu-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/sparc64-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/sparc64-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc static flag -static works... yes checking if /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc linker (/tmp/instance-0/output-1/host/bin/sparc64-linux-ld -m elf64_sparc) 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 sparc64-buildroot-linux-gnu-strip... (cached) /tmp/instance-0/output-1/host/bin/sparc64-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/sparc64-linux-gcc... none checking whether make supports nested variables... (cached) yes checking whether to build with code coverage support... no checking pkg-config is at least version 0.9.0... yes checking for TSS2_ESYS... yes checking for TSS2_MU... yes checking for TSS2_TCTILDR... yes checking for TSS2_RC... yes checking for SQLITE3... yes checking for YAML... yes checking for CRYPTO... yes checking whether /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking if LD -Wl,--version-script works... yes checking for TSS2_FAPI... no checking for gcj... no checking for guavac... no checking for jikes... no checking for javac... no checking if works... checking for kaffe... no checking for java... java checking for gcj... no checking for guavac... no checking for jikes... no checking for javac... no checking if works... checking if java works... checking for tpm2_createprimary... (cached) yes checking for tpm2_create... (cached) yes checking for tpm2_evictcontrol... (cached) yes checking for tpm2_readpublic... (cached) yes checking for tpm2_load... (cached) yes checking for tpm2_loadexternal... (cached) yes checking for tpm2_unseal... (cached) yes checking for tpm2_encryptdecrypt... (cached) yes checking for tpm2_sign... (cached) yes checking for tpm2_getcap... (cached) yes checking for tpm2_import... (cached) yes checking for tpm2_changeauth... (cached) yes checking for P11KIT... no checking whether byte ordering is bigendian... (cached) 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 -fdata-sections... yes checking whether C compiler accepts -ffunction-sections... yes checking whether the linker accepts -Wl,--gc-sections... yes configure: Not using compiler options to reduce binary size! checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/tpm2-pkcs11.pc config.status: creating src/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, --enable-nls >>> tpm2-pkcs11 1.6.0 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 -j1 -C /tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0' CC src/pkcs11.lo CC src/lib/attrs.lo CC src/lib/backend.lo CC src/lib/backend_esysdb.lo CC src/lib/backend_fapi.lo CC src/lib/db.lo CC src/lib/digest.lo CC src/lib/emitter.lo CC src/lib/encrypt.lo CC src/lib/general.lo CC src/lib/key.lo CC src/lib/mech.lo CC src/lib/mutex.lo CC src/lib/object.lo CC src/lib/parser.lo CC src/lib/random.lo CC src/lib/session.lo CC src/lib/session_ctx.lo CC src/lib/session_table.lo CC src/lib/sign.lo CC src/lib/slot.lo CC src/lib/ssl_util.lo CC src/lib/token.lo CC src/lib/tpm.lo CC src/lib/twist.lo CC src/lib/typed_memory.lo CC src/lib/utils.lo CCLD src/libtpm2_pkcs11.la CCLD src/libtpm2_test_internal.la CCLD src/libtpm2_test_pkcs11.la echo timestamp > classnoinst.stamp make[1]: Leaving directory '/tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0' >>> tpm2-pkcs11 1.6.0 Installing to target 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 -j1 DESTDIR=/tmp/instance-0/output-1/target install -C /tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0/ make[1]: Entering directory '/tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0' make[2]: Entering directory '/tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib' /bin/bash ./libtool --mode=install /usr/bin/install -c src/libtpm2_pkcs11.la '/tmp/instance-0/output-1/target/usr/lib' libtool: install: /usr/bin/install -c src/.libs/libtpm2_pkcs11.so.0.0.0 /tmp/instance-0/output-1/target/usr/lib/libtpm2_pkcs11.so.0.0.0 libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f libtpm2_pkcs11.so.0.0.0 libtpm2_pkcs11.so.0 || { rm -f libtpm2_pkcs11.so.0 && ln -s libtpm2_pkcs11.so.0.0.0 libtpm2_pkcs11.so.0; }; }) libtool: install: (cd /tmp/instance-0/output-1/target/usr/lib && { ln -s -f libtpm2_pkcs11.so.0.0.0 libtpm2_pkcs11.so || { rm -f libtpm2_pkcs11.so && ln -s libtpm2_pkcs11.so.0.0.0 libtpm2_pkcs11.so; }; }) libtool: install: /usr/bin/install -c src/.libs/libtpm2_pkcs11.lai /tmp/instance-0/output-1/target/usr/lib/libtpm2_pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' /usr/bin/install -c -m 644 lib/tpm2-pkcs11.pc '/tmp/instance-0/output-1/target/usr/lib/pkgconfig' make[2]: Leaving directory '/tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0' make[1]: Leaving directory '/tmp/instance-0/output-1/build/tpm2-pkcs11-1.6.0' trace-cmd-trace-cmd-v2.9.1-br1.tar.gz: OK (sha256: 8bab29530cd05272dccab48c9780644758e71ed990ce65c701b9095f7beae417) >>> trace-cmd trace-cmd-v2.9.1 Extracting gzip -d -c /tmp/instance-0/dl/trace-cmd/trace-cmd-trace-cmd-v2.9.1-br1.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1 -xf - >>> trace-cmd trace-cmd-v2.9.1 Patching Applying 0001-trace-cmd-libtracecmd-API-cleanup.patch using patch: patching file Makefile patching file include/trace-cmd/trace-cmd.h Hunk #1 succeeded at 8 with fuzz 2 (offset -1 lines). patching file include/trace-cmd/trace-filter-hash.h patching file include/trace-cmd/trace-hash.h patching file include/trace-cmd/trace-msg.h patching file lib/trace-cmd/include/private/trace-cmd-private.h patching file lib/trace-cmd/include/private/trace-filter-hash.h patching file lib/trace-cmd/include/private/trace-hash.h patching file lib/trace-cmd/include/private/trace-msg.h patching file lib/trace-cmd/include/trace-cmd-local.h patching file lib/trace-cmd/trace-ftrace.c patching file lib/trace-cmd/trace-hooks.c patching file lib/trace-cmd/trace-recorder.c patching file lib/trace-cmd/trace-timesync.c patching file lib/trace-cmd/trace-util.c patching file lib/traceevent/plugins/plugin_python_loader.c patching file python/ctracecmd.i patching file tracecmd/include/trace-local.h Applying 0002-trace-cmd-make-it-build-against-musl-C-library.patch using patch: patching file lib/trace-cmd/include/private/trace-cmd-private.h patching file lib/trace-cmd/include/trace-cmd-local.h patching file lib/tracefs/include/tracefs-local.h Hunk #1 succeeded at 10 with fuzz 2 (offset -3 lines). patching file lib/tracefs/tracefs-events.c patching file tracecmd/include/trace-local.h patching file tracecmd/trace-tsync.c Applying 0003-trace-cmd-Move-add_event_pid-out-of-ifndef-NO_PTRACE.patch using patch: patching file tracecmd/trace-record.c Hunk #1 succeeded at 1317 (offset 5 lines). Hunk #2 succeeded at 1379 (offset 5 lines). >>> trace-cmd trace-cmd-v2.9.1 Configuring >>> trace-cmd trace-cmd-v2.9.1 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" AR="/tmp/instance-0/output-1/host/bin/sparc64-linux-ar" AS="/tmp/instance-0/output-1/host/bin/sparc64-linux-as" LD="/tmp/instance-0/output-1/host/bin/sparc64-linux-ld" NM="/tmp/instance-0/output-1/host/bin/sparc64-linux-nm" CC="/tmp/instance-0/output-1/host/bin/sparc64-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/sparc64-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/sparc64-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/sparc64-linux-g++" FC="/tmp/instance-0/output-1/host/bin/sparc64-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/sparc64-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/sparc64-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/sparc64-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/sparc64-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/sparc64-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/sparc64-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/sparc64-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/sparc64-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 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" 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/sparc64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" /usr/bin/make -j1 prefix=/usr etcdir=/etc PYTHON_VERS=python -C /tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1 make[1]: Entering directory '/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1' UPDATE trace_python_dir UPDATE traceevent_plugin_dir COMPILE FPIC event-parse.o COMPILE FPIC event-plugin.o COMPILE FPIC kbuffer-parse.o COMPILE FPIC trace-seq.o COMPILE FPIC parse-filter.o COMPILE FPIC parse-utils.o COMPILE FPIC event-parse-api.o COMPILE FPIC tep_strerror.o BUILD STATIC LIB libtraceevent.a COMPILE FPIC trace-hash.o COMPILE FPIC trace-hooks.o COMPILE FPIC trace-input.o COMPILE FPIC trace-output.o COMPILE FPIC trace-recorder.o trace-recorder.c: In function 'tracecmd_free_recorder': trace-recorder.c:91:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 91 | ftruncate(recorder->fd1, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-recorder.c: In function 'tracecmd_flush_recording': trace-recorder.c:538:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 538 | write(recorder->fd, buf, ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-recorder.c:548:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 548 | write(recorder->fd, buf, recorder->page_size - wrote); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-recorder.c: In function 'update_fd': trace-recorder.c:375:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 375 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ COMPILE FPIC trace-util.o trace-util.c: In function 'tracecmd_generate_traceid': trace-util.c:534:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] 534 | asprintf(&str, "%ld %ld %ld %ld %ld %ld %ld %ld %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 535 | ts.tv_sec, ts.tv_nsec, | ~~~~~~~~~~~~~~~~~~~~~~ 536 | sinfo.loads[0], sinfo.loads[1], sinfo.loads[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 537 | sinfo.freeram, sinfo.sharedram, sinfo.freeswap, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 538 | sinfo.procs); | ~~~~~~~~~~~~ COMPILE FPIC trace-filter-hash.o COMPILE FPIC trace-msg.o COMPILE FPIC trace-plugin.o COMPILE FPIC trace-timesync.o COMPILE FPIC trace-blk-hack.o COMPILE FPIC trace-ftrace.o BUILD STATIC LIB libtracecmd.a COMPILE FPIC tracefs-utils.o COMPILE FPIC tracefs-instance.o COMPILE FPIC tracefs-events.o tracefs-events.c: In function 'tracefs_system_events': tracefs-events.c:343:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] 343 | asprintf(&system_dir, "%s/events/%s", tracing_dir, system); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILD STATIC LIB libtracefs.a UPDATE tracecmd_plugin_dir UPDATE tc_version.h COMPILE trace-cmd.o COMPILE trace-record.o trace-record.c: In function 'check_tracing_enabled': trace-record.c:2360:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 2360 | write(fd, "1", 1); | ^~~~~~~~~~~~~~~~~ trace-record.c: In function 'update_ftrace_pid': trace-record.c:939:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 939 | write(fd, " ", 1); | ^~~~~~~~~~~~~~~~~ trace-record.c: In function 'check_protocol_version': trace-record.c:3684:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3684 | write(fd, V3_CPU, sizeof(V3_CPU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c:3699:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3699 | write(fd, V3_MAGIC, sizeof(V3_MAGIC)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'check_first_msg_from_server': trace-record.c:3583:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 3583 | read(msg_handle->fd, buf, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'communicate_with_listener_v1': trace-record.c:3603:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3603 | write(msg_handle->fd, buf, strlen(buf)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c:3609:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3609 | write(msg_handle->fd, buf, strlen(buf)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c:3625:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3625 | write(msg_handle->fd, "1", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c:3627:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3627 | write(msg_handle->fd, "4", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c:3629:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3629 | write(msg_handle->fd, "TCP", 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c:3632:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 3632 | write(msg_handle->fd, "0", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'get_date_to_ts': trace-record.c:4662:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 4662 | write(tfd, STAMP, 5); | ^~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'functions_filtered': trace-record.c:4509:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 4509 | read(fd, buf, 1); | ^~~~~~~~~~~~~~~~ trace-record.c: In function 'set_mask': trace-record.c:2696:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 2696 | write(fd, instance->cpumask, strlen(instance->cpumask)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'make_pid_filter': trace-record.c:1076:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] 1076 | asprintf(&filter, "(%s)&&(%s)", curr_filter, filter); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE trace-read.o COMPILE trace-split.o trace-split.c: In function 'write_page': trace-split.c:149:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 149 | write(cpu_data->fd, cpu_data->page, page_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE trace-listen.o trace-listen.c: In function 'make_pid_file': trace-listen.c:845:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 845 | write(fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-listen.c: In function 'communicate_with_client': trace-listen.c:304:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 304 | write(fd, "tracecmd", 8); | ^~~~~~~~~~~~~~~~~~~~~~~~ trace-listen.c:338:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 338 | write(fd, "V3", 3); | ^~~~~~~~~~~~~~~~~~ trace-listen.c:343:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 343 | write(fd, "V3", 3); | ^~~~~~~~~~~~~~~~~~ trace-listen.c:351:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 351 | write(fd, "OK", 2); | ^~~~~~~~~~~~~~~~~~ trace-listen.c: In function 'create_all_readers': trace-listen.c:519:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 519 | write(msg_handle->fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-listen.c:522:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 522 | write(msg_handle->fd, "\0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE trace-stack.o COMPILE trace-hist.o COMPILE trace-mem.o COMPILE trace-snapshot.o COMPILE trace-stat.o COMPILE trace-profile.o trace-profile.c:23:3: warning: #warning "lib audit not found, using raw syscalls " "(install libaudit-devel and try again)" [-Wcpp] 23 | # warning "lib audit not found, using raw syscalls " \ | ^~~~~~~ COMPILE trace-stream.o COMPILE trace-restore.o COMPILE trace-check-events.o COMPILE trace-show.o COMPILE trace-list.o COMPILE trace-usage.o COMPILE trace-dump.o COMPILE trace-tsync.o COMPILE trace-agent.o COMPILE trace-setup-guest.o trace-setup-guest.c: In function 'get_guest_cpu_count': trace-setup-guest.c:108:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 108 | fscanf(f, "%d", &nr_cpus); | ^~~~~~~~~~~~~~~~~~~~~~~~~ trace-setup-guest.c: In function 'attach_guest_fifos': trace-setup-guest.c:135:3: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 135 | pwrite(fd, xml, strlen(xml), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILD trace-cmd swig -Wall -python -noproxy -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/traceevent -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/trace-cmd ctracecmd.i /tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/traceevent/event-parse.h:64: Warning 451: Setting a const char * variable may leak memory. /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc -fpic -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -DVSOCK -D_GNU_SOURCE -DWARN_NO_AUDIT -DNO_AUDIT -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/include -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/../../include -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/traceevent -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/trace-cmd -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/tracefs -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/traceevent/include -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/include -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/include/private -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/tracefs/include -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/tracecmd/include -I/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/tracecmd/include -DVAR_DIR="/var" '-DPLUGIN_TRACEEVENT_DIR="/usr/lib/traceevent/plugins"' '-DPLUGIN_TRACECMD_DIR=""' -DHAVE_BLK_TC_FLUSH `pkg-config --cflags python` ctracecmd_wrap.c /tmp/instance-0/output-1/host/bin/sparc64-linux-gcc --shared /tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/libtracecmd.a ctracecmd_wrap.o -o ctracecmd.so -L/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd -ltracecmd -L/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/traceevent -ltraceevent -L/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/tracefs -ltracefs ctracecmd_wrap.o: in function `SWIG_Python_ErrorType': ctracecmd_wrap.c:(.text+0x88): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_RuntimeError' ctracecmd_wrap.c:(.text+0xac): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_MemoryError' ctracecmd_wrap.c:(.text+0xbc): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_IOError' ctracecmd_wrap.c:(.text+0xc4): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_RuntimeError' ctracecmd_wrap.c:(.text+0xcc): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_IndexError' ctracecmd_wrap.c:(.text+0xd4): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_TypeError' ctracecmd_wrap.c:(.text+0xdc): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_ZeroDivisionError' ctracecmd_wrap.c:(.text+0xe4): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_OverflowError' ctracecmd_wrap.c:(.text+0xec): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_SyntaxError' ctracecmd_wrap.c:(.text+0xf4): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_ValueError' ctracecmd_wrap.c:(.text+0xfc): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status make[2]: *** [Makefile:12: ctracecmd.so] Error 1 make[1]: *** [Makefile:485: ctracecmd.so] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1' make: *** [package/pkg-generic.mk:270: /tmp/instance-0/output-1/build/trace-cmd-trace-cmd-v2.9.1/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'