Open lukiano opened 6 months ago
Debian is shipping 2.2.2 packages in backports and testing, if you just wanted to use those.
If those also don't work, you should probably report a bug there, not just here.
(I'm not saying this isn't a bug to be investigated here, just that I suspect the people who maintain the ZoL packages would be surprised to learn they don't work on 6.5, since testing is also shipping 6.5, and I don't see it as marked FTBFS there...)
Those errors also seem like it might be trying to link against the installed copy of libzfs, somehow, and naturally that has missing symbols compared to a different version. I'm not sure why that would be happening, but that is what it looks like from just the symbol errors.
You might want to try cloning a clean copy of 2.2.2 and building that, in a new directory. This seems like the kind of error that happens when you have half a tree of built things from a different version.
Please install zfs from bookworm-backports
in the same way as you install your backported 6.5 kernel. The stable kernel won't break the build of stable zfs.
I haven't been able to find any related issue so opening one, also people seem to build it just fine so probably something wrong in my setup.
This is a standard Debian 12 bookworm build that had ZFS 2.1 running. I've updated to a 6.5 Kernel and it stopped running so I'm trying to install from source.
I've followed the
building
instructions and installed the dependencies.I tried both the
zfs-2.2.2
tag and themaster
branch. The following output is from the latter:For
make
I'm using-j1
in case it was a concurrency issue but it doesn't seem to be.My idea is to make the Debian-compatible packages and install them on my system to get back ZFS support. The alternative option would be to downgrade back to a 6.1 kernel and the ZFS library in the Debian repository, but I'm also using this as a learning experience.
Any help would be appreciated. Many thanks.