Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/jsc/javascriptkw.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/jsc/javascriptprimtypes.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/jsc/javascriptrun.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/jsc/javascriptruntime.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/jsc/javascriptstrings.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/jsc/javascripttypemaps.swg Installing language specific files for javascript/v8 Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/arrays_javascript.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/ccomplex.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/cdata.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/complex.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/exception.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_common.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_complex.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_deque.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_except.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_map.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_pair.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_string.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/std_vector.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/stl.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/typemaps.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascript.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptcode.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptcomplex.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptfragments.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascripthelpers.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptinit.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptkw.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptprimtypes.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptrun.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptruntime.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascriptstrings.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/javascript/v8/javascripttypemaps.swg Installing language specific files for scilab Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/boost_shared_ptr.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/carrays.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/cmalloc.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/cpointer.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/exception.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/matrix.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_alloc.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_basic_string.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_char_traits.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_common.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_container.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_deque.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_except.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_list.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_map.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_multiset.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_pair.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_set.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_shared_ptr.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_string.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/std_vector.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/stl.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/typemaps.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciarray.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scibool.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scichar.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scicontainer.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scidouble.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scienum.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciexception.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scifloat.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciint.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciiterators.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scilab.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scilist.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scilong.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scilonglong.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scimacros.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scimatrixbool.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scimatrixchar.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scimatrixdouble.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scimatrixint.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scimisctypes.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scipointer.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciprimtypes.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scirun.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciruntime.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisequence.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisequencebool.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisequencedouble.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisequencefloat.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisequenceint.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisequencepointer.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisequencestring.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scishort.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scisignedchar.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scistdcommon.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/scitypemaps.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciunsignedchar.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciunsignedint.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciunsignedlong.swg Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/scilab/sciunsignedshort.swg Installing language specific files for xml Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/xml/typemaps.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/xml/xml.swg Installing language specific files for std Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/_std_deque.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_alloc.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_array.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_basic_string.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_char_traits.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_common.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_container.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_deque.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_except.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_ios.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_iostream.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_list.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_map.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_multimap.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_multiset.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_pair.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_queue.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_set.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_sstream.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_stack.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_streambuf.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_string.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_unordered_map.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_unordered_multimap.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_unordered_multiset.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_unordered_set.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_vector.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_vectora.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_wios.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_wiostream.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_wsstream.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_wstreambuf.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_wstring.i Installing /tmp/instance-4/output-1/host/share/swig/4.0.2/std/std_carray.swg Installation complete make[1]: Leaving directory '/tmp/instance-4/output-1/build/host-swig-4.0.2' ln -fs swig /tmp/instance-4/output-1/host/bin/swig4.0 ln -fs swig /tmp/instance-4/output-1/host/bin/swig3.0 >>> trace-cmd trace-cmd-v2.9.1 Downloading GIT_DIR=/tmp/instance-4/dl/trace-cmd/git/.git git init . Initialized empty Git repository in /tmp/instance-4/dl/trace-cmd/git/.git/ GIT_DIR=/tmp/instance-4/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-4/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-4/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-4/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-4/dl/trace-cmd/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' GIT_DIR=/tmp/instance-4/dl/trace-cmd/git/.git git checkout -f -q 'trace-cmd-v2.9.1' GIT_DIR=/tmp/instance-4/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-4/dl/trace-cmd/trace-cmd-trace-cmd-v2.9.1-br1.tar.gz | tar --strip-components=1 -C /tmp/instance-4/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-4/output-1/host/bin:/tmp/instance-4/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-4/output-1/host/bin/sparc64-linux-ar" AS="/tmp/instance-4/output-1/host/bin/sparc64-linux-as" LD="/tmp/instance-4/output-1/host/bin/sparc64-linux-ld" NM="/tmp/instance-4/output-1/host/bin/sparc64-linux-nm" CC="/tmp/instance-4/output-1/host/bin/sparc64-linux-gcc" GCC="/tmp/instance-4/output-1/host/bin/sparc64-linux-gcc" CPP="/tmp/instance-4/output-1/host/bin/sparc64-linux-cpp" CXX="/tmp/instance-4/output-1/host/bin/sparc64-linux-g++" FC="/tmp/instance-4/output-1/host/bin/sparc64-linux-gfortran" F77="/tmp/instance-4/output-1/host/bin/sparc64-linux-gfortran" RANLIB="/tmp/instance-4/output-1/host/bin/sparc64-linux-ranlib" READELF="/tmp/instance-4/output-1/host/bin/sparc64-linux-readelf" STRIP="/tmp/instance-4/output-1/host/bin/sparc64-linux-strip" OBJCOPY="/tmp/instance-4/output-1/host/bin/sparc64-linux-objcopy" OBJDUMP="/tmp/instance-4/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-4/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-4/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-4/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-4/output-1/host/lib -Wl,-rpath,/tmp/instance-4/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-4/output-1/host/bin/sparc64-linux-as" DEFAULT_LINKER="/tmp/instance-4/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 -O2 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/tmp/instance-4/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-4/output-1/host/sparc64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -D_FORTIFY_SOURCE=1" CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" /usr/bin/make -j96 prefix=/usr etcdir=/etc PYTHON_VERS=python3 -C /tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1 make[1]: Entering directory '/tmp/instance-4/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-blk-hack.o COMPILE FPIC trace-filter-hash.o COMPILE FPIC trace-recorder.o COMPILE FPIC trace-util.o COMPILE FPIC trace-msg.o COMPILE FPIC trace-input.o COMPILE FPIC trace-ftrace.o COMPILE FPIC trace-plugin.o COMPILE FPIC trace-output.o COMPILE FPIC tracefs-utils.o COMPILE FPIC tracefs-instance.o COMPILE FPIC trace-timesync.o COMPILE FPIC tracefs-events.o UPDATE tracecmd_plugin_dir 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_kmem.o COMPILE PLUGIN OBJ plugin_python_loader.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 PLUGIN OBJ plugin_jbd2.o COMPILE PLUGIN OBJ plugin_tlb.o COMPILE PLUGIN OBJ plugin_blk.o COMPILE PLUGIN OBJ plugin_scsi.o COMPILE PLUGIN OBJ plugin_hrtimer.o COMPILE PLUGIN OBJ plugin_function.o COMPILE PLUGIN OBJ plugin_kvm.o COMPILE PLUGIN OBJ plugin_sched_switch.o COMPILE PLUGIN OBJ plugin_mac80211.o COMPILE PLUGIN OBJ plugin_futex.o COMPILE PLUGIN OBJ plugin_xen.o COMPILE PLUGIN OBJ plugin_cfg80211.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Nothing to be done for 'all'. Note: to build the gui, type "make gui" 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()) | ^~~~~~~~~~~~~~~~~~~~~~~ to build man pages, type "make doc" 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)) | ^~~~~~~~~~ BUILD PLUGIN plugin_kmem.so to build unit tests, type "make test" BUILD PLUGIN plugin_jbd2.so 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)) | ^~~~~~~~~~ BUILD PLUGIN plugin_tlb.so BUILD PLUGIN plugin_cfg80211.so BUILD PLUGIN plugin_hrtimer.so BUILD PLUGIN plugin_xen.so BUILD PLUGIN plugin_scsi.so BUILD PLUGIN plugin_futex.so COMPILE FPIC kbuffer-parse.o COMPILE FPIC tep_strerror.o COMPILE FPIC trace-seq.o COMPILE FPIC parse-utils.o COMPILE FPIC parse-filter.o COMPILE FPIC event-plugin.o COMPILE FPIC event-parse-api.o BUILD PLUGIN plugin_mac80211.so BUILD PLUGIN plugin_sched_switch.so COMPILE FPIC event-parse.o BUILD PLUGIN plugin_function.so BUILD PLUGIN plugin_kvm.so BUILD PLUGIN plugin_python_loader.so BUILD PLUGIN plugin_blk.so BUILD STATIC LIB libtracefs.a BUILD STATIC LIB libtracecmd.a swig -Wall -python -noproxy -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/traceevent -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/trace-cmd ctracecmd.i /tmp/instance-4/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-4/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 -O2 -D_FORTIFY_SOURCE=1 -DVSOCK -D_GNU_SOURCE -DWARN_NO_AUDIT -DNO_AUDIT -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/include -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/../../include -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/traceevent -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/trace-cmd -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/include/tracefs -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/traceevent/include -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/include -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/include/private -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/tracefs/include -I/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/tracecmd/include -I/tmp/instance-4/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 python3` ctracecmd_wrap.c ctracecmd_wrap.c: In function 'python_callback': ctracecmd_wrap.c:3910:2: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations] 3910 | result = PyEval_CallObject(context, arglist); | ^~~~~~ In file included from /tmp/instance-4/output-1/host/bin/../sparc64-buildroot-linux-gnu/sysroot/usr/include/python3.9/Python.h:154, from ctracecmd_wrap.c:154: /tmp/instance-4/output-1/host/bin/../sparc64-buildroot-linux-gnu/sysroot/usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILD STATIC LIB libtraceevent.a UPDATE tc_version.h COMPILE trace-cmd.o COMPILE trace-usage.o COMPILE trace-stream.o COMPILE trace-check-events.o COMPILE trace-hist.o COMPILE trace-mem.o COMPILE trace-show.o COMPILE trace-snapshot.o COMPILE trace-dump.o COMPILE trace-stat.o COMPILE trace-profile.o COMPILE trace-listen.o COMPILE trace-read.o COMPILE trace-tsync.o COMPILE trace-list.o COMPILE trace-agent.o COMPILE trace-setup-guest.o COMPILE trace-split.o COMPILE trace-stack.o COMPILE trace-restore.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-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-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-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-4/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/string.h:495, from trace-record.c:10: In function 'strncpy', inlined from 'clear_trigger' at trace-record.c:2175:3: /tmp/instance-4/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'clear_trigger': trace-record.c:2172:9: note: length computed here 2172 | len = strlen(line); | ^~~~~~~~~~~~ In file included from /tmp/instance-4/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/string.h:495, from trace-record.c:10: In function 'strncpy', inlined from 'clear_all_synth_events' at trace-record.c:4998:3: /tmp/instance-4/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'clear_all_synth_events': trace-record.c:4995:9: note: length computed here 4995 | len = strlen(line); | ^~~~~~~~~~~~ In file included from /tmp/instance-4/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/string.h:495, from trace-record.c:10: In function 'strncpy', inlined from 'clear_func_filter' at trace-record.c:2245:3: /tmp/instance-4/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace-record.c: In function 'clear_func_filter': trace-record.c:2241:9: note: length computed here 2241 | len = strlen(line); | ^~~~~~~~~~~~ BUILD trace-cmd /tmp/instance-4/output-1/host/bin/sparc64-linux-gcc --shared /tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd/libtracecmd.a ctracecmd_wrap.o -o ctracecmd.so -L/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/trace-cmd -ltracecmd -L/tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/lib/traceevent -ltraceevent -L/tmp/instance-4/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+0x7c): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_IOError' ctracecmd_wrap.c:(.text+0x88): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_MemoryError' ctracecmd_wrap.c:(.text+0x94): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_AttributeError' ctracecmd_wrap.c:(.text+0xa0): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_SystemError' ctracecmd_wrap.c:(.text+0xac): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_ValueError' ctracecmd_wrap.c:(.text+0xb8): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_SyntaxError' ctracecmd_wrap.c:(.text+0xc4): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_OverflowError' ctracecmd_wrap.c:(.text+0xd0): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_ZeroDivisionError' ctracecmd_wrap.c:(.text+0xdc): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_TypeError' ctracecmd_wrap.c:(.text+0xe8): relocation truncated to fit: R_SPARC_GOT13 against undefined symbol `PyExc_IndexError' ctracecmd_wrap.c:(.text+0xf4): 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-4/output-1/build/trace-cmd-trace-cmd-v2.9.1' make: *** [package/pkg-generic.mk:250: /tmp/instance-4/output-1/build/trace-cmd-trace-cmd-v2.9.1/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-4/buildroot'