[lustre-discuss] Error in compiling lustre-client 2.15.8 on Almalinux 9.8

Jerome Verleyen jerome.verleyen at ibt.unam.mx
Sat Aug 22 02:02:07 UTC 2026


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!

-- 
-- Jérôme
Chaque coup de colère est un coup de vieux,
chaque sourire est un coup de jeune.
        (Proverbe chinois)



More information about the lustre-discuss mailing list