include/util.h:93:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Wformat=] "ERROR %s : %s : %d : " format, \ ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:111:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:240:3: note: in expansion of macro 'ERROR' ERROR("No memory: calloc failed for %lu bytes", ^~~~~ corelib/parsing_library.c:240:41: note: format string is defined here ERROR("No memory: calloc failed for %lu bytes", ~~^ %u In file included from corelib/parsing_library.c:19: include/util.h:100:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] "ERROR : " format, ## arg); \ ^~~~~~~~~~ include/util.h:111:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:240:3: note: in expansion of macro 'ERROR' ERROR("No memory: calloc failed for %lu bytes", ^~~~~ corelib/parsing_library.c:240:41: note: format string is defined here ERROR("No memory: calloc failed for %lu bytes", ~~^ %u In file included from corelib/parsing_library.c:19: include/util.h:104:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=] "[%s] : " format, __func__, ## arg); \ ^~~~~~~~~ include/util.h:111:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:240:3: note: in expansion of macro 'ERROR' ERROR("No memory: calloc failed for %lu bytes", ^~~~~ corelib/parsing_library.c:240:41: note: format string is defined here ERROR("No memory: calloc failed for %lu bytes", ~~^ %u In file included from corelib/parsing_library.c:19: include/util.h:93:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] "ERROR %s : %s : %d : " format, \ ^~~~~~~~~~~~~~~~~~~~~~~ include/util.h:111:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:255:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ corelib/parsing_library.c:255:34: note: format string is defined here ERROR("No memory: failed for %lu bytes", ~~^ %u In file included from corelib/parsing_library.c:19: include/util.h:100:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] "ERROR : " format, ## arg); \ ^~~~~~~~~~ include/util.h:111:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:255:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ corelib/parsing_library.c:255:34: note: format string is defined here ERROR("No memory: failed for %lu bytes", ~~^ %u In file included from corelib/parsing_library.c:19: include/util.h:104:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] "[%s] : " format, __func__, ## arg); \ ^~~~~~~~~ include/util.h:111:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:255:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ corelib/parsing_library.c:255:34: note: format string is defined here ERROR("No memory: failed for %lu bytes", ~~^ %u AR ipc/lib.a CC core/util.o CC corelib/stream_interface.o CC core/parser.o CC core/pctl.o CC corelib/swupdate_dict.o CC core/state.o CC corelib/swupdate_settings.o CC core/syslog.o AR parser/lib.a AR corelib/lib.a LD core/built-in.o AR mongoose/lib.a LD swupdate_unstripped LD tools/swupdate-sendtohawkbit LD tools/swupdate-hawkbitcfg LD tools/swupdate-client LD tools/swupdate-sysrestart LD tools/swupdate-progress STRIP tools/swupdate-sysrestart STRIP tools/swupdate-progress STRIP tools/swupdate-sendtohawkbit STRIP tools/swupdate-client STRIP tools/swupdate-hawkbitcfg STRIP swupdate make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/swupdate-2019.11' >>> swupdate 2019.11 Installing to target /usr/bin/install -D -m 0755 /data/buildroot/buildroot-test/instance-0/output/build/swupdate-2019.11/swupdate /data/buildroot/buildroot-test/instance-0/output/target/usr/bin/swupdate trace-cmd-trace-cmd-v2.7.tar.gz: OK (sha256: 3b3f564cc6ee30341051ccb7589b42f3abe4e676a21c029c7c127c7edf5bdcf0) >>> trace-cmd trace-cmd-v2.7 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/trace-cmd/trace-cmd-trace-cmd-v2.7.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7 -xf - >>> trace-cmd trace-cmd-v2.7 Patching Applying 0001-trace-listen-add-missing-header.patch using patch: patching file trace-listen.c >>> trace-cmd trace-cmd-v2.7 Configuring >>> trace-cmd trace-cmd-v2.7 Building /usr/bin/make -j12 PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-ar" AS="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-as" LD="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-ld" NM="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-nm" CC="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-gcc" GCC="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-gcc" CPP="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-cpp" CXX="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-g++" FC="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-gfortran" F77="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-gfortran" RANLIB="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-ranlib" READELF="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-readelf" STRIP="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-strip" OBJCOPY="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-objcopy" OBJDUMP="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-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/data/buildroot/buildroot-test/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-as" DEFAULT_LINKER="/data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-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=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" STAGING_DIR="/data/buildroot/buildroot-test/instance-0/output/host/nds32le-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2" CPPFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" NO_PYTHON=1 -C /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7 all make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7' UPDATE trace_plugin_dir UPDATE trace_python_dir UPDATE tc_version.h Note: to build the gui, type "make gui" NO_PYTHON forced: swig not installed, not compling python plugins to build man pages, type "make doc" COMPILE FPIC trace-seq.o COMPILE FPIC event-parse.o COMPILE FPIC parse-filter.o COMPILE FPIC parse-utils.o COMPILE FPIC str_error_r.o COMPILE FPIC trace-util.o COMPILE FPIC trace-input.o COMPILE FPIC trace-output.o COMPILE FPIC trace-ftrace.o COMPILE FPIC trace-recorder.o COMPILE FPIC trace-usage.o COMPILE FPIC trace-blk-hack.o COMPILE FPIC kbuffer-parse.o COMPILE FPIC event-plugin.o /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-recorder.c: In function 'tracecmd_free_recorder': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-recorder.c:101:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(recorder->fd1, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-recorder.c: In function 'tracecmd_flush_recording': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-recorder.c:459:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(recorder->fd, buf, ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-recorder.c:469:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(recorder->fd, buf, recorder->page_size - wrote); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-recorder.c: In function 'update_fd': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-recorder.c:345:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, 0); ^~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c: In function 'arg_to_str': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2338:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, arg->boolean.value ? "TRUE" : "FALSE"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c: In function 'op_to_str': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2131:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, val ? "TRUE" : "FALSE"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2149:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "(%s) %s (%s)", left, op, right); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2165:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, right_val ? "FALSE" : "TRUE"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2168:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%s(%s)", op, right); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE FPIC trace-hooks.o COMPILE FPIC trace-msg.o /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c: In function 'num_to_str': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2286:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%s %s %s", lstr, op, rstr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c: In function 'str_to_str': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2321:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%s %s \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arg->str.field->name, op, arg->str.val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c: In function 'val_to_str': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2184:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%lld", arg->value.val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c: In function 'exp_to_str': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/parse-filter.c:2242:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%s %s %s", lstr, op, rstr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE trace-cmd.o COMPILE trace-record.o COMPILE trace-read.o COMPILE trace-split.o COMPILE trace-listen.o COMPILE trace-stack.o /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-split.c: In function 'write_page': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-split.c:165:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(cpu_data->fd, cpu_data->page, page_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE trace-hist.o /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'update_ftrace_pid': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:885:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, " ", 1); ^~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'check_tracing_enabled': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:1847:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "1", 1); ^~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'check_protocol_version': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2790:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, V2_CPU, sizeof(V2_CPU)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2803:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, V2_MAGIC, sizeof(V2_MAGIC)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'check_first_msg_from_server': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2691:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(msg_handle->fd, buf, 8); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'communicate_with_listener_v1': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2710:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, buf, strlen(buf)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2716:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, buf, strlen(buf)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2732:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, "1", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2734:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, "4", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2736:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, "TCP", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2739:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, "0", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE trace-mem.o /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'get_date_to_ts': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:3554:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tfd, STAMP, 5); ^~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'functions_filtered': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:3300:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, buf, 1); ^~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'set_mask': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:2159:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, instance->cpumask, strlen(instance->cpumask)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c: In function 'add_event_pid': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-record.c:1087:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, len); ^~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c: In function 'make_pid_file': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c:899:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c: In function 'communicate_with_client': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c:370:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "tracecmd", 8); ^~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c:404:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "V2", 3); ^~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c:409:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "V2", 3); ^~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c:417:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "OK", 2); ^~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c: In function 'create_all_readers': /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c:585:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-listen.c:588:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(msg_handle->fd, "\0", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPILE trace-snapshot.o COMPILE trace-stat.o COMPILE trace-hash.o COMPILE trace-profile.o /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-profile.c:35:3: warning: #warning "lib audit not found, using raw syscalls " "(install libaudit-devel and try again)" [-Wcpp] # 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 PLUGIN OBJ plugin_jbd2.o COMPILE PLUGIN OBJ plugin_hrtimer.o COMPILE PLUGIN OBJ plugin_kmem.o COMPILE PLUGIN OBJ plugin_mac80211.o COMPILE PLUGIN OBJ plugin_kvm.o COMPILE PLUGIN OBJ plugin_sched_switch.o COMPILE PLUGIN OBJ plugin_function.o COMPILE PLUGIN OBJ plugin_xen.o COMPILE PLUGIN OBJ plugin_scsi.o COMPILE PLUGIN OBJ plugin_cfg80211.o COMPILE PLUGIN OBJ plugin_blk.o COMPILE PLUGIN OBJ plugin_tlb.o BUILD PLUGIN plugin_jbd2.so BUILD PLUGIN plugin_hrtimer.so BUILD PLUGIN plugin_kmem.so BUILD PLUGIN plugin_mac80211.so BUILD PLUGIN plugin_sched_switch.so BUILD PLUGIN plugin_xen.so BUILD PLUGIN plugin_scsi.so BUILD PLUGIN plugin_cfg80211.so BUILD PLUGIN plugin_kvm.so BUILD PLUGIN plugin_tlb.so BUILD PLUGIN plugin_function.so BUILD PLUGIN plugin_blk.so BUILD STATIC LIB libparsevent.a BUILD STATIC LIB libtracecmd.a BUILD trace-cmd make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7' >>> trace-cmd trace-cmd-v2.7 Installing to staging directory >>> trace-cmd trace-cmd-v2.7 Fixing libtool files for la in $(find /data/buildroot/buildroot-test/instance-0/output/host/nds32le-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/data/buildroot/buildroot-test/instance-0/output:@BASE_DIR@:g" \ -e "s:/data/buildroot/buildroot-test/instance-0/output/host/nds32le-buildroot-linux-gnu/sysroot:@STAGING_DIR@:g" \ -e "s:/data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/data/buildroot/buildroot-test/instance-0/output/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/data/buildroot/buildroot-test/instance-0/output/host/nds32le-buildroot-linux-gnu/sysroot:g" \ -e "s:@BASE_DIR@:/data/buildroot/buildroot-test/instance-0/output:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> trace-cmd trace-cmd-v2.7 Installing to target /usr/bin/install -D -m 0755 /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/trace-cmd /data/buildroot/buildroot-test/instance-0/output/target/usr/bin/trace-cmd /usr/bin/install -d -m 0755 /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/trace-cmd/plugins /usr/bin/install -D -m 0755 /data/buildroot/buildroot-test/instance-0/output/build/trace-cmd-trace-cmd-v2.7/plugin_*.so /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/trace-cmd/plugins >>> Finalizing host directory >>> Finalizing target directory # Check files that are touched by more than one package /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab if grep -q CONFIG_ASH=y ./.config; then grep -qsE '^/bin/ash$' /data/buildroot/buildroot-test/instance-0/output/target/etc/shells || echo "/bin/ash" >> /data/buildroot/buildroot-test/instance-0/output/target/etc/shells; fi grep: ./.config: No such file or directory if grep -q CONFIG_HUSH=y ./.config; then grep -qsE '^/bin/hush$' /data/buildroot/buildroot-test/instance-0/output/target/etc/shells || echo "/bin/hush" >> /data/buildroot/buildroot-test/instance-0/output/target/etc/shells; fi grep: ./.config: No such file or directory mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc echo "buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /data/buildroot/buildroot-test/instance-0/output/target/etc/hosts mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc echo "Welcome to Buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /data/buildroot/buildroot-test/instance-0/output/target/etc/shadow rm -f /data/buildroot/buildroot-test/instance-0/output/target/bin/sh rm -f /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge; done for dir in /data/buildroot/buildroot-test/instance-0/output/target/usr/share/locale; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/include /data/buildroot/buildroot-test/instance-0/output/target/usr/share/aclocal \ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/pkgconfig /data/buildroot/buildroot-test/instance-0/output/target/usr/share/pkgconfig \ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/cmake /data/buildroot/buildroot-test/instance-0/output/target/usr/share/cmake find /data/buildroot/buildroot-test/instance-0/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /data/buildroot/buildroot-test/instance-0/output/target/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: '/data/buildroot/buildroot-test/instance-0/output/target/usr/libexec/': No such file or directory rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gdb rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/bash-completion rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/zsh rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/man /data/buildroot/buildroot-test/instance-0/output/target/usr/share/man rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/info /data/buildroot/buildroot-test/instance-0/output/target/usr/share/info rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/doc /data/buildroot/buildroot-test/instance-0/output/target/usr/share/doc rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gtk-doc rmdir /data/buildroot/buildroot-test/instance-0/output/target/usr/share 2>/dev/null || true find /data/buildroot/buildroot-test/instance-0/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /data/buildroot/buildroot-test/instance-0/output/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /data/buildroot/buildroot-test/instance-0/output/host/bin/nds32le-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /data/buildroot/buildroot-test/instance-0/output/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /data/buildroot/buildroot-test/instance-0/output/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2020.02-git-01040-gf263a5b2b1"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2020.02-git"; \ echo "PRETTY_NAME=\"Buildroot 2020.02-git\"" \ ) > /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/os-release ln -sf ../usr/lib/os-release /data/buildroot/buildroot-test/instance-0/output/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/data/buildroot/buildroot-test/instance-0/output/per-package /data/buildroot/buildroot-test/instance-0/buildroot/support/scripts/fix-rpath target touch /data/buildroot/buildroot-test/instance-0/output/target/usr make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot' make: Entering directory '/data/buildroot/buildroot-test/instance-0/buildroot' >>> Buildroot 2020.02-git-01040-gf263a5b2b1 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> host-tar 1.29 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-andes-nds32 Collecting legal info >>> toolchain Collecting legal info >>> busybox 1.31.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) >>> iputils 20190709 Collecting legal info LICENSE: OK (sha256: b8ea785d12fa6a44916601104dd746216957e93f13a26d3eb858b3b5a4ad66ab) Documentation/LICENSE.BSD3: OK (sha256: 9acc4bc871a4742550158e3696dcb381953172ef808d04ca248184f9f6322712) Documentation/LICENSE.GPL2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-gettext Collecting legal info >>> host-gettext-gnu 0.19.8.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) ERROR: No hash found for gettext-runtime/intl/COPYING.LIB >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-libxml2 2.9.10 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> host-pkgconf 1.6.1 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> host-meson 0.52.1 Collecting legal info COPYING: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-ninja 1.9.0 Collecting legal info COPYING: OK (sha256: eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea) >>> host-python3 3.8.1 Collecting legal info LICENSE: OK (sha256: a77d71d6be6f9032e6b6e5d2cf6da68f9eeab9036edfbc043633c8979cd5e82c) >>> host-expat 2.2.9 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-libffi 3.3 Collecting legal info LICENSE: OK (sha256: deaf3a42effb551a5b140fa9afefed183a27f1341c6d1bf430d106a5e6931fc0) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-python3-setuptools 41.4.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> drbd-utils 9.11.0 Collecting legal info COPYING: OK (sha256: 1ca3e8f71b7de618968e7ea9fe47822d9e704dc476aef8544033abedec355225) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-fatcat 1.1.0 Collecting legal info LICENSE: OK (sha256: 3ea03755e32cf7f5b12981de92a0fdad396448195fe0024990c9cbc388e9866c) >>> host-cmake 3.15.5 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> ficl 4.1.0 Collecting legal info ERROR: No hash found for ReadMe.txt >>> file 5.38 Collecting legal info COPYING: OK (sha256: 0bfa856a9930bddadbef95d1be1cf4e163c0be618e76ea3275caaf255283e274) src/mygetopt.h: OK (sha256: 4ccb60d623884ef637af4a5bc16b2cb350163e2135e967655837336019a64462) src/vasprintf.c: OK (sha256: 58b5932aca6c10f2194290a3b26088ec9ba07ef6b52cc9bb2dd638cc634db6f1) >>> host-file 5.38 Collecting legal info COPYING: OK (sha256: 0bfa856a9930bddadbef95d1be1cf4e163c0be618e76ea3275caaf255283e274) src/mygetopt.h: OK (sha256: 4ccb60d623884ef637af4a5bc16b2cb350163e2135e967655837336019a64462) src/vasprintf.c: OK (sha256: 58b5932aca6c10f2194290a3b26088ec9ba07ef6b52cc9bb2dd638cc634db6f1) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> fio 3.17 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) MORAL-LICENSE: OK (sha256: 8a240c1ad13d1fe3e58588643d81d0695899be4a669fe6d8fafa76ca6a89db2c) >>> initscripts Collecting legal info >>> libconfig 1.7.2 Collecting legal info COPYING.LIB: OK (sha256: d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f) >>> libcorrect ce6c17f1f988765ae3695315d7cce1f2a2e6cf0d Collecting legal info LICENSE: OK (sha256: 135138cd4304aa637836758dc5edfb5f21b7d09ecc637d25288d206b151a5768) >>> libosip2 3.6.0 Collecting legal info COPYING: OK (sha256: 8d9e95ed0e48df46dc758eb0d86df611f771eab4eed94bebb77dca87f1c897de) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> qlibc 2.4.4 Collecting legal info LICENSE: OK (sha256: 7c9d03656af4c0acf0a35e29459086498dd64080eac6d2945bc1c064aaf18132) >>> swupdate 2019.11 Collecting legal info Licenses/Exceptions: OK (sha256: 43492b377cf2fb67942d1dd231146bd4e6578646ad13ef289297c9dd75cbc478) Licenses/gpl-2.0.txt: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Licenses/lgpl-2.1.txt: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) Licenses/mit.txt: OK (sha256: 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e) >>> trace-cmd trace-cmd-v2.7 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) COPYING.LIB: OK (sha256: 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-andes-nds32: cannot save license (TOOLCHAIN_EXTERNAL_ANDES_NDS32_LICENSE_FILES not defined) Legal info produced in /data/buildroot/buildroot-test/instance-0/output/legal-info make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'