* Package: dev-util/lttng-modules-2.12.5 * Repository: gentoo * Maintainer: dlan@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.12.6-gentoo-dist * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking lttng-modules-2.12.5.tar.bz2 to /var/tmp/portage/dev-util/lttng-modules-2.12.5/work >>> Source unpacked in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work >>> Preparing source in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing module make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux default make -C /usr/src/linux M=/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5 CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m modules make[1]: Entering directory '/usr/src/linux-5.12.6-gentoo-dist' /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/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.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_backend.o /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/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.12.5/work/lttng-modules-2.12.5/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.12.5/work/lttng-modules-2.12.5/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.12.5/work/lttng-modules-2.12.5/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.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-sched.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-irq.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_iterator.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-timer.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_vfs.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_splice.o In file included from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../probes/define_trace.h:87, from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../instrumentation/events/lttng-module/kmem.h:338, from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.c:35: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../probes/lttng-tracepoint-event-impl.h:131:6: error: conflicting types for ‘trace_kmem_cache_free’; have ‘void(long unsigned int, const void *)’ 131 | void trace_##_name(_proto); | ^~~~~~ /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../probes/lttng-tracepoint-event-impl.h:96:9: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP’ 96 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(template, name, name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/../instrumentation/events/lttng-module/kmem.h:111:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT_INSTANCE’ 111 | LTTNG_TRACEPOINT_EVENT_INSTANCE(kmem_free, kmem_cache_free, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/trace/events/kmem.h:9, from /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.c:24: ./include/linux/tracepoint.h:235:28: note: previous definition of ‘trace_kmem_cache_free’ with type ‘void(long unsigned int, const void *, const char *)’ 235 | static inline void trace_##name(proto) \ | ^~~~~~ ./include/linux/tracepoint.h:409:9: note: in expansion of macro ‘__DECLARE_TRACE’ 409 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ ./include/linux/tracepoint.h:543:9: note: in expansion of macro ‘DECLARE_TRACE’ 543 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ ./include/trace/events/kmem.h:138:1: note: in expansion of macro ‘TRACE_EVENT’ 138 | TRACE_EVENT(kmem_cache_free, | ^~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:271: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes/lttng-probe-kmem.o] Error 1 make[2]: *** [scripts/Makefile.build:514: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/probes] Error 2 make[2]: *** Waiting for unfinished jobs.... CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_mmap.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/prio_heap/lttng_prio_heap.o CC [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/../wrapper/splice.o LD [M] /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5/lib/lttng-lib-ring-buffer.o make[1]: *** [Makefile:1851: /var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5] Error 2 make[1]: Leaving directory '/usr/src/linux-5.12.6-gentoo-dist' make: *** [Makefile:153: modules] Error 2 * ERROR: dev-util/lttng-modules-2.12.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/lttng-modules-2.12.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/lttng-modules-2.12.5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:lttng-modules-2.12.5:20210522-215311.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/lttng-modules-2.12.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/lttng-modules-2.12.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5' * S: '/var/tmp/portage/dev-util/lttng-modules-2.12.5/work/lttng-modules-2.12.5'