#1145859 trace-cmd: FTBFS: ctracecmd_wrap.c:4405:22: error: implicit declaration of function 'PyInt_Check'; did you mean 'PySet_Check'? [-Wimplicit-function-declaration]

#1145859#5
Date:
2026-08-27 11:53:36 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:trace-cmd, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-dump.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-dump.c > /<<PKGBUILDDIR>>/tracecmd/.trace-dump.d
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-clear.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-clear.c > /<<PKGBUILDDIR>>/tracecmd/.trace-clear.d
ctracecmd_wrap.c: In function ‘python_callback’:
ctracecmd_wrap.c:4405:22: error: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration]
 4405 |                 if (!PyInt_Check(result)) {
      |                      ^~~~~~~~~~~
      |                      PySet_Check
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-vm.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-vm.c > /<<PKGBUILDDIR>>/tracecmd/.trace-vm.d
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-convert.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-convert.c > /<<PKGBUILDDIR>>/tracecmd/.trace-convert.d
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-attach.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-attach.c > /<<PKGBUILDDIR>>/tracecmd/.trace-attach.d
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-agent.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-agent.c > /<<PKGBUILDDIR>>/tracecmd/.trace-agent.d
make[3]: *** [Makefile:13: ctracecmd.so] Error 1
make[2]: *** [Makefile:593: ctracecmd.so] Error 2
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-tsync.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-tsync.c > /<<PKGBUILDDIR>>/tracecmd/.trace-tsync.d
make[2]: *** Waiting for unfinished jobs....
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-setup-guest.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-setup-guest.c > /<<PKGBUILDDIR>>/tracecmd/.trace-setup-guest.d
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-sqlhist.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-sqlhist.c > /<<PKGBUILDDIR>>/tracecmd/.trace-sqlhist.d
cc -M -MT /<<PKGBUILDDIR>>/tracecmd/trace-vsock.o -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include trace-vsock.c > /<<PKGBUILDDIR>>/tracecmd/.trace-vsock.d
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-cmd.c -o /<<PKGBUILDDIR>>/tracecmd/trace-cmd.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-record.c -o /<<PKGBUILDDIR>>/tracecmd/trace-record.o)
trace-record.c: In function ‘add_arg’:
trace-record.c:6289:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 6289 |                 ptr = strchr(opts, c);
      |                     ^
trace-record.c: In function ‘check_tracing_enabled’:
trace-record.c:2633:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2633 |         write(fd, "1", 1);
      |         ^~~~~~~~~~~~~~~~~
trace-record.c: In function ‘set_plugin_instance’:
trace-record.c:1942:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1942 |         write(fd, &zero, 1);
      |         ^~~~~~~~~~~~~~~~~~~
trace-record.c: In function ‘update_ftrace_pid’:
trace-record.c:1026:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1026 |         write(fd, " ", 1);
      |         ^~~~~~~~~~~~~~~~~
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-read.c -o /<<PKGBUILDDIR>>/tracecmd/trace-read.o)
trace-record.c: In function ‘get_date_to_ts’:
trace-record.c:5155:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 5155 |                 write(tfd, STAMP, 5);
      |                 ^~~~~~~~~~~~~~~~~~~~
trace-record.c: In function ‘functions_filtered’:
trace-record.c:4994:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 4994 |         read(fd, buf, 1);
      |         ^~~~~~~~~~~~~~~~
trace-record.c: In function ‘set_mask’:
trace-record.c:2970:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2970 |         write(fd, instance->cpumask, strlen(instance->cpumask));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c: In function ‘check_protocol_version’:
trace-record.c:3806:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3806 |         write(fd, V3_CPU, sizeof(V3_CPU));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c:3821:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3821 |                 write(fd, V3_MAGIC, sizeof(V3_MAGIC));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c: In function ‘check_first_msg_from_server’:
trace-record.c:3702:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3702 |         read(msg_handle->fd, buf, 8);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c: In function ‘communicate_with_listener_v1’:
trace-record.c:3723:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3723 |         write(msg_handle->fd, buf, strlen(buf)+1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c:3729:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3729 |         write(msg_handle->fd, buf, strlen(buf)+1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c:3745:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3745 |                 write(msg_handle->fd, "1", 2);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c:3747:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3747 |                 write(msg_handle->fd, "4", 2);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c:3749:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3749 |                 write(msg_handle->fd, "TCP", 4);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c:3752:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 3752 |                 write(msg_handle->fd, "0", 2);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-record.c: In function ‘make_pid_filter’:
trace-record.c:1163:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1163 |                 asprintf(&filter, "(%s)&&(%s)", curr_filter, filter);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-split.c -o /<<PKGBUILDDIR>>/tracecmd/trace-split.o)
trace-split.c: In function ‘write_page’:
trace-split.c:282:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  282 |         write(cpu_data->fd, cpu_data->page, page_size);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-listen.c -o /<<PKGBUILDDIR>>/tracecmd/trace-listen.o)
trace-listen.c: In function ‘make_pid_file’:
trace-listen.c:1012:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1012 |         write(fd, buf, strlen(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-listen.c: In function ‘communicate_with_client’:
trace-listen.c:356:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  356 |         write(fd, "tracecmd", 8);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
trace-listen.c:390:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  390 |                         write(fd, "V3", 3);
      |                         ^~~~~~~~~~~~~~~~~~
trace-listen.c:395:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  395 |                 write(fd, "V3", 3);
      |                 ^~~~~~~~~~~~~~~~~~
trace-listen.c:403:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  403 |                 write(fd, "OK", 2);
      |                 ^~~~~~~~~~~~~~~~~~
trace-listen.c: In function ‘create_all_readers’:
trace-listen.c:578:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  578 |                         write(msg_handle->fd, buf, strlen(buf));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trace-listen.c:581:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  581 |                 write(msg_handle->fd, "\0", 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-stack.c -o /<<PKGBUILDDIR>>/tracecmd/trace-stack.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-hist.c -o /<<PKGBUILDDIR>>/tracecmd/trace-hist.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-mem.c -o /<<PKGBUILDDIR>>/tracecmd/trace-mem.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-snapshot.c -o /<<PKGBUILDDIR>>/tracecmd/trace-snapshot.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-stat.c -o /<<PKGBUILDDIR>>/tracecmd/trace-stat.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-profile.c -o /<<PKGBUILDDIR>>/tracecmd/trace-profile.o)
trace-profile.c:22:3: warning: #warning "lib audit not found, using raw syscalls " "(install audit-libs-devel(for fedora) or libaudit-dev(for debian/ubuntu) and try again)" [-Wcpp]
   22 | # warning "lib audit not found, using raw syscalls "    \
      |   ^~~~~~~
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-stream.c -o /<<PKGBUILDDIR>>/tracecmd/trace-stream.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-restore.c -o /<<PKGBUILDDIR>>/tracecmd/trace-restore.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-check-events.c -o /<<PKGBUILDDIR>>/tracecmd/trace-check-events.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-show.c -o /<<PKGBUILDDIR>>/tracecmd/trace-show.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-list.c -o /<<PKGBUILDDIR>>/tracecmd/trace-list.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-usage.c -o /<<PKGBUILDDIR>>/tracecmd/trace-usage.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-dump.c -o /<<PKGBUILDDIR>>/tracecmd/trace-dump.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-clear.c -o /<<PKGBUILDDIR>>/tracecmd/trace-clear.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-vm.c -o /<<PKGBUILDDIR>>/tracecmd/trace-vm.o)
trace-vm.c: In function ‘read_guest_cid’:
trace-vm.c:364:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  364 |         asprintf(&cmd, "%s %s", VM_CID_CMD, name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-convert.c -o /<<PKGBUILDDIR>>/tracecmd/trace-convert.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-attach.c -o /<<PKGBUILDDIR>>/tracecmd/trace-attach.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-agent.c -o /<<PKGBUILDDIR>>/tracecmd/trace-agent.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-tsync.c -o /<<PKGBUILDDIR>>/tracecmd/trace-tsync.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-setup-guest.c -o /<<PKGBUILDDIR>>/tracecmd/trace-setup-guest.o)
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-sqlhist.c -o /<<PKGBUILDDIR>>/tracecmd/trace-sqlhist.o)
trace-setup-guest.c: In function ‘get_guest_cpu_count’:
trace-setup-guest.c:108:9: 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:17: warning: ignoring return value of ‘pwrite’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  135 |                 pwrite(fd, xml, strlen(xml), 0);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(  cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DVSOCK -DPERF -DHAVE_ZLIB -DHAVE_ZSTD -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DWARN_NO_AUDIT -DNO_AUDIT -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/../../include -I/<<PKGBUILDDIR>>/include/trace-cmd -I/<<PKGBUILDDIR>>/lib/trace-cmd/include -I/<<PKGBUILDDIR>>/lib/trace-cmd/include/private -I/<<PKGBUILDDIR>>/tracecmd/include -I/usr/include/traceevent -I/usr/include/tracefs -I/usr/include/traceevent -DVAR_DIR="/var" '-DPLUGIN_TRACECMD_DIR=""'   -DHAVE_BLK_TC_FLUSH  -DHAVE_MEMFD_CREATE -I/<<PKGBUILDDIR>>/tracecmd/include -std=gnu99 trace-vsock.c -o /<<PKGBUILDDIR>>/tracecmd/trace-vsock.o)
( cc /<<PKGBUILDDIR>>/tracecmd/trace-cmd.o /<<PKGBUILDDIR>>/ [too-long-redacted] s -ltraceevent -lz -lzstd -ldl)
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" all DESTDIR=/<<PKGBUILDDIR>>/debian/tmp/ prefix=/usr VERBOSE=1 libdir_relative=lib/x86_64-linux-gnu pkgconfig_dir=/usr/lib/x86_64-linux-gnu/pkgconfig returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------