>>> libtracefs 1.8.1 Downloading wget -nd -t 3 --no-check-certificate -O '/home/autobuild/autobuild/instance-20/output-1/build/.libtracefs-1.8.1.tar.gz.umbI6h/output' 'https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-1.8.1.tar.gz' --2024-11-24 09:46:14-- https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-1.8.1.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving git.kernel.org (git.kernel.org)... 139.178.84.217, 2604:1380:4641:c500::1 Connecting to git.kernel.org (git.kernel.org)|139.178.84.217|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-20/output-1/build/.libtracefs-1.8.1.tar.gz.umbI6h/output' 0K .......... .......... .......... .......... .......... 384K 50K .......... .......... .......... .......... .......... 2.90M 100K .......... .......... .......... .......... .......... 1.00M 150K .......... .......... .......... .......... .......... 3.00M 200K .......... .......... 58.1M=0.2s 2024-11-24 09:46:15 (1.01 MB/s) - '/home/autobuild/autobuild/instance-20/output-1/build/.libtracefs-1.8.1.tar.gz.umbI6h/output' saved [225995] libtracefs-1.8.1.tar.gz: OK (sha256: d295aa20d711c313a9e229dbd15ba14026f0c1a50d57ae8b0823cc561b23745f) >>> libtracefs 1.8.1 Extracting gzip -d -c /home/autobuild/autobuild/instance-20/dl/libtracefs/libtracefs-1.8.1.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1 -xf - >>> libtracefs 1.8.1 Patching >>> libtracefs 1.8.1 Configuring rm -rf /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build mkdir -p /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/autobuild/autobuild/instance-20/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/autobuild/autobuild/instance-20/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/home/autobuild/autobuild/instance-20/output-1/host/bin/microblazeel-buildroot-linux-uclibc-strip%g" -e "s%@TARGET_ARCH@%microblaze%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O3', '-g2'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O3', '-g2'%g" -e "s%@BR2_CMAKE@%/usr/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/autobuild/autobuild/instance-20/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/autobuild/autobuild/instance-20/output-1/host%g" -e "s%@STAGING_DIR@%/home/autobuild/autobuild/instance-20/output-1/host/microblazeel-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/autobuild/autobuild/instance-20/buildroot/support/misc/cross-compilation.conf.in > /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build/cross-compilation.conf PATH="/home/autobuild/autobuild/instance-20/output-1/host/bin:/home/autobuild/autobuild/instance-20/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-20/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/autobuild/autobuild/instance-20/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/autobuild/autobuild/instance-20/output-1/host/lib/cmake -Ddoc=false -Dsamples=false /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1/ /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build The Meson build system Version: 1.6.0 Source dir: /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1 Build dir: /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1/build Build type: cross build Project name: libtracefs Project version: 1.8.1 C compiler for the host machine: /home/autobuild/autobuild/instance-20/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc (gcc 13.3.0 "microblazeel-buildroot-linux-uclibc-gcc.br_real (Buildroot 2024.11-rc2-2-gb617eb3281) 13.3.0") C linker for the host machine: /home/autobuild/autobuild/instance-20/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc ld.bfd 2.42 C compiler for the build machine: /usr/bin/gcc (gcc 14.2.1 "gcc (GCC) 14.2.1 20240910") C linker for the build machine: /usr/bin/gcc ld.bfd 2.43.0 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: microblaze Host machine cpu: Target machine cpu family: microblaze Target machine cpu: Found pkg-config: YES (/home/autobuild/autobuild/instance-20/output-1/host/bin/pkgconf) 2.3.0 Run-time dependency libtraceevent found: YES 1.8.4 Run-time dependency threads found: YES Run-time dependency cunit found: YES 2.1-3 Program flex found: YES (/home/autobuild/autobuild/instance-20/output-1/host/bin/flex) Program bison found: YES (/home/autobuild/autobuild/instance-20/output-1/host/bin/bison) Build targets in project: 3 libtracefs 1.8.1 User defined options Cross files : /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build/cross-compilation.conf build.cmake_prefix_path: /home/autobuild/autobuild/instance-20/output-1/host/lib/cmake build.pkg_config_path : /home/autobuild/autobuild/instance-20/output-1/host/lib/pkgconfig b_pie : false b_staticpic : true buildtype : release default_library : shared doc : false libdir : lib prefix : /usr samples : false strip : false Found ninja-1.11.1.git.kitware.jobserver-1 at /home/autobuild/autobuild/instance-20/output-1/host/bin/ninja >>> libtracefs 1.8.1 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-20/output-1/host/bin:/home/autobuild/autobuild/instance-20/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-20/output-1/host/bin/ninja -C /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build ninja: Entering directory `/home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1//build' [1/41] Generating 'src/libtracefs.so.1.8.1.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/tracefs-uprobes.c.o [7/41] Compiling C object utest/trace-utest.p/trace-utest.c.o [8/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-eprobes.c.o [9/41] Compiling C object src/libtracefs_static.a.p/tracefs-mmap.c.o [10/41] Compiling C object src/libtracefs_static.a.p/tracefs-marker.c.o [11/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-kprobes.c.o [12/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-uprobes.c.o [13/41] Compiling C object src/libtracefs_static.a.p/tracefs-kprobes.c.o [14/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-marker.c.o [15/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-mmap.c.o [16/41] Compiling C object src/libtracefs_static.a.p/tracefs-utils.c.o [17/41] Compiling C object src/libtracefs_static.a.p/tracefs-dynevents.c.o [18/41] Compiling C object src/libtracefs_static.a.p/tracefs-filter.c.o [19/41] Compiling C object src/libtracefs_static.a.p/tracefs-record.c.o [20/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-dynevents.c.o [21/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-filter.c.o [22/41] Compiling C object src/libtracefs_static.a.p/meson-generated_sqlhist.tab.c.o [23/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-utils.c.o [24/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-record.c.o [25/41] Compiling C object src/libtracefs.so.1.8.1.p/meson-generated_sqlhist.tab.c.o [26/41] Compiling C object src/libtracefs_static.a.p/tracefs-tools.c.o [27/41] Compiling C object src/libtracefs_static.a.p/meson-generated_sqlhist.l.yy.c.o [28/41] Compiling C object src/libtracefs.so.1.8.1.p/meson-generated_sqlhist.l.yy.c.o [29/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-tools.c.o [30/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-instance.c.o ../src/tracefs-instance.c: In function 'tracefs_instance_exists': ../src/tracefs-instance.c:702:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 702 | snprintf(file, PATH_MAX, "%s/%s", path, name); | ^ In function 'check_file_exists', inlined from 'tracefs_instance_exists' at ../src/tracefs-instance.c:727:9: ../src/tracefs-instance.c:702:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 702 | snprintf(file, PATH_MAX, "%s/%s", path, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [31/41] Compiling C object src/libtracefs_static.a.p/tracefs-instance.c.o ../src/tracefs-instance.c: In function 'tracefs_instance_exists': ../src/tracefs-instance.c:702:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 702 | snprintf(file, PATH_MAX, "%s/%s", path, name); | ^ In function 'check_file_exists', inlined from 'tracefs_instance_exists' at ../src/tracefs-instance.c:727:9: ../src/tracefs-instance.c:702:17: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 702 | snprintf(file, PATH_MAX, "%s/%s", path, name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [32/41] Compiling C object src/libtracefs_static.a.p/tracefs-events.c.o [33/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-events.c.o [34/41] Compiling C object src/libtracefs_static.a.p/tracefs-sqlhist.c.o In function 'add_compare', inlined from 'add_field' at ../src/tracefs-sqlhist.c:420:10: ../src/tracefs-sqlhist.c:480:23: warning: 'expr' may be used uninitialized [-Wmaybe-uninitialized] 480 | compare->lval = A; | ~~~~~~~~~~~~~~^~~ ../src/tracefs-sqlhist.c: In function 'add_field': ../src/tracefs-sqlhist.c:475:22: note: 'expr' was declared here 475 | struct expr *expr; | ^~~~ ../src/tracefs-sqlhist.c: In function 'add_compare': ../src/tracefs-sqlhist.c:484:16: warning: 'expr' may be used uninitialized [-Wmaybe-uninitialized] 484 | return expr; | ^~~~ ../src/tracefs-sqlhist.c:475:22: note: 'expr' was declared here 475 | struct expr *expr; | ^~~~ 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; | ^~~~~~~~~~ [35/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-sqlhist.c.o In function 'add_compare', inlined from 'add_field' at ../src/tracefs-sqlhist.c:420:10: ../src/tracefs-sqlhist.c:480:23: warning: 'expr' may be used uninitialized [-Wmaybe-uninitialized] 480 | compare->lval = A; | ~~~~~~~~~~~~~~^~~ ../src/tracefs-sqlhist.c: In function 'add_field': ../src/tracefs-sqlhist.c:475:22: note: 'expr' was declared here 475 | struct expr *expr; | ^~~~ ../src/tracefs-sqlhist.c: In function 'add_compare': ../src/tracefs-sqlhist.c:484:16: warning: 'expr' may be used uninitialized [-Wmaybe-uninitialized] 484 | return expr; | ^~~~ ../src/tracefs-sqlhist.c:475:22: note: 'expr' was declared here 475 | struct expr *expr; | ^~~~ 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; | ^~~~~~~~~~ [36/41] Compiling C object src/libtracefs.so.1.8.1.p/tracefs-hist.c.o [37/41] Compiling C object src/libtracefs_static.a.p/tracefs-hist.c.o [38/41] Linking static target src/libtracefs_static.a [39/41] Linking target src/libtracefs.so.1.8.1 [40/41] Compiling C object utest/trace-utest.p/tracefs-utest.c.o ../utest/tracefs-utest.c:6: warning: "_LARGEFILE64_SOURCE" redefined 6 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition ../utest/tracefs-utest.c: In function 'trace_spin_thread': ../utest/tracefs-utest.c:908:9: warning: implicit declaration of function 'pthread_barrier_wait'; did you mean 'pthread_cond_wait'? [-Wimplicit-function-declaration] 908 | pthread_barrier_wait(&trace_barrier); | ^~~~~~~~~~~~~~~~~~~~ | pthread_cond_wait ../utest/tracefs-utest.c: In function 'test_instance_pid_filter': ../utest/tracefs-utest.c:959:9: warning: implicit declaration of function 'pthread_barrier_init'; did you mean 'pthread_attr_init'? [-Wimplicit-function-declaration] 959 | pthread_barrier_init(&trace_barrier, NULL, 3); | ^~~~~~~~~~~~~~~~~~~~ | pthread_attr_init [41/41] Linking target utest/trace-utest FAILED: utest/trace-utest /home/autobuild/autobuild/instance-20/output-1/host/bin/microblazeel-buildroot-linux-uclibc-gcc -o utest/trace-utest utest/trace-utest.p/trace-utest.c.o utest/trace-utest.p/tracefs-utest.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group src/libtracefs_static.a /home/autobuild/autobuild/instance-20/output-1/host/microblazeel-buildroot-linux-uclibc/sysroot/usr/lib/libtraceevent.so -pthread /home/autobuild/autobuild/instance-20/output-1/host/microblazeel-buildroot-linux-uclibc/sysroot/usr/lib/libcunit.so -Wl,--end-group /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: utest/trace-utest.p/tracefs-utest.c.o: in function `trace_spin_thread': buildroot/build/libtracefs-1.8.1/build/buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:908:(.text+0x6688): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: buildroot/build/libtracefs-1.8.1/build/buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:911:(.text+0x66a8): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: buildroot/build/libtracefs-1.8.1/build/buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:914:(.text+0x66dc): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: utest/trace-utest.p/tracefs-utest.c.o: in function `test_cpu_read_buf_percent': buildroot/build/libtracefs-1.8.1/build/buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:1331:(.text+0x7e34): undefined reference to `pthread_barrier_init' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: buildroot/build/libtracefs-1.8.1/build/buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:1335:(.text+0x7e64): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: utest/trace-utest.p/tracefs-utest.c.o: in function `trace_cpu_read_thread': buildroot/build/libtracefs-1.8.1/build/buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:1304:(.text+0x8270): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: utest/trace-utest.p/tracefs-utest.c.o: in function `run_test': buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:930:(.text+0x10214): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:937:(.text+0x10258): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: utest/trace-utest.p/tracefs-utest.c.o: in function `test_instance_pid_filter': buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:959:(.text+0x10354): undefined reference to `pthread_barrier_init' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:965:(.text+0x103a0): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:1028:(.text+0x1058c): undefined reference to `pthread_barrier_wait' /home/autobuild/autobuild/instance-20/output-1/host/lib/gcc/microblazeel-buildroot-linux-uclibc/13.3.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: buildroot/build/libtracefs-1.8.1/build/../utest/tracefs-utest.c:1029:(.text+0x105a0): undefined reference to `pthread_barrier_wait' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:289: /home/autobuild/autobuild/instance-20/output-1/build/libtracefs-1.8.1/.stamp_built] Error 1 make: Leaving directory '/home/autobuild/autobuild/instance-20/buildroot'