* Package: dev-util/lttng-modules-2.13.3 * Repository: gentoo * Maintainer: dlan@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.18.4-gentoo-dist * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking lttng-modules-2.13.3.tar.bz2 to /var/tmp/portage/dev-util/lttng-modules-2.13.3/work >>> Source unpacked in /var/tmp/portage/dev-util/lttng-modules-2.13.3/work >>> Preparing source in /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3 ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing module make -j4 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux default make -C /usr/src/linux M=/var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src \ CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m \ KCPPFLAGS='' \ modules make[1]: Entering directory '/usr/src/linux-5.18.4-gentoo-dist' CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lttng-ring-buffer-client-discard.o /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/Kbuild:62: File ./arch/x86/kvm/lapic.h not found. Probe "kvm" x86-specific is disabled. Use full kernel source tree to enable it. CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/tests/probes/lttng-test.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/ringbuffer/ring_buffer_backend.o /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/Kbuild:166: Files ./fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it. /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/Kbuild:177: Files ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it. /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/Kbuild:208: File ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Need Linux 4.1+ kernel source tree to enable it. /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/Kbuild:239: CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem. CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/lttng-probe-sched.o In file included from /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/lttng/define_trace.h:87, from /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/instrumentation/events/sched.h:640, from /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/lttng-probe-sched.c:28: /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for ‘trace_sched_switch’; have ‘void(bool, struct task_struct *, struct task_struct *)’ {aka ‘void(_Bool, struct task_struct *, struct task_struct *)’} 133 | void trace_##_name(_proto); | ^~~~~~ /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/lttng/tracepoint-event-impl.h:45:9: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP’ 45 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/lttng/tracepoint-event-impl.h:87:9: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_MAP’ 87 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/instrumentation/events/sched.h:324:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT’ 324 | LTTNG_TRACEPOINT_EVENT(sched_switch, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/trace/events/sched.h:10, from /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/lttng-probe-sched.c:17: ./include/linux/tracepoint.h:245:28: note: previous definition of ‘trace_sched_switch’ with type ‘void(bool, struct task_struct *, struct task_struct *, unsigned int)’ {aka ‘void(_Bool, struct task_struct *, struct task_struct *, unsigned int)’} 245 | static inline void trace_##name(proto) \ | ^~~~~~ ./include/linux/tracepoint.h:419:9: note: in expansion of macro ‘__DECLARE_TRACE’ 419 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ ./include/linux/tracepoint.h:553:9: note: in expansion of macro ‘DECLARE_TRACE’ 553 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ ./include/trace/events/sched.h:222:1: note: in expansion of macro ‘TRACE_EVENT’ 222 | TRACE_EVENT(sched_switch, | ^~~~~~~~~~~ CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/tests/clock-plugin/lttng-clock-plugin-test.o make[3]: *** [scripts/Makefile.build:288: /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/lttng-probe-sched.o] Error 1 make[2]: *** [scripts/Makefile.build:550: /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes] Error 2 make[2]: *** Waiting for unfinished jobs.... CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/ringbuffer/ring_buffer_frontend.o LD [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/tests/lttng-test.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/ringbuffer/ring_buffer_iterator.o LD [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/tests/lttng-clock-plugin-test.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/ringbuffer/ring_buffer_vfs.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/ringbuffer/ring_buffer_splice.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/ringbuffer/ring_buffer_mmap.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/prio_heap/lttng_prio_heap.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/../wrapper/splice.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/counter/counter.o LD [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/lttng-lib-ring-buffer.o LD [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/lib/lttng-counter.o make[1]: *** [Makefile:1834: /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src] Error 2 make[1]: Leaving directory '/usr/src/linux-5.18.4-gentoo-dist' make: *** [Makefile:31: modules] Error 2 * ERROR: dev-util/lttng-modules-2.13.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/lttng-modules-2.13.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/lttng-modules-2.13.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:lttng-modules-2.13.3:20220616-000510.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/lttng-modules-2.13.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/lttng-modules-2.13.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3' * S: '/var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3'