Bug 2056604

Summary: suitesparse rpm ships shared libraries with RPATH
Product: Red Hat Enterprise Linux 9 Reporter: Michal Sekletar <msekleta>
Component: suitesparseAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, fsumsal, jwboyer
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: suitesparse-5.4.0-10.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 14:17:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Sekletar 2022-02-21 15:06:57 UTC
Description of problem:
$subject and it is against our packaging guidelines.

Version-Release number of selected component (if applicable):
suitesparse-5.4.0-9.el9

How reproducible:
deterministic

Steps to Reproduce:
1. yum download suitesparse
2. annocheck ./suitesparse-5.4.0-9.el9.x86_64.rpm | grep RPATH

Actual results:
Hardened: libamd.so.2.4.6: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libbtf.so.1.2.6: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libcamd.so.2.4.6: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libccolamd.so.2.9.6: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libcholmod.so.3.0.13: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libcolamd.so.2.9.6: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libcxsparse.so.3.2.0: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libklu.so.1.3.8: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libldl.so.2.2.6: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: librbio.so.2.2.6: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libspqr.so.2.0.9: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libsuitesparseconfig.so.5.4.0: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr
Hardened: libumfpack.so.5.7.8: FAIL: run-path test because the DT_RPATH/DT_RUNPATH dynamic tag contains a path that does not start with /usr

Expected results:
No RPATH related reports

Comment 2 Lukáš Nykrýn 2022-02-24 14:56:30 UTC
I've checked Michal's changes and the new build is clean.

Comment 6 errata-xmlrpc 2022-05-17 14:17:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: suitesparse), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2685