Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100718 - dev-util/devhelp-0.10 does not set rpath/runpath tags
Summary: dev-util/devhelp-0.10 does not set rpath/runpath tags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: 100597
  Show dependency tree
 
Reported: 2005-07-29 08:32 UTC by Gergan Penkov
Modified: 2005-08-15 16:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
devhelp-rpath.patch (devhelp-rpath.patch,325 bytes, patch)
2005-07-29 08:39 UTC, Gergan Penkov
Details | Diff
devhelp-0.10-r1.ebuild (devhelp-0.10-r1.ebuild,931 bytes, text/plain)
2005-08-14 06:31 UTC, Gergan Penkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gergan Penkov 2005-07-29 08:32:52 UTC
There is the following problem, the library /usr/lib/libdevhelp-1.so does not
set the rpath/runpath tags for linking with mozilla or mozilla-firefox.
Expected readelf -d /usr/lib/libdevhelp-1.so|grep -E RUNPATH\|RPATH, should show
/usr/lib/mozilla or another corresponding path, in which the linked libraries
are to be found. This could probably lead to problems by dynamic resolution of
the libraries.
There is also a bug report about this in gnome-bugzilla
http://bugzilla.gnome.org/show_bug.cgi?id=166968.
I'll attach a slightly modified version (patching Makefile.in not Makefile.am
and removing the other patches) of this patch, which resolves the issue.
Comment 1 Gergan Penkov 2005-07-29 08:39:23 UTC
Created attachment 64621 [details, diff]
devhelp-rpath.patch

This will set the rpath/runpath tags for /usr/lib/libdevhelp-1.so to the
correct path of mozilla or mozilla-firefox-libraries.
Comment 2 Gergan Penkov 2005-08-14 06:31:26 UTC
Created attachment 65917 [details]
devhelp-0.10-r1.ebuild

The ebuild which uses this patch.
Comment 3 Gergan Penkov 2005-08-15 16:22:39 UTC
This bug is rendered invalid with the new mozilla and mozilla-firefox ebuilds,
which use the -Wl,-R linker directive in the pkg-config files.