Package Details: zfs-dkms 2.2.6-1

Git Clone URL: https://aur.archlinux.org/zfs-dkms.git (read-only, click to copy)
Package Base: zfs-dkms
Description: Kernel modules for the Zettabyte File System.
Upstream URL: https://zfsonlinux.org/
Licenses: CDDL
Provides: SPL-MODULE, zfs, ZFS-MODULE
Submitter: isiachi
Maintainer: kstolp
Last Packager: kstolp
Votes: 179
Popularity: 5.79
First Submitted: 2015-08-31 12:01 (UTC)
Last Updated: 2024-09-05 04:42 (UTC)

Pinned Comments

kstolp commented on 2023-09-29 00:34 (UTC)

When requesting changes, please include detailed reasoning for the change.

kstolp commented on 2023-01-07 09:31 (UTC)

If you receive this error when trying to build, it is because you have not imported the GPG keys used for verification.

==> ERROR: One or more PGP signatures could not be verified!

You have two options:

1) Import the two keys into your keyring. ArchWiki article. You can find the key IDs in the PKGBUILD file, in the validpgpkeys array. (recommended)

2) Alternatively, you can skip this verification by passing the --skippgpcheck argument to makepkg when building. (not recommended)

Latest Comments

1 2 3 4 5 6 .. 63 Next › Last »

yurikoles commented on 2024-10-24 08:57 (UTC) (edited on 2024-10-24 09:46 (UTC) by yurikoles)

@ipaqmaster

You seem to be trying to develop an AUR helper while refusing to use AUR API, which .SRCINFO provides.

depends=() in this package is indeed in the right place. It's a trick to have a different set of runtime-only dependencies, i.e. those that aren't needed during the package build. So one may build zfs-dkms without installing zfs-utils with the very same version first. Most AUR helpers build all new or updated packages being requested before installing them in one go, so this trick works.

ipaqmaster commented on 2024-10-24 00:55 (UTC) (edited on 2024-10-25 00:05 (UTC) by ipaqmaster)

I can't source the .SRCINFO file for my variables. Are you suggesting I write a parser from scratch for that instead of moving the depends=() variable outside of the package() function?

This is the only package I put together in over 700 which has the depends=() array hidden in the package() function like this.

Ok. I'm not going to make this pipeline bother AUR's API any more than needed. I'll write a .SRCINFO parser. Wish me luck.

thaewrapt commented on 2024-10-23 08:33 (UTC)

https://wiki.archlinux.org/title/.SRCINFO is what you need instead of evaluating the PKGBUILD yourself. It's indeed the results of the said evaluation.

ipaqmaster commented on 2024-10-22 23:43 (UTC) (edited on 2024-10-22 23:47 (UTC) by ipaqmaster)

Can depends=("zfs-utils=${pkgver}" 'dkms') be moved from the package() function to the main variables area at the top? I'm trying to put together an aur package which depends on zfs (Sticking with zfs-dkms) but sourcing the PKGBUILD file doesn't define a $depends variable and the package installation fails because zfs-utils doesn't get sought after.

If there's a correct way to evaluate this PKGBUILD to know that zfs-utils must also be built for zfs-dkms to install correctly please let me know.

air-g4p commented on 2024-09-16 05:29 (UTC)

Until a kernel 6.11 patch is incorporated here, zfs-dkms will fail to build against the 6.11.X linux and linux-zen kernels released on 16 Sep.

If you need 6.11.X zfs support in the iterim, consider running:

https://aur.archlinux.org/packages/zfs-dkms-staging-git

Cheers

fryfrog commented on 2024-09-11 16:46 (UTC)

@antesilvam: Sounds like you need some pikaur help.

fryfrog@apollo ~  ❯ paru -sS zfs-dkms
aur/zfs-dkms 2.2.6-1 [+170 ~4.94] [Installed]
    Kernel modules for the Zettabyte File System.

antesilvam commented on 2024-09-11 16:20 (UTC)

For some reasons, I cannot see the latest version (2.2.6-1) of this AUR package in the package manager:

pikaur -S zfs-dkms

Reading repository package databases...
Reading local package database...

 archzfs/zfs-dkms                      2.2.4-1              -> 2.2.4-1

FrederickZh commented on 2024-09-10 01:51 (UTC)

@yurikoles If you build packages on your machine, then your machine is a build machine (to build the package per se). So I don't think this is a valid argument.

However since this package requires these tools post-installation too, they are arguably needed for zfs-dkms to function in its special 'runtime'. (I may be wrong.)

Anyway, I think it's better to move such kind of conversations to the mailing list, as it involves many official dkms packages too.

yurikoles commented on 2024-09-09 21:35 (UTC)

@fryfrog

This argument is valid for the AUR package build machine, but a target machine may differ, so the built package must contain all dependencies to be successfully installed and run.

alepez commented on 2024-09-09 21:12 (UTC)

@fryfrog thank you, it makes sense. Anyway I just realized that I hadn't installed aur yet, the issue is actually with zfs-dkms from archzfs repository.