Also seen on: SRU Cycle: 2025.01.13 Series: jammy Package: linux-realtime Version: 5.15.0-1078.86 Cloud: openstack Instance: amd64-vm Region: prodstack5 Operation: sru
-- You received this bug notification because you are a member of Canonical Platform QA Team, which is subscribed to ubuntu-kernel-tests. https://bugs.launchpad.net/bugs/2067702 Title: lttng-modules failed to build on J-azure-6.8 Status in ubuntu-kernel-tests: New Bug description: Issue found with J-azure-6.8.0-1008.8~22.04.1 Module build failed with: Running 'cat /var/lib/dkms/lttng-modules/*/build/make.log' DKMS make.log for lttng-modules-2.13.8 for kernel 6.8.0-1008-azure (x86_64) Thu May 30 14:53:24 UTC 2024 make: Entering directory '/usr/src/linux-headers-6.8.0-1008-azure' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 You are using: gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/Kbuild:27: File ./mm/slab.h not found. Probe "kmem" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.13.8/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.13.8/build/src/probes/Kbuild:187: Files ./fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/Kbuild:206: Files ./mm/internal.h not found. Probe "compaction" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/Kbuild:215: Files ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it. /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/Kbuild:244: File ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Need Linux 4.1+ kernel source tree to enable it. CC [M] /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_backend.o CC [M] /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-sched.o /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_backend.c: In function ‘channel_backend_init’: /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_backend.c:408:9: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration] 408 | strlcpy(chanb->name, name, NAME_MAX); | ^~~~~~~ | strscpy In file included from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/lttng/define_trace.h:87, from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/instrumentation/events/sched.h:709, from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-sched.c:28: /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for ‘trace_sched_stat_runtime’; have ‘void(struct task_struct *, u64, u64)’ {aka ‘void(struct task_struct *, long long unsigned int, long long unsigned int)’} 133 | void trace_##_name(_proto); | ^~~~~~ /var/lib/dkms/lttng-modules/2.13.8/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.13.8/build/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/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/instrumentation/events/sched.h:651:1: note: in expansion of macro ‘LTTNG_TRACEPOINT_EVENT’ 651 | LTTNG_TRACEPOINT_EVENT(sched_stat_runtime, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ./include/trace/events/sched.h:10, from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-sched.c:17: ./include/linux/tracepoint.h:255:28: note: previous definition of ‘trace_sched_stat_runtime’ with type ‘void(struct task_struct *, u64)’ {aka ‘void(struct task_struct *, long long unsigned int)’} 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:555:9: note: in expansion of macro ‘DECLARE_TRACE’ 555 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) | ^~~~~~~~~~~~~ ./include/trace/events/sched.h:517:1: note: in expansion of macro ‘DEFINE_EVENT’ 517 | DEFINE_EVENT(sched_stat_runtime, sched_stat_runtime, | ^~~~~~~~~~~~ make[4]: *** [scripts/Makefile.build:243: /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-sched.o] Error 1 make[3]: *** [scripts/Makefile.build:481: /var/lib/dkms/lttng-modules/2.13.8/build/src/probes] Error 2 make[3]: *** Waiting for unfinished jobs.... CC [M] /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_frontend.o cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_backend.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_frontend.c:2409:12: warning: no previous prototype for ‘init_lib_ring_buffer_frontend’ [-Wmissing-prototypes] 2409 | int __init init_lib_ring_buffer_frontend(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_frontend.c:2420:13: warning: no previous prototype for ‘exit_lib_ring_buffer_frontend’ [-Wmissing-prototypes] 2420 | void __exit exit_lib_ring_buffer_frontend(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:481: /var/lib/dkms/lttng-modules/2.13.8/build/src/lib] Error 2 make[2]: *** [scripts/Makefile.build:481: /var/lib/dkms/lttng-modules/2.13.8/build/src] Error 2 make[1]: *** [/usr/src/linux-headers-6.8.0-1008-azure/Makefile:1926: /var/lib/dkms/lttng-modules/2.13.8/build] Error 2 make: *** [Makefile:240: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-6.8.0-1008-azure' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2067702/+subscriptions -- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp