After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 314612 - The clock-applet, when built to use eds, links automagically to nss/nspr libraries
The clock-applet, when built to use eds, links automagically to nss/nspr libr...
Status: RESOLVED NOTABUG
Product: gnome-panel
Classification: Other
Component: clock
2.10.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-26 19:46 UTC by gpp666_999
Modified: 2005-09-18 13:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description gpp666_999 2005-08-26 19:46:12 UTC
Please describe the problem:
You could read a complete explanation of the problem in gentoo-bugzilla 
http://bugs.gentoo.org/show_bug.cgi?id=102661 
The problem begins with 2.10 (the first version to use evoltion-data-server) and
persists till now with gnome-panel-2.11.92

Steps to reproduce:
1. build gnome-panels with --enable-eds
2. 
3. 


Actual results:
somehow clock-applet links against nss/nspr libraries (see the link, there is
ldd and readelf output), but this is not in the dependancies of the package and
it does not check anything about these libraries.

Expected results:
The configure script checks for mozilla-nspr.pc or firefox-nspr.pc or other form
of checking and using the cflags and libs supplied from pkg-config

Does this happen every time?


Other information:
Comment 1 Sebastien Bacher 2005-08-26 20:14:02 UTC
gnome-panel doesn't use these function, that's due to eds using them and
libtool, closing as NOTABUG
Comment 2 gpp666_999 2005-08-26 20:25:09 UTC
Yes but if you try readelf -d on it you will see this:
 readelf -d /usr/libexec/clock-applet

Dynamic section at offset 0x12014 contains 84 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: [libpangoxft-1.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpangox-1.0.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: [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: [libpangocairo-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: [libcairo.so.2]
 0x00000001 (NEEDED)                     Shared library: [libXrender.so.1]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libpng12.so.0]
 0x00000001 (NEEDED)                     Shared library: [libglitz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libfontconfig.so.1]
 0x00000001 (NEEDED)                     Shared library: [libexpat.so.0]
 0x00000001 (NEEDED)                     Shared library: [libfreetype.so.6]
 0x00000001 (NEEDED)                     Shared library: [libecal-1.2.so.3]
 0x00000001 (NEEDED)                     Shared library: [libedataserver-1.2.so.4]
 0x00000001 (NEEDED)                     Shared library: [libnss3.so]
 0x00000001 (NEEDED)                     Shared library: [libsmime3.so]
 0x00000001 (NEEDED)                     Shared library: [libssl3.so]
 0x00000001 (NEEDED)                     Shared library: [libsoftokn3.so]
 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 linss3 libsmime3 and so on are there, and cat
/usr/lib/pkgconfig/evolution-data-server-1.2.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
privlibdir=${libdir}/evolution-data-server-1.4
extensiondir=${libdir}/evolution-data-server-1.2/extensions
datadir=/usr/share
privdatadir=${datadir}/evolution-data-server-1.4
idldir=/usr/share/idl/evolution-data-server-1.2
IDL_INCLUDES=-I ${idldir} -I /usr/share/idl/bonobo-2.0 -I
/usr/share/idl/bonobo-activation-2.0
Name: evolution-data-server
Description: The evolution data server for the calendar and addressbook
Version: 1.3.7
Requires: libgnome-2.0 libbonobo-2.0 >= 2.4.2

There is nothing that says that it should link to nss or nspr, but it links and
does not use the pkg-config files. So how it links against this libraries and why?
Comment 3 gpp666_999 2005-08-26 20:31:59 UTC
And I know that libtool picks them, would this mean it is a
evolution-data-server-problem or libtool problem?
Comment 4 Vincent Untz 2005-09-18 13:54:11 UTC
It just means e-d-s uses the mozilla libraries. There's no need to advertise
this in the .pc file...