Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941424 - app-antivirus/lkrg-0.9.8 - [libtool] [gcc-15] /.../p_comm_channel.c: error: initialization of int ( )(const struct ctl_table , int, void , size_t , loff_t ) {aka int ( )(
Summary: app-antivirus/lkrg-0.9.8 - [libtool] [gcc-15] /.../p_comm_channel.c: error: i...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John Helmert III
URL: https://github.com/lkrg-org/lkrg/issu...
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-10-12 20:11 UTC by Toralf Förster
Modified: 2025-03-22 15:40 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.35 KB, text/plain)
2024-10-12 20:11 UTC, Toralf Förster
Details
app-antivirus:lkrg-0.9.8:20241012-200233.log (app-antivirus:lkrg-0.9.8:20241012-200233.log,46.94 KB, text/plain)
2024-10-12 20:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,50.17 KB, text/plain)
2024-10-12 20:11 UTC, Toralf Förster
Details
environment (environment,130.59 KB, text/plain)
2024-10-12 20:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-12 20:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.59 KB, application/x-xz)
2024-10-12 20:11 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,131.45 KB, text/plain)
2024-10-12 20:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.27 KB, application/x-xz)
2024-10-12 20:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-10-12 20:11:47 UTC
too long lines were shrinked:

                 from /var/tmp/portage/app-antivirus/lkrg-0.9.8/work/lkrg-0.9.8/src/modules/comm_channel/../../p_lkrg_main.h:405,
                 from /var/tmp/portage/app-antivirus/lkrg-0.9.8/work/lkrg-0.9.8/src/modules/comm_channel/p_comm_channel.c:18:
/var/tmp/portage/app-antivirus/lkrg-0.9.8/work/lkrg-0.9.8/src/modules/comm_channel/../../modules/exploit_detection/syscalls/p_security_ptrace_access/p_security_ptrace_access.h:21: warning: header guard "P_LKRG_EXPLOIT_DETECTION_SECURITY_PTRACE_ACCESS_H" followed by "#define" of a different macro [-W
   21 | #ifndef P_LKRG_EXPLOIT_DETECTION_SECURITY_PTRACE_ACCESS_H
/var/tmp/portage/app-antivirus/lkrg-0.9.8/work/lkrg-0.9.8/src/modules/comm_channel/../../modules/exploit_detection/syscalls/p_security_ptrace_access/p_security_ptrace_access.h:22: note: "P_LKRG_EXPLOIT_DETECTION_SECURTIY_PTRACE_ACCESS_H" is defined here; did you mean "P_LKRG_EXPLOIT_DETECTION_SECURI
   22 | #define P_LKRG_EXPLOIT_DETECTION_SECURTIY_PTRACE_ACCESS_H
/var/tmp/portage/app-antivirus/lkrg-0.9.8/work/lkrg-0.9.8/src/modules/comm_channel/p_comm_channel.c:147:25: error: initialization of int (*)(const struct ctl_table *, int,  void *, size_t *, loff_t *) {aka int (*)(const struct ctl_table *, int,  void *, long unsigned int *, long long int *)} from in
  147 |       .proc_handler   = p_sysctl_kint_validate,
      |                         ^~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20241011-134002

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Build config: +assertions
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.1
Python 3.12.7
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

php cli (if any):
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit d8dfefb0fd8e7163aa440d1498d3e716c1187ed3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Oct 12 18:33:20 2024 +0000

    2024-10-12 18:33:19 UTC

emerge -qpvO =app-antivirus/lkrg-0.9.8
[ebuild  N    ] app-antivirus/lkrg-0.9.8  USE="strip -dist-kernel -modules-compress -modules-sign -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2024-10-12 20:11:48 UTC
Created attachment 905416 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-12 20:11:49 UTC
Created attachment 905417 [details]
app-antivirus:lkrg-0.9.8:20241012-200233.log
Comment 3 Toralf Förster gentoo-dev 2024-10-12 20:11:50 UTC
Created attachment 905418 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-12 20:11:52 UTC
Created attachment 905419 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-12 20:11:53 UTC
Created attachment 905420 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-12 20:11:54 UTC
Created attachment 905421 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-12 20:11:56 UTC
Created attachment 905422 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-10-12 20:11:57 UTC
Created attachment 905423 [details]
temp.tar.xz
Comment 9 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2025-03-01 20:42:43 UTC
This will be fixed with 0.9.9. It's exposed by a `const` change in some underlying kernel API which changed in 6.11, so using an older should also fix the problem.
Comment 10 Larry the Git Cow gentoo-dev 2025-03-02 19:28:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aefaab842883f228a1149a8c69deb47202c0c9c

commit 2aefaab842883f228a1149a8c69deb47202c0c9c
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2025-03-02 19:24:23 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2025-03-02 19:25:59 +0000

    app-antivirus/lkrg: add 0.9.9
    
    Masked for now while dealing with a seeming upstream problem.
    
    Bug: https://bugs.gentoo.org/941424
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-antivirus/lkrg/Manifest          |  2 ++
 app-antivirus/lkrg/lkrg-0.9.9.ebuild | 60 ++++++++++++++++++++++++++++++++++++
 profiles/package.mask                |  5 +++
 3 files changed, 67 insertions(+)