Bug 1158915 - Try to avoid the packaging hacks with RPATH somehow
Summary: Try to avoid the packaging hacks with RPATH somehow
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: libtool
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Patrik Novotný
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords: FutureFeature
Depends On: 1171106
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-30 13:53 UTC by Pavel Raiskup
Modified: 2019-03-28 13:01 UTC (History)
6 users (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.