Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15945

2.15.0-RC5 build fails on rhel 8.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.15.0
    • None
    • rhel 8.6 x86_64
    • 3
    • 9223372036854775807

    Description

      build fails with

      /tmp/rpmbuild-lustre-snehring-1Hf0tY1v/BUILD/lustre-2.15.0_RC5/lustre/ptlrpc/../../lustre/target/update_trans.c:1611:16: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?   if (current->state)
      

      between 8.5 and 8.6 redhat changed the task_struct struct and introduced

      RH_KABI_REPLACE_SPLIT(volatile long     state,
                                    unsigned int      __state)
      

      Not sure if it'll be possible to get this in before the 2.15.0 release proper and support 8.6. I personally am hoping to update to it and remake our scratch volume under it.

      I changed that one like to be

      if (current->__state)
      

      and it does finish building successfully.

      Attachments

        Activity

          People

            wc-triage WC Triage
            snehring Shane Nehring
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: