Try rerunning dkms install zfs/0.8.3 -k 5.4.39-1-lts
as root to get the full error log.
Search Criteria
Package Details: zfs-dkms 2.2.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/zfs-dkms.git (read-only, click to copy) |
---|---|
Package Base: | zfs-dkms |
Description: | Kernel modules for the Zettabyte File System. |
Upstream URL: | https://zfsonlinux.org/ |
Licenses: | CDDL |
Provides: | SPL-MODULE, zfs, ZFS-MODULE |
Submitter: | isiachi |
Maintainer: | kstolp |
Last Packager: | kstolp |
Votes: | 162 |
Popularity: | 2.67 |
First Submitted: | 2015-08-31 12:01 (UTC) |
Last Updated: | 2024-05-03 03:00 (UTC) |
Dependencies (2)
- dkms
- zfs-utilsAUR (zfs-linux-gitAUR, zfs-utils-gitAUR, zfs-utils-staging-gitAUR)
Required by (19)
- cockpit-zfs-manager (requires zfs)
- prepare-lastboot (requires zfs)
- python-pyzfscmds (requires zfs)
- targetd (optional)
- targetd-git (optional)
- zbectl-git (requires zfs)
- zectl (requires zfs)
- zectl-git (requires zfs)
- zedenv (requires zfs)
- zedenv-git (requires zfs)
- zedenv-grub (requires zfs)
- zfs-auto-snapshot (requires zfs)
- zfs-auto-snapshot-git (requires zfs)
- zfsbootmenu (requires zfs)
- zfsbootmenu-efi-bin (requires zfs)
- znapzend (requires zfs)
- znapzupport (requires zfs)
- zsnapd (requires zfs)
- zxfer (requires zfs)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 27 28 29 30 31 32 33 34 35 36 37 .. 58 Next › Last »
eschwartz commented on 2020-05-11 17:59 (UTC)
sfranchi commented on 2020-05-11 17:54 (UTC) (edited on 2020-05-11 17:56 (UTC) by sfranchi)
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?
eschwartz commented on 2020-05-01 15:53 (UTC)
(please use markdown to post command output)
"It broke" isn't very useful debug info. If you cannot find the make.log, try rerunning the dkms install ...
command in question manually, since it is only the pacman hook that hides the output.
Zod commented on 2020-05-01 15:50 (UTC)
I just updated to 5.6.8 and the kernel modules built fine.
The only thing I did different is, I was on 5.6.8 briefly and then downgraded back to 5.6.7 (testing dracut) a couple of days ago. I have a make.log if anyone might find it interesting.
sfranchi commented on 2020-05-01 14:16 (UTC) (edited on 2020-05-01 15:51 (UTC) by eschwartz)
I'm getting a build error on the latest system update:
==> dkms install zfs/0.8.3 -k 5.6.8-arch1-1
Error! Bad return status for module build on kernel: 5.6.8-arch1-1 (x86_64)
Consult /var/lib/dkms/zfs/0.8.3/build/make.log for more information.
Any suggestions on how to proceed?
The log file does not seem to exist, BTW.
dmshimself commented on 2020-04-16 00:41 (UTC)
Cheers and good to know about LTS. On a test rig, I released gcc and gcc-libs, did a full update but no newer versions were installed. I took the plunge and upgraded the kernel, rebuilt zfs-dkms with that 5.6 kernel running, rebooted, did a modprobe zfs and all was well. Many thanks to all for the assist.
fryfrog commented on 2020-04-15 23:42 (UTC) (edited on 2020-04-15 23:42 (UTC) by fryfrog)
I think you want to be running the same gcc/glibc that your kernel was built with. Normally, that just means keeping current. I would release gcc and gcc-libs and update. Then update your kernel. Then if zfs-dkms isn't latest, update and let it build for your newly updated kernel.
FWIW, I have both linux
and linux-lts
installed and my archzfs/zfs-dkms builds just fine.
dmshimself commented on 2020-04-15 23:36 (UTC)
I get adding the key, really I do :-) It's just that during my testing, on a 5.5 kernel I'm using, I cannot build this with the 'horrible but quick test hack' makepkg --skippgpcheck. On a 5.6 kernel, it builds just fine. This of course might all be me, so I wanted to highlight that when we had the zfs issues with moving to kernel 5.5 from 5.4, I know we had to keep the gcc versions in line with the kernel. Since the 5.6 issue was raised, I've had the follow in my pacman.conf
IgnorePkg=linux linux-headers gcc gcc-libs
As a workaround, I was considering removing zfs-dkms from my 5.5 main desktop as I can just about manage with it in the short term. Then upgrading to 5.6 and finally popping zfs-dkms back in again. I'd prefer to be able to upgrade other, older 5.5 kernel machines without doing those steps, but if that's the best way forward to upgrade, I'm happy to do that. Any thoughts appreciated.
Pinned Comments
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)