[LU-7963] Spec file dies on *.la removal Created: 31/Mar/16  Updated: 31/Mar/16  Resolved: 31/Mar/16

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

Type: Bug Priority: Minor
Reporter: Christopher Morrone Assignee: WC Triage
Resolution: Not a Bug Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

For whatever reason, Lustre's spec file deletes all .la files that it finds in the %{_libdir} path. On RHEL7 in some environments, again for unknown reasons, there don't seem to be any .la files in the first place. Which is apparently what we wanted, but the .la remove line thows an error if it can't find and .la files and breaks the packaging process.

We can pretty safely just ignore error code from that cleanup line for now. In the future, maybe we can remove the line altogether.



 Comments   
Comment by Christopher Morrone [ 31/Mar/16 ]

Oh, it was already changed from "-delete" to "-exec rm -f" on master. That probably addresses this problem.

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