Hm....I got the following issue while trying to build the kernel module:
FATAL: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol '__rcu_read_lock'
kernel version is 5.5.3-arch1-1 / gcc 9.2.1 20200130
Anyone mind to enlighten me on this one?
Pinned Comments
yurikoles commented on 2023-08-14 16:42 (UTC) (edited on 2023-08-14 16:44 (UTC) by yurikoles)
In order to update this package and avoid version pinning cycle, you need to build both packages,
zfs-utils-git
andzfs-dkms-git
without installing them. Then install a same newer version of both of them in one transaction viapacman -U <path/to/built/zfs-utils-git> <path/to/built/zfs-dkms-git>
.