[LU-15573] mpich build rpms fails with --config-cache fails Created: 20/Feb/22  Updated: 05/Jul/22  Resolved: 11/Jun/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0, Lustre 2.15.1

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

mpich build rpms fails with --config-cache fails
...
File not found: /tmp/rpmbuild-lustre-shaun-ATNIr1pu/BUILDROOT/lustre-2.14.54_497_ga61a466-1.el8.x86_64/usr/lib64/mpich/bin/*
make: *** [autoMakefile:1190: rpms] Error 1

Looking into the --config-cache vs w/o there are two config cache entries that differ:
am_cv_CC_dependencies_compiler_type
lb_cv_mpi_tests
So drop these when coping the cache file from the initial configure run to the rpmbuild run.



 Comments   
Comment by Gerrit Updater [ 20/Feb/22 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46562
Subject: LU-15573 build: remove mpi, CC deps from config cache
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 497cea4815a3e08f3ffd88ecba0c129a9e9ca5b8

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46562/
Subject: LU-15573 build: remove mpi, CC deps from config cache
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 8b3f2a030d2af15938faea816c73e3d04fe0ff33

Comment by Peter Jones [ 11/Jun/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 23/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47711
Subject: LU-15573 build: remove mpi, CC deps from config cache
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: cc5865cdbc95d14dd2beb052a5810287994f5f2d

Comment by Gerrit Updater [ 05/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47711/
Subject: LU-15573 build: remove mpi, CC deps from config cache
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 16e7179f7557aff5a6b2ff8f79c0b2aab425c43f

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