[LTP] latest ltp not building on RHEL 9.6 ?

Chuck Lever chuck.lever@oracle.com
Mon May 19 20:39:47 CEST 2025


Hi -

My daily CI builds ltp and runs it against my nfsd-testing branch.
For the past week or so, the ltp build fails with:

In file included from cve-2017-16939.c:28:
../../include/lapi/sched.h:18:8: error: redefinition of ‘struct sched_attr’
   18 | struct sched_attr {
      |        ^~~~~~~~~~
In file included from /usr/include/bits/sched.h:60,
                 from /usr/include/sched.h:43,
                 from ../../include/lapi/sched.h:10,
                 from cve-2017-16939.c:28:
/usr/include/linux/sched/types.h:102:8: note: originally defined here
  102 | struct sched_attr {
      |        ^~~~~~~~~~

The test runner is a RHEL 9.6 guest. I don't see any recent changes to
ltp in this area, so perhaps 9.6 modified /usr/include/linux/sched.h ?

Any advice appreciated.

-- 
Chuck Lever



More information about the ltp mailing list