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-1/output-1/host/bin/sparc64-linux-gcc... /tmp/instance-1/output-1/host/bin/sparc64-linux-ld checking if the linker (/tmp/instance-1/output-1/host/bin/sparc64-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-1/output-1/host/bin/sparc64-linux-nm checking the name lister (/tmp/instance-1/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-1/output-1/host/bin/sparc64-linux-ld option to reload object files... -r checking for sparc64-buildroot-linux-gnu-objdump... /tmp/instance-1/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-1/output-1/host/bin/sparc64-linux-ar checking for archiver @FILE support... @ checking for sparc64-buildroot-linux-gnu-strip... /tmp/instance-1/output-1/host/bin/sparc64-linux-strip checking for sparc64-buildroot-linux-gnu-ranlib... /tmp/instance-1/output-1/host/bin/sparc64-linux-ranlib checking for gawk... gawk checking command to parse /tmp/instance-1/output-1/host/bin/sparc64-linux-nm output from /tmp/instance-1/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-1/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-1/output-1/host/bin/sparc64-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-1/output-1/host/bin/sparc64-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-1/output-1/host/bin/sparc64-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-1/output-1/host/bin/sparc64-linux-gcc static flag -static works... yes checking if /tmp/instance-1/output-1/host/bin/sparc64-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-1/output-1/host/bin/sparc64-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-1/output-1/host/bin/sparc64-linux-gcc linker (/tmp/instance-1/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-1/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 for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of /tmp/instance-1/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-1/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... yes checking p11 module path... /usr/lib/pkcs11 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, --disable-nls >>> tpm2-pkcs11 1.5.0 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/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-1/output-1/build/tpm2-pkcs11-1.5.0/ make[1]: Entering directory '/tmp/instance-1/output-1/build/tpm2-pkcs11-1.5.0' echo timestamp > classnoinst.stamp 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_test_internal.la CCLD src/libtpm2_pkcs11.la CCLD src/libtpm2_test_pkcs11.la make[1]: Leaving directory '/tmp/instance-1/output-1/build/tpm2-pkcs11-1.5.0' >>> tpm2-pkcs11 1.5.0 Installing to target PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-1/output-1/target install -C /tmp/instance-1/output-1/build/tpm2-pkcs11-1.5.0/ make[1]: Entering directory '/tmp/instance-1/output-1/build/tpm2-pkcs11-1.5.0' make[2]: Entering directory '/tmp/instance-1/output-1/build/tpm2-pkcs11-1.5.0' /usr/bin/mkdir -p '/tmp/instance-1/output-1/target/usr/share/p11-kit/modules' /usr/bin/mkdir -p '/tmp/instance-1/output-1/target/usr/lib/pkcs11' /usr/bin/mkdir -p '/tmp/instance-1/output-1/target/usr/lib/pkgconfig' /bin/bash ./libtool --mode=install /usr/bin/install -c src/libtpm2_pkcs11.la '/tmp/instance-1/output-1/target/usr/lib/pkcs11' /usr/bin/install -c -m 644 ./misc/p11-kit/tpm2_pkcs11.module '/tmp/instance-1/output-1/target/usr/share/p11-kit/modules' /usr/bin/install -c -m 644 lib/tpm2-pkcs11.pc '/tmp/instance-1/output-1/target/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c src/.libs/libtpm2_pkcs11.so.0.0.0 /tmp/instance-1/output-1/target/usr/lib/pkcs11/libtpm2_pkcs11.so.0.0.0 libtool: install: (cd /tmp/instance-1/output-1/target/usr/lib/pkcs11 && { 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-1/output-1/target/usr/lib/pkcs11 && { 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-1/output-1/target/usr/lib/pkcs11/libtpm2_pkcs11.la libtool: warning: remember to run 'libtool --finish /usr/lib/pkcs11' make[2]: Leaving directory '/tmp/instance-1/output-1/build/tpm2-pkcs11-1.5.0' make[1]: Leaving directory '/tmp/instance-1/output-1/build/tpm2-pkcs11-1.5.0' >>> trace-cmd trace-cmd-v2.9.1 Downloading GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git init . Initialized empty Git repository in /tmp/instance-1/dl/trace-cmd/git/.git/ GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git remote add origin 'https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git' GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git remote set-url origin 'https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git' Fetching all references GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git fetch origin From https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd * [new branch] master -> origin/master * [new branch] trace-cmd -> origin/trace-cmd * [new branch] trace-cmd-stable-v2.8 -> origin/trace-cmd-stable-v2.8 * [new branch] trace-cmd-stable-v2.9 -> origin/trace-cmd-stable-v2.9 * [new tag] trace-cmd-v2.8.3 -> trace-cmd-v2.8.3 * [new tag] trace-cmd-v2.9.5 -> trace-cmd-v2.9.5 * [new tag] kernelshark-v0.9.8 -> kernelshark-v0.9.8 * [new tag] kernelshark-v1.0 -> kernelshark-v1.0 * [new tag] kernelshark-v1.1 -> kernelshark-v1.1 * [new tag] kernelshark-v1.2 -> kernelshark-v1.2 * [new tag] kernelshark-v1.3 -> kernelshark-v1.3 * [new tag] libtracecmd-1.1.0 -> libtracecmd-1.1.0 * [new tag] trace-cmd-v2.7 -> trace-cmd-v2.7 * [new tag] trace-cmd-v2.8 -> trace-cmd-v2.8 * [new tag] trace-cmd-v2.8.1 -> trace-cmd-v2.8.1 * [new tag] trace-cmd-v2.8.2 -> trace-cmd-v2.8.2 * [new tag] trace-cmd-v2.9 -> trace-cmd-v2.9 * [new tag] trace-cmd-v2.9.1 -> trace-cmd-v2.9.1 * [new tag] trace-cmd-v2.9.2 -> trace-cmd-v2.9.2 * [new tag] trace-cmd-v2.9.3 -> trace-cmd-v2.9.3 * [new tag] trace-cmd-v2.9.4 -> trace-cmd-v2.9.4 GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git fetch origin -t Could not fetch special ref 'trace-cmd-v2.9.1'; assuming it is not special. GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git checkout -f -q 'trace-cmd-v2.9.1' GIT_DIR=/tmp/instance-1/dl/trace-cmd/git/.git git clean -ffdx 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-1/dl/trace-cmd/trace-cmd-trace-cmd-v2.9.1-br1.tar.gz | tar --strip-components=1 -C /tmp/instance-1/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-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-1/output-1/host/bin/sparc64-linux-ar" AS="/tmp/instance-1/output-1/host/bin/sparc64-linux-as" LD="/tmp/instance-1/output-1/host/bin/sparc64-linux-ld" NM="/tmp/instance-1/output-1/host/bin/sparc64-linux-nm" CC="/tmp/instance-1/output-1/host/bin/sparc64-linux-gcc" GCC="/tmp/instance-1/output-1/host/bin/sparc64-linux-gcc" CPP="/tmp/instance-1/output-1/host/bin/sparc64-linux-cpp" CXX="/tmp/instance-1/output-1/host/bin/sparc64-linux-g++" FC="/tmp/instance-1/output-1/host/bin/sparc64-linux-gfortran" F77="/tmp/instance-1/output-1/host/bin/sparc64-linux-gfortran" RANLIB="/tmp/instance-1/output-1/host/bin/sparc64-linux-ranlib" READELF="/tmp/instance-1/output-1/host/bin/sparc64-linux-readelf" STRIP="/tmp/instance-1/output-1/host/bin/sparc64-linux-strip" OBJCOPY="/tmp/instance-1/output-1/host/bin/sparc64-linux-objcopy" OBJDUMP="/tmp/instance-1/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-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-1/output-1/host/lib -Wl,-rpath,/tmp/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-1/output-1/host/bin/sparc64-linux-as" DEFAULT_LINKER="/tmp/instance-1/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 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-1/output-1/host/sparc64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1" CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" /usr/bin/make -j96 prefix=/usr etcdir=/etc PYTHON_VERS=python -C /tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1 make[1]: Entering directory '/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1' UPDATE trace_python_dir UPDATE traceevent_plugin_dir COMPILE FPIC trace-hash.o COMPILE FPIC trace-hooks.o COMPILE FPIC trace-filter-hash.o UPDATE tracecmd_plugin_dir COMPILE FPIC trace-recorder.o COMPILE FPIC trace-input.o COMPILE FPIC trace-plugin.o COMPILE FPIC trace-blk-hack.o COMPILE FPIC trace-output.o COMPILE FPIC trace-msg.o COMPILE FPIC trace-ftrace.o COMPILE FPIC trace-util.o COMPILE FPIC tracefs-instance.o COMPILE FPIC trace-timesync.o COMPILE FPIC tracefs-utils.o COMPILE PLUGIN OBJ plugin_python_loader.o COMPILE FPIC tracefs-events.o COMPILE PLUGIN OBJ plugin_hrtimer.o COMPILE PLUGIN OBJ plugin_kvm.o COMPILE PLUGIN OBJ plugin_xen.o COMPILE PLUGIN OBJ plugin_futex.o COMPILE PLUGIN OBJ plugin_blk.o COMPILE PLUGIN OBJ plugin_function.o COMPILE PLUGIN OBJ plugin_jbd2.o make[2]: Nothing to be done for 'all'. COMPILE PLUGIN OBJ plugin_tlb.o COMPILE PLUGIN OBJ plugin_kmem.o COMPILE PLUGIN OBJ plugin_sched_switch.o COMPILE PLUGIN OBJ plugin_scsi.o COMPILE PLUGIN OBJ plugin_cfg80211.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 PLUGIN OBJ plugin_mac80211.o Note: to build the gui, type "make gui" to build man pages, type "make doc" to build unit tests, type "make test" 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); | ~~~~~~~~~~~~ plugin_futex.c: In function 'futex_handler': plugin_futex.c:93:13: warning: implicit declaration of function 'ARRAY_SIZE' [-Wimplicit-function-declaration] 93 | if (cmd >= ARRAY_SIZE(futex_op_tbl)) | ^~~~~~~~~~ plugin_blk.c: In function 'be32_to_cpu': plugin_blk.c:132:6: warning: implicit declaration of function 'tracecmd_host_bigendian' [-Wimplicit-function-declaration] 132 | if (tracecmd_host_bigendian()) | ^~~~~~~~~~~~~~~~~~~~~~~ plugin_blk.c: In function 'blktrace_handler': plugin_blk.c:355:27: warning: implicit declaration of function 'ARRAY_SIZE' [-Wimplicit-function-declaration] 355 | if (what == 0 || what >= ARRAY_SIZE(what2act)) | ^~~~~~~~~~ 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 PLUGIN plugin_xen.so BUILD PLUGIN plugin_jbd2.so BUILD PLUGIN plugin_cfg80211.so BUILD PLUGIN plugin_hrtimer.so BUILD PLUGIN plugin_futex.so BUILD PLUGIN plugin_tlb.so COMPILE FPIC tep_strerror.o COMPILE FPIC parse-utils.o COMPILE FPIC trace-seq.o BUILD PLUGIN plugin_kmem.so BUILD PLUGIN plugin_sched_switch.so COMPILE FPIC kbuffer-parse.o COMPILE FPIC event-parse-api.o COMPILE FPIC parse-filter.o COMPILE FPIC event-plugin.o BUILD PLUGIN plugin_mac80211.so COMPILE FPIC event-parse.o BUILD PLUGIN plugin_python_loader.so BUILD PLUGIN plugin_kvm.so BUILD PLUGIN plugin_scsi.so BUILD PLUGIN plugin_blk.so BUILD PLUGIN plugin_function.so BUILD STATIC LIB libtracefs.a BUILD STATIC LIB libtracecmd.a swig -Wall -python -noproxy -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/traceevent -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/trace-cmd ctracecmd.i /tmp/instance-1/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-1/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 -D_FORTIFY_SOURCE=1 -DVSOCK -D_GNU_SOURCE -DWARN_NO_AUDIT -DNO_AUDIT -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/include -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/../../include -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/traceevent -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/trace-cmd -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/tracefs -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/traceevent/include -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/include -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/include/private -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/tracefs/include -I/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/tracecmd/include -I/tmp/instance-1/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 BUILD STATIC LIB libtraceevent.a UPDATE tc_version.h COMPILE trace-cmd.o COMPILE trace-usage.o COMPILE trace-show.o COMPILE trace-list.o COMPILE trace-mem.o COMPILE trace-snapshot.o COMPILE trace-hist.o COMPILE trace-stat.o COMPILE trace-profile.o COMPILE trace-dump.o COMPILE trace-setup-guest.o COMPILE trace-stream.o COMPILE trace-check-events.o COMPILE trace-read.o COMPILE trace-tsync.o COMPILE trace-split.o COMPILE trace-listen.o COMPILE trace-stack.o COMPILE trace-restore.o COMPILE trace-agent.o COMPILE trace-record.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 " \ | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILD trace-cmd /tmp/instance-1/output-1/host/bin/sparc64-linux-gcc --shared /tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/libtracecmd.a ctracecmd_wrap.o -o ctracecmd.so -L/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd -ltracecmd -L/tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/traceevent -ltraceevent -L/tmp/instance-1/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-1/output-1/build/trace-cmd-trace-cmd-v2.9.1' make: *** [package/pkg-generic.mk:250: /tmp/instance-1/output-1/build/trace-cmd-trace-cmd-v2.9.1/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-1/buildroot'