Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge evolution fails - nss or nspr or libplc4 problems?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
sushant354
n00b
n00b


Joined: 26 Jun 2008
Posts: 9

PostPosted: Thu Jun 26, 2008 8:40 pm    Post subject: emerge evolution fails - nss or nspr or libplc4 problems? Reply with quote

I am trying to upgrade my system and I did emerge --sync and emerge -NDu world. A couple of packages are broken on my system now
evolution
totem
gnash

evolution fails with the following error:

(cd .libs && rm -f libecontactprint.la && ln -s ../libecontactprint.la libecontactprint.la)
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -o contact-print-test test-print.o libecontactprint.la ../../addressbook/util/libeabutil.la ../../e-util/libeutil.la -pthread -lgtkhtml-3.14 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lart_lgpl_2 -ledataserverui-1.2 -lglade-2.0 -lebook-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnome-2 -lpopt -lcamel-1.2 -ledataserver-1.2 -lxml2 -lgconf-2 -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -o contact-print-style-editor-test test-contact-print-style-editor.o libecontactprint.la ../../addressbook/util/libeabutil.la ../../e-util/libeutil.la -pthread -lgtkhtml-3.14 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lart_lgpl_2 -ledataserverui-1.2 -lglade-2.0 -lebook-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnome-2 -lpopt -lcamel-1.2 -ledataserver-1.2 -lxml2 -lgconf-2 -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -o .libs/contact-print-style-editor-test test-contact-print-style-editor.o -pthread ./.libs/libecontactprint.a ../../addressbook/util/.libs/libeabutil.so ../../e-util/.libs/libeutil.so /usr/lib64/libgtkhtml-3.14.so /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libedataserverui-1.2.so /usr/lib64/libglade-2.0.so /usr/lib64/libebook-1.2.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libcamel-1.2.so /usr/lib64/libedataserver-1.2.so /usr/lib64/libxml2.so /usr/lib64/libgconf-2.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib64/evolution/2.22
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libplc4.so.6, needed by /usr/lib64/nss/libssl3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libplds4.so.6, needed by /usr/lib64/nss/libssl3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libnspr4.so.6, needed by /usr/lib64/nss/libssl3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib64/nss/libnss3.so.11: undefined reference to `FC_GetFunctionList@NSS_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to `NSC_ModuleDBFunc@NSS_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to `NSC_GetFunctionList@NSS_3.4'
collect2: ld returned 1 exit status
make[4]: *** [contact-print-style-editor-test] Error 1
make[4]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -o .libs/contact-print-test test-print.o -pthread ./.libs/libecontactprint.a ../../addressbook/util/.libs/libeabutil.so ../../e-util/.libs/libeutil.so /usr/lib64/libgtkhtml-3.14.so /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libedataserverui-1.2.so /usr/lib64/libglade-2.0.so /usr/lib64/libebook-1.2.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libcamel-1.2.so /usr/lib64/libedataserver-1.2.so /usr/lib64/libxml2.so /usr/lib64/libgconf-2.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib64/evolution/2.22
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libplc4.so.6, needed by /usr/lib64/nss/libssl3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libplds4.so.6, needed by /usr/lib64/nss/libssl3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libnspr4.so.6, needed by /usr/lib64/nss/libssl3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11, not found (try using -rpath or -rpath-link)
/usr/lib64/nss/libnss3.so.11: undefined reference to `FC_GetFunctionList@NSS_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to `NSC_ModuleDBFunc@NSS_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to `NSC_GetFunctionList@NSS_3.4'
collect2: ld returned 1 exit status
make[4]: *** [contact-print-test] Error 1
make[4]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.22.2-r2/work/evolution-2.22.2/addressbook/printing'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.22.2-r2/work/evolution-2.22.2/addressbook'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.22.2-r2/work/evolution-2.22.2/addressbook'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.22.2-r2/work/evolution-2.22.2'
make: *** [all] Error 2
*
* ERROR: mail-client/evolution-2.22.2-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2993: Called gnome2_src_compile
* environment, line 2170: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure

revdep-rebuild/ aemerge @preserved-rebuild always shows me this
!!! existing preserved libs:
>>> package: dev-libs/nss-3.12
* - /usr/lib64/nss/libnss3.so.11
* - /usr/lib64/nss/libsmime3.so.11
* - /usr/lib64/nss/libssl3.so.11
>>> package: sys-devel/libtool-2.2.4
* - /usr/lib64/libltdl.so.3
* - /usr/lib64/libltdl.so.3.1.6
Use emerge @preserved-rebuild to rebuild packages using these libraries


emerge --info
Portage 2.2_rc1 (default/linux/amd64/2008.0/no-multilib, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Thu, 26 Jun 2008 15:03:01 +0000
app-shells/bash: 3.2_p39
dev-lang/python: 2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.2.4-r1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.62
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.4
virtual/os-headers: 2.6.25-r4
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/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
LANG="C"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb branding bzip2 cdr cli cracklib crypt cups dbus dri dvd fortran gdbm gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre pdf perl postgres pppd python readline reflection session spell spl sse sse2 ssl svg tcpd truetype type1 unicode xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Let me know if you need any more information.
Back to top
View user's profile Send private message
nightshade2069
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2006
Posts: 140

PostPosted: Thu Jun 26, 2008 8:58 pm    Post subject: Reply with quote

try this. looks like you have some broken links.


revdep-rebuild
Back to top
View user's profile Send private message
sushant354
n00b
n00b


Joined: 26 Jun 2008
Posts: 9

PostPosted: Thu Jun 26, 2008 9:03 pm    Post subject: Reply with quote

nightshade2069 wrote:
try this. looks like you have some broken links.


revdep-rebuild


I have tried this but this does not helps.
Back to top
View user's profile Send private message
FuzzyRay
Developer
Developer


Joined: 02 Oct 2003
Posts: 77

PostPosted: Fri Jun 27, 2008 4:12 pm    Post subject: Reply with quote

I think there is a bug in preserved-libs with the nss package. (I haven't filed the bug yet, since I need to investigate further).

Anyhow, I was able to fix my system by doing the following:

Note: I am using gentoolkit-0.2.4_rc4

1. emerge --unmerge nss (this will remove nss and the preserved libs)
2. emerge -v1 nss (this will rebuild the latest version without the older libraries)
3. revdep-rebuild --verbose --pretend
4. If acceptable, revdep-rebuild --verbose
Back to top
View user's profile Send private message
sushant354
n00b
n00b


Joined: 26 Jun 2008
Posts: 9

PostPosted: Fri Jun 27, 2008 11:30 pm    Post subject: fixed! Reply with quote

The above solution fixed my problem. Thanks. I really do not understand what the problem was though.
Back to top
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 328
Location: Belgium

PostPosted: Sun Jul 06, 2008 6:14 pm    Post subject: Reply with quote

I've the same issue as well. I will test your workaround.
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
OPelerin
Guru
Guru


Joined: 17 Jul 2004
Posts: 328
Location: Belgium

PostPosted: Sun Jul 06, 2008 6:47 pm    Post subject: Reply with quote

Indeed. It has worked for me too.... Sounds like a bug since it affect more than 1 user
_________________
Olivier PELERIN
Back to top
View user's profile Send private message
moutzl
n00b
n00b


Joined: 08 Jun 2008
Posts: 8

PostPosted: Wed Jul 09, 2008 8:50 am    Post subject: Reply with quote

thx! it helped me great
Back to top
View user's profile Send private message
crowbert
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2003
Posts: 113

PostPosted: Wed Jul 09, 2008 7:50 pm    Post subject: Reply with quote

That didn't solve it for me. I find that Evolution is fine with nss-3.11.9, but not with nss-3.12.
Back to top
View user's profile Send private message
fridrik
n00b
n00b


Joined: 18 Dec 2004
Posts: 51

PostPosted: Thu Sep 11, 2008 7:49 pm    Post subject: Reply with quote

for anybody still having the issue

yes it's worked:
1) unmerge nss
2) emerge nss
3) go on with evolution and the rest

for some reasons UPDATING nss has kept the old libsoftokn3.so.11, which was then used by evolution
by unmerging and emerging the old lib is removed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum