[lustre-discuss] Error in compiling lustre-client 2.15.8 on Almalinux 9.8
Philippe Weill
Philippe.Weill at latmos.ipsl.fr
Sat Aug 22 10:12:18 UTC 2026
hello
this has already been discussed on the list in june
[lustre-discuss] RHEL 9.8 and 10.2 support
you need one patch to compile lustre 2.15.8 with 9.8
from the list :
If you need RHEL 9.8 support for Lustre 2.15, you might want to look at https://jira.whamcloud.com/browse/LU-20071. In particular,
there is a proposed patch under review (https://review.whamcloud.com/c/fs/lustre-release/+/65797). It's a relatively small change
and you should be able to apply it (possibly with some modification) without too much difficulty. The patch is based on the b2_15.
I recently had to rebuild an older version of lustre 2.15 for RHEL 9.8 support, and I was able to modify this patch to do the job.
--Rick
# rpm -ql lustre-all-dkms-2.15.8-2.el9.src.rpm
c131e65.diff
lustre-2.15.8.tar.gz
lustre-dkms.spec
you could find my dkms spec and patch on
https://thredds-su.ipsl.fr/thredds/catalog/ipsl_thredds/weill/catalog.html
On 8/22/26 04:02, Jerome Verleyen via lustre-discuss wrote:
> Dear all.
>
> I'm trying to compile the lustre-2.15.8-1 src.rpm file. I detect first that the kernel version was incorrect, and change it in the
> spec file like this :
>
> %{!?version: %global version 2.15.8}
> # if you want a custom kernel version set it variable with $ver.$arch
> %{!?kver: %global kver 5.14.0-687.39.1.el9_8.x86_64}
>
> I've got error at compile time using this command:
>
> $ rpmbuild -ba rpmbuild/SPECS/lustre.spec --without servers
>
> /root/rpmbuild/BUILD/lustre-2.15.8/lnet/lnet/net_fault.c: In function 'delay_timer_cb':
> /root/rpmbuild/BUILD/lustre-2.15.8/libcfs/include/libcfs/linux/linux-time.h:238:9: error: implicit declaration of function
> 'from_timer'; did you mean 'mod_timer'? [-Werror=implicit-function-declaration]
> 238 | from_timer(var, callback_timer, timer_fieldname)
> | ^~~~~~~~~~
> /root/rpmbuild/BUILD/lustre-2.15.8/lnet/lnet/net_fault.c:789:40: note: in expansion of macro 'cfs_from_timer'
> 789 | struct lnet_delay_rule *rule = cfs_from_timer(rule, data, dl_timer);
> | ^~~~~~~~~~~~~~
> /root/rpmbuild/BUILD/lustre-2.15.8/lnet/lnet/net_fault.c:789:67: error: 'dl_timer' undeclared (first use in this function); did you
> mean 'del_timer'?
> 789 | struct lnet_delay_rule *rule = cfs_from_timer(rule, data, dl_timer);
> | ^~~~~~~~
>
> I read in the mailling lits that Fokke Dijkstracould compile this rpm in Almalinux 9.8. What i'm missing ?
>
> Regards!
>
>
--
Weill Philippe - Administrateur Systeme et Reseaux
CNRS/UPMC/IPSL LATMOS (UMR 8190)
Tour 45/46 3e Etage B302|4 Place Jussieu|75252 Paris Cedex 05 - FRANCE
Email:philippe.weill at latmos.ipsl.fr | tel:+33 0144274759
More information about the lustre-discuss
mailing list