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

'--disable-utils' makes build of 2.15.0 fail on rhel8.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Lustre 2.15.0
    • Alma Linux 8.5, kernel 4.18.0-348.23.1.el8_5.x86_64

      Building Lustre 2.15 from git under Alma 8.5 using the configure cmd (taken from previous attempts with lustre-ldiskfs-dkms-2.15.0-1.el8)
      __

      ./configure --prefix=/usr --enable-modules --disable-iokit --disable-snmp --disable-doc --disable-tests --disable-maintainer-mode --disable-utils --with-linux=...

      fails with

      lstddef.h:306:22: error: static declaration of 'copy_file_range' follows non-static declaration

      As recommended here:  https://www.mail-archive.com/lustre-discuss@lists.lustre.org/msg16822.html
      omitting  

      --disable-utils

       in the configure line makes the build successful.

        1. config.log
          746 kB
        2. make.log
          134 kB

            wc-triage WC Triage
            thomasr Thomas Roth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: