← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2096645] [NEW] lttng DKMS failed to build on Jammy in sru-20250113

 

Public bug reported:

Issue found with Jammy 5.15.0-132.143 in sru-20250113

Module build failed with:
   CC [M]  /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_iterator.o
   CC [M]  /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.o
 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/kmem.h:570,
                  from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.c:35:
 /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for 'trace_mm_page_alloc_zone_locked'; have 'void(struct page *, unsigned int,  int)'
   133 | void trace_##_name(_proto);
       |      ^~~~~~
 /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/instrumentation/events/kmem.h:438:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
   438 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(kmem_mm_page, mm_page_alloc_zone_locked,
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 In file included from ./include/trace/events/kmem.h:9,
                  from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.c:24:
 ./include/linux/tracepoint.h:244:28: note: previous definition of 'trace_mm_page_alloc_zone_locked' with type 'void(struct page *, unsigned int,  int,  int)'
   244 |         static inline void trace_##name(proto)                          \
       |                            ^~~~~~
 ./include/linux/tracepoint.h:416:9: note: in expansion of macro '__DECLARE_TRACE'
   416 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
       |         ^~~~~~~~~~~~~~~
 ./include/linux/tracepoint.h:539:9: note: in expansion of macro 'DECLARE_TRACE'
   539 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
       |         ^~~~~~~~~~~~~
 ./include/trace/events/kmem.h:259:1: note: in expansion of macro 'DEFINE_EVENT'
   259 | DEFINE_EVENT(mm_page, mm_page_alloc_zone_locked,
       | ^~~~~~~~~~~~
 make[3]: *** [scripts/Makefile.build:297: /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.o] Error 1

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: 5.15 jammy sru-20250113 ubuntu-lttng-smoke-test

-- 
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/2096645

Title:
  lttng DKMS failed to build on Jammy in sru-20250113

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found with Jammy 5.15.0-132.143 in sru-20250113

  Module build failed with:
     CC [M]  /var/lib/dkms/lttng-modules/2.13.8/build/src/lib/ringbuffer/ring_buffer_iterator.o
     CC [M]  /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.o
   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/kmem.h:570,
                    from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.c:35:
   /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for 'trace_mm_page_alloc_zone_locked'; have 'void(struct page *, unsigned int,  int)'
     133 | void trace_##_name(_proto);
         |      ^~~~~~
   /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/../../include/instrumentation/events/kmem.h:438:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
     438 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(kmem_mm_page, mm_page_alloc_zone_locked,
         | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from ./include/trace/events/kmem.h:9,
                    from /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.c:24:
   ./include/linux/tracepoint.h:244:28: note: previous definition of 'trace_mm_page_alloc_zone_locked' with type 'void(struct page *, unsigned int,  int,  int)'
     244 |         static inline void trace_##name(proto)                          \
         |                            ^~~~~~
   ./include/linux/tracepoint.h:416:9: note: in expansion of macro '__DECLARE_TRACE'
     416 |         __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),              \
         |         ^~~~~~~~~~~~~~~
   ./include/linux/tracepoint.h:539:9: note: in expansion of macro 'DECLARE_TRACE'
     539 |         DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
         |         ^~~~~~~~~~~~~
   ./include/trace/events/kmem.h:259:1: note: in expansion of macro 'DEFINE_EVENT'
     259 | DEFINE_EVENT(mm_page, mm_page_alloc_zone_locked,
         | ^~~~~~~~~~~~
   make[3]: *** [scripts/Makefile.build:297: /var/lib/dkms/lttng-modules/2.13.8/build/src/probes/lttng-probe-kmem.o] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2096645/+subscriptions



Follow ups