lttng team mailing list archive
-
lttng team
-
Mailing list archive
-
Message #05715
[Bug 1844764] Re: ubuntu_lttng_smoke_test failed with module build on B-hwe-edge 5.3.0
This bug was fixed in the package lttng-modules -
2.10.8-1ubuntu2~18.04.1
---------------
lttng-modules (2.10.8-1ubuntu2~18.04.1) bionic; urgency=medium
* Sync with Eoan to fix 5.3 build issues (LP: #1844764)
lttng-modules (2.10.8-1ubuntu2) eoan; urgency=medium
* Fix dkms build with Linux 5.1/5.2 (LP: #1830048)
- debian/patches/0006-Fix-mm-create-the-new-vm_fault_t-type-v5.1.patch
- debian/patches/0007-Fix-rcu-Remove-wrapper-definitions-for-obsolete-RCU..patch
- debian/patches/0008-Fix-pipe-stop-using-can_merge-v5.1.patch
- debian/patches/0009-Fix-Revert-KVM-MMU-show-mmu_valid_gen.-v5.1.patch
- debian/patches/0010-Fix-Remove-start-and-number-from-syscall_get_argumen.patch
- debian/patches/0011-fix-timer-trace-Improve-timer-tracing-v5.2.patch
- debian/patches/0012-fix-mm-vmscan-drop-may_writepage-and-classzone_idx-f.patch
- debian/patches/0013-fix-mm-vmscan-simplify-trace_reclaim_flags-and-trace.patch
- debian/patches/0014-fix-mm-move-recent_rotated-pages-calculation-to-shri.patch
- debian/patches/0015-fix-random-only-read-from-dev-random-after-its-pool-.patch
lttng-modules (2.10.8-1ubuntu1) disco; urgency=medium
* Fix Linux 5.0 dkms build issues (LP: #1813062)
- Minor patch wiggle backports of upstream commits:
[80bb260] Fix: Remove 'type' argument from access_ok()
function (v5.0)
[cef5d79] Fix: signal: Remove SEND_SIG_FORCED (v4.20)
[b90a7f3] Fix: signal: Distinguish between kernel_siginfo and
siginfo
[b9dbdfe] Fix: Replace pointer values with task->tk_pid and
rpc_clnt->cl_clid
[28fef30] Fix: SUNRPC: Simplify defining common RPC trace
events (v5.0)
-- Marcelo Henrique Cerri <marcelo.cerri@xxxxxxxxxxxxx> Fri, 22 Nov
2019 18:11:50 -0300
** Changed in: lttng-modules (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
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:
Invalid
Status in lttng-modules source package in Bionic:
Fix Released
Bug description:
[Impact]
The DKMS package won't work with new kernels on bionic.
[Test case]
Install and load the modules.
[Regression potential]
This might break the functioning of the module.
-----------------------------------
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