Bug 1329290

Summary: RPATH outside of sclroot dir
Product: Red Hat Software Collections Reporter: Branislav Náter <bnater>
Component: pythonAssignee: Python Maintainers <python-maint>
Status: CLOSED NOTABUG QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: python27CC: cstratak
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 13:50:38 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:

Description Branislav Náter 2016-04-21 14:33:00 UTC
Description of problem:
Each ELF binary should has its RPATH and RUNPATH inside  of SCLROOT (/opt/rh/python27/).

Version-Release number of selected component (if applicable):
python27-python-2.7.8-15.el6, python27-python-2.7.8-13.el7

How reproducible:


Steps to Reproduce:
Caught by general scl test: http://pkgs.devel.redhat.com/cgit/tests/scl-utils/tree/Sanity/general-rpath

Actual results:
:: [ 06:31:46 ] :: Package versions:
:: [ 06:31:46 ] ::   python27-python-debug-2.7.8-15.el6.x86_64
:: [   FAIL   ] :: RPATH in /opt/rh/python27/root/usr/lib64/python2.7/lib-dynload/pyexpat_d.so 
:: [ 06:31:48 ] :: Is set as /usr/lib64
:: [ 06:31:53 ] :: Package versions:
:: [ 06:31:54 ] ::   python27-python-libs-2.7.8-15.el6.x86_64
:: [   FAIL   ] :: RPATH in /opt/rh/python27/root/usr/lib64/python2.7/lib-dynload/pyexpat.so 
:: [ 06:31:58 ] :: Is set as /usr/lib64

Expected results:
No issue reported

Additional info:
This can be false positive so please investigate.

Comment 1 Charalampos Stratakis 2016-04-25 13:50:38 UTC
This is the intended behaviour. The only alternative would be bundling the expat package with SCL which would not be recommended.