Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914348 - app-antivirus/lkrg-0.9.6-r1 - /.../p_struct_wrap.h: error: struct module has no member named core_layout
Summary: app-antivirus/lkrg-0.9.6-r1 - /.../p_struct_wrap.h: error: struct module has ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-17 08:44 UTC by Toralf Förster
Modified: 2023-09-20 03:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.34 KB, text/plain)
2023-09-17 08:44 UTC, Toralf Förster
Details
app-antivirus:lkrg-0.9.6-r1:20230917-080607.log (app-antivirus:lkrg-0.9.6-r1:20230917-080607.log,33.55 KB, text/plain)
2023-09-17 08:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,207.38 KB, text/plain)
2023-09-17 08:44 UTC, Toralf Förster
Details
environment (environment,116.21 KB, text/plain)
2023-09-17 08:44 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,980 bytes, application/x-xz)
2023-09-17 08:44 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.30 KB, application/x-xz)
2023-09-17 08:44 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.73 KB, application/x-xz)
2023-09-17 08:44 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 2023-09-17 08:44:33 UTC
too long lines were shrinked:

  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/app-antivirus/lkrg-0.9.6-r1/work/lkrg-0.9.6/src/modules/integrity_timer/.p_integrity_timer.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./
# CC [M]  /var/tmp/portage/app-antivirus/lkrg-0.9.6-r1/work/lkrg-0.9.6/src/modules/integrity_timer/verify_kprobes/p_verify_kprobes.o
  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/app-antivirus/lkrg-0.9.6-r1/work/lkrg-0.9.6/src/modules/integrity_timer/verify_kprobes/.p_verify_kprobes.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/gener
In file included from /var/tmp/portage/app-antivirus/lkrg-0.9.6-r1/work/lkrg-0.9.6/src/modules/integrity_timer/../../p_lkrg_main.h:405,
                 from /var/tmp/portage/app-antivirus/lkrg-0.9.6-r1/work/lkrg-0.9.6/src/modules/integrity_timer/p_integrity_timer.c:18:
/var/tmp/portage/app-antivirus/lkrg-0.9.6-r1/work/lkrg-0.9.6/src/modules/integrity_timer/../../modules/wrap/p_struct_wrap.h: In function p_module_core:
/var/tmp/portage/app-antivirus/lkrg-0.9.6-r1/work/lkrg-0.9.6/src/modules/integrity_timer/../../modules/wrap/p_struct_wrap.h:106:16: error: struct module has no member named core_layout
  106 |    return p_mod->core_layout.base;
      |                ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20230914-163510

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Rust versions:
  [1]   rust-bin-1.72.0
  [2]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 8964976fc7b92272323c286f41246d1f44dc3802
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 17 06:31:37 2023 +0000

    2023-09-17 06:31:36 UTC

emerge -qpvO app-antivirus/lkrg
[ebuild  N    ] app-antivirus/lkrg-0.9.6-r1  USE="strip -dist-kernel -modules-sign -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2023-09-17 08:44:34 UTC
Created attachment 870796 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-17 08:44:35 UTC
Created attachment 870797 [details]
app-antivirus:lkrg-0.9.6-r1:20230917-080607.log
Comment 3 Toralf Förster gentoo-dev 2023-09-17 08:44:36 UTC
Created attachment 870798 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-17 08:44:37 UTC
Created attachment 870799 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-17 08:44:38 UTC
Created attachment 870800 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-17 08:44:39 UTC
Created attachment 870801 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-17 08:44:40 UTC
Created attachment 870802 [details]
temp.tar.xz
Comment 8 Jonathan Lovelace 2023-09-17 17:54:30 UTC
I just hit this while setting up a new machine, and from some Web searching it looks like it was reported upstream as https://github.com/lkrg-org/lkrg/issues/267 , and there's apparently a fix in the upstream Git repository. When I applied that, I then got the failure reported as https://github.com/lkrg-org/lkrg/issues/280 , which also has a fix in the upstream Git repository. With both of those as patches in my /etc/portage/patches/ , lkrg-0.9.6{,-r1} builds successfully for me.
Comment 9 Larry the Git Cow gentoo-dev 2023-09-20 03:11:18 UTC
The bug has been closed via the following commit(s):

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

commit d14bd23579fe930755ec34f165ac05a4a778e4a4
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2023-09-20 03:07:27 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2023-09-20 03:08:00 +0000

    app-antivirus/lkrg: add 0.9.7
    
    Closes: https://bugs.gentoo.org/914348
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-antivirus/lkrg/Manifest          |  2 ++
 app-antivirus/lkrg/lkrg-0.9.7.ebuild | 55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)
Comment 10 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-09-20 03:12:48 UTC
Looks like those patches are in the new 0.9.7, thanks!