[lustre-discuss] Failing build of lustre client on Debian 12

Andreas Dilger adilger at whamcloud.com
Wed Oct 4 14:05:00 PDT 2023


On Oct 4, 2023, at 16:26, Jan Andersen <jan at comind.io<mailto:jan at comind.io>> wrote:

Hi,

I've just successfully built the lustre 2.15.3 client on Debian 11 and need to do the same on Debian 12; however, configure fails with:

checking if Linux kernel was built with CONFIG_FHANDLE in or as module... no
configure: error:

Lustre fid handling requires that CONFIG_FHANDLE is enabled in your kernel.

----

As far as I can see, CONFIG_FHANDLE is in fact enabled - eg:

root at debian12:~/lustre-release# grep CONFIG_FHANDLE /boot/config-6.1.38
CONFIG_FHANDLE=y

I've tried to figure out how configure checks for this, but the script is rather dense and I haven't penetrated it (yet). It seems to me there is an error in the way it checks. What is the best way forward, considering that I've already invested a lot of time and effort in setting up a slurm cluster with Debian 12?

You could change the AC_MSG_ERROR() to AC_MESSAGE_WARN() or similar, if you think the check is wrong.  It would be wortwhile to check if a patch has already been submitted to fix this on the master branch.  Otherwise, getting a proper patch submitted to fix the check would be better than just ignoring the error and leaving it for the next person to fix.

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20231004/2225d2f5/attachment.htm>


More information about the lustre-discuss mailing list