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

dkms: missing dependencies for flex, bison and libmount-devel

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.2
    • Lustre 2.15.1
    • None
    • CentOS 7.9
    • 3
    • 9223372036854775807

    Description

      This is likely a follow-up to LU-15967.

      The lustre-client dkms for Lustre 2.15.1 fails to build on clients that don't have flex, bison, or libmount-devel installed.

      checking whether to build Lustre client support... yes
      checking whether to build Linux kernel modules... yes (linux-gnu)
      configure: error: flex package is required to build kernel modules
      configure error, check /var/lib/dkms/lustre-client/2.15.1_2_ga1696d7/build/config.log
      

      It looks like Andreas saw it coming in this patch review: https://review.whamcloud.com/c/fs/lustre-release/+/47745

      A BuildRequires for flex, bison and also libmount-devel should probably be added to the lustre (and lustre-dkms?) spec files.

      Attachments

        Activity

          [LU-16317] dkms: missing dependencies for flex, bison and libmount-devel

          It is also worthwhile to note here for future reference that the libmount-devel RPM is available in the "Power Tools" YUM repository, which needs to be enabled in /etc/yum.repos.d/CentOS-PowerTools.repo or /etc/yum.repos.d/almalinux-powertools.repo.

          adilger Andreas Dilger added a comment - It is also worthwhile to note here for future reference that the libmount-devel RPM is available in the "Power Tools" YUM repository, which needs to be enabled in /etc/yum.repos.d/CentOS-PowerTools.repo or /etc/yum.repos.d/almalinux-powertools.repo .

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49272/
          Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: be37ba4b298dba3a2eae99e0e44546de54081e62

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49272/ Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: be37ba4b298dba3a2eae99e0e44546de54081e62

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49272
          Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: 64568d7a507911e1d1004b738624d0129171ca50

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49272 Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 64568d7a507911e1d1004b738624d0129171ca50
          pjones Peter Jones added a comment -

          Landed for 2.16

          pjones Peter Jones added a comment - Landed for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49183/
          Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: c74c630ff7596317d1b500fd385fca271b31708c

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49183/ Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel Project: fs/lustre-release Branch: master Current Patch Set: Commit: c74c630ff7596317d1b500fd385fca271b31708c

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49183
          Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: a741bab8f01feae402405df3455f86c4c6e99e4c

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49183 Subject: LU-16317 build: dkms build requires flex, bison and libmount-devel Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a741bab8f01feae402405df3455f86c4c6e99e4c
          pjones Peter Jones added a comment -

          Jian

          Could you please advise?

          Thanks

          Peter

          pjones Peter Jones added a comment - Jian Could you please advise? Thanks Peter

          People

            yujian Jian Yu
            sthiell Stephane Thiell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: