Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102661 - gnome-panel-{2.10|2.11.92} somehow links against nspr if eds flag is selected
Summary: gnome-panel-{2.10|2.11.92} somehow links against nspr if eds flag is selected
Status: RESOLVED WONTFIX
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:
Depends on: 100597
Blocks:
  Show dependency tree
 
Reported: 2005-08-15 16:52 UTC by Gergan Penkov
Modified: 2005-09-28 10:57 UTC (History)
0 users

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


Attachments
gnome-panel-2.10.2-r1.ebuild (gnome-panel-2.10.2-r1.ebuild,2.25 KB, text/plain)
2005-08-15 17:05 UTC, Gergan Penkov
Details
gnome-panel-2.11.92.ebuild (gnome-panel-2.11.92.ebuild,2.24 KB, text/plain)
2005-08-26 12:20 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-08-15 16:52:31 UTC
I've made some explorations for bug #100597 and have removed all the paths for
nss ,nspr, mozilla and so on things from ld.so.conf and saw that this broke the
/usr/libexec/clock-applet...
 readelf -d /usr/libexec/clock-applet

Dynamic section at offset 0x11530 contains 71 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libpanel-applet-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libglade-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgnomeui-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgnome-keyring.so.0]
0x00000001 (NEEDED)                     Shared library: [libjpeg.so.62]
 0x00000001 (NEEDED)                     Shared library: [libbonoboui-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libSM.so.6]
 0x00000001 (NEEDED)                     Shared library: [libICE.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgnomecanvas-2.so.0]
0x00000001 (NEEDED)                     Shared library: [libart_lgpl_2.so.2]
 0x00000001 (NEEDED)                     Shared library: [libgtk-x11-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgdk-x11-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libatk-1.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgdk_pixbuf-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpangoxft-1.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpangox-1.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpangoft2-1.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpango-1.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libecal-1.2.so.2]
 0x00000001 (NEEDED)                     Shared library: [libedataserver-1.2.so.4]
 0x00000001 (NEEDED)                     Shared library: [libgnome-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libesd.so.0]
 0x00000001 (NEEDED)                     Shared library: [libaudiofile.so.0]
 0x00000001 (NEEDED)                     Shared library: [libasound.so.2]
 0x00000001 (NEEDED)                     Shared library: [libgnomevfs-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libxml2.so.2]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libssl.so.0.9.7]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.0.9.7]
 0x00000001 (NEEDED)                     Shared library: [libhowl.so.0]
 0x00000001 (NEEDED)                     Shared library: [libresolv.so.2]
 0x00000001 (NEEDED)                     Shared library: [librt.so.1]
 0x00000001 (NEEDED)                     Shared library: [libbonobo-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgconf-2.so.4]
 0x00000001 (NEEDED)                     Shared library: [libbonobo-activation.so.4]
 0x00000001 (NEEDED)                     Shared library: [libORBitCosNaming-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libORBit-2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpopt.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgobject-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgmodule-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgthread-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libglib-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libplds4.so]
 0x00000001 (NEEDED)                     Shared library: [libplc4.so]
 0x00000001 (NEEDED)                     Shared library: [libnspr4.so]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
As you see it links against libplc4.so libplds4.so libnspr4.so, which belong to
mozilla-sth. I have looked at the configure script and the make-files but there
is no trace of some dependancy of the sort.
It links somehow automagically and not fully correctly:
mkdir .libs
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -Wl,-O1 -o .libs/clock-applet
clock.o calendar-client.o calendar-sources.o -Wl,--export-dynamic -pthread 
../../libpanel-applet/.libs/libpanel-applet-2.so -L/usr/lib
/usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so /usr/lib/libgnome-keyring.so
/usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11
/usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so
/usr/lib/libecal-1.2.so -L/usr/lib/mozilla-firefox
/usr/lib/libedataserver-1.2.so -lplc4 -lplds4 -lnspr4 /usr/lib/libgnome-2.so
/usr/lib/libesd.so /usr/lib/libaudiofile.so /usr/lib/libasound.so
/usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lz -lssl -lcrypto
/usr/lib/libhowl.so -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so
/usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so
/usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so -lm
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread
/usr/lib/libglib-2.0.so
creating clock-applet
because it is not what I have as pkg-config for mozilla-firefox.
Probably this dependancy should be send upstream, in order for the developers to
correct the configure-script.
I've made a patched ebuild, which will include this dependancy in the configure
script and also read the package-config files (it adds the firefox-flag to make
possible building it against firefox)
Comment 1 Gergan Penkov 2005-08-15 17:05:43 UTC
Created attachment 66034 [details]
gnome-panel-2.10.2-r1.ebuild

This is a simple sed-patch to the configure-script, which will add mozilla-nspr
or firefox-nspr to the dependacies, according to the use flag (it will depend
on bug #100597 simply because I'm not sure if the pkg-config files are correct
in earlier versions - the ebuilds are already in portage, but masked, and to
ensure setting of the rpath DTAG in the library)
Comment 2 Gergan Penkov 2005-08-26 12:20:15 UTC
Created attachment 66932 [details]
gnome-panel-2.11.92.ebuild

The new version has the same problems.
Comment 3 Gergan Penkov 2005-08-26 12:50:22 UTC
Added upstream bug for this behaviour in gnome-bugzilla -
http://bugzilla.gnome.org/show_bug.cgi?id=314612
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2005-09-28 10:57:14 UTC
upstream classified as NOTABUG.