This has been going on for a while. Hate to rely on zfs-dkms-git and zfs-utils-git but they work and I can not get 0.8.5 or 0.8.4 to work with any recent linux-lts or linux packages. Tried sifting trough build logs and at first it looked like some errors about missing rpmbuild
when running configure but no.
(4/5) Install DKMS modules
==> dkms install --no-depmod -m zfs -v 0.8.5 -k 5.4.72-1-lts
/var/lib/dkms/zfs/0.8.5/build/configure: 13381: RPM_DEFINE_COMMON+= --define "$(DEBUG_KMEM_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13382: RPM_DEFINE_COMMON+= --define "$(DEBUG_KMEM_TRACKING_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13383: RPM_DEFINE_COMMON+= --define "$(DEBUGINFO_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13384: RPM_DEFINE_COMMON+= --define "$(ASAN_ZFS) 1": not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13403: RPM_DEFINE_UTIL+= $(DEFINE_INITRAMFS): not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13404: RPM_DEFINE_UTIL+= $(DEFINE_SYSTEMD): not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13405: RPM_DEFINE_UTIL+= $(DEFINE_PYZFS): not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13406: RPM_DEFINE_UTIL+= $(DEFINE_PYTHON_VERSION): not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13407: RPM_DEFINE_UTIL+= $(DEFINE_PYTHON_PKG_VERSION): not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13418: RPM_DEFINE_KMOD+= --define "ksrc $(LINUX)": not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13419: RPM_DEFINE_KMOD+= --define "kobj $(LINUX_OBJ)": not found
/var/lib/dkms/zfs/0.8.5/build/configure: 13420: RPM_DEFINE_KMOD+= --define "_wrong_version_format_terminate_build 0": not found
configure: error:
*** Unable to build an empty module.
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)