Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921163 - dev-util/sysdig-0.29.3-r4: build failure against kernel-6.7-rc
Summary: dev-util/sysdig-0.29.3-r4: build failure against kernel-6.7-rc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Holger Hoffstätte
URL: https://github.com/falcosecurity/libs...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-01 14:34 UTC by Holger Hoffstätte
Modified: 2024-01-11 14:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2024-01-01 14:34:59 UTC
Some internals changed and once again break the build, because of course:

/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c: In function 'ppm_get_mm_exe_file':
/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c:436:39: error: passing argument 1 of 'get_file_rcu' from incompatible pointer type [-Werror=incompatible-pointer-types]
  436 |         if (exe_file && !get_file_rcu(exe_file))
      |                                       ^~~~~~~~
      |                                       |
      |                                       struct file *
In file included from ./include/linux/compat.h:17,
                 from /tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c:12:
./include/linux/fs.h:1046:47: note: expected 'struct file **' but argument is of type 'struct file *'
 1046 | struct file *get_file_rcu(struct file __rcu **f);
      |                           ~~~~~~~~~~~~~~~~~~~~^

 

Reproducible: Always

Steps to Reproduce:
1. build 6.7-rc kernel tree
2. try to eerge scap-driver-0.29.3-r4
3. oh noe
Comment 1 Holger Hoffstätte 2024-01-01 14:37:37 UTC
The upstream patch does not apply but I'll cook up a backport.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-11 14:13:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb9dff0d4ad83a6cc07858b5a70a336a4150860

commit 5bb9dff0d4ad83a6cc07858b5a70a336a4150860
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2024-01-01 14:54:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-11 14:12:37 +0000

    dev-util/scap-driver: fix build on kernel 6.7
    
    Closes: https://bugs.gentoo.org/921163
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/0.29.3-fix-kmod-build-on-6.7+.patch      | 21 +++++++++
 dev-util/scap-driver/scap-driver-0.29.3-r5.ebuild  | 52 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)