This is a multi-part MIME message sent by reportbug.
Followup-For: Bug #1095728
autopkgtest also works for ppc64el and arm64 in qemu chroots.
I'm updating the autopkgtest patch since we need an arch restriction
because the package is not arch:any, otherwise the tests would fail on unsupported architectures.
That oldest supported kernel seems to be 6.6, for 6.5 I get
DKMS (dkms-3.1.5) make.log for mimic/0.6.3+ds for kernel 6.5.0-5-amd64 (x86_64) Wed Feb 12 08:01:44 UTC 2025
Cleaning build area
# command: make clean KERNEL_UNAME=6.5.0-5-amd64
rm -rf build dkms.conf AKMBUILD
[ ! -d /lib/modules/6.5.0-5-amd64/build ] || make -C /lib/modules/6.5.0-5-amd64/build M=/var/lib/dkms/mimic/0.6.3+ds/build clean
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-5-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-5-amd64'
# exit code: 0
# elapsed time: 00:00:00 ----------------------------------------------------------------
Building module(s)
# command: make -j14 KERNELRELEASE=6.5.0-5-amd64 KERNEL_UNAME=6.5.0-5-amd64 CHECKSUM_HACK=kfunc
cp -rL /lib/modules/6.5.0-5-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
ERROR: no boot image found; specify BOOT_DIR and VMLINUX_SUFFIX to match $BOOT_DIR/vmlinu{x,z}$VMLINUX_SUFFIX
make: *** [Makefile:69: build] Error 1
# exit code: 2
# elapsed time: 00:00:00 ----------------------------------------------------------------
This is probably nothing that needs to be fixed.
Instead I'm documenting the fact in dkms.conf by setting BUILD_EXCLUSIVE_KERNEL_MIN="6.6". You may want to add a comment with an explanation.
Andreas
From 92a1b779da1a4926e229d2c95c981d63e93fcc54 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <
anbe@debian.org>
Date: Tue, 11 Feb 2025 00:26:56 +0100
Subject: [PATCH 1/3] declare Testsuite: autopkgtest-pkg-dkms
---
debian/changelog | 6 ++++++
debian/control | 1 +
debian/tests/autopkgtest-pkg-dkms.conf | 1 +
3 files changed, 8 insertions(+)
create mode 100644 debian/tests/autopkgtest-pkg-dkms.conf
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 <
anbe@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
Archite