CC [M] /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/lttng-probe-sched.o In file included from /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/lttng/define_trace.h:87, from /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/instrumentation/events/sched.h:640, from /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/lttng-probe-sched.c:28: /var/tmp/portage/dev-util/lttng-modules-2.13.3/work/lttng-modules-2.13.3/src/probes/../../include/lttng/tracepoint-event-impl.h:133:6: error: conflicting types for trace_sched_switch’; have void(bool, struct task_struct *, struct task_struct *)’ {aka void(_Bool, struct task_struct *, struct task_struct *)’} 133 | void trace_##_name(_proto); | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20220613-130010 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): clang version 14.0.5 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.5 Python 3.9.13 Available Rust versions: [1] rust-1.61.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-11 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.4 [2] php8.0 [3] php8.1 * HEAD of ::gentoo commit 7f858d6dd1e12d17677840e09f743e102286bccf Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jun 15 23:33:17 2022 +0000 2022-06-15 23:33:17 UTC emerge -qpvO dev-util/lttng-modules [ebuild N ] dev-util/lttng-modules-2.13.3 USE="-dist-kernel"
Created attachment 785624 [details] emerge-info.txt
Created attachment 785627 [details] dev-util:lttng-modules-2.13.3:20220616-000510.log
Created attachment 785630 [details] emerge-history.txt
Created attachment 785633 [details] environment
Created attachment 785636 [details] etc.portage.tar.bz2
Created attachment 785639 [details] temp.tar.bz2
Created attachment 844551 [details] ebuild: copied the old, removed the TODO dir This ebuild works for me in an overlay. Please complain if it doesn't work for you. I used "ebuild lttng-modules-<whatever>.ebuild manifest" but there are probably better ways to do this. Read the dev guide.
I've added an ebuild that works for me. This ebuild only uses a higher version of lttng-modules where the problems you describe should be solved. Please complain if it doesn't. I did it by setting up an overlay, copying the old "lttng-modules-<old-version>.ebuild" to "lttng-modules-<new-version>.ebuild" into the overlay. Used "ebuild lttng-modules-<new-version>.ebuild manifest" to create a manifest into the repo. Then I emerged it and it worked.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5718e87e3541bf83c9f8864a0a7e4fa230255eb3 commit 5718e87e3541bf83c9f8864a0a7e4fa230255eb3 Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> AuthorDate: 2022-12-24 14:33:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-27 10:21:45 +0000 dev-util/lttng-modules: add 2.13.7 Closes: https://bugs.gentoo.org/852305 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28783 Signed-off-by: Sam James <sam@gentoo.org> dev-util/lttng-modules/Manifest | 1 + dev-util/lttng-modules/lttng-modules-2.13.7.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+)