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
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.035536 |
First Submitted: | 2014-06-04 15:15 (UTC) |
Last Updated: | 2024-12-23 16:18 (UTC) |
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.
@wesleywatson wrote:
Requires zfs-utils-git=2023.01.17.r8343.ga379083d9f as a dependency, which doesn't exist
You must be trying to install archzfs' version, this AUR package uses another version scheme since this commit.
@Dark_iaji
If you
Basically can't compile.
It's not a reason for flagging a package, especially without providing details in the package comments section. It builds for me in a clean chroot and very latest upstream commit was successfully built few days ago in Chaotic-AUR, see zfs-dkms-git.log and zfs-utils-git.log
This patch worked for me with the latest zfs-dkms-git (of course the header etc is not correct, I did not want to change that) - and the diff is created manually (editing files then running diff -u ..), not through git:
EDIT: converted to pastebin per AUR comment guidelines.
@eschwartz - do you have any thoughts/suggestions? I have just tried to install this package but got the same error that b0b reported a few weeks back. If it helps at all, the contents of the scripts/dkms.mkconf.rej are:
--- scripts/dkms.mkconf
+++ scripts/dkms.mkconf
@@ -63,7 +48,7 @@ POST_BUILD="scripts/dkms.postbuild
BUILD_DEPENDS[0]="spl"
AUTOINSTALL="yes"
REMAKE_INITRD="no"
-MAKE[0]="make"
+MAKE[0]="make -C module/"
STRIP[0]="\$(
[[ -r \${PACKAGE_CONFIG} ]] \\
&& source \${PACKAGE_CONFIG} \\
==> Starting prepare()...
patching file scripts/dkms.mkconf
Hunk #1 succeeded at 28 with fuzz 2 (offset 3 lines).
Hunk #2 FAILED at 63.
1 out of 2 hunks FAILED -- saving rejects to file scripts/dkms.mkconf.rej
==> ERROR: A failure occurred in prepare().
Aborting...
Just a heads up -- the option REMAKE_INITRD is now deprecated:
https://github.com/morrownr/8812au-20210629/issues/12
You may want to remove this option from the dkms.conf file within /usr/src/zfs-git
Oh shoot, I totally neglected to sync this change from the zfs-dkms package.
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>
.