Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109913 - cannot emerge/upgrade firefox, thunderbird and nss, problem with nsinstall binary
Summary: cannot emerge/upgrade firefox, thunderbird and nss, problem with nsinstall bi...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 05:05 UTC by Mehdi
Modified: 2005-12-11 15:57 UTC (History)
1 user (show)

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 Mehdi 2005-10-20 05:05:29 UTC
I cannot emerge any recent version of packages mozilla-firefox,
mozilla-thunderbird and nss. The compilation stops at the nss part with an error
message related to the dynamic loading of a library.
If I remove or loose my firefox (or thunderbird) I will not be able to install
it again.

Reproducible: Always
Steps to Reproduce:
1. emerge -u mozilla-firefox
OR
1. emerge -u world
OR
1. emerge nss
...
Actual Results:  
For nss (similar problem with firefox and thunderbird):

>>> Unpacking nss-3.9.2.tar.gz to /var/tmp/portage/nss-3.9.2-r2/work
 * Applying nss-3.9.2-ppc64.patch ...                                          
                                                                     [ ok ]
 * Applying nss-3.9.2-mips64.patch ...                                         
                                                                     [ ok ]
>>> Source unpacked.
cd nsinstall; make export
make[1]: Entering directory
`/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall'
make[1]: Rien 
Comment 1 Mehdi 2005-10-20 05:05:29 UTC
I cannot emerge any recent version of packages mozilla-firefox,
mozilla-thunderbird and nss. The compilation stops at the nss part with an error
message related to the dynamic loading of a library.
If I remove or loose my firefox (or thunderbird) I will not be able to install
it again.

Reproducible: Always
Steps to Reproduce:
1. emerge -u mozilla-firefox
OR
1. emerge -u world
OR
1. emerge nss
...
Actual Results:  
For nss (similar problem with firefox and thunderbird):

>>> Unpacking nss-3.9.2.tar.gz to /var/tmp/portage/nss-3.9.2-r2/work
 * Applying nss-3.9.2-ppc64.patch ...                                          
                                                                     [ ok ]
 * Applying nss-3.9.2-mips64.patch ...                                         
                                                                     [ ok ]
>>> Source unpacked.
cd nsinstall; make export
make[1]: Entering directory
`/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall'
make[1]: Rien à faire pour « export ».
make[1]: Leaving directory
`/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall'
cd nsinstall; make libs
make[1]: Entering directory
`/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall'
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fPIC -DLINUX1_2 -Di386
-D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE
-D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT
-I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include 
-I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr
-I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm  nsinstall.c
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o -c -O2 -fPIC -DLINUX1_2 -Di386
-D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE
-D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT
-I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include 
-I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr
-I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm  pathsub.c
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -O2 -fPIC -DLINUX1_2 -Di386
-D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE
-D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT
-I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include 
-I../../dist/public/coreconf -I../../dist/private/coreconf -I/usr/include/nspr
-I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm 
Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o
Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o    -L/lib -lpthread  -ldl -lc
Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o(.text+0x2a8): In function `togid':
: warning: Using 'getgrnam' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o(.text+0x218): In function `touid':
: warning: Using 'getpwnam' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
rm -f nfspwd; cp nfspwd.pl nfspwd; chmod +x nfspwd
true -m 775 Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall
../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/bin
make[1]: Leaving directory
`/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/coreconf/nsinstall'
cd include; make export
make[1]: Entering directory
`/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/dbm/include'
Creating ../../dist/public/dbm
nsinstall: error while loading shared libraries: RTLD_NEXT used in code not
dynamically loaded
make[1]: *** [../../dist/public/dbm] Erreur 127
make[1]: Leaving directory
`/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/dbm/include'
make: *** [export] Erreur 2


Expected Results:  
Installing/upgrading firefox, thunderbird and nss.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/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/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.sdv.fr
http://ftp.gentoo.skynet.be/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aa aac aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups
curl divx4linux dvd dvdread eds emboss encode esd faac faad fam foomaticdb
fortran gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib
ipv6 java jpeg kde ldap libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg
ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sdl slang spell sse sse2 ssl tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts usb userlocales v4l vorbis win32codecs xine xml2 xmms
xv zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Mehdi 2005-10-21 05:51:30 UTC
My laptop hardware configuration is described here:
http://www.lirmm.fr/~yousfi/divers/acer/
Many informations about how I configured my Gentoo system are present in this doc.
Comment 3 Jory A. Pratt 2005-10-21 10:29:16 UTC
until nss issue is resolved nothing we can do for firefox and/or thunderbird.
Also please provide the version of firefox/thunderbird that are having issues
with as they compile against their own nss/nspr libs.
Comment 4 Mehdi 2005-10-21 10:58:23 UTC
Me current Firefox version is 1.0.6-r2, thunderbird is 1.0.6-r2 too.
Comment 5 Mehdi 2005-10-22 09:31:14 UTC
nss is not currently installed, but "emerge -uD world" wants to install it,
maybe I could prevent the nss installation ?
Comment 6 Mehdi 2005-10-28 07:30:53 UTC
Same problem with lynx (v2.8.5-r1):

[...]
gcc -DLINUX  -D_GNU_SOURCE -DHAVE_CONFIG_H  -DLOCALEDIR=\"/usr/share/locale\"
-I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I../WWW/Library/Implementation 
 -O2 -march=pentium3 -pipe -mfpmath=sse -DANSI_VARARGS  -c ./TRSTable.c
cd chrtrans && make tables
make[2]: Entering directory
`/var/tmp/portage/lynx-2.8.5-r1/work/lynx2-8-5/src/chrtrans'
./makeuctb ./cp1250_uni.tbl cp1250_uni.h
makeuctb: error while loading shared libraries: RTLD_NEXT used in code not
dynamically loaded
make[2]: *** [cp1250_uni.h] Erreur 127
make[2]: Leaving directory
`/var/tmp/portage/lynx-2.8.5-r1/work/lynx2-8-5/src/chrtrans'
make[1]: [chrtrans/cp1250_uni.h] Erreur 2 (ignor
Comment 7 Mehdi 2005-10-28 07:30:53 UTC
Same problem with lynx (v2.8.5-r1):

[...]
gcc -DLINUX  -D_GNU_SOURCE -DHAVE_CONFIG_H  -DLOCALEDIR=\"/usr/share/locale\"
-I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I../WWW/Library/Implementation 
 -O2 -march=pentium3 -pipe -mfpmath=sse -DANSI_VARARGS  -c ./TRSTable.c
cd chrtrans && make tables
make[2]: Entering directory
`/var/tmp/portage/lynx-2.8.5-r1/work/lynx2-8-5/src/chrtrans'
./makeuctb ./cp1250_uni.tbl cp1250_uni.h
makeuctb: error while loading shared libraries: RTLD_NEXT used in code not
dynamically loaded
make[2]: *** [cp1250_uni.h] Erreur 127
make[2]: Leaving directory
`/var/tmp/portage/lynx-2.8.5-r1/work/lynx2-8-5/src/chrtrans'
make[1]: [chrtrans/cp1250_uni.h] Erreur 2 (ignorée)
cd chrtrans && make tables
make[2]: Entering directory
`/var/tmp/portage/lynx-2.8.5-r1/work/lynx2-8-5/src/chrtrans'
./makeuctb ./cp1250_uni.tbl cp1250_uni.h
makeuctb: error while loading shared libraries: RTLD_NEXT used in code not
dynamically loaded
make[2]: *** [cp1250_uni.h] Erreur 127
make[2]: Leaving directory
`/var/tmp/portage/lynx-2.8.5-r1/work/lynx2-8-5/src/chrtrans'
make[1]: [chrtrans/cp1251_uni.h] Erreur 2 (ignorée)


[...]


UCdomap.c:2076: error: `UC_CHARSET_SETUP_iso_8859_10' undeclared (first use in
this function)
UCdomap.c:2079: error: `UC_CHARSET_SETUP_mnemonic_ascii_0' undeclared (first use
in this function)
UCdomap.c:2080: error: `UC_CHARSET_SETUP_mnemonic' undeclared (first use in this
function)
UCdomap.c:2081: error: `UC_CHARSET_SETUP_cp866u' undeclared (first use in this
function)
UCdomap.c:2082: error: `UC_CHARSET_SETUP_koi8_u' undeclared (first use in this
function)
UCdomap.c:2083: error: `UC_CHARSET_SETUP_ptcp154' undeclared (first use in this
function)
make[1]: *** [UCdomap.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
make[1]: Leaving directory `/var/tmp/portage/lynx-2.8.5-r1/work/lynx2-8-5/src'
make: *** [all] Erreur 2
Comment 8 Mehdi 2005-11-08 06:52:40 UTC
I've removed the source packages (firefox and thunderbird) to install the binary
ones as the problem isn't solved and I want to have the last versions (1.0.7).
Comment 9 Jory A. Pratt 2005-12-11 15:57:30 UTC
closing until user can test or another user makes such notice that problem is
reproducable.
Comment 10 Jory A. Pratt 2005-12-11 15:57:46 UTC
closing