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

Unusual client build failure on CentOS 7.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      I'm having an unusual client build issue on a brand new install of CentOS 7.6.  It looks like the compiler or something is newer than what's being used in Jenkins (kernel is not), because I'm getting a build failure that seems like it should have never worked on anything.  (So I assume some new check is in play, or something is odd on my node.)

      Specifically:

      /home/build/master/lustre-release/lustre/obdclass/llog_cat.c: In function ‘llog_cat_prep_log’:
      /home/build/master/lustre-release/lustre/obdclass/llog_cat.c:284:42: error: ‘LLOGH_CAT’ undeclared (first use in this function)
      down_read_nested(&cathandle->lgh_lock, LLOGH_CAT);
      ^
      /home/build/master/lustre-release/lustre/obdclass/llog_cat.c:284:42: note: each undeclared identifier is reported only once for each function it appears in
      /home/build/master/lustre-release/lustre/obdclass/llog_cat.c:285:47: error: ‘LLOGH_LOG’ undeclared (first use in this function)
      down_write_nested(&(*ploghandle)->lgh_lock, LLOGH_LOG);

       

      Looking at llog_cat.c; LLOGH_CAT and LLOGH_LOG are not declared until later in the file.  Fix is simple, but it's confusing that this ever built.  No especially recent changes to the file & all the Jenkins builds are working.  (It is probably something about my node - I just wanted to highlight the unusual nature of this in case it means something.)

      I'll push a patch soon.

      Attachments

        Activity

          People

            wc-triage WC Triage
            paf Patrick Farrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: