[LU-13549] 'make rpms' fails on centos8.1 client Created: 13/May/20  Updated: 20/May/20  Resolved: 20/May/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: Shuichi Ihara Assignee: Sebastien Buisson
Resolution: Fixed Votes: 0
Labels: None
Environment:

master (for 2.14.0), centos8.1


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Building client rpms on the following enviroment

# cat /etc/redhat-release 
CentOS Linux release 8.1.1911 (Core) 
# uname -r
4.18.0-147.5.1.el8_1.x86_64
# ./configure --with-o2ib=/usr/src/ofa_kernel/default
# make rpms

'make rpms' failed and got the following errors. 'make' worked though.

Type 'make' to build Lustre.
+ make -j128 -s
Making all in .
make[7]: *** No rule to make target '/tmp/rpmbuild-lustre-root-bq1mXuwM/BUILD/lustre-2.13.53_86_ga813e81/libcfs/libcfs/crypto/crypto.o', needed by '/tmp/rpmbuild-lustre-root-bq1mXuwM/BUILD/lustre-2.13.53_86_ga813e81/libcfs/libcfs/libcfs.o'.  Stop.
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [scripts/Makefile.build:553: /tmp/rpmbuild-lustre-root-bq1mXuwM/BUILD/lustre-2.13.53_86_ga813e81/libcfs/libcfs] Error 2
make[5]: *** [scripts/Makefile.build:553: /tmp/rpmbuild-lustre-root-bq1mXuwM/BUILD/lustre-2.13.53_86_ga813e81/libcfs] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:1547: _module_/tmp/rpmbuild-lustre-root-bq1mXuwM/BUILD/lustre-2.13.53_86_ga813e81] Error 2
make[3]: *** [autoMakefile:1058: modules] Error 2
make[2]: *** [autoMakefile:596: all-recursive] Error 1
make[1]: *** [autoMakefile:486: all] Error 2
error: Bad exit status from /tmp/rpmbuild-lustre-root-bq1mXuwM/TMP/rpm-tmp.qzrE1N (%build)

as far as I did test, build fail started from commit "a813e81870 LU-12275 sec: add llcrypt as file encryption library"



 Comments   
Comment by Sebastien Buisson [ 13/May/20 ]

Could you please share the output of your configure?

Comment by Sebastien Buisson [ 13/May/20 ]

I think I managed to reproduce, and it seems the problem is coming from ZFS config checks.
Could you please retry by adding --with-zfs=no to your configure command line?

Comment by Gerrit Updater [ 13/May/20 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/38592
Subject: LU-13549 build: fix zfs/spl config checks
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d77d9684a26fa916c9be7fd798ee923088e9b2a7

Comment by Sebastien Buisson [ 13/May/20 ]

Can you please try with patch https://review.whamcloud.com/38592 ?

Comment by Gerrit Updater [ 20/May/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38592/
Subject: LU-13549 build: fix zfs/spl config checks
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 20c13abb9f3a35eb5e53d43102bdd6d05ef73f12

Comment by Peter Jones [ 20/May/20 ]

Landed for 2.14

Generated at Sat Feb 10 03:02:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.