@notjas: your are mixing two things. Patch #15931 is needed for kernel 6.8. Patch #15896 is to notify about the max supported kernel version. They are both not related to each other and patch #15896 is not a fix for anything but just a convenience.
I assume you want to patch zfs to support kernel 6.8. If that is true I suggest you use package zfs-dkms-staging-git instead. This package pulls the branch zfs-2.2.4-staging which supports kernel 6.8 right away. I have it running with kernel 6.8 and it works fine.
Pinned Comments
kstolp commented on 2025-04-29 16:56 (UTC) (edited on 2025-05-03 09:40 (UTC) by kstolp)
OpenZFS currently supports Linux kernel versions 4.18 - 6.14, as declared in the META file.
Options if your Linux kernel's version is not within that range:
1) Switch to another Linux kernel, such as
linux-lts
.2) Prevent your kernel package from upgrading to an unsupported version until OpenZFS increases the maximum supported kernel version.
3) Modify this package to support your kernel by patching it on your local machine.
kstolp commented on 2023-09-29 00:34 (UTC)
When requesting changes, please include detailed reasoning for the change.
kstolp commented on 2023-01-07 09:31 (UTC)
If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.
You have two options:
1) Import the two keys into your keyring. ArchWiki article. You can find the key IDs in the PKGBUILD file, in the
validpgpkeys
array. (recommended)2) Alternatively, you can skip this verification by passing the
--skippgpcheck
argument tomakepkg
when building. (not recommended)