Public bug reported: Version 2.14.0-1 of the lttng-modules-dkms package from noble-updates cannot be built with the 6.8.1-1056-realtime kernel. The modules could be built up to revision 1055 of the kernel.
I can build the modules with 1056 by applying https://github.com/lttng/lttng- modules/commit/0f80fc3f44756768e563f9689a8880ce00e09385 and changing LTTNG_KERNEL_VERSION(7,1,0) to LTTNG_KERNEL_VERSION(6,8,0). Upstream released version 2.14.6 of the lttng-modules in June. The new version might also work with kernel version 7.0.0. DKMS make.log for lttng-modules-2.14.0 for kernel 6.8.1-1056-realtime (x86_64) Do 23. Jul 13:03:56 CEST 2026 make -C /lib/modules/6.8.1-1056-realtime/build M=/var/lib/dkms/lttng-modules/2.14.0/build/src \ CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m \ KCPPFLAGS='' \ modules make[1]: Entering directory '/usr/src/linux-headers-6.8.1-1056-realtime' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/Kbuild:29: File ./mm/slab.h not found. Probe "kmem" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/Kbuild:80: File ./arch/x86/kvm/lapic.h not found. Probe "kvm" x86-specific is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/Kbuild:162: Files ./fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/Kbuild:182: Files ./mm/internal.h not found. Probe "compaction" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/Kbuild:191: Files ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/Kbuild:214: File ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Use full kernel source tree to enable it. CC [M] /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/lttng-probe-sched.o CC [M] /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/lttng-probe-irq.o CC [M] /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/lttng-probe-timer.o In file included from /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/../../include/lttng/define_trace.h:87, from /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/../../include/instrumentation/events/timer.h:437, from /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/lttng-probe-timer.c:30: /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for _trace_hrtimer_start_; have _void(struct hrtimer *, enum hrtimer_mode)_ 133 | void trace_##_name(_proto); | ^~~~~~ /var/lib/dkms/lttng-modules/2.14.0/build/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/lib/dkms/lttng-modules/2.14.0/build/src/probes/../../include/instrumentation/events/timer.h:229:1: note: in expansion of macro _LTTNG_TRACEPOINT_EVENT_MAP_ 229 | LTTNG_TRACEPOINT_EVENT_MAP(hrtimer_start, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/trace/events/timer.h:8, from /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/lttng-probe-timer.c:19: ./include/linux/tracepoint.h:255:28: note: previous definition of _trace_hrtimer_start_ with type _void(struct hrtimer *, enum hrtimer_mode, bool)_ {aka _void(struct hrtimer *, enum hrtimer_mode, _Bool)_} 255 | static inline void trace_##name(proto) \ | ^~~~~~ ./include/linux/tracepoint.h:432:9: note: in expansion of macro ___DECLARE_TRACE_ 432 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ | ^~~~~~~~~~~~~~~ ./include/linux/tracepoint.h:566:9: note: in expansion of macro _DECLARE_TRACE_ 566 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ ./include/trace/events/timer.h:223:1: note: in expansion of macro _TRACE_EVENT_ 223 | TRACE_EVENT(hrtimer_start, | ^~~~~~~~~~~ make[4]: *** [scripts/Makefile.build:243: /var/lib/dkms/lttng-modules/2.14.0/build/src/probes/lttng-probe-timer.o] Error 1 make[3]: *** [scripts/Makefile.build:481: /var/lib/dkms/lttng-modules/2.14.0/build/src/probes] Error 2 make[2]: *** [/usr/src/linux-headers-6.8.1-1056-realtime/Makefile:1946: /var/lib/dkms/lttng-modules/2.14.0/build/src] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.8.1-1056-realtime' make: *** [Makefile:44: modules] Error 2 ** Affects: lttng-modules (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2161622 Title: lttng-modules-dkms fails to build on 6.8.1-1056-realtime kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/2161622/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
