You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dkms fails to build the zfs module on both 0.8.6-1 and 2.0.4-1
Loading new zfs-2.0.4 DKMS files...
Building for 5.4.127-1.el7.elrepo.x86_64
Building initial module for 5.4.127-1.el7.elrepo.x86_64
configure: error:
*** Unable to build an empty module.
scripts/Makefile.clean:15: /var/lib/dkms/zfs/2.0.4/build/Makefile: No such file or directory
make[2]: *** No rule to make target `/var/lib/dkms/zfs/2.0.4/build/Makefile'. Stop.
make[1]: *** [_clean_/var/lib/dkms/zfs/2.0.4/build] Error 2
make: *** [sub-make] Error 2
Error! Bad return status for module build on kernel: 5.4.127-1.el7.elrepo.x86_64 (x86_64)
Consult /var/lib/dkms/zfs/2.0.4/build/make.log for more information.
# cat /var/lib/dkms/zfs/2.0.4/build/make.log
DKMS make.log for zfs-2.0.4 for kernel 5.4.127-1.el7.elrepo.x86_64 (x86_64)
Tue Jun 22 09:21:52 CDT 2021
make: *** No targets specified and no makefile found. Stop.
Running ./configure in /var/lib/dkms/zfs/2.0.4/build ends with:
checking kernel source directory... /usr/src/kernels/5.4.127-1.el7.elrepo.x86_64
checking kernel build directory... /usr/src/kernels/5.4.127-1.el7.elrepo.x86_64
checking kernel source version... 5.4.127-1.el7.elrepo.x86_64
checking kernel file name for module symbols... Module.symvers
checking whether modules can be built... no
configure: error:
*** Unable to build an empty module.
Here's an explanation - tldr these builds of 5.4 and newer need gcc 9 or newer for building against them to do something reasonable, but for whatever ungodly reason elrepo's kernels don't have a dependency marked for this.
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.
System information
Describe the problem you're observing
dkms fails to build the zfs module on both 0.8.6-1 and 2.0.4-1
Running ./configure in /var/lib/dkms/zfs/2.0.4/build ends with:
config.log attached.
config.log
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
No system logs.
The text was updated successfully, but these errors were encountered: