I just noticed that SPL and ZFS is not needed as DKMS with hwe kernels - I do not know in which version it was included as kernel module.
Simply removing dkms for zfs and spl solved the problem. apt remove zfs-dkms spl-dkms (if it is not needed for older kernels) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1815939 Title: Upgrade to HWE stack fails in make of spl module (zfs) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/spl-linux/+bug/1815939/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs