[LU-13855] build: missing dependency check on binutils-devel Created: 05/Aug/20 Updated: 13/Dec/20 Resolved: 13/Dec/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Upstream |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Quentin Bouget | Assignee: | Neil Brown |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 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. |
| Comments |
| Comment by Peter Jones [ 05/Aug/20 ] |
|
By "latest version" do you mean master or b2_12? |
| Comment by Quentin Bouget [ 05/Aug/20 ] |
|
I mean master. |
| Comment by Gerrit Updater [ 12/Aug/20 ] |
|
Neil Brown (neilb@suse.de) uploaded a new patch: https://review.whamcloud.com/39653 |
| Comment by Andreas Dilger [ 13/Sep/20 ] |
|
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/ |
| Comment by Quentin Bouget [ 15/Sep/20 ] |
|
Thanks! |
| Comment by Andreas Dilger [ 30/Nov/20 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40802 |
| Comment by Gerrit Updater [ 13/Dec/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40802/ |
| Comment by Peter Jones [ 13/Dec/20 ] |
|
Landed for 2.14 |