@Ranguvar,
I believe that the problem you're facing was fixed a week ago. Please try again with the latest PKGBUILD
.
Git Clone URL: | https://aur.archlinux.org/zfs-dkms-git.git (read-only, click to copy) |
---|---|
Package Base: | zfs-dkms-git |
Description: | Kernel modules for the Zettabyte File System. |
Upstream URL: | https://zfsonlinux.org/ |
Keywords: | illumos oracle solaris zol |
Licenses: | CDDL |
Groups: | zfs-git |
Conflicts: | zfs-dkms |
Provides: | SPL-MODULE, zfs, zfs-dkms, ZFS-MODULE |
Submitter: | isiachi |
Maintainer: | yurikoles |
Last Packager: | yurikoles |
Votes: | 26 |
Popularity: | 0.094531 |
First Submitted: | 2014-06-04 15:15 (UTC) |
Last Updated: | 2024-09-25 21:41 (UTC) |
@Ranguvar,
I believe that the problem you're facing was fixed a week ago. Please try again with the latest PKGBUILD
.
scripts/enum-extract.pl is now missing as of https://github.com/openzfs/zfs/commit/ec48dd09760d363a715e5c274a82e7cf8415023f
I believe that scripts/enum-extract.pl
can simply be removed from the last last cp
performed in package()
.
==> Updated version: zfs-dkms-git 2:2.2.99.r867.gd6cb544669-1
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'scripts/enum-extract.pl': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Seems like it won't build on the latest kernel as of writing 6.10.6.arch1-1
, the dkms build errors:
configure: error:
*** None of the expected "blk_queue_max_hw_sectors" interfaces were detected.
*** This may be because your kernel version is newer than what is
*** supported, or you are using a patched custom kernel with
*** incompatible modifications.
***
*** ZFS version: zfs-2.2.99-1
*** Compatible Kernels: 3.10 - 6.8
Despite the warning, it builds fine on 6.9.6.arch1-1
please move the zfs-utils dependency to optional. the actual module does not need it and it breaks installation from aur capable package managers
It needs to provide zfs otherwise you won't be able to install https://aur.archlinux.org/packages/zfsbootmenu-efi-bin
Please remove replaces
directive. Thank you.
In order to update this package and avoid version pinning cycle, you need to build both packages, zfs-utils-git
and zfs-dkms-git
without installing them. Then install a same newer version of both of them in one transaction via pacman -U <path/to/built/zfs-utils-git> <path/to/built/zfs-dkms-git>
.
when trying to install zfs-dkms-git (this package) getting the following error :
-> No AUR package found for zfs-utils-git=2:2.1.99.r1874.gff73574cd8
-> could not find all required packages: zfs-utils-git =2:2.1.99.r1874.gff73574cd8
When trying to install this package, zfs-utils-git at a specific version, is not available.
Fails to build during dkms install
with kernel 6.2.8
due to incompatible license for some kernel symbols (as reported here):
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_start_io_acct'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_end_io_acct_remapped'
Edit: The temporary workaround mentioned in this comment in the zfs-dkms
package seems to work if the PKGBUILD is built from a clean slate.
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>
.