One does not require zfs-dkms if you are using the 5.4 ubuntu kernel since the zfs modules are built into the kernel package. Removing zfs- dkms will solve the issue.
** Changed in: zfs-linux (Ubuntu) Importance: Undecided => Medium ** Changed in: zfs-linux (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1888043 Title: zfs-dkms 0.8.3-1ubuntu12.2: zfs kernel module failed to build Status in zfs-linux package in Ubuntu: Invalid Bug description: zfs-dkms update issue ProblemType: Package DistroRelease: Ubuntu 20.04 Package: zfs-dkms (not installed) ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44 Uname: Linux 5.4.0-40-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu27.4 Architecture: amd64 CasperMD5CheckResult: skip DKMSBuildLog: DKMS make.log for zfs-0.8.3 for kernel 5.4.0-40-generic (x86_64) Saturday 18 July 2020 11:03:00 AM IST make: *** No targets specified and no makefile found. Stop. DKMSKernelVersion: 5.4.0-40-generic Date: Sat Jul 18 11:03:08 2020 InstallationDate: Installed on 2020-05-18 (60 days ago) InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) PackageVersion: 0.8.3-1ubuntu12.2 Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.1 SourcePackage: zfs-linux Title: zfs-dkms 0.8.3-1ubuntu12.2: zfs kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1888043/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp