[Pkg-zfsonlinux-devel] Bug#1135579: zfs-dkms does not compile with Linux 7.0
Linus Lüssing
linus.luessing at c0d3.blue
Sun May 3 01:04:53 BST 2026
Package: zfs-dkms
Version: 2.4.1-1
Severity: important
X-Debbugs-Cc: linus.luessing at c0d3.blue
Dear Maintainer,
Updating to linux-image-7.0.3+deb14-amd64 conflicts with this zfs-dkms
package:
```
$ apt update && 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/ && /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->mount() exists... configure: error:
*** None of the expected "fst->mount()" 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:
More information about the Pkg-zfsonlinux-devel
mailing list