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)
- To: Jean-Francois Pirus <jfp@clearfield.com>, 1098779@bugs.debian.org, debian-kernel@lists.debian.org
- Subject: 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)
- From: Shengqi Chen <harry@debian.org>
- Date: Mon, 24 Feb 2025 10:55:12 +0800
- Message-id: <[🔎] 124F5DFF-C918-475B-9389-9C900E83881A@debian.org>
- In-reply-to: <3fc5afb9d03d501786489e5f8eba2551ab176086.camel@clearfield.com>
- References: <174035462295.2291048.5107521656359196852.reportbug@tyche.clearfield.com> <handler.1098779.B.174035505870843.ack@bugs.debian.org> <174035462295.2291048.5107521656359196852.reportbug@tyche.clearfield.com> <3fc5afb9d03d501786489e5f8eba2551ab176086.camel@clearfield.com>
Hi,
Thanks for reporting this.
> 2025年2月24日 08:30,Jean-Francois Pirus <jfp@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
Reply to: