I cannot install version 0.8.3 on a system running the 5.4.39-1-lts kernel (latest lts kernel as of today).
The initial build process concludes successfully (but see below), then dkms fails with this message:
==> dkms install zfs/0.8.3 -k 5.4.39-1-lts
configure: error:
*** Unable to build an empty module.
Error! Bad return status for module build on kernel: 5.4.39-1-lts (x86_64)
Consult /var/lib/dkms/zfs/0.8.3/build/make.log for more information.
The log is not very helpful:
DKMS make.log for zfs-0.8.3 for kernel 5.4.39-1-lts (x86_64)
Mon 11 May 2020 12:45:19 PM CDT
make: Entering directory '/var/lib/dkms/zfs/0.8.3/build/module'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory '/var/lib/dkms/zfs/0.8.3/build/module'
/var/lib/dkms/zfs/0.8.3/build/make.log (END)
Perhaps something went wrong earlier in the build process?
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)