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

build: missing dependency check on binutils-devel

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • Upstream
    • None
    • 3
    • 9223372036854775807

    Description

      Trying to compile the latest version of Lustre on Centos7 failed with:

      # bash autogen.sh && rpm --eval %configure | bash && make -j 16
      (...)
      gcc -DHAVE_CONFIG_H -I. -I../..   -include /home/user/lustre-release/undef.h -include /home/user/lustre-release/config.h -I/home/user/lustre-release/lnet/include/uapi -I/home/user/lustre-release/lustre/include/uapi -I/home/user/lustre-release/libcfs/include -I/home/user/lustre-release/lnet/utils -I/home/user/lustre-release/lustre/include  -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Werror -c -o statmany.o statmany.c
      statx.c:53:10: fatal error: libiberty.h: No such file or directory
       #include <libiberty.h>
                ^~~~~~~~~~~~~
      compilation terminated.
      

      Installing binutils-devel fixes the issue.

      Attachments

        Activity

          [LU-13855] build: missing dependency check on binutils-devel
          pjones Peter Jones added a comment -

          Landed for 2.14

          pjones Peter Jones added a comment - Landed for 2.14

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40802/
          Subject: LU-13855 tests: remove the need for libiberty
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 8b02ade2818d86f29965dae61918456330f38d55

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40802/ Subject: LU-13855 tests: remove the need for libiberty Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8b02ade2818d86f29965dae61918456330f38d55

          Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40802
          Subject: LU-13855 tests: remove the need for libiberty
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 46ed9ccdefe3c89161ef2df3dbe3b5bf844b1707

          adilger Andreas Dilger added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40802 Subject: LU-13855 tests: remove the need for libiberty Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 46ed9ccdefe3c89161ef2df3dbe3b5bf844b1707

          I'm not sure where the LU ticket number came from, but the following patch landed to master, and probably should have been under this LU ticket:

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39749/
          Subject: LU-13902 config: add test for /usr/include/libiberty/
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: e5923357b4ec5177e8cc540c5603f0f9df41de1e

          adilger Andreas Dilger added a comment - I'm not sure where the LU ticket number came from, but the following patch landed to master, and probably should have been under this LU ticket: Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39749/ Subject: LU-13902 config: add test for /usr/include/libiberty/ Project: fs/lustre-release Branch: master Current Patch Set: Commit: e5923357b4ec5177e8cc540c5603f0f9df41de1e

          Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39653
          Subject: LU-13855 build: Move GLIBC check to where they are needed.
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 0698ca2070d1ff6a7c505db4bb3002b077eb1258

          gerrit Gerrit Updater added a comment - Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39653 Subject: LU-13855 build: Move GLIBC check to where they are needed. Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 0698ca2070d1ff6a7c505db4bb3002b077eb1258

          I mean master.

          bougetq Quentin Bouget (Inactive) added a comment - I mean master.
          pjones Peter Jones added a comment -

          By "latest version" do you mean master or b2_12?

          pjones Peter Jones added a comment - By "latest version" do you mean master or b2_12?

          People

            neilb Neil Brown
            bougetq Quentin Bouget (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: