• ZFS installation fails for kernel 4.19


    pacman -S zfs-dkms
    

    causes errors for 4.19.1-arch1-1-ARCH and 4.19.2-arch1-1-ARCH. It works for 4.18.16-arch1-1-ARCH and the LTS kernel as well. Sorry, my system language is german, “Fehler” means “error”.

    cat /var/lib/dkms/zfs/0.7.11/build/make.log
    [...]
     In file included from ./include/linux/backing-dev.h:17,
                     from /var/lib/dkms/zfs/0.7.11/build/include/linux/blkdev_compat.h:34,
                     from /var/lib/dkms/zfs/0.7.11/build/include/sys/dmu.h:759,
                     from /var/lib/dkms/zfs/0.7.11/build/include/sys/dsl_deleg.h:29,
                     from /var/lib/dkms/zfs/0.7.11/build/module/zcommon/zfs_deleg.c:41:
    ./include/linux/blk-cgroup.h: In Funktion »blkcg_cgwb_get«:
    ./include/linux/blk-cgroup.h:402:15: Fehler: Übergabe des Arguments 1 von »refcount_inc« von inkompatiblem Zeigertyp [-Werror=incompatible-pointer-types]
      refcount_inc(&blkcg->cgwb_refcnt);
                   ^~~~~~~~~~~~~~~~~~~
    In file included from ./include/linux/refcount.h:72,
                     from ./include/linux/kref.h:19,
                     from ./include/linux/kobject.h:23,
                     from ./include/linux/module.h:17,
                     from /usr/src/spl-0.7.11/include/sys/sysmacros.h:28,
                     from /usr/src/spl-0.7.11/include/sys/types.h:29,
                     from /var/lib/dkms/zfs/0.7.11/build/include/sys/zfs_context.h:34,
                     from /var/lib/dkms/zfs/0.7.11/build/module/zcommon/zfs_deleg.c:28:
    ./arch/x86/include/asm/refcount.h:51:54: Anmerkung: »refcount_t *« {alias »struct refcount_struct *«} erwartet, aber Argument hat Typ »zfs_refcount_t *« {ali
    as »struct refcount *«}
     static __always_inline void refcount_inc(refcount_t *r)
                                              ~~~~~~~~~~~~^
    In file included from ./include/linux/backing-dev.h:17,
                     from /var/lib/dkms/zfs/0.7.11/build/include/linux/blkdev_compat.h:34,
                     from /var/lib/dkms/zfs/0.7.11/build/include/sys/dmu.h:759,
                     from /var/lib/dkms/zfs/0.7.11/build/include/sys/dsl_deleg.h:29,
                     from /var/lib/dkms/zfs/0.7.11/build/module/zcommon/zfs_deleg.c:41:
    ./include/linux/blk-cgroup.h: In Funktion »blkcg_cgwb_put«:
    ./include/linux/blk-cgroup.h:417:28: Fehler: Übergabe des Arguments 1 von »refcount_dec_and_test« von inkompatiblem Zeigertyp [-Werror=incompatible-pointer-t
    ypes]
      if (refcount_dec_and_test(&blkcg->cgwb_refcnt))
                                ^~~~~~~~~~~~~~~~~~~
    In file included from ./include/linux/refcount.h:72,
                     from ./include/linux/kref.h:19,
                     from ./include/linux/kobject.h:23,
                     from ./include/linux/module.h:17,
                     from /usr/src/spl-0.7.11/include/sys/sysmacros.h:28,
                     from /usr/src/spl-0.7.11/include/sys/types.h:29,
                     from /var/lib/dkms/zfs/0.7.11/build/include/sys/zfs_context.h:34,
                     from /var/lib/dkms/zfs/0.7.11/build/module/zcommon/zfs_deleg.c:28:
    ./arch/x86/include/asm/refcount.h:74:76: Anmerkung: »refcount_t *« {alias »struct refcount_struct *«} erwartet, aber Argument hat Typ »zfs_refcount_t *« {ali
    as »struct refcount *«}
     static __always_inline __must_check bool refcount_dec_and_test(refcount_t *r)
                                                                    ~~~~~~~~~~~~^
    cc1: Einige Warnungen werden als Fehler behandelt
    make[5]: *** [scripts/Makefile.build:305: /var/lib/dkms/zfs/0.7.11/build/module/zcommon/zfs_deleg.o] Fehler 1
    make[4]: *** [scripts/Makefile.build:546: /var/lib/dkms/zfs/0.7.11/build/module/zcommon] Fehler 2
    [...]
    
error318 zfs installatio1 kernel 4.191 Posts 2Views 186
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.