Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 909338

Summary: dev-util/lttng-modules-2.13.10 fails to compile: FileNotFoundError: [Errno 2] No such file or directory: lttng-probe-regmap.ko
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Agostino Sarubbo <ago>
Status: RESOLVED INVALID    
Severity: normal CC: mpagano
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-06-28 11:50:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/lttng-modules-2.13.10 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-28 11:50:55 UTC
Created attachment 864787 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-28 11:50:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/probes/lttng-probe-compaction.ko'
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/probes/lttng-probe-ext4.ko'
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/probes/lttng-probe-kmem.ko'
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/probes/lttng-probe-kvm-x86.ko'
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/probes/lttng-probe-kvm-x86-mmu.ko'
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/probes/lttng-probe-regmap.ko'
FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/probes/lttng-probe-writeback.ko'
Comment 3 Mike Pagano gentoo-dev 2023-07-16 20:01:24 UTC
  printf '%s\n'   counter/counter.o | awk '!x[$0]++ { print("/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/lib/"$0) }' > /var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/lib/lttng-counter.mod
  ./scripts/check-local-export /var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/src/lttng-string-utils.o
/var/tmp/portage/dev-util/lttng-modules-2.13.10/work/lttng-modules-2.13.10/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.

"Need Linux 4.1+ kernel source tree to enable it."


Looks like a CI environment issue
Comment 4 Agostino Sarubbo gentoo-dev 2023-07-17 06:49:18 UTC
(In reply to Mike Pagano from comment #3)
> "Need Linux 4.1+ kernel source tree to enable it."
> 
> 
> Looks like a CI environment issue

a bit strange because the logs says that there is 6.x
Comment 5 Mike Pagano gentoo-dev 2023-07-19 14:36:31 UTC
(In reply to Agostino Sarubbo from comment #4)
> (In reply to Mike Pagano from comment #3)
> > "Need Linux 4.1+ kernel source tree to enable it."
> > 
> > 
> > Looks like a CI environment issue
> 
> a bit strange because the logs says that there is 6.x

It's not finding trace.h, and assuming you have an old kernel
Comment 6 Agostino Sarubbo gentoo-dev 2023-07-19 14:55:50 UTC
(In reply to Mike Pagano from comment #5)
> It's not finding trace.h, and assuming you have an old kernel

maybe it is looking in the wrong path?