[Pkg-zfsonlinux-devel] Bug#1098779: Consider adding pahole to Depends of kernel-header packages? (Was: Re: Bug#1098779: zfs-dkms: zfs/2.3.0 fails to build with kenel 6.12.16-amd64)
Shengqi Chen
harry at debian.org
Mon Feb 24 02:55:12 GMT 2025
Hi,
Thanks for reporting this.
> 2025年2月24日 08:30,Jean-Francois Pirus <jfp at clearfield.com> 写道:
>
>
> Actually underlying issue might be this, from the config.log:
>
>
> configure:4776: $? = 0
> configure:4765: x86_64-linux-gnu-gcc-14 -V >&5
> x86_64-linux-gnu-gcc-14: error: unrecognized command-line option '-V'
> x86_64-linux-gnu-gcc-14: fatal error: no input files
> compilation terminated.
The issue in configure.log would appear just before the error, so
these are not related to your issue. The actual check is [1].
zfs-linux is tested against zfs version in testing, currently 6.12.12.
For newly uploaded 6.12.16-1, zfs-linux indeed fails to compile [2],
with the same error as you on your non-Debian kernel:
859s checking whether CONFIG_MODULES is defined... no
859s configure: error:
859s *** This kernel does not include the required loadable module
859s *** support!
859s ***
> Ok, found it, there's an unlisted dependency on pahole
>
> The fix is
> apt install pahole
nvidia-driver is also broken, and can also be solved by installing pahole.
There is similar report in Arch Linux [3]. So we may also need pahole
in the Depends field of linux-xxx-headers package (looping kernel team
in for this).
[1]: https://github.com/openzfs/zfs/blob/523e3adac9c0831df30f45342f7a9a55e11e45c7/config/kernel-config-defined.m4#L104-L129
[2]: https://ci.debian.net/packages/z/zfs-linux/testing/amd64/58084102/
[3]: https://bugs.archlinux.org/task/69654
--
Thanks,
Shengqi Chen
More information about the Pkg-zfsonlinux-devel
mailing list