@ckane Thanks for the patch!
Note that due to the way aurweb converts tabs to spaces, only-build-mod.patch doesn’t apply as is when using the patch from your comment. I had to work around this by first applying the patch and then post-processing only-build-mod.patch like so:
sed -i -E -e 's/^([-+ ])\s{6}/\1\t/' only-build-mod.patch
After that fix, I was able to build and install the package, and the kernel module built and installed correctly via DKMS.
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-gitandzfs-dkms-gitwithout 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>.