Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309679 - dev-libs/nss-3.12.5 fails to compile
Summary: dev-libs/nss-3.12.5 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 00:53 UTC by Simon Harford
Modified: 2010-03-16 01:49 UTC (History)
0 users

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


Attachments
Build log of nss-3.12.5 (build.log,78.19 KB, text/plain)
2010-03-16 00:55 UTC, Simon Harford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Harford 2010-03-16 00:53:08 UTC
Encountered this problem during 'emerge -avuDN world'. However, trying to emerge on its own or via 'revdep-rebuild --library libnss3.so.12' also fails.

               



Reproducible: Always

Steps to Reproduce:
1.emerge -1av nss
2.
3.

Actual Results:  
86_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  -lplc4 -lplds4 -lnspr4  -lpthread  -ldl -lc
Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/oidstring.o: In function `SEC_StringToOID':
oidstring.c:(.text+0xc4): undefined reference to `PL_strlen'
oidstring.c:(.text+0xe3): undefined reference to `PL_strncasecmp'
Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/portreg.o: In function `PORT_RegExpCaseSearch':
portreg.c:(.text+0x8f1): undefined reference to `PL_strcasecmp'
Linux2.6_x86_64_x86_64-pc-linux-gnu-gcc_glibc_PTH_64_OPT.OBJ/secoid.o: In function `SECOID_Init':
secoid.c:(.text+0x2f5): undefined reference to `PL_strpbrk'
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/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/work/nss-3.12.5/mozilla/security/nss/lib'
make: *** [libs] Error 2
 * ERROR: dev-libs/nss-3.12.5 failed:
 *   nss make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2689:  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',
 * the complete build log and the output of 'emerge -pqv =dev-libs/nss-3.12.5'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nss-3.12.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nss-3.12.5/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/nss-3.12.5/work/nss-3.12.5'



ortage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
                        System Settings
=================================================================
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: Mon, 15 Mar 2010 22:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4-r1
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.9.6-r2, 1.10.3
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="-march=nocona -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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -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="ftp://ftp.iinet.com.au/linux/Gentoo http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo/ http://ftp.swin.edu.au/gentoo "
LANG="C"
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"
PORTDIR_OVERLAY="/usr/local/portage/xeffects/trunk /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apm avahi berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri dvd dvdr esd fortran gdbm gnome gpm gstreamer gtk hal iconv jpeg mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl pppd python readline reflection samba session spl sse sse2 ssl sysfs tcpd truetype unicode vorbis xine xinetd xml xorg xv xvid 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Have reviewed similar bugs and attempted solutions that resolved their issues...
emerge --sync (fully up to date as of today)
lafilefixer --justfixit
emerge -1av nspr (emerged version 4.8.4 successfully)
revdep-rebuild --library libnss3.so.12 (similar failure to above)
Comment 1 Simon Harford 2010-03-16 00:55:04 UTC
Created attachment 223827 [details]
Build log of nss-3.12.5

Build log attached
Comment 2 Simon Harford 2010-03-16 01:49:29 UTC
Closing bug. Resolved by emerging masked package (nss-3.12.5-r1)