Your message dated Sat, 08 Mar 2025 17:34:50 +0000
with message-id <e1tqy4y-007itf...@fasolo.debian.org>
and subject line Bug#1095728: fixed in mimic 0.7.0+ds-1
has caused the Debian Bug report #1095728,
regarding mimic-dkms: dkms fails on a module for 6.12.13-cloud-amd64: Error no 
BTF blob found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1095728: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095728
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mimic-dkms
Version: 0.6.3+ds-1
Severity: serious

mimic-dkms does not have autopkgtests enabled, see the attached patches
to do that.

The autopkgtests work fine for 6.12.13-amd64 and 6.12.13-rt-amd64, but
they fail for 6.12.13-cloud-amd64 with an error that I haven't
encountered so far in any other dkms module.

Note: all this testing happened in sid chroots that didn't have the
kernel or headers of the kernel running on the host (`uname -r`)
installed.


# dkms build -k 6.12.13-cloud-amd64 mimic/0.6.3+ds
Sign command: /lib/modules/6.12.13-cloud-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)...(bad exit status: 2)
Failed command:
make -j14 KERNELRELEASE=6.12.13-cloud-amd64 KERNEL_UNAME=6.12.13-cloud-amd64 
CHECKSUM_HACK=kfunc

Error! Bad return status for module build on kernel: 6.12.13-cloud-amd64 
(x86_64)
Consult /var/lib/dkms/mimic/0.6.3+ds/build/make.log for more information.

# cat /var/lib/dkms/mimic/0.6.3+ds/build/make.log
DKMS (dkms-3.1.5) make.log for mimic/0.6.3+ds for kernel 6.12.13-cloud-amd64 
(x86_64)
Tue Feb 11 09:20:29 UTC 2025
Cleaning build area
# command: make clean KERNEL_UNAME=6.12.13-cloud-amd64
rm -rf build dkms.conf AKMBUILD
[ ! -d /lib/modules/6.12.13-cloud-amd64/build ] || make -C 
/lib/modules/6.12.13-cloud-amd64/build M=/var/lib/dkms/mimic/0.6.3+ds/build 
clean
make[1]: Entering directory '/usr/src/linux-headers-6.12.13-cloud-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.12.13-cloud-amd64'

# exit code: 0
# elapsed time: 00:00:00
Building module(s)
# command: make -j14 KERNELRELEASE=6.12.13-cloud-amd64 
KERNEL_UNAME=6.12.13-cloud-amd64 CHECKSUM_HACK=kfunc
cp -rL /lib/modules/6.12.13-cloud-amd64/build build
PATH="$PATH:/usr/lib/mimic:/var/lib/dkms/mimic/0.6.3+ds/build/../out:/var/lib/dkms/mimic/0.6.3+ds/build/../tools"
 vmlinux-to-btf >build/vmlinux
extract-vmlinux: Cannot find vmlinux.
Error no BTF blob found
ERROR: cannot extract BTF from '/boot/vmlinuz-6.12.13-cloud-amd64'
make: *** [Makefile:69: build] Error 1

# exit code: 2
# elapsed time: 00:00:01


for reference:

# dkms build -k 6.12.13-amd64 mimic/0.6.3+ds
Sign command: /lib/modules/6.12.13-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s).... done.
Signing module /var/lib/dkms/mimic/0.6.3+ds/build/mimic.ko
Cleaning build area... done.

# cat /var/lib/dkms/mimic/0.6.3+ds/6.12.13-amd64/x86_64/log/make.log
DKMS (dkms-3.1.5) make.log for mimic/0.6.3+ds for kernel 6.12.13-amd64 (x86_64)
Tue Feb 11 09:21:47 UTC 2025
Cleaning build area
# command: make clean KERNEL_UNAME=6.12.13-amd64
rm -rf build dkms.conf AKMBUILD
[ ! -d /lib/modules/6.12.13-amd64/build ] || make -C 
/lib/modules/6.12.13-amd64/build M=/var/lib/dkms/mimic/0.6.3+ds/build clean
make[1]: Entering directory '/usr/src/linux-headers-6.12.13-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.12.13-amd64'

# exit code: 0
# elapsed time: 00:00:01
Building module(s)
# command: make -j14 KERNELRELEASE=6.12.13-amd64 KERNEL_UNAME=6.12.13-amd64 
CHECKSUM_HACK=kfunc
cp -rL /lib/modules/6.12.13-amd64/build build
PATH="$PATH:/usr/lib/mimic:/var/lib/dkms/mimic/0.6.3+ds/build/../out:/var/lib/dkms/mimic/0.6.3+ds/build/../tools"
 vmlinux-to-btf >build/vmlinux
install -Dm755 /usr/lib/mimic/resolve_btfids 
build/tools/bpf/resolve_btfids/resolve_btfids
make -C build M=/var/lib/dkms/mimic/0.6.3+ds/build modules
make[1]: Entering directory '/var/lib/dkms/mimic/0.6.3+ds/build/build'
  CC [M]  /var/lib/dkms/mimic/0.6.3+ds/build/main.o
  CC [M]  /var/lib/dkms/mimic/0.6.3+ds/build/csum-hack-kfunc.o
  LD [M]  /var/lib/dkms/mimic/0.6.3+ds/build/mimic.o
  MODPOST /var/lib/dkms/mimic/0.6.3+ds/build/Module.symvers
  CC [M]  /var/lib/dkms/mimic/0.6.3+ds/build/mimic.mod.o
  CC [M]  /var/lib/dkms/mimic/0.6.3+ds/build/.module-common.o
  LD [M]  /var/lib/dkms/mimic/0.6.3+ds/build/mimic.ko
  BTF [M] /var/lib/dkms/mimic/0.6.3+ds/build/mimic.ko
make[1]: Leaving directory '/var/lib/dkms/mimic/0.6.3+ds/build/build'

# exit code: 0
# elapsed time: 00:00:05
Cleaning build area
# command: make clean KERNEL_UNAME=6.12.13-amd64
rm -rf build dkms.conf AKMBUILD
[ ! -d /lib/modules/6.12.13-amd64/build ] || make -C 
/lib/modules/6.12.13-amd64/build M=/var/lib/dkms/mimic/0.6.3+ds/build clean
make[1]: Entering directory '/usr/src/linux-headers-6.12.13-amd64'
  CLEAN   /var/lib/dkms/mimic/0.6.3+ds/build/Module.symvers
make[1]: Leaving directory '/usr/src/linux-headers-6.12.13-amd64'

# exit code: 0
# elapsed time: 00:00:00

Andreas
>From a7f0c5268c38fae777b5a72ef78c45ac6cdc9b88 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Tue, 11 Feb 2025 00:26:56 +0100
Subject: [PATCH 1/2] declare Testsuite: autopkgtest-pkg-dkms

---
 debian/changelog | 6 ++++++
 debian/control   | 1 +
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 111b2fd..42ea3fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mimic (0.6.3+ds-2) UNRELEASED; urgency=medium
+
+  * Declare Testsuite: autopkgtest-pkg-dkms.
+
+ -- Andreas Beckmann <a...@debian.org>  Tue, 11 Feb 2025 00:26:16 +0100
+
 mimic (0.6.3+ds-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/control b/debian/control
index a57da54..4998cd0 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Homepage: https://github.com/hack3ric/mimic
 Rules-Requires-Root: no
 Vcs-Browser: https://salsa.debian.org/hacker/mimic
 Vcs-Git: https://salsa.debian.org/hacker/mimic.git
+Testsuite: autopkgtest-pkg-dkms
 
 Package: mimic
 Architecture: amd64 arm64 powerpc ppc64 ppc64el riscv64
-- 
2.39.5

>From 56bd6a5f31c8e1d353a114a1fa0af5cbbf66c885 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Tue, 11 Feb 2025 09:59:14 +0100
Subject: [PATCH 2/2] dkms.conf: set KERNEL_UNAME=... for make clean, too

---
 debian/changelog               |  1 +
 debian/patches/dkms.conf.patch | 14 ++++++++++++++
 debian/patches/series          |  1 +
 3 files changed, 16 insertions(+)
 create mode 100644 debian/patches/dkms.conf.patch
 create mode 100644 debian/patches/series

diff --git a/debian/changelog b/debian/changelog
index 42ea3fb..a0b5593 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 mimic (0.6.3+ds-2) UNRELEASED; urgency=medium
 
   * Declare Testsuite: autopkgtest-pkg-dkms.
+  * dkms.conf: Set KERNEL_UNAME=... for make clean, too.
 
  -- Andreas Beckmann <a...@debian.org>  Tue, 11 Feb 2025 00:26:16 +0100
 
diff --git a/debian/patches/dkms.conf.patch b/debian/patches/dkms.conf.patch
new file mode 100644
index 0000000..77bcfd7
--- /dev/null
+++ b/debian/patches/dkms.conf.patch
@@ -0,0 +1,14 @@
+Author: Andreas Beckmann <a...@debian.org>
+Description: set KERNEL_UNAME=... for make clean, too
+
+--- a/kmod/dkms.conf.in
++++ b/kmod/dkms.conf.in
+@@ -1,7 +1,7 @@
+ PACKAGE_NAME="mimic"
+ PACKAGE_VERSION="#MODULE_VERSION#"
+ MAKE[0]="make KERNEL_UNAME=$kernelver @@EXTRA_OPTS@@"
+-CLEAN="make clean"
++CLEAN="make clean KERNEL_UNAME=$kernelver"
+ BUILT_MODULE_NAME[0]="mimic"
+ DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
+ AUTOINSTALL="yes"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a61a368
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dkms.conf.patch
-- 
2.39.5


--- End Message ---
--- Begin Message ---
Source: mimic
Source-Version: 0.7.0+ds-1
Done: Eric Long <i...@hack3r.moe>

We believe that the bug you reported is fixed in the latest version of
mimic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1095...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Eric Long <i...@hack3r.moe> (supplier of updated mimic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 07 Mar 2025 17:52:17 +0800
Source: mimic
Architecture: source
Version: 0.7.0+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Eric Long <i...@hack3r.moe>
Changed-By: Eric Long <i...@hack3r.moe>
Closes: 1095722 1095728
Changes:
 mimic (0.7.0+ds-1) unstable; urgency=medium
 .
   [ Eric Long ]
   * New upstream release.
   * Add autopkgtest integration-tests
   * Remove untested PowerPCs from Architecture
   * Use dh_installsysusers to fix piuparts
   * mimic-dkms: promote lz4 and xz-utils to Depends as they are used in
     official kernel (Closes: #1095728)
   * mimic-dkms: use bubblewrap for overlaying additional files on top of kernel
     module build directory (Closes: #1095722)
   * mimic-dkms: specify BUILD_EXCLUSIVE_KERNEL_MIN="6.1" and
     BUILD_EXCLUSIVE_CONFIG="CONFIG_DEBUG_INFO_BTF_MODULES"
 .
   [ Andreas Beckmann ]
   * Declare Testsuite: autopkgtest-pkg-dkms.
Checksums-Sha1:
 340692bb9703394ddae4373f42b6fb224e68551e 2263 mimic_0.7.0+ds-1.dsc
 46ca388edec635e7350e05018327f2f5e40ddda3 385208 mimic_0.7.0+ds.orig.tar.xz
 892b6c76ec6efc853328195b9e41fb19aafd172d 5672 mimic_0.7.0+ds-1.debian.tar.xz
 98cae3cb4722c9512d324fb56dd340897fe99c6b 10053 mimic_0.7.0+ds-1_amd64.buildinfo
Checksums-Sha256:
 803f43712b031f9ec17ee95417d9e699233abbba4232cd9d36ded109bc4614ca 2263 
mimic_0.7.0+ds-1.dsc
 d699fb57a093f1a81a07bd33d3b3d0493c8ce8ab5a9c8b51a83809cb8673c753 385208 
mimic_0.7.0+ds.orig.tar.xz
 6107cbfdecad9e83aaaf084dc891dfe80bad139ce78a67ecb69b9b4939a13522 5672 
mimic_0.7.0+ds-1.debian.tar.xz
 e6010e579778e0fc835e1f13a695f6b26dc23c198c801934bba7d469b00a1340 10053 
mimic_0.7.0+ds-1_amd64.buildinfo
Files:
 fc9cdb0d9734238f09d31dc52d64a5c4 2263 net optional mimic_0.7.0+ds-1.dsc
 79e330dc14f2496f17d749c62c00ad7a 385208 net optional mimic_0.7.0+ds.orig.tar.xz
 af549d048582cf617cbcb515611b0cf7 5672 net optional 
mimic_0.7.0+ds-1.debian.tar.xz
 38a42495f9d16732397c0db7275e32de 10053 net optional 
mimic_0.7.0+ds-1_amd64.buildinfo


-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAmfMeU8QHGJlcm5hdEBs
dWZmeS5jeAAKCRCVpC/oNTUl+VP5D/9bbKGdWxRW5En6BMeV+9fyfItPUl63iL8m
sloF8ImZk0hw2cH8Iy2hMy0cNr9qv4Jkmxk9ecPVGopwWh+BNAOcnUUvNPBXCJCX
J9ZbWeqdAdP6QLU+BOirVH472R5+TG7eLUMAkcpn2PDRhwJ/wQRg8hGe2RetN2Xq
WZwqVe21S0HQnz3uALtuMVM4wxj0yfupGAJ5+F30Uu+NCOPCO1Pco4w6zrZQTdYc
rXto9KL22kemnm3O8Fwyiyc0z6RbiR9G7AgK6HIO4DPgO4SUCA4Exj9mpjCwNRaA
RqOqJW2kpZlmLw74utSxR/2iT4gqq8p+SY2fZ+eZExAMKuUwrcdwYHGRfUmb+n8A
/IN2woRrkwfDKnLBD8EJoWlIjx8Fuu6jcoGmEcmjHl4pTDOrP9b2l9xUu5T1Hx8V
UM9KhlnEMhVggZoBg4J2316heHrGYCLPH8WSx33obKJCaedZtqSZhuO7QzJ43JZO
hnrfuYqfR2AtvzB5HfFfiDxJ1Zg21RgdRRy4uuhJ8st7Pd+TxdUFGclpO+Ya02GD
o7FaiCE1Ar+zmXa9p8JyCF3DykrCu9jagVNvTYNF55nkxRFai5wU7KJl+qHOBBdV
fNbo/X09RVz56Dj/QlLsQBmw9cAfLB94k0a8QVeDyRfGv3XSWfw7EmJ13Nqkh4DR
OPKDXBkWsg==
=uasg
-----END PGP SIGNATURE-----

Attachment: pgpyTpHNv9NTv.pgp
Description: PGP signature


--- End Message ---

Reply via email to