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

build: implicit dependency on libuuid-devel

Details

    • 3
    • 9223372036854775807

    Description

      On centos7.4, Lustre now requires libuuid-devel to be installed, the configure script should check for it.

      libtool: link: gcc -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -g -O2 -Wall -Werror -o llverdev llverdev.o  -luuid
      /usr/bin/ld: cannot find -luuid
      

      Attachments

        Issue Links

          Activity

            [LU-11160] build: implicit dependency on libuuid-devel

            John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/33147/
            Subject: LU-11160 build: Fix uuid / blkid dependency
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: c4116b86130a4bffacb145f4eedbd2ed6a567495

            gerrit Gerrit Updater added a comment - John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/33147/ Subject: LU-11160 build: Fix uuid / blkid dependency Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: c4116b86130a4bffacb145f4eedbd2ed6a567495

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33147
            Subject: LU-11160 build: Fix uuid / blkid dependency
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set: 1
            Commit: de6ee3d9ab77f485b72bb01b9dc0baff24fa4964

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33147 Subject: LU-11160 build: Fix uuid / blkid dependency Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: de6ee3d9ab77f485b72bb01b9dc0baff24fa4964
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32842/
            Subject: LU-11160 build: Fix uuid / blkid dependency
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: b6c2ffa661f5aceb50fe03fbc8cfd7cdf7966ae2

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32842/ Subject: LU-11160 build: Fix uuid / blkid dependency Project: fs/lustre-release Branch: master Current Patch Set: Commit: b6c2ffa661f5aceb50fe03fbc8cfd7cdf7966ae2

            Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/32842
            Subject: LU-11160 build: Fix uuid / blkid dependency
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: f140f0a235f5c9dfcb60f3e70ad2c1a12755651c

            gerrit Gerrit Updater added a comment - Nathaniel Clark (nclark@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/32842 Subject: LU-11160 build: Fix uuid / blkid dependency Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f140f0a235f5c9dfcb60f3e70ad2c1a12755651c
            utopiabound Nathaniel Clark added a comment - - edited

            For el7.4 (and el7.5):

            libblkid requires libuuid

            libblkid-devel requires pkgconfig(uuid) which is provided by libuuid-devel

            So "-luuid" should only be present if "-lblkid" is present.  I will submit a patch.

            llverdev doesn't require libblkid when being built, it's an optional build dependency.

            utopiabound Nathaniel Clark added a comment - - edited For el7.4 (and el7.5): libblkid requires libuuid libblkid-devel requires pkgconfig(uuid) which is provided by libuuid-devel So "-luuid" should only be present if "-lblkid" is present.  I will submit a patch. llverdev doesn't require  libblkid when being built, it's an optional build dependency.

            With regards to libuuid, I think it's actually a dependency of libblkid

            So the following patch:

            https://review.whamcloud.com/32726

            may not be 100% correct.

            utopiabound Nathaniel Clark added a comment - With regards to libuuid, I think it's actually a dependency of libblkid So the following patch: https://review.whamcloud.com/32726 may not be 100% correct.

            So I was right. We do need to add the dependency to lustre.spec.in and debain/control{.main}

            simmonsja James A Simmons added a comment - So I was right. We do need to add the dependency to lustre.spec.in and debain/control{.main}
            pjones Peter Jones added a comment -

            Nathaniel

            Can you please assist with this?

            Thanks

            Peter

            pjones Peter Jones added a comment - Nathaniel Can you please assist with this? Thanks Peter

            People

              utopiabound Nathaniel Clark
              cealustre CEA
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: