[From nobody Fri May 15 16:37:09 2026
Received: (at submit) by bugs.debian.org; 3 May 2026 00:04:58 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-18.9 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,FOURLA,FVGT_m_MULTI_ODD,HAS_PACKAGE,NO_RELAYS,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 150; neutral, 185; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--armhf, 0.000-+--sk:taint_o,
 0.000-+--sk:TAINT_O
Return-path: &lt;linus.luessing@c0d3.blue&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;linus.luessing@c0d3.blue&gt;) id 1wJKKO-0030s1-0F
 for submit@bugs.debian.org; Sun, 03 May 2026 00:04:58 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: =?utf-8?q?Linus_L=C3=BCssing?= &lt;linus.luessing@c0d3.blue&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: zfs-dkms does not compile with Linux 7.0
Message-ID: &lt;177776669368.494244.12443140809108671221.reportbug@linus-work&gt;
X-Mailer: reportbug 13.2.0
Date: Sun, 03 May 2026 02:04:53 +0200
Delivered-To: submit@bugs.debian.org

Package: zfs-dkms
Version: 2.4.1-1
Severity: important
X-Debbugs-Cc: linus.luessing@c0d3.blue

Dear Maintainer,

Updating to linux-image-7.0.3+deb14-amd64 conflicts with this zfs-dkms
package:

```
$ apt update &amp;&amp; apt dist-upgrade
[...]
Autoinstall of module zfs/2.4.1 for kernel 7.0.3+deb14-amd64 (x86_64)
Running the pre_build script..............(bad exit status: 1)
Failed command:
cd /var/lib/dkms/zfs/2.4.1/build/ &amp;&amp; /var/lib/dkms/zfs/2.4.1/build/configure --disable-dependency-tracking --prefix=/usr --with-config=kernel --with-linux=/lib/modules/7.0.3+deb14-amd64/source --with-linux-obj=/lib/modules/7.0.3+deb14-amd64/build --with-qat= --host= --enable-linux-experimental 
Consult /var/lib/dkms/zfs/2.4.1/build/make.log for more information.
[...]
```

/var/lib/dkms/zfs/2.4.1/build/make.log says:

```
DKMS (dkms-3.2.2) make.log for zfs/2.4.1 for kernel 7.0.3+deb14-amd64 (x86_64)
Sun May  3 01:32:17 AM CEST 2026
[...]
checking whether truncate_setsize() is available... yes
checking whether security_inode_init_security wants callback... yes
checking whether fst-&gt;mount() exists... configure: error:
        *** None of the expected &quot;fst-&gt;mount()&quot; interfaces were detected.
        *** This may be because your kernel version is newer than what is
        *** supported, or you are using a patched custom kernel with
        *** incompatible modifications.
        ***
        *** ZFS Version: zfs-2.4.1-1
        *** Compatible Kernels: 4.18 - 6.19


# exit code: 1
# elapsed time: 00:00:35
----------------------------------------------------------------
```

Regards, Linus


PS: Also, if the supported kernel versions are known in advance,
wouldn't it be possible and nicer to add the kernel version requirements
to the Debian package definition? So that one would get an error before
trying to update and not after? And one wouldn't be left with a system that
would potentially not boot anymore?


-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i686, i386, armhf, arm64

Kernel: Linux 6.19.14+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.92
ii  dkms                   3.2.2-1
ii  file                   1:5.46-5+b2
ii  libc6-dev [libc-dev]   2.42-15
ii  libpython3-stdlib      3.13.9-3+b1
ii  lsb-release            12.1-2

Versions of packages zfs-dkms recommends:
ii  linux-libc-dev  6.19.14-1
ii  zfs-zed         2.4.1-1
ii  zfsutils-linux  2.4.1-1

Versions of packages zfs-dkms suggests:
ii  debhelper  13.31

-- debconf information:
  zfs-dkms/stop-build-for-unknown-kernel: true
  zfs-dkms/stop-build-for-32bit-kernel: true
* zfs-dkms/note-incompatible-licenses:
]