>>> libtracefs 1.8.0 Extracting gzip -d -c /home/autobuild/autobuild/instance-10/dl/libtracefs/libtracefs-1.8.0.tar.gz | /home/autobuild/autobuild/instance-10/output-1/host/bin/tar --strip-components=1 -C /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0 -xf - >>> libtracefs 1.8.0 Patching Applying 0001-libtracefs-meson-build-tracefs-mmap-by-default.patch using patch: patching file src/meson.build >>> libtracefs 1.8.0 Configuring rm -rf /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build mkdir -p /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/autobuild/autobuild/instance-10/output-1/host/bin/sh4aeb-buildroot-linux-musl-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/autobuild/autobuild/instance-10/output-1/host/bin/sh4aeb-buildroot-linux-musl-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%sh4%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O1', '-g3'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O1', '-g3'%g" -e "s%@BR2_CMAKE@%/home/autobuild/autobuild/instance-10/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/autobuild/autobuild/instance-10/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/autobuild/autobuild/instance-10/output-1/host%g" -e "s%@STAGING_DIR@%/home/autobuild/autobuild/instance-10/output-1/host/sh4aeb-buildroot-linux-musl/sysroot%g" -e "s%@STATIC@%false%g" /home/autobuild/autobuild/instance-10/buildroot/support/misc/cross-compilation.conf.in > /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build/cross-compilation.conf PATH="/home/autobuild/autobuild/instance-10/output-1/host/bin:/home/autobuild/autobuild/instance-10/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/autobuild/autobuild/instance-10/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/autobuild/autobuild/instance-10/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/autobuild/autobuild/instance-10/output-1/host/lib/cmake -Ddoc=false -Dsamples=false /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0/ /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build The Meson build system Version: 1.3.1 Source dir: /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0 Build dir: /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0/build Build type: cross build Project name: libtracefs Project version: 1.8 C compiler for the host machine: /home/autobuild/autobuild/instance-10/output-1/host/bin/sh4aeb-buildroot-linux-musl-gcc (gcc 12.3.0 "sh4aeb-buildroot-linux-musl-gcc.br_real (Buildroot 2023.11-1206-g900bd80e9b) 12.3.0") C linker for the host machine: /home/autobuild/autobuild/instance-10/output-1/host/bin/sh4aeb-buildroot-linux-musl-gcc ld.bfd 2.39 C compiler for the build machine: /usr/bin/gcc (gcc 12.1.0 "gcc (GCC) 12.1.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.38 Build machine cpu family: aarch64 Build machine cpu: aarch64 Host machine cpu family: sh4 Host machine cpu: Target machine cpu family: sh4 Target machine cpu: Found pkg-config: YES (/home/autobuild/autobuild/instance-10/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency libtraceevent found: YES 1.8.2 Run-time dependency threads found: YES Run-time dependency cunit found: YES 2.1-3 Program flex found: YES (/home/autobuild/autobuild/instance-10/output-1/host/bin/flex) Program bison found: YES (/home/autobuild/autobuild/instance-10/output-1/host/bin/bison) Build targets in project: 3 libtracefs 1.8 User defined options Cross files : /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build/cross-compilation.conf build.cmake_prefix_path: /home/autobuild/autobuild/instance-10/output-1/host/lib/cmake build.pkg_config_path : /home/autobuild/autobuild/instance-10/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true doc : false samples : false Found ninja-1.11.1.git.kitware.jobserver-1 at /home/autobuild/autobuild/instance-10/output-1/host/bin/ninja >>> libtracefs 1.8.0 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-10/output-1/host/bin:/home/autobuild/autobuild/instance-10/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PYTHONNOUSERSITE=y /home/autobuild/autobuild/instance-10/output-1/host/bin/ninja -C /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build ninja: Entering directory `/home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0//build' [1/41] Generating 'src/libtracefs.so.1.8.p/sqlhist.l.yy.c' [2/41] Generating 'src/libtracefs_static.a.p/sqlhist.l.yy.c' [3/41] Generating from 'sqlhist.y' [4/41] Generating from 'sqlhist.y' [5/41] Compiling C object src/libtracefs_static.a.p/tracefs-eprobes.c.o [6/41] Compiling C object src/libtracefs_static.a.p/meson-generated_sqlhist.l.yy.c.o [7/41] Compiling C object src/libtracefs_static.a.p/meson-generated_sqlhist.tab.c.o [8/41] Compiling C object src/libtracefs_static.a.p/tracefs-kprobes.c.o [9/41] Compiling C object src/libtracefs_static.a.p/tracefs-filter.c.o [10/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-eprobes.c.o [11/41] Compiling C object src/libtracefs_static.a.p/tracefs-dynevents.c.o [12/41] Compiling C object src/libtracefs.so.1.8.p/meson-generated_sqlhist.tab.c.o [13/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-dynevents.c.o [14/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-kprobes.c.o [15/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-filter.c.o [16/41] Compiling C object src/libtracefs.so.1.8.p/meson-generated_sqlhist.l.yy.c.o [17/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-record.c.o [18/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-mmap.c.o [19/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-marker.c.o [20/41] Compiling C object src/libtracefs_static.a.p/tracefs-instance.c.o [21/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-uprobes.c.o [22/41] Compiling C object src/libtracefs_static.a.p/tracefs-events.c.o [23/41] Compiling C object src/libtracefs_static.a.p/tracefs-marker.c.o [24/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-events.c.o [25/41] Compiling C object src/libtracefs_static.a.p/tracefs-mmap.c.o [26/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-instance.c.o [27/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-utils.c.o [28/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-hist.c.o [29/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-tools.c.o ../src/tracefs-tools.c: In function 'read_trace_pipe': ../src/tracefs-tools.c:1105:12: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 1105 | if (ret < 0 && (errno == EAGAIN || errno == EINTR)) | ^ ../src/tracefs-tools.c:1081:13: note: 'ret' was declared here 1081 | int ret; | ^~~ [30/41] Compiling C object src/libtracefs_static.a.p/tracefs-uprobes.c.o [31/41] Compiling C object src/libtracefs_static.a.p/tracefs-hist.c.o [32/41] Compiling C object utest/trace-utest.p/tracefs-utest.c.o FAILED: utest/trace-utest.p/tracefs-utest.c.o /home/autobuild/autobuild/instance-10/output-1/host/bin/sh4aeb-buildroot-linux-musl-gcc -Iutest/trace-utest.p -Iutest -I../utest -Iinclude -I../include -I/home/autobuild/autobuild/instance-10/output-1/host/sh4aeb-buildroot-linux-musl/sysroot/usr/include/traceevent -I/home/autobuild/autobuild/instance-10/output-1/host/sh4aeb-buildroot-linux-musl/sysroot/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -std=gnu99 -O3 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g3 -pthread -MD -MQ utest/trace-utest.p/tracefs-utest.c.o -MF utest/trace-utest.p/tracefs-utest.c.o.d -o utest/trace-utest.p/tracefs-utest.c.o -c ../utest/tracefs-utest.c ../utest/tracefs-utest.c: In function 'test_uprobes_instance': ../utest/tracefs-utest.c:2492:19: error: 'PATH_MAX' undeclared (first use in this function) 2492 | char self[PATH_MAX] = { 0 }; | ^~~~~~~~ ../utest/tracefs-utest.c:2492:19: note: each undeclared identifier is reported only once for each function it appears in ../utest/tracefs-utest.c:2492:14: warning: unused variable 'self' [-Wunused-variable] 2492 | char self[PATH_MAX] = { 0 }; | ^~~~ ../utest/tracefs-utest.c: In function 'check_fd_name': ../utest/tracefs-utest.c:2848:19: error: 'PATH_MAX' undeclared (first use in this function) 2848 | char link[PATH_MAX + 1]; | ^~~~~~~~ ../utest/tracefs-utest.c:2849:14: warning: unused variable 'path' [-Wunused-variable] 2849 | char path[PATH_MAX + 1]; | ^~~~ ../utest/tracefs-utest.c:2848:14: warning: unused variable 'link' [-Wunused-variable] 2848 | char link[PATH_MAX + 1]; | ^~~~ ../utest/tracefs-utest.c: In function 'check_fd_mode': ../utest/tracefs-utest.c:2885:19: error: 'PATH_MAX' undeclared (first use in this function) 2885 | char path[PATH_MAX + 1]; | ^~~~~~~~ ../utest/tracefs-utest.c:2885:14: warning: unused variable 'path' [-Wunused-variable] 2885 | char path[PATH_MAX + 1]; | ^~~~ ../utest/tracefs-utest.c: In function 'check_option': ../utest/tracefs-utest.c:3026:19: error: 'PATH_MAX' undeclared (first use in this function) 3026 | char file[PATH_MAX]; | ^~~~~~~~ ../utest/tracefs-utest.c:3026:14: warning: unused variable 'file' [-Wunused-variable] 3026 | char file[PATH_MAX]; | ^~~~ ../utest/tracefs-utest.c: In function 'test_instance_tracing_options': ../utest/tracefs-utest.c:3090:19: error: 'PATH_MAX' undeclared (first use in this function) 3090 | char file[PATH_MAX]; | ^~~~~~~~ ../utest/tracefs-utest.c:3090:14: warning: unused variable 'file' [-Wunused-variable] 3090 | char file[PATH_MAX]; | ^~~~ ../utest/tracefs-utest.c: In function 'test_check_events': ../utest/tracefs-utest.c:3254:19: error: 'PATH_MAX' undeclared (first use in this function) 3254 | char file[PATH_MAX]; | ^~~~~~~~ ../utest/tracefs-utest.c:3254:14: warning: unused variable 'file' [-Wunused-variable] 3254 | char file[PATH_MAX]; | ^~~~ ../utest/tracefs-utest.c: In function 'copy_trace_walk': ../utest/tracefs-utest.c:3458:19: error: 'PATH_MAX' undeclared (first use in this function) 3458 | char path[PATH_MAX]; | ^~~~~~~~ ../utest/tracefs-utest.c:3458:14: warning: unused variable 'path' [-Wunused-variable] 3458 | char path[PATH_MAX]; | ^~~~ ../utest/tracefs-utest.c: In function 'dup_trace_dir': ../utest/tracefs-utest.c:3478:24: error: 'PATH_MAX' undeclared (first use in this function) 3478 | char file_from[PATH_MAX]; | ^~~~~~~~ ../utest/tracefs-utest.c:3479:14: warning: unused variable 'file_to' [-Wunused-variable] 3479 | char file_to[PATH_MAX]; | ^~~~~~~ ../utest/tracefs-utest.c:3478:14: warning: unused variable 'file_from' [-Wunused-variable] 3478 | char file_from[PATH_MAX]; | ^~~~~~~~~ ../utest/tracefs-utest.c: In function 'dup_trace_file': ../utest/tracefs-utest.c:3491:24: error: 'PATH_MAX' undeclared (first use in this function) 3491 | char file_from[PATH_MAX]; | ^~~~~~~~ ../utest/tracefs-utest.c:3492:14: warning: unused variable 'file_to' [-Wunused-variable] 3492 | char file_to[PATH_MAX]; | ^~~~~~~ ../utest/tracefs-utest.c:3491:14: warning: unused variable 'file_from' [-Wunused-variable] 3491 | char file_from[PATH_MAX]; | ^~~~~~~~~ [33/41] Compiling C object utest/trace-utest.p/trace-utest.c.o [34/41] Compiling C object src/libtracefs_static.a.p/tracefs-record.c.o [35/41] Compiling C object src/libtracefs_static.a.p/tracefs-utils.c.o [36/41] Compiling C object src/libtracefs_static.a.p/tracefs-sqlhist.c.o ../src/tracefs-sqlhist.c: In function 'build_filter': ../src/tracefs-sqlhist.c:1190:15: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 1190 | ret = append_filter(synth, TRACEFS_FILTER_COMPARE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1191 | filter->lval->field.field, cmp, val); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tracefs-sqlhist.c:1112:21: note: 'val' was declared here 1112 | const char *val; | ^~~ In function 'build_compare', inlined from 'build_synth' at ../src/tracefs-sqlhist.c:1581:9, inlined from 'tracefs_sql' at ../src/tracefs-sqlhist.c:1705:10: ../src/tracefs-sqlhist.c:937:36: warning: 'end_system' may be used uninitialized [-Wmaybe-uninitialized] 937 | if (lval->system == system && | ~~~~~~~~~~~~~~~~~~~~~~~^~ 938 | lval->event_name == event) { | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tracefs-sqlhist.c: In function 'tracefs_sql': ../src/tracefs-sqlhist.c:1467:21: note: 'end_system' was declared here 1467 | const char *end_system; | ^~~~~~~~~~ [37/41] Compiling C object src/libtracefs_static.a.p/tracefs-tools.c.o ../src/tracefs-tools.c: In function 'read_trace_pipe': ../src/tracefs-tools.c:1105:12: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 1105 | if (ret < 0 && (errno == EAGAIN || errno == EINTR)) | ^ ../src/tracefs-tools.c:1081:13: note: 'ret' was declared here 1081 | int ret; | ^~~ [38/41] Compiling C object src/libtracefs.so.1.8.p/tracefs-sqlhist.c.o ../src/tracefs-sqlhist.c: In function 'build_filter': ../src/tracefs-sqlhist.c:1190:15: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] 1190 | ret = append_filter(synth, TRACEFS_FILTER_COMPARE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1191 | filter->lval->field.field, cmp, val); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tracefs-sqlhist.c:1112:21: note: 'val' was declared here 1112 | const char *val; | ^~~ In function 'build_compare', inlined from 'build_synth' at ../src/tracefs-sqlhist.c:1581:9, inlined from 'tracefs_sql' at ../src/tracefs-sqlhist.c:1705:10: ../src/tracefs-sqlhist.c:937:36: warning: 'end_system' may be used uninitialized [-Wmaybe-uninitialized] 937 | if (lval->system == system && | ~~~~~~~~~~~~~~~~~~~~~~~^~ 938 | lval->event_name == event) { | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/tracefs-sqlhist.c: In function 'tracefs_sql': ../src/tracefs-sqlhist.c:1467:21: note: 'end_system' was declared here 1467 | const char *end_system; | ^~~~~~~~~~ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-10/output-1/build/libtracefs-1.8.0/.stamp_built] Error 1 make: Leaving directory '/home/autobuild/autobuild/instance-10/buildroot'