Bug 1158915

Summary: Try to avoid the packaging hacks with RPATH somehow
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: libtoolAssignee: mkulik
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i, orion, phracek, praiskup, rhbugs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-10 10:39:48 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:
Bug Depends On: 1171106    
Bug Blocks:    

Description Pavel Raiskup 2014-10-30 13:53:57 UTC
From Fedora devel list:
https://lists.fedoraproject.org/pipermail/devel/2014-October/203797.html

On Wednesday 29 of October 2014 15:51:12 Kalev Lember wrote:
> While you are at this, any chance you could try convincing upstream to add
> /usr/lib64 to the list of standard libdirs, to avoid madness like
> https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath ?

TBH, I'll need to look at it better to tell..

Comment 1 Pavel Raiskup 2014-10-30 13:58:33 UTC
Note, however, the 'libtool' script is part of usual project tarball and even
if we fixed this in libtool now (somehow), the fix must stay in Packaging
Guidelines way longer (almost forever).

Comment 2 Pavel Raiskup 2014-12-05 12:20:55 UTC
Note the upstream thread which seems to be ending up with final solution:
http://thread.gmane.org/gmane.comp.gnu.libtool.general/8339/focus=8345

Sum-up:  Libtool is not able to detect what is the linker's path.

Also the so far unsuccessful attempts to fix ldconfig:
http://comments.gmane.org/gmane.comp.lib.glibc.alpha/13815
http://comments.gmane.org/gmane.comp.lib.glibc.alpha/19256

I filled a bug against redhat-rpm-config (see "Depends on" field) which
should help us with older libtools.

TBH, I am still afraid that it will take a very long time until we
manage to remove (or fix) the PG regarding RPATH.

Comment 3 Pavel Raiskup 2019-03-28 13:01:27 UTC
Gmane died in the meantime, so FTR the thread from comment #2 is also here:
http://lists.gnu.org/archive/html/libtool/2014-12/msg00007.html

I proposed now slightly less-intrusive patch against redhat-rpm-config:
https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/55

Comment 4 Fedora Admin user for bugzilla script actions 2021-07-01 15:31:40 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 mkulik 2021-11-10 10:39:48 UTC
Closing. Fix has been merge. It is available from version 145-1.