[Pkg-zfsonlinux-devel] zfs-dkms build errors reason
Yurii Kolesnykov
root at yurikoles.com
Sat May 23 21:13:28 BST 2020
Hello dear maintainers,
It seems that I had found a cause of many build bugs of zfs-dkms against recent kernels, here is my comment in upstream repo: https://git.io/JfagN.
In two words: something is changed in splitting kernel headers between arch-specific, e.g. -amd64 package and for any arch (-common), so ZFS doesn’t find needed headers because they was moved to -common package. The following command fixed build of zfs-dkms for me:
sudo rsync -a /usr/src/linux-headers-5.6.0-1-common/ /usr/src/linux-headers-5.6.0-1-amd64/
More information about the Pkg-zfsonlinux-devel
mailing list