Package Details: zfs-linux-lts-headers 2.3.3_6.12.38.1-1

Git Clone URL: https://aur.archlinux.org/zfs-linux-lts.git (read-only, click to copy)
Package Base: zfs-linux-lts
Description: Kernel headers for the Zettabyte File System.
Upstream URL: https://openzfs.org/
Licenses: CDDL-1.0
Conflicts: spl-dkms, spl-dkms-git, spl-headers, zfs-dkms, zfs-dkms-git, zfs-dkms-rc, zfs-headers
Provides: spl-headers, zfs-headers
Submitter: demizer
Maintainer: gromit
Last Packager: gromit
Votes: 82
Popularity: 1.48
First Submitted: 2016-04-24 19:05 (UTC)
Last Updated: 2025-07-14 21:55 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

jokesterfr commented on 2025-05-07 20:24 (UTC)

I read the arch doc about zfs, and got the point: zfs in not upstream in linux, thus only available with strict kernel versions.

I'm strugling with a dumb upgrade issue:

$ yay -Su linux-lts
:: 3 packages to upgrade/install.
3  core/linux-lts          6.12.26-1         -> 6.12.27-1
2  core/linux-lts-headers  6.12.26-1         -> 6.12.27-1
1  aur/zfs-linux-lts       2.3.2_6.12.26.1-1 -> 2.3.2_6.12.27.1-1
...
:: installing linux-lts (6.12.27-1) breaks dependency 'linux-lts=6.12.26-1' required by zfs-linux-lts
 -> error installing repo packages

It seems like a cyclic dependency issue: the new zfs-linux-lts depends on a new specific kernel, this kernel is available but won't upgrade as this would break the current zfs-linux-lts.

Do not hesitate to RTFM me - I cannot find my way. Thank you

clarfonthey commented on 2025-05-07 13:00 (UTC)

In case you're interested, I managed to update zfs-linux-hardened so that it has a pkgver function which automatically selects the latest kernel version if available. Since the package will just fail to build for an unsupported kernel, this seems like a moderate improvement for people who are waiting on a package update for a new minor kernel version.

You're welcome to incorporate those changes into this package, considering how this isn't automatically updated by archzfs any more, but I also understand not wanting to incorporate such a change.

supernova commented on 2025-05-04 22:20 (UTC)

@gromit yes that worked thank you very much!

gromit commented on 2025-05-04 22:18 (UTC)

@supernova that's just checkpkg complaining (which is of no relevance for AUR packages), so most likely you now have both packages built :) Just do a ls -l in your current directory and install the packages with pacman -U <...>.

supernova commented on 2025-05-04 22:07 (UTC) (edited on 2025-05-04 22:13 (UTC) by supernova)

@gromit this worked with no "This kernel does not include the required loadable module" error like before:

pkgctl build --install-to-chroot /home/user/.cache/paru/clone/zfs-utils/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst

however i now get "error: target not found: zfs-linux-lts error: target not found: zfs-linux-lts-headers" at the end of it.

At least "sudo mkinitcpio -P" does not complain anymore about broken boot image.

gromit commented on 2025-05-04 21:47 (UTC)

@supernova yeah you need to adjust the path of zfs-utils-2.3.2-1-x86_64.pkg.tar.zst to the actual path of the package on your system. You might find it in /var/cache/pacman/pkg/ or in your AUR helpers build cache.

If you want to be sure just download the repo for it and build it the same way (minus the --install-to-chroot part)

supernova commented on 2025-05-04 21:29 (UTC) (edited on 2025-05-04 21:32 (UTC) by supernova)

@gromit never really build aur packages this way so im doing probably something wrong. still weird that after years of paru working just fine for zfs it suddenly has issues.

sudo pacman -S devtools
git clone https://aur.archlinux.org/zfs-linux-lts.git
cd zfs-linux-lts

pkgctl build --install-to-chroot zfs-utils-2.3.2-1-x86_64.pkg.tar.zst
==> WARNING: installing packages to the chroot may break reproducible builds, use with caution!
==> Updating pacman database cache
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
==> Building zfs-linux-lts
  ->   repo: extra
  ->   arch: x86_64
  -> worker: user-0
==> Building zfs-linux-lts for [extra] (x86_64)
:: Synchronizing package databases...
 core downloading...
 extra downloading...
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [user-0]...done
cp: cannot stat '/root/zfs-linux-lts/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst': No such file or directory
loading packages...
error: '/root/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst': could not find or read package
rm: cannot remove '/var/lib/archbuild/extra-x86_64/user-0/root/zfs-utils-2.3.2-1-x86_64.pkg.tar.zst': No such file or directory
==> ERROR: Failed to create the directory $SRCDEST (/root/zfs-linux-lts).
    Aborting...
==> ERROR: Could not download sources.

gromit commented on 2025-05-04 21:10 (UTC)

@supernova so what's the actual error that you get? Also did you follow the steps that I posted in https://aur.archlinux.org/pkgbase/zfs-linux-lts#comment-1022223?

supernova commented on 2025-05-04 14:40 (UTC) (edited on 2025-05-04 15:14 (UTC) by supernova)

2.3.2_6.12.26.1-1 doesn't work for me either. i have linux-lts 6.12.26-1 and linux-lts-headers 6.12.26-1 and zfs-utils 2.3.2-1 but i can't build zfs-linux-lts + headers 2.3.2_6.12.26.1-1 regardless of clean chroot or paru. Even tried removing all of those packages and installing them in that order.

==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'zfs-linux-lts-2.3.2_6.12.26.1-1 (zfs-linux-lts zfs-linux-lts-headers)': error: packages failed to build: zfs-linux-lts-2.3.2_6.12.26.1-1 (zfs-linux-lts zfs-linux-lts-headers)

air-g4p commented on 2025-05-02 15:30 (UTC)

@gromit - thanks for your review and suggestion to build in a clean chroot (which I sometimes do).

However, given the new (today) PKGBUILD, my normal build process (below) worked ASSUMING folks first update linux-lts and linux-lts-headers to:

6.12.26-1

then build away with zfs-linux-lts 2.3.1_6.12.26.1-1!!!

Thanks again for your efforts gromit...

Cheers