Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100718

Summary: dev-util/devhelp-0.10 does not set rpath/runpath tags
Product: Gentoo Linux Reporter: Gergan Penkov <gpp666_999>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal Keywords: Inclusion
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 100597    
Attachments: devhelp-rpath.patch
devhelp-0.10-r1.ebuild

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.