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

RPM build failed if ./configure --disable-modules

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • Lustre 2.6.0
    • None
    • 3
    • 12301

    Description

      There is no way to produce RPMs for only userspace tools without kernel modules.

      ./configure --disable-modules
      make rpms
      [...]
      RPM build errors:
          File not found by glob: /home/rpmbuild/BUILDROOT/lustre-client-2.5.54-2.6.32_358.23.2.el6_lustre.g2504340.x86_64_g89510ee.x86_64/lib/modules/2.6.32-358.23.2.el6_lustre.g2504340.x86_64/extra/*
          File not found: /home/rpmbuild/BUILDROOT/lustre-client-2.5.54-2.6.32_358.23.2.el6_lustre.g2504340.x86_64_g89510ee.x86_64/lib/modules/2.6.32-358.23.2.el6_lustre.g2504340.x86_64/extra/kernel/fs/lustre/llog_test.ko
      make: *** [rpms] Error 1
      

      lustre.spec file don't have condition and always try to produce lustre-modules RPM.

      Attachments

        Issue Links

          Activity

            People

              dmiter Dmitry Eremin (Inactive)
              dmiter Dmitry Eremin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: