Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304543 - dev-libs/nss-3.12.5-r1 nss make failed during src_compile
Summary: dev-libs/nss-3.12.5-r1 nss make failed during src_compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-02-11 12:46 UTC by Carlo Marcelo Arenas Belon
Modified: 2010-03-22 23:46 UTC (History)
3 users (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 Carlo Marcelo Arenas Belon 2010-02-11 12:46:19 UTC
failing in amd64 because of missing internal libplc4 dependency as shown by :

x86_64-pc-linux-gnu-gcc -shared  -Wl,-z,defs -Wl,-soname -Wl,libnssutil3.so  -Wl,--version-script,Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/nssutil.def -Wl,-O1    -o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/libnssutil3.so Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/quickder.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secdig.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/derdec.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/derenc.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/dersubr.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/dertime.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/nssb64d.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/nssb64e.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/nssrwlk.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/nssilock.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/oidstring.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/portreg.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secalgid.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secasn1d.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secasn1e.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secasn1u.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secitem.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secload.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secoid.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/sectime.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secport.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secinit.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/templates.o Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/utf8.o    -L../../../dist/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/lib -L../../../dist/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/lib -lplc4 -lplds4 -lnspr4  -lpthread  -ldl -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lplc4
collect2: ld returned 1 exit status
make[2]: *** [Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/libnssutil3.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss-3.12.5/mozilla/security/nss/lib/util'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss-3.12.5/mozilla/security/nss/lib'
make: *** [libs] Error 2

in the following environment

Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_6320_@_1.86GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 11 Feb 2010 12:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran mmx modules mudflap multilib ncurses nptl nptlonly openmp pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs unicode xorg zlib" ALSA_CARDS="hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd mach64" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jory A. Pratt gentoo-dev 2010-02-11 16:13:44 UTC
Please provide emerge nspr -pv, the lib has been moved so if your missing the update it will be unable to locate the libs.
Comment 2 Daniel Gerstner 2010-02-11 16:32:37 UTC
[ebuild     U ] dev-libs/nss-3.12.5-r1 [3.12.5] USE="-utils" 0 kB
Comment 3 Daniel Gerstner 2010-02-11 16:33:51 UTC
ups. wrong post, sorry.
Comment 4 Chris Ribble 2010-02-11 20:53:20 UTC
Same problem here with dev-libs/nspr-4.8 installed.

Updating to dev-libs/nspr-4.8.3-r2 allows dev-libs/nss-3.12.5-r1 to successfully compile.
Comment 5 Jory A. Pratt gentoo-dev 2010-02-11 21:00:00 UTC
Thanks for the reports, it has been fixed sorry for the delay.
Comment 6 Wei Ding 2010-02-14 01:02:35 UTC
doesn't work for me.
(In reply to comment #4)
> Same problem here with dev-libs/nspr-4.8 installed.
> 
> Updating to dev-libs/nspr-4.8.3-r2 allows dev-libs/nss-3.12.5-r1 to
> successfully compile.
> 

Comment 7 Jory A. Pratt gentoo-dev 2010-02-14 01:57:43 UTC
(In reply to comment #6)
> doesn't work for me.
> (In reply to comment #4)
> > Same problem here with dev-libs/nspr-4.8 installed.
> > 
> > Updating to dev-libs/nspr-4.8.3-r2 allows dev-libs/nss-3.12.5-r1 to
> > successfully compile.
> > 
> 

Telling me it does not work does nothing. I need to know last time you sync'd I did not add a bump to the tree when I fixed this.
Comment 8 upd 2010-03-17 23:49:17 UTC
home nspr # emerge nspr -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/nspr-4.8.4  USE="-debug" 0 kB



make[1]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss-3.12.5/mozilla/security/nss/cmd'
make: *** [libs] Error 2
 * ERROR: dev-libs/nss-3.12.5-r1 failed:
 *   nss make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2605:  Called die
 * The specific snippet of code:
 *       emake -j1 CC="$(tc-getCC)" || die "nss make failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/nss-3.12.5-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/nss-3.12.5-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nss-3.12.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.12.5-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss-3.12.5'

>>> Failed to emerge dev-libs/nss-3.12.5-r1, Log file:

>>>  '/var/tmp/portage/dev-libs/nss-3.12.5-r1/temp/build.log'

 * Messages for package dev-libs/nss-3.12.5-r1:

 * ERROR: dev-libs/nss-3.12.5-r1 failed:
 *   nss make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2605:  Called die
 * The specific snippet of code:
 *       emake -j1 CC="$(tc-getCC)" || die "nss make failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/nss-3.12.5-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/nss-3.12.5-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nss-3.12.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.12.5-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss-3.12.5'
home nss # 

home nss # emerge -pqv =dev-libs/nss-3.12.5-r1
[ebuild     U ] dev-libs/nss-3.12.5-r1 [3.12.5] USE="-utils" 


home nspr # emerge --info =dev-libs/nss-3.12.5-r1
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r10 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-2.0.1
Timestamp of tree: Wed, 17 Mar 2010 22:15:02 +0000
app-shells/bash:     4.1_p2
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://mirror.netcologne.de/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cairo cli consolekit cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm gtk hal iconv jpeg modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl policykit pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

home nspr # 


i don't know what to do ? :)
Comment 9 Jory A. Pratt gentoo-dev 2010-03-18 00:40:14 UTC
(In reply to comment #8)
> make[1]: Leaving directory
> `/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss-3.12.5/mozilla/security/nss/cmd'
> make: *** [libs] Error 2
>  * ERROR: dev-libs/nss-3.12.5-r1 failed:
>  *   nss make failed
>  * 
>  * Call stack:
>  *     ebuild.sh, line  54:  Called src_compile
>  *   environment, line 2605:  Called die
>  * The specific snippet of code:
>  *       emake -j1 CC="$(tc-getCC)" || die "nss make failed"
>  * 
This tells me nothing about your error hense no one can tell you what to do.
Comment 10 Vytenis Sodaitis 2010-03-22 23:46:32 UTC
I get something like this when i try to emerge any version of nss with nspr 4.8.3-r3 or with 4.8.4:

../pkix_pl_nss/module/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/pkix_pl_ldapresponse.o ../libpkix/pkix_pl_nss/module/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/pkix_pl_ldaprequest.o ../libpkix/pkix_pl_nss/module/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/pkix_pl_ldapdefaultclient.o ../libpkix/pkix_pl_nss/module/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/pkix_pl_nsscontext.o ../libpkix/pkix_pl_nss/module/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/pkix_pl_pk11certstore.o ../libpkix/pkix_pl_nss/module/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/pkix_pl_socket.o   -L../../../dist/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/lib -L../../../dist/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/lib -lnssutil3 -L/usr/lib64   -lplc4 -lplds4 -lnspr4  -lpthread  -ldl -lc
../pk11wrap/Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/pk11load.o: In function `softoken_LoadDSO':
pk11load.c:(.text+0x51a): undefined reference to `PORT_LoadLibraryFromOrigin'
collect2: ld returned 1 exit status
make[2]: *** [Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/libnss3.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss_build_amd64/mozilla/security/nss/lib/nss'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/nss-3.12.5-r1/work/nss_build_amd64/mozilla/security/nss/lib'
make: *** [libs] Error 2
 * ERROR: dev-libs/nss-3.12.5-r1 failed:
 *   nss make failed

i try to build it with lib32 use flag