Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119684 - firefox 1.5 build fails: libnss3.so: version `NSS_3.10' not found
Summary: firefox 1.5 build fails: libnss3.so: version `NSS_3.10' not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 06:22 UTC by Paolo Sacconier
Modified: 2006-02-05 05:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Sacconier 2006-01-20 06:22:19 UTC
emerging mozilla-firefox-1.5-r9 I got the following error:
...
/../../../dist/private/nss -I../../../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/include/nspr -I/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/include/dbm  mangle.c
powerpc-unknown-linux-gnu-gcc -Wl,-R/usr/lib/mozilla-firefox -o Linux2.6_ppc_glibc_PTH_OPT.OBJ/mangle -O2 -fPIC -DLINUX1_2 -D_XOPEN_SOURCE -DLINUX2_1 -ansi  -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -UDEBUG -DNDEBUG -D_REENTRANT -I/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/include  -I../../../../../dist/public/nss -I../../../../../dist/private/nss -I../../../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/include/nspr -I/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/include/dbm  Linux2.6_ppc_glibc_PTH_OPT.OBJ/mangle.o  /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libsmime.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libssl.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libnss.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libssl.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libsectool.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libpkcs12.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libpkcs7.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libcerthi.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libpk11wrap.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libcryptohi.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libcerthi.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libnsspki.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libpk11wrap.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libsoftokn.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libcertdb.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libnsspki.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libnssdev.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libnssb.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libswfci.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libfreebl.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libsecutil.a /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libdbm.a  -L/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib -lplc4 -lplds4 -lnspr4  -lpthread  -ldl -lc
../../../../coreconf/nsinstall/Linux2.6_ppc_glibc_PTH_OPT.OBJ/nsinstall -R -m 775 Linux2.6_ppc_glibc_PTH_OPT.OBJ/mangle /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/bin
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/security/nss/cmd/shlibsign/mangle'
Thu Jan 19 02:42:59 CET 2006
Linux2.6_ppc_glibc_PTH_OPT.OBJ/shlibsign -v -i /var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libsoftokn3.so
Linux2.6_ppc_glibc_PTH_OPT.OBJ/shlibsign: /usr/lib/mozilla-firefox/libnss3.so: version `NSS_3.10' not found (required by Linux2.6_ppc_glibc_PTH_OPT.OBJ/shlibsign)
gmake[3]: *** [/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/dist/lib/libsoftokn3.chk] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/security/nss/cmd/shlibsign'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla/security/manager'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5-r9/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.5-r9 failed.
!!! Function src_compile, Line 146, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

lu_zero suggested that could be a glibc or linker related issue, here are the versions installed:
Portage 2.0.53 (default-linux/ppc/2004.3, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6y ppc)
=================================================================
System uname: 2.6.10-gentoo-r6y ppc 750FX
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.2.3-r6, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -mcpu=750 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/gconf /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://gentoo.inode.at/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.uni-c.dk/pub/gentoo/"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib alsa arts audiofile berkdb bitmap-fonts bootsplash browserplugin bzip2 cdparanoia cdr crypt cups curl dbus doc dv dvd dvdr dvi eds emboss encode esd exif expat fam fbcon ffmpeg firefox flac font-server foomaticdb fortran gd gdbm gif gimpprint glitz glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl idn ieee1394 imagemagick imlib ipv6 jabber jack java jpeg junit kde lcms ldap libwww live lua mad mng mono motif mozilla mp3 mpeg musicbrainz ncurses network nls nptl nsplugin objc ofx ogg oggvorbis openal opengl oss pam pcre pdflib perl pic png ppds python qt quicktime rdesktop readline ruby samba scanner sdl slang slp speex spell sqlite ssl subversion svg t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vidix visualization vnc vorbis wifi wmf xine xinerama xml2 xmms xprint xscreensaver xv zeroconf zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS

I'll update glibc and binutils then reemerge firefox and report what happens, it may still be a dependency version issue.

Bye! :)
--
Paolo Sacconier
Comment 1 Paolo Sacconier 2006-01-21 05:43:22 UTC
Updated glibc and binutils: firefox builds successfully! :)

Here is my new emerge info:
Portage 2.0.53 (default-linux/ppc/2004.3, gcc-3.4.4, glibc-2.3.5-r3, 2.6.10-gentoo-r6y ppc)
=================================================================
System uname: 2.6.10-gentoo-r6y ppc 750FX
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.2.3-r6, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -mcpu=750 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/gconf /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://gentoo.inode.at/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.uni-c.dk/pub/gentoo/"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib alsa arts audiofile berkdb bitmap-fonts bootsplash browserplugin bzip2 cdparanoia cdr crypt cups curl dbus doc dv dvd dvdr dvi eds emboss encode esd exif expat fam fbcon ffmpeg firefox flac font-server foomaticdb fortran gd gdbm gif gimpprint glitz glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl idn ieee1394 imagemagick imlib ipv6 jabber jack java jpeg junit kde lcms ldap libwww live lua mad mng mono motif mozilla mp3 mpeg musicbrainz ncurses network nls nptl nsplugin objc ofx ogg oggvorbis openal opengl oss pam pcre pdflib perl pic png ppds python qt quicktime rdesktop readline ruby samba scanner sdl slang slp speex spell sqlite ssl subversion svg t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vidix visualization vnc vorbis wifi wmf xine xinerama xml2 xmms xprint xscreensaver xv zeroconf zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 2 Luca Barbato gentoo-dev 2006-01-21 11:03:48 UTC
I guess that mozilla should pin certain binutils deps at least.
Comment 3 Jory A. Pratt 2006-02-05 05:08:45 UTC
binutils dep has been added, either way we are now gonna build against system nss/nspr so works out good for both all of us. Fixed in 1.5-r11 and 1.5.0.1 look for a quick move to stable on 1.5.0.1