[LU-15172] rhel 8.4 build fails with swig installed attempting to use the invalid python Created: 28/Oct/21  Updated: 05/May/22  Resolved: 18/Jan/22

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

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

Issue Links:
Duplicate
is duplicated by LU-15415 Server build failure el8.5 in testing Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

rhel 8.4 build fails with swig installed attempting to use the invalid python

echo "updating lutf_agent.i"
updating lutf_agent.i
python ../../../../lustre/tests/lutf/swig_templates/generate_lutf_swig_i.py ../../../../lustre/tests/lutf/swig_templates ../../../../lustre/tests/lutf/src/lutf_agent.swg
make[5]: python: Command not found

PYTHON_VERSION is detected but not used.
Let us use PYTHON_VERSION to discover 'python' and use the discovered 'python' instead.



 Comments   
Comment by James A Simmons [ 28/Oct/21 ]

Does patch https://review.whamcloud.com/#/c/45250 help?

Comment by Gerrit Updater [ 28/Oct/21 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/45392
Subject: LU-15172 build: Use PYTHON_VERSION to discover PYTHON
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: eb934b6c791ba89a798b5defa5dad36edc976e63

Comment by James A Simmons [ 18/Jan/22 ]

Resolved by fix in LU-15415

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