• ZFS module fails on every pacmac update


    Every time I run update via pacman the ZFS module fails to build:

    Upgrading zfs-utils (0.7.0.r2997.4.12.3_1-1 -> 0.7.1.4128-1)...
    Warning: zfs-utils: directory permissions differ on /etc/sudoers.d/filesystem: 750  package: 755
    Upgrading zfs (0.7.0.r2997.4.12.3_1-1 -> 0.7.1.4128-1)...
    Running post-transaction hooks...
    Install DKMS modules
    ==> dkms install zfs/0.7.1 -k 4.12.10-1-ARCH
    configure: error: 
    	*** Please make sure the kmod spl devel <kernel> package for your
    	*** distribution is installed then try again.  If that fails you
    	*** can specify the location of the spl objects with the
    	*** '--with-spl-obj=PATH' option.  Failed to find spl_config.h in
    	*** any of the following:
    	/usr/src/spl-0.7.1.4128/4.12.10-1-ARCH
    	/usr/src/spl-0.7.1.4128
    Error!  Build of zavl.ko failed for: 4.12.10-1-ARCH (x86_64)
    Consult the make.log in the build directory
    /var/lib/dkms/zfs/0.7.1/build/ for more information.
    
    

    The fix is easy enough:

    [[email protected] ~]$ sudo pacman -S zfs
    [sudo] password for anders: 
    warning: zfs-0.7.1.4128-1 is up to date -- reinstalling
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (1) zfs-0.7.1.4128-1
    
    Total Installed Size:  46.72 MiB
    Net Upgrade Size:       0.00 MiB
    
    :: Proceed with installation? [Y/n] 
    (1/1) checking keys in keyring                                           [########################################] 100%
    (1/1) checking package integrity                                         [########################################] 100%
    (1/1) loading package files                                              [########################################] 100%
    (1/1) checking for file conflicts                                        [########################################] 100%
    (1/1) checking available disk space                                      [########################################] 100%
    :: Running pre-transaction hooks...
    (1/1) Remove DKMS modules
    ==> dkms remove zfs/0.7.1 -k 4.12.10-1-ARCH
    Error! There is no instance of zfs 0.7.1
    for kernel 4.12.10-1-ARCH (x86_64) located in the DKMS tree.
    :: Processing package changes...
    (1/1) reinstalling zfs                                                   [########################################] 100%
    :: Running post-transaction hooks...
    (1/2) Install DKMS modules
    ==> dkms install zfs/0.7.1 -k 4.12.10-1-ARCH
    cp: target '/var/lib/dkms/zfs/0.7.1.4128/4.12.10-1-ARCH/x86_64/' is not a directory
    (2/2) Arming ConditionNeedsUpdate...
    [[email protected] ~]$ 
    
    

    Why is this happening ?

    I make things work…
    My humble wiki: https://anotherlinux.com/

  • You might be interested in this thread and its latest posts.

  • Yep, same problem.

    I make things work…
    My humble wiki: https://anotherlinux.com/

  • moved here: https://forum.antergos.com/topic/7236/zfs-dkms-error-during-linux-kernel-4-11-6-1-update-unsolved/38?page=2

    (dublicate)
    closing

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3-wm#gnome-shell

fails11 module3 zfs29 pacmac3 Posts 4Views 113
Log in to reply