[Pkg-dkms-maint] Bug#838674: Fails to build spl-dkms correctly

Andras Korn korn-debbugs at elan.rulez.org
Fri Sep 23 14:15:29 UTC 2016

Package: dkms
Severity: normal


the latest version of the dkms package fails to build/install spl-dkms
correctly, which then also causes subsequent builds of zfs-dkms to fail
(after a long time, because zfs-dkms attemtps to wait for spl-dkms to be

The following messages are printed at the end of the spl-dkms build process:

Running the post_install script:
cp: cannot stat '/var/lib/dkms/spl/0.7.0rc1/build/spl_config.h': No such file or directory
cp: cannot stat '/var/lib/dkms/spl/0.7.0rc1/build/module/Module.symvers': No such file or directory

AFAICT this occurs with all versions of spl-dkms.

Downgrading to dkms fixes the problem for me (and the above
messages don't appear).

Best regards,


-- System Information:
Debian Release: wheezy/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.22-vs2.3.8.4-hellgate (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: runit

       My new approach to optimizing: comment random lines of code out;
          then check speed and verify the results are still correct.

More information about the Pkg-dkms-maint mailing list