[LU-13396] lustre 2.12.4 client rpmbuild error Created: 27/Mar/20  Updated: 20/Apr/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.4
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Xiao Zhenggang Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None
Environment:

centos 7.6
mofed 4.6


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

i rebuild 2.12.4 clients in centos 7.6 use command line :

rpmbuild --rebuild --without servers lustre-2.12.4-1.src.rpm

no error found while configure, but when compiling , i see error

Processing files: lustre-client-tests-2.12.4-1.el7.x86_64
error: File not found by glob: /root/rpmbuild/BUILDROOT/lustre-2.12.4-1.x86_64/usr/lib64/openmpi/bin/*

So why openmpi needed but can not found ? how can I walkarround this ? 

PS: i rebuild 2.12.2 client in the same sever , everything goes fine.



 Comments   
Comment by Xiao Zhenggang [ 27/Mar/20 ]

I didn't find any problems when I compiled with the source package

tar -xvf lustre-2.12.4.tar.gz
./configure --disable-server --enable-client --with-o2ib=/usr/src/ofa_kernel/default
make rpms
Comment by francesco de giorgi [ 20/Apr/21 ]

As an alternative, you can get rid of lustre_tests as well
rpmbuild --rebuild --without servers --without lustre_tests lustre-2.12.4-1.src.rpm

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