← Back to team overview

lttng team mailing list archive

[Bug 1844764] Re: ubuntu_lttng_smoke_test failed with module build on B-hwe-edge 5.3.0

 

** Also affects: lttng-modules (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
LTTng, which is subscribed to lttng-modules in Ubuntu.
Matching subscriptions: lttng-modules-bugs
https://bugs.launchpad.net/bugs/1844764

Title:
  ubuntu_lttng_smoke_test failed with module build on B-hwe-edge 5.3.0

Status in ubuntu-kernel-tests:
  New
Status in lttng-modules package in Ubuntu:
  New

Bug description:
  Module failed to build on B-hwe-edge (5.3.0):

   DKMS make.log for lttng-modules-2.10.8 for kernel 5.3.0-12-generic (i686)
   Fri Sep 20 03:27:45 UTC 2019
   make: Entering directory '/usr/src/linux-headers-5.3.0-12-generic'
   find: '/var/lib/dkms/lttng-modules/2.10.8/build/extra_version/patches/': No such file or directory
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-ring-buffer-client-discard.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-ring-buffer-client-overwrite.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-ring-buffer-metadata-client.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-ring-buffer-client-mmap-discard.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-ring-buffer-client-mmap-overwrite.o
   find: '/var/lib/dkms/lttng-modules/2.10.8/build/probes/../extra_version/patches/': No such file or directory
   find: '/var/lib/dkms/lttng-modules/2.10.8/build/lib/../extra_version/patches/': No such file or directory
   find: '/var/lib/dkms/lttng-modules/2.10.8/build/tests/../extra_version/patches/': No such file or directory
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/Kbuild:41: 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/lib/dkms/lttng-modules/2.10.8/build/tests/probes/lttng-test.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_backend.o
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/Kbuild:166: Files ./fs/btrfs/*.h not found. Probe "btrfs" is disabled. Use full kernel source tree to enable it.
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/Kbuild:182: Files ./fs/ext4/*.h not found. Probe "ext4" is disabled. Use full kernel source tree to enable it.
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/Kbuild:215: File ./drivers/base/regmap/trace.h not found. Probe "regmap" is disabled. Need Linux 4.1+ kernel source tree to enable it.
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/Kbuild:265: Files ./kernel/trace/trace.h not found. Probe "ftrace" is disabled. Use full kernel source tree to enable it.
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-sched.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/tests/clock-plugin/lttng-clock-plugin-test.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_frontend.o
     LD [M]  /var/lib/dkms/lttng-modules/2.10.8/build/tests/lttng-test.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_iterator.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-irq.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-ring-buffer-metadata-mmap-client.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_vfs.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-clock.o
     LD [M]  /var/lib/dkms/lttng-modules/2.10.8/build/tests/lttng-clock-plugin-test.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-events.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-timer.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-abi.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_splice.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-kmem.o
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-events.c: In function 'synchronize_trace':
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-events.c:92:2: error: implicit declaration of function 'synchronize_sched'; did you mean 'synchronize_srcu'? [-Werror=implicit-function-declaration]
     synchronize_sched();
     ^~~~~~~~~~~~~~~~~
     synchronize_srcu
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-string-utils.o
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-events.c: In function 'lttng_session_list_tracker_pids':
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-events.c:1121:15: warning: comparison of constant '2147483647' with boolean expression is always false [-Wbool-compare]
      1, INT_MAX) == INT_MAX) {
                  ^~
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_mmap.o
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-string-utils.c: In function 'strutils_star_glob_match_char_cb':
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-string-utils.c:315:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
       p = pattern_get_char_at_cb(p_at,
       ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        pattern_get_char_at_cb_data);
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-string-utils.c:322:3: note: here
      default:
      ^~~~~~~
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-probes.o
   In file included from /var/lib/dkms/lttng-modules/2.10.8/build/probes/../probes/define_trace.h:100:0,
                    from /var/lib/dkms/lttng-modules/2.10.8/build/probes/../instrumentation/events/lttng-module/timer.h:354,
                    from /var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-timer.c:43:
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_timer_expire_entry'
    void trace_##_name(_proto);
         ^
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/../probes/lttng-tracepoint-event-impl.h:55:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
     LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/../probes/lttng-tracepoint-event-impl.h:97:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
     LTTNG_TRACEPOINT_EVENT_MAP(name, name,    \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/lttng-modules/2.10.8/build/probes/../instrumentation/events/lttng-module/timer.h:96:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
    LTTNG_TRACEPOINT_EVENT(timer_expire_entry,
    ^~~~~~~~~~~~~~~~~~~~~~
   In file included from ./include/trace/events/timer.h:8:0,
                    from /var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-timer.c:32:
   ./include/linux/tracepoint.h:233:21: note: previous definition of 'trace_timer_expire_entry' was here
     static inline void trace_##name(proto)    \
                        ^
   ./include/linux/tracepoint.h:396:2: note: in expansion of macro '__DECLARE_TRACE'
     __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),  \
     ^~~~~~~~~~~~~~~
   ./include/linux/tracepoint.h:532:2: note: in expansion of macro 'DECLARE_TRACE'
     DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
     ^~~~~~~~~~~~~
   ./include/trace/events/timer.h:90:1: note: in expansion of macro 'TRACE_EVENT'
    TRACE_EVENT(timer_expire_entry,
    ^~~~~~~~~~~
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/prio_heap/lttng_prio_heap.o
   scripts/Makefile.build:288: recipe for target '/var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-timer.o' failed
   make[2]: *** [/var/lib/dkms/lttng-modules/2.10.8/build/probes/lttng-probe-timer.o] Error 1
   make[2]: *** Waiting for unfinished jobs....
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lib/../wrapper/splice.o
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-abi.c: In function 'lttng_abi_create_channel':
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-abi.c:434:15: warning: comparison of constant '2147483647' with boolean expression is always false [-Wbool-compare]
      1, INT_MAX) == INT_MAX) {
                  ^~
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-abi.c: In function 'lttng_abi_create_event':
   /var/lib/dkms/lttng-modules/2.10.8/build/lttng-abi.c:1043:15: warning: comparison of constant '2147483647' with boolean expression is always false [-Wbool-compare]
      1, INT_MAX) == INT_MAX) {
                  ^~
   /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_splice.c:59:3: error: 'const struct pipe_buf_operations' has no member named 'can_merge'
     .can_merge = 0,
      ^~~~~~~~~
   scripts/Makefile.build:288: recipe for target '/var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_splice.o' failed
   make[2]: *** [/var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_splice.o] Error 1
   make[2]: *** Waiting for unfinished jobs....
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-context.o
   /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_mmap.c:85:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .fault = lib_ring_buffer_fault,
              ^~~~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_mmap.c:85:11: note: (near initialization for 'lib_ring_buffer_mmap_ops.fault')
   cc1: some warnings being treated as errors
   scripts/Makefile.build:288: recipe for target '/var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_mmap.o' failed
   make[2]: *** [/var/lib/dkms/lttng-modules/2.10.8/build/lib/ringbuffer/ring_buffer_mmap.o] Error 1
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-context-pid.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-context-procname.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-context-prio.o
     CC [M]  /var/lib/dkms/lttng-modules/2.10.8/build/lttng-context-nice.o
   scripts/Makefile.build:519: recipe for target '/var/lib/dkms/lttng-modules/2.10.8/build/lib' failed
   make[1]: *** [/var/lib/dkms/lttng-modules/2.10.8/build/lib] Error 2
   make[1]: *** Waiting for unfinished jobs....
   cc1: some warnings being treated as errors
   scripts/Makefile.build:288: recipe for target '/var/lib/dkms/lttng-modules/2.10.8/build/lttng-events.o' failed
   make[1]: *** [/var/lib/dkms/lttng-modules/2.10.8/build/lttng-events.o] Error 1
   scripts/Makefile.build:519: recipe for target '/var/lib/dkms/lttng-modules/2.10.8/build/probes' failed
   make[1]: *** [/var/lib/dkms/lttng-modules/2.10.8/build/probes] Error 2
   Makefile:1653: recipe for target '_module_/var/lib/dkms/lttng-modules/2.10.8/build' failed
   make: *** [_module_/var/lib/dkms/lttng-modules/2.10.8/build] Error 2

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