Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285109 - gnome-base/gnome-panel-2.26.3 clock applet fails to load
Summary: gnome-base/gnome-panel-2.26.3 clock applet fails to load
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 304123 304677 305413 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-15 16:49 UTC by Stephan Friedrichs
Modified: 2010-02-20 00:30 UTC (History)
7 users (show)

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


Attachments
paludis --info (info,7.55 KB, text/plain)
2009-09-15 20:33 UTC, Stephan Friedrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2009-09-15 16:49:57 UTC
Since the upgrade to gnome-base/gnome-panel-2.26.3, the clock applet fails with the following message: "The panel encountered a problem while loading "OAFIID:GNOME_ClockApplet"."

The message in .xsession-errors looks like this:

Unable to open desktop file /usr/share/applications/mozilla-firefox-3.0.desktop for panel launcher: No such file or directory
Unable to open desktop file /usr/share/applications/mozilla-firefox-3.0.desktop for panel launcher: No such file or directory

** (gnome-panel:21668): WARNING **: panel-applet-frame.c:1273: failed to load applet OAFIID:GNOME_ClockApplet:
System exception: IDL:Bonobo/GeneralError:1.0 : g_module_open of `/usr/lib64/gnome-panel/libclock-applet.so' failed with `libssl3.so.12: cannot open shared object file: No such file or directory'
Unable to open desktop file /usr/share/applications/mozilla-firefox-3.0.desktop for panel launcher: No such file or directory

But libssl3.so.12 exists in /usr/lib64/nss/. reconcilio (paludis' revdep-rebuild) doesn't solve the problem.

Reproducible: Always

Steps to Reproduce:
1. Add the clock applet to the panel
2. tail ~/.xsession-errors
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-09-15 18:16:15 UTC
- Please Attach the output of emerge --info
- Could you paste the output of the following command ? :
 $ scanelf -n /usr/lib64/gnome-panel/libclock-applet.so
- Could you give us your version of openssl ?

Thanks in advance.
Comment 2 Stephan Friedrichs 2009-09-15 20:32:31 UTC
(In reply to comment #1)
> - Please Attach the output of emerge --info

see below

> - Could you paste the output of the following command ? :
>  $ scanelf -n /usr/lib64/gnome-panel/libclock-applet.so

 TYPE   NEEDED FILE 
ET_DYN libpanel-applet-2.so.0,libecal-1.2.so.7,libicalss.so.0,libicalvcal.so.0,libical.so.0,libedataserverui-1.2.so.8,libebook-1.2.so.9,libcamel-1.2.so.14,libssl3.so,libsmime3.so,libnssutil3.so,libnss3.so,libsqlite3.so.0,libedataserver-1.2.so.11,libplds4.so.8,libplc4.so.8,libnspr4.so.8,librsvg-2.so.2,libgsf-1.so.114,libbz2.so.1,libcroco-0.6.so.3,libglade-2.0.so.0,libbonoboui-2.so.0,libSM.so.6,libuuid.so.1,libICE.so.6,libgnomecanvas-2.so.0,libgailutil.so.18,libXinerama.so.1,libXi.so.6,libXrandr.so.2,libXcursor.so.1,libXcomposite.so.1,libXext.so.6,libXdamage.so.1,libXfixes.so.3,libgnome-2.so.0,libgnomevfs-2.so.0,libavahi-glib.so.1,libavahi-client.so.3,libavahi-common.so.3,libresolv.so.2,libutil.so.1,libpopt.so.0,libart_lgpl_2.so.2,libbonobo-2.so.0,libbonobo-activation.so.4,libORBitCosNaming-2.so.0,libgweather.so.1,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libatk-1.0.so.0,libgdk_pixbuf-2.0.so.0,libpangocairo-1.0.so.0,libpangoft2-1.0.so.0,libcairo.so.2,libpixman-1.so.0,libdirectfb-1.2.so.0,libfusion-1.2.so.0,libdirect-1.2.so.0,libpng12.so.0,libXrender.so.1,libX11.so.6,libxcb.so.1,libXau.so.6,libXdmcp.so.6,libpango-1.0.so.0,libfontconfig.so.1,libfreetype.so.6,libexpat.so.1,libsoup-2.4.so.1,libxml2.so.2,libm.so.6,libgnutls.so.26,libtasn1.so.3,libz.so.1,libgcrypt.so.11,libgpg-error.so.0,libgio-2.0.so.0,libgconf-2.so.4,libORBit-2.so.0,libgmodule-2.0.so.0,libdl.so.2,libgthread-2.0.so.0,libdbus-glib-1.so.2,libdbus-1.so.3,libpthread.so.0,librt.so.1,libgobject-2.0.so.0,libglib-2.0.so.0,libc.so.6 /usr/lib64/gnome-panel/libclock-applet.so 

> - Could you give us your version of openssl ?

* dev-libs/openssl
    gentoo:                  0.9.8j 0.9.8k 0.9.8k-r1(~) {:0} 
    installed:               0.9.8k-r1* {:0} 
    Description:             Toolkit for SSL v2/v3 and TLS v1
    Homepage:                http://www.openssl.org/
    License:                 openssl
    Installed time:          Wed Sep  9 12:06:00 2009
    Use flags:               (-bindist) (-gmp) (-kerberos) (sse2) (zlib) (-test)
    From repositories:       gentoo
    Installed using:         paludis-0.38.2
Comment 3 Stephan Friedrichs 2009-09-15 20:33:37 UTC
Created attachment 204253 [details]
paludis --info
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-09-15 21:13:22 UTC
Mhhh... but it doesn't make sense, openssl doesn't install libssl library using "libssl3.so" soname...

and what clock-applet has to do with ssl ... (may be a bad judgement but to display a clock...)

@herd: an idea ?
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-15 23:12:23 UTC
> System exception: IDL:Bonobo/GeneralError:1.0 : g_module_open of
> `/usr/lib64/gnome-panel/libclock-applet.so' failed with `libssl3.so.12: cannot
> open shared object file: No such file or directory'

that lib comes from nss
$ qlist dev-libs/nss |egrep "ssl"
/usr/lib/nss/libssl3.so
/usr/lib/nss/libssl3.so.12

please rebuild nss, and check it's not a version coming from one of your overlays.
Comment 6 peng shao 2009-09-16 01:14:26 UTC
(In reply to comment #5)
> > System exception: IDL:Bonobo/GeneralError:1.0 : g_module_open of
> > `/usr/lib64/gnome-panel/libclock-applet.so' failed with `libssl3.so.12: cannot
> > open shared object file: No such file or directory'
> 
> that lib comes from nss
> $ qlist dev-libs/nss |egrep "ssl"
> /usr/lib/nss/libssl3.so
> /usr/lib/nss/libssl3.so.12
> 
> please rebuild nss, and check it's not a version coming from one of your
> overlays.

I met exactly the same problem, and have built my nss again but the problem remains. I did not use any overlay.

my emerge --info

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 15 Sep 2009 12:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9
dev-lang/python:     2.4.4-r13, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode esd evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg ldap libnotify mad mikmod mmx mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit ppds pppd python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vim-syntax vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 7 peng shao 2009-09-16 01:46:44 UTC
and the missing of libssl3.so.12 causes evolution failed to launch :(

evolution: error while loading shared libraries: libssl3.so.12: cannot open shared object file: No such file or directory

I masked nss-3.12.4, and emerged nss-3.12.3-r1, then everything seems to be OK until now. :( Thanks
Comment 8 Tiago Santos 2009-09-16 02:23:16 UTC
going back to nss-3.12.3-r1 solves the problem
seems like nss-3.12.4 installs libssl3.so.9.8 instead of libssl3.so.12 (nss-3.9.8?), maybe a problem in the install step
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-16 06:40:12 UTC
re-assigning to mozilla herd
Comment 10 Stephan Friedrichs 2009-09-16 09:44:59 UTC
(In reply to comment #8)
> going back to nss-3.12.3-r1 solves the problem

I can confirm that.

> seems like nss-3.12.4 installs libssl3.so.9.8 instead of libssl3.so.12

Not on my system. With both versions of nss, I get:

$ ls /usr/lib64/nss/libssl*
/usr/lib64/nss/libssl3.so
/usr/lib64/nss/libssl3.so.12
/usr/lib64/nss/libssl.a
Comment 11 John Keeping 2009-09-16 09:50:07 UTC
There's a postinst warning from nss-3.12.4 stating that the SONAMEs have changed to match upstream's version (libssl3.so rather than libssl3.so.12, etc.) and suggesting revdep-rebuild to fix this. However, it seems that revdep-rebuild isn't picking up these broken libraries unless you explicitly list them:

revdep-rebuild -L libssl3.so.12

There's also libfreebl3.so.12, libnss3.so.12, libnssckbi.so.12, libnssdbm3.so.12, libnssutil3.so.12, libsmime3.so.12 and libsoftokn3.so.12 but I think just rebuilding on libssl3.so.12 should catch all of these as well.
Comment 12 Jory A. Pratt gentoo-dev 2009-09-16 13:12:12 UTC
pkg_postinst() has been updated to reflect a proper usage of revdep-rebuild. As long as revdep-rebuild --library libnss3.so.12 is run just about every package will be fixed. There are the small cases that will be missed which is all warned about and states to rebuild package to ensure proper linking.
Comment 13 Pacho Ramos gentoo-dev 2010-02-09 13:17:24 UTC
*** Bug 304123 has been marked as a duplicate of this bug. ***
Comment 14 Pacho Ramos gentoo-dev 2010-02-12 08:53:09 UTC
*** Bug 304677 has been marked as a duplicate of this bug. ***
Comment 15 Pacho Ramos gentoo-dev 2010-02-16 18:33:17 UTC
*** Bug 305413 has been marked as a duplicate of this bug. ***
Comment 16 Trenton D. Adams 2010-02-20 00:30:24 UTC
Also, how should this be dealt with 2.2_rcXX systems?  Shouldn't it be put in the preserved-libs list?