While trying to install evolution, evolution-data-serverr-2.22.3 fails to compile, whinging about nss. Workaround included. Reproducible: Always Steps to Reproduce: 1.emerge evolution-data-server 2. 3. Actual Results: x86_64-pc-linux-gnu-gcc -O2 -march=k8 -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -Wl,-O1 -o .libs/dump-vcard dump-vcard.o -pthread ../../../addressbook/libebook/.libs/libebook-1.2.so /var/tmp/portage/gnome-extra/evolution-data-server-2.22.3/work/evolution-data-server-2.22.3/camel/.libs/libcamel-1.2.so -L/usr/lib64/nspr -L/usr/lib64/lib -L/usr/lib64/nss -lssl3 -lsmime3 -lnss3 /var/tmp/portage/gnome-extra/evolution-data-server-2.22.3/work/evolution-data-server-2.22.3/libedataserver/.libs/libedataserver-1.2.so -lplds4 -lplc4 -lnspr4 -ldb /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libxml2.so -lz -lm /usr/lib64/libdbus-glib-1.so -lnsl /usr/lib64/libdbus-1.so -lssl -lcrypto -lresolv -lutil /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so, not found (try using -rpath or -rpath-link) /usr/lib64/nss/libnss3.so: undefined reference to `FC_GetFunctionList@NSS_3.4' /usr/lib64/nss/libnss3.so: undefined reference to `NSC_ModuleDBFunc@NSS_3.4' /usr/lib64/nss/libnss3.so: undefined reference to `NSC_GetFunctionList@NSS_3.4' collect2: ld returned 1 exit status make[4]: *** [dump-vcard] Error 1 make[4]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-data-server-2.22.3/work/evolution-data-server-2.22.3/addressbook/tests/vcard' ls /usr/lib64/nss libcertdb.a libjar.a libnsspki.a libsoftokn3.chk libcerthi.a libnss3.so libpk11wrap.a libsoftokn3.so libcrmf.a libnss3.so.11 libpkcs12.a libsoftokn3.so.11 libcryptohi.a libnss.a libpkcs7.a libsoftokn.a libdbm.a libnssb.a libsectool.a libssl3.so libfreebl3.chk libnssckbi.so libsecutil.a libssl3.so.11 libfreebl3.so libnssckbi.so.11 libsmime3.so libssl.a libfreebl3.so.11 libnssckfw.a libsmime3.so.11 libzlib.a libfreebl.a libnssdev.a libsmime.a ls -l /usr/lib64/nss/libsoftokn3.so.11 -rwxr-xr-x 1 root root 368864 2008-11-11 23:08 /usr/lib64/nss/libsoftokn3.so.11 Note: I have tried all the searches and tips I could find, remerging libsoup, unmergeing nss, rm -rf /usr/lib64/nss/, remerge nss, so if libsoftokn3.so.11 should not have been there, it is, and nss installed it. Tried updating libtool - did not help. Expected Results: I don't understand why the failure message reports a file which is clearly present. The link line has: -L/usr/lib64/nss so it ought to know to look there. lddconfig etc all look ok. workaround: echo "=dev-libs/nss-3.12 amd64 ~amd64" >> /etc/portage/package.keywords/dev-libs echo "=dev-libs/nspr-4.7.3 amd64 ~amd64" >> /etc/portage/package.keywords/dev-libs emerge -1 nss nspr emerge -1 evolution-data-server Note: nspr was reported by ACCEPT_KEYWORDS="~amd64" emerge --pretend nss, so got the additional keyword above. The latest "amd64" versions are: dev-libs/nspr-4.6.8 dev-libs/nss-3.11.9 [ebuild R ] gnome-extra/evolution-data-server-2.22.3 USE="ipv6 ssl -debug -doc -gnome-keyring -kerberos -krb4 -ldap" emerge --info: Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) ================================================================= System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Timestamp of tree: Sat, 15 Nov 2008 08:47:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -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/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en de fr" MAKEOPTS="-j2" 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://192.168.14.12/gentoo-portage" USE="3dnow X a52 aac acl acpi aiglx alsa amd64 apm bash-completion berkdb binfilter bzip2 cdparanoia cdr cli cracklib crypt cups dga dmx dri dv dvd dvdnav dvdread emacs extrafilters fame fglrx firefox fortran gdbm gimpprint gpm gtk gtk2 iconv imagemagick ipv6 irmc isdnlog java jpeg jpeg2k lzo midi mjpeg mmx mp3 mpeg mudflap multilib ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pda perl pppd python quicktime radeon readline reflection sdl session spell spl sse sse2 ssl synaptics sysfs tcpd tetex unicode usb userlocales v4l vorbis xine xorg xv xvid yv12 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en de fr" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
please search before filling bugs. *** This bug has been marked as a duplicate of bug 231563 ***
Please read the report. Not a duplicate because: 1 - applies to evolution-data-server, not evolution 2 - I did as described below to ensure nss was nolonger there. Search for "I have tried all the searches and tips" within the text. If you want to look at it differently, then e-d-s in "amd64" relies on nss-3.12, which is only in "~amd64"
where you using nss 3.12 when you hit this bug ? Did you run revdep-rebuild when changing nss/nspr version ?
No. I used "amd64". The latest "amd64" versions are: dev-libs/nspr-4.6.8 dev-libs/nss-3.11.9 With the above, e-d-s does not compile, for me. And yes, I am talking about gnome-extra/evolution-data-server-2.22.3, which is in "amd64". Switching to "~amd64" for these packages brings in: dev-libs/nss-3.12 dev-libs/nspr-4.7.3 With these, e-d-s and evolution compile. Again, this is gnome-extra/evolution-data-server-2.22.3 - I only upgrade to "~amd64" when I need new functionality, or in this case because the stable does not work. revdep-rebuild recompiles open office, so I went for a cup of tea before trying to see if everything still runs properly. They do, however, compile. Evolution also starts, and finds the address-book and calendar.
I just build that version of e-d-s against those versions of nss and nspr and it worked fine.
which versions?
e-d-s 2.22.3 nss 3.11.9 nspr 4.6.8 This is a stable amd64 box.
please attach build.log and config.log. Btw in the summary field, you said "evolution-data-server and nss compile fail" does this mean nss also fails to build ?
(In reply to comment #8) > Btw in the summary field, you said "evolution-data-server and nss compile fail" > does this mean nss also fails to build ? > nss is fine. I have changed the title to reflect that it is only e-d-s, and that nss is the area where trouble occurs. Can you tell me where to find these log files you need?
(In reply to comment #7) > e-d-s 2.22.3 > nss 3.11.9 > nspr 4.6.8 > > This is a stable amd64 box. > Very curious. I had a working stable box before a harddisk crash. When rebuilding the system, I pulled in the same packages, but clearly the latest stable. 2 questions which might help resolve the differences: 1) Does your emerge --info differ from mine? 2) What would be updated with emerge -DNup world? Thanks,
When a build failure happens, portage shows you where it wrote the logs. Please read again the lines with a red "*", you'll see the full paths. Thanks