Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123669 - dev-libs/nss-3.11 fails to build
Summary: dev-libs/nss-3.11 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
: 127106 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-21 19:11 UTC by Emmanuel Rosa
Modified: 2006-09-19 14:21 UTC (History)
4 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 Emmanuel Rosa 2006-02-21 19:11:26 UTC
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-ck3 i686)
=================================================================
System uname: 2.6.15-ck3 i686 Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.16
sys-devel/autoconf:  2.13, 2.59-r7
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/gconf /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages prelink sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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 alsa apm avi berkdb bitmap-fonts bzip2 crypt cups dts dvd emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mailwrapper mikmod mmx moznoirc moznomail mp3 mpeg ncurses network nls nptl nptlonly nsplugin objc ogg oggvorbis opengl oss pam pdflib perl pic png ppds python quicktime readline samba sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU video_cards_i830"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Emmanuel Rosa 2006-02-21 19:17:16 UTC
First, sorry I messed up this bug report. I placed "emerge info" incorrectly!

dev-libs/nss-3.11 fails to build. It's required by www-client/mozilla-firefox-1.5.0.1-r1. Below is the output:

>>> Compiling source in /var/tmp/portage/nss-3.11-r1/work/nss-3.11 ...
cd nsinstall; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/coreconf/nsinstall'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/coreconf/nsinstall'
cd nsinstall; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/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_OP
T.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    -lpthread  -ldl -lc
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.11-r1/work/nss-3.11/mozilla/security/coreconf/nsinstall'
cd include; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/include'
Creating ../../dist/public/dbm
../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -t -m 444 ../../../dbm/include/nsres.h ../../../dbm/include/cdefs.h ../../../dbm/include/mcom_
db.h ../../../dbm/include/ncompat.h ../../../dbm/include/winfile.h ../../dist/public/dbm
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/include'
cd src; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
cd include; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/
security/dbm/include'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/include'
cd src; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/db.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 -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DHAVE_SYS_CDEFS_H -DMEMMOVE -D__DBINTERFACE_PRIVATE  -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include  -I../../dist/public/dbm 
-I../../dist/private/dbm -I//usr/include/nspr -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dbm/include  ../../../dbm/src/db.c
In file included from ../../../dbm/src/db.c:54:
../../dist/public/dbm/mcom_db.h:46:21: prtypes.h: No such file or directory
In file included from ../../../dbm/src/db.c:54:
../../dist/public/dbm/mcom_db.h:239: error: syntax error before "pgno_t"
../../dist/public/dbm/mcom_db.h:239: warning: type defaults to `int' in declaration of `pgno_t'
../../dist/public/dbm/mcom_db.h:239: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:243: error: syntax error before "indx_t"
../../dist/public/dbm/mcom_db.h:243: warning: type defaults to `int' in declaration of `indx_t'
../../dist/public/dbm/mcom_db.h:243: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:245: error: syntax error before "recno_t"
../../dist/public/dbm/mcom_db.h:245: warning: type defaults to `int' in declaration of `recno_t'
../../dist/public/dbm/mcom_db.h:245: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:312: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:312: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:322: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:322: warning: type defaults to `int' in declaration of `BTREEINFO'
../../dist/public/dbm/mcom_db.h:322: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:333: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:333: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:336: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:336: warning: type defaults to `int' in declaration of `HASHINFO'
../../dist/public/dbm/mcom_db.h:336: warning: data definition has no type or storage class../../dist/public/dbm/mcom_db.h:343: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:343: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:348: error: syntax error before "bval"
../../dist/public/dbm/mcom_db.h:348: warning: type defaults to `int' in declaration of `bval'
../../dist/public/dbm/mcom_db.h:348: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:350: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:350: warning: type defaults to `int' in declaration of `RECNOINFO'
../../dist/public/dbm/mcom_db.h:350: warning: data definition has no type or sto
rage class
../../dist/public/dbm/mcom_db.h:406: error: syntax error before "PR_EXTERN"
../../dist/public/dbm/mcom_db.h:408: error: syntax error before "dbopen"
../../dist/public/dbm/mcom_db.h:408: warning: type defaults to `int' in declaration of `dbopen'
../../dist/public/dbm/mcom_db.h:408: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:416: warning: type defaults to `int' in declaration of `BTREEINFO'
../../dist/public/dbm/mcom_db.h:416: error: syntax error before '*' token
../../dist/public/dbm/mcom_db.h:417: warning: type defaults to `int' in declaration of `HASHINFO'
../../dist/public/dbm/mcom_db.h:417: error: syntax error before '*' token
../../dist/public/dbm/mcom_db.h:418: warning: type defaults to `int' in declaration of `RECNOINFO'
../../dist/public/dbm/mcom_db.h:418: error: syntax error before '*' token
../../../dbm/src/db.c:57: error: syntax error before "int"
../../../dbm/src/db.c:76: error: syntax error before "dbopen"
../../../dbm/src/db.c:77: warning: return type defaults to `int'
../../../dbm/src/db.c: In function `dbopen':
../../../dbm/src/db.c:84: warning: return makes integer from pointer without a cast
../../../dbm/src/db.c:114: error: syntax error before "HASHINFO"
../../../dbm/src/db.c:119: warning: return makes integer from pointer without a
cast
make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/db.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
make: *** [libs] Error 2

!!! ERROR: dev-libs/nss-3.11-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! dbm make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Comment 2 Jory A. Pratt 2006-02-22 09:49:12 UTC
please post your package.keywords.
Comment 3 Emmanuel Rosa 2006-02-22 18:16:25 UTC
(In reply to comment #2)
> please post your package.keywords.
> 
Note: I'm in the process of trying to move away from unstable (~x86). If only my computer would stop crapping out :(

=sys-kernel/ck-sources-2.6.14_p8-r2
>=sys-kernel/ck-sources-2.6.15_p3-r1
=sys-apps/portage-2.1_pre4-r1
>=www-client/mozilla-firefox-1.5.0.1-r1
>=media-gfx/inkscape-0.43
>=media-gfx/gimp-2.2.8
>=net-p2p/gtk-gnutella-0.95.4-r1
>=app-emulation/wine-0.9.5-r1
>=app-emulation/qemu-0.6.1
>=net-www/mplayerplug-in-2.80
>=app-cdr/gnomebaker-0.5.0
>=media-libs/win32codecs-20050412
>=media-libs/xine-lib-1.1.1-r4
=dev-libs/nss-3.11
=app-shells/bash-3.1_p7
=sys-apps/baselayout-1.12.0_pre16-r1
=sys-devel/gcc-3.4.5
=sys-libs/libstdc++-v3-3.3.6
=sys-kernel/linux-headers-2.6.11-r3
=sys-libs/glibc-2.3.5-r3
=x11-libs/gtk+-2.8.12
=media-sound/alsa-utils-1.0.11_rc2
=net-wireless/wireless-tools-28_pre13
=net-fs/samba-3.0.21b
=media-plugins/xmms-alsa-1.2.10-r3
=sys-apps/baselayout-1.12.0_pre13-r1
Comment 4 erik johnson 2006-03-19 21:12:16 UTC
I am having this same error.  
Is there any resolution?
Comment 5 Emmanuel Rosa 2006-03-20 12:58:43 UTC
(In reply to comment #4)
> I am having this same error.  
> Is there any resolution?
> 

I don't know. It seems I do have dev-libs/nss-3.11-r1 installed though.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-03-21 13:48:21 UTC
*** Bug 127106 has been marked as a duplicate of this bug. ***
Comment 7 Yang Zhao 2006-03-24 00:57:04 UTC
Works for me (nss-3.11-r1)

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://sui/portage/ http://gentoo.mirrored.ca http://modzer0.cs.uaf.edu/public/gentoo/ "
LANG="en_CA.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://sui/gentoo-portage"
USE="x86 X aac aalib acl acpi alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 c++ cairo cdr cjk crypt cups curl dbus dri dvd dvi eds emboss encode exif expat fam flac foomaticdb fortran gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java joystick jpeg latex lcms libcaca libg++ libwww mad matroska mikmod mmx mng motif mozsvg mp3 mpeg mysql nautilus ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcmcia pdflib perl php png ppds python quicktime readline real recode samba sdl slang spell sse sse2 ssl svg svga tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vcd vorbis win32codecs wmf xine xml xml2 xosd xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 8 GNUtoo 2006-04-14 17:09:56 UTC
from nss-3.11-r1:
doesn't work for me 
that is problematic for me because i wanted to try firefox lastest ebuild because on a not so old computer firefox is too slow when it open another windows not in a tab

the build error:

>>> Source unpacked.
cd nsinstall; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/coreconf/nsinstall'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/coreconf/nsinstall'
cd nsinstall; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/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    -lpthread  -ldl -lc
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.11-r1/work/nss-3.11/mozilla/security/coreconf/nsinstall'
cd include; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/include'
Creating ../../dist/public/dbm
../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -t -m 444 ../../../dbm/include/nsres.h ../../../dbm/include/cdefs.h ../../../dbm/include/mcom_db.h ../../../dbm/include/ncompat.h ../../../dbm/include/winfile.h ../../dist/public/dbm
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/include'
cd src; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
cd include; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/include'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/include'
cd src; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/db.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 -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DHAVE_SYS_CDEFS_H -DMEMMOVE -D__DBINTERFACE_PRIVATE  -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include  -I../../dist/public/dbm -I../../dist/private/dbm -I//usr/include/nspr -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dbm/include  ../../../dbm/src/db.c
In file included from ../../../dbm/src/db.c:54:
../../dist/public/dbm/mcom_db.h:46:21: prtypes.h: No such file or directory
In file included from ../../../dbm/src/db.c:54:
../../dist/public/dbm/mcom_db.h:239: error: syntax error before "pgno_t"
../../dist/public/dbm/mcom_db.h:239: warning: type defaults to `int' in declaration of `pgno_t'
../../dist/public/dbm/mcom_db.h:239: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:243: error: syntax error before "indx_t"
../../dist/public/dbm/mcom_db.h:243: warning: type defaults to `int' in declaration of `indx_t'
../../dist/public/dbm/mcom_db.h:243: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:245: error: syntax error before "recno_t"
../../dist/public/dbm/mcom_db.h:245: warning: type defaults to `int' in declaration of `recno_t'
../../dist/public/dbm/mcom_db.h:245: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:312: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:312: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:322: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:322: warning: type defaults to `int' in declaration of `BTREEINFO'
../../dist/public/dbm/mcom_db.h:322: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:333: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:333: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:336: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:336: warning: type defaults to `int' in declaration of `HASHINFO'
../../dist/public/dbm/mcom_db.h:336: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:343: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:343: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:348: error: syntax error before "bval"
../../dist/public/dbm/mcom_db.h:348: warning: type defaults to `int' in declaration of `bval'
../../dist/public/dbm/mcom_db.h:348: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:350: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:350: warning: type defaults to `int' in declaration of `RECNOINFO'
../../dist/public/dbm/mcom_db.h:350: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:406: error: syntax error before "PR_EXTERN"
../../dist/public/dbm/mcom_db.h:408: error: syntax error before "dbopen"
../../dist/public/dbm/mcom_db.h:408: warning: type defaults to `int' in declaration of `dbopen'
../../dist/public/dbm/mcom_db.h:408: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:416: warning: type defaults to `int' in declaration of `BTREEINFO'
../../dist/public/dbm/mcom_db.h:416: error: syntax error before '*' token
../../dist/public/dbm/mcom_db.h:417: warning: type defaults to `int' in declaration of `HASHINFO'
../../dist/public/dbm/mcom_db.h:417: error: syntax error before '*' token
../../dist/public/dbm/mcom_db.h:418: warning: type defaults to `int' in declaration of `RECNOINFO'
../../dist/public/dbm/mcom_db.h:418: error: syntax error before '*' token
../../../dbm/src/db.c:57: error: syntax error before "int"
../../../dbm/src/db.c:76: error: syntax error before "dbopen"
../../../dbm/src/db.c:77: warning: return type defaults to `int'
../../../dbm/src/db.c: In function `dbopen':
../../../dbm/src/db.c:84: warning: return makes integer from pointer without a cast
../../../dbm/src/db.c:114: error: syntax error before "HASHINFO"
../../../dbm/src/db.c:119: warning: return makes integer from pointer without a cast
make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/db.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nss-3.11-r1/work/nss-3.11/mozilla/security/dbm/src'
make: *** [libs] Error 2

!!! ERROR: dev-libs/nss-3.11-r1 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! dbm make failed
!!! If you need support, post the topmost build error, NOT this status message.


emerge --info:
# emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.15-gentoo-r1_dell_inspiron2500 i686)
=================================================================
System uname: 2.6.15-gentoo-r1_dell_inspiron2500 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
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/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac acl ada alsa amrr aotuv apm arts async audiofile avi berkdb bitmap-fonts bzip2 caps cdda cddb cdr cjk clearcase corba crypt css cups curl daap dga directfb dri dts dvd dvdr dvdread dxr3 eds emboss encode exemple exif expat fam fame fbcon ffmpeg flac foomaticdb fortran fpx frontconfig gd gdbm gif gimp gimpprint glut gmp gnutls gpm graphviz gs gstreamer gtk gtk2 gtkhtml haskell i8x0 idn imagemagick imlib ipv6 isdnlog jack java jbig jpeg jpeg2k junit kde kerberos krb4 lcms libg++ libwww live lzo mad matroska mikmod mjpeg mmx mng mod motif mozdevelop mp3 mpeg musepack musicbrainz ncurses network nls nsplugin ogg oggvorbis on-the-fly-crypt opengl pam pascal pcre pdflib perforce perl php physfs png portaudio ppds pppd python qt quicktime quotas readline real ruby samba sasl scanner screen sdl slang slp sndfile speex spell spl sql sse ssl stencil-buffer stream subversion svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode urandom usb v4l vcd vidix vlm vorbis wifi win32codecs wmf wxwindows xine xml xml2 xmms xosd xprint xv xvid xvmc yv12 zlib video_cards_i810 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

the proof that my the dependencies of nss are good(i had a filesystem coruption that was breaking things):
# equery check virtual/libc
[ Checking sys-libs/glibc-2.3.4.20041102-r1 ]
 * 7579 out of 7579 files good
# equery check app-arch/zip
[ Checking app-arch/zip-2.3-r4 ]
 * 19 out of 19 files good
# equery check dev-libs/nspr
[ Checking dev-libs/nspr-4.6.1-r2 ]
 * 15 out of 15 files good

dependencies from the ebuild:
DEPEND="virtual/libc
        app-arch/zip
        >=dev-libs/nspr-${NSPR_VER}"

Comment 9 GNUtoo 2006-04-14 17:16:26 UTC
nss 3.11 alsa fails 
the build error:

# emerge =dev-libs/nss-3.11
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/nss-3.11 to /
>>> md5 files   ;-) nss-3.9.2-r2.ebuild
>>> md5 files   ;-) nss-3.11.ebuild
>>> md5 files   ;-) nss-3.9.2-r3.ebuild
>>> md5 files   ;-) nss-3.11-r1.ebuild
>>> md5 files   ;-) files/nss-3.11-zdefs.patch
>>> md5 files   ;-) files/digest-nss-3.11-r1
>>> md5 files   ;-) files/nss-config.in
>>> md5 files   ;-) files/nss-3.9.2-ppc64.patch
>>> md5 files   ;-) files/nss-3.11-config-1.patch
>>> md5 files   ;-) files/digest-nss-3.9.2-r2
>>> md5 files   ;-) files/digest-nss-3.9.2-r3
>>> md5 files   ;-) files/nss-3.11-config.patch
>>> md5 files   ;-) files/nss-mips64.patch
>>> md5 files   ;-) files/nss-3.9.2-gcc4.patch
>>> md5 files   ;-) files/nss.pc.in
>>> md5 files   ;-) files/digest-nss-3.11
>>> md5 src_uri ;-) nss-3.11.tar.gz
>>> Unpacking source...
>>> Unpacking nss-3.11.tar.gz to /var/tmp/portage/nss-3.11/work
 * Applying nss-3.11-zdefs.patch ...                                                                                 [ ok ]
 * Applying nss-3.11-config.patch ...                                                                                [ ok ]
>>> Source unpacked.
cd nsinstall; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/coreconf/nsinstall'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/coreconf/nsinstall'
cd nsinstall; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11/work/nss-3.11/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    -lpthread  -ldl -lc
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.11/work/nss-3.11/mozilla/security/coreconf/nsinstall'
cd include; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
Creating ../../dist/public/dbm
../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -R -m 444 ../../../dbm/include/nsres.h ../../../dbm/include/cdefs.h ../../../dbm/include/mcom_db.h ../../../dbm/include/ncompat.h ../../../dbm/include/winfile.h ../../dist/public/dbm
make[1]: Leaving directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
cd src; make export
make[1]: Entering directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
cd include; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
make[1]: Nothing to be done for `libs'.
make[1]: Leaving directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
cd src; make libs
make[1]: Entering directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/db.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 -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DHAVE_SYS_CDEFS_H -DMEMMOVE -D__DBINTERFACE_PRIVATE  -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include  -I../../dist/public/dbm -I../../dist/private/dbm -I//usr/include/nspr -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dbm/include  ../../../dbm/src/db.c
In file included from ../../../dbm/src/db.c:54:
../../dist/public/dbm/mcom_db.h:46:21: prtypes.h: No such file or directory
In file included from ../../../dbm/src/db.c:54:
../../dist/public/dbm/mcom_db.h:239: error: syntax error before "pgno_t"
../../dist/public/dbm/mcom_db.h:239: warning: type defaults to `int' in declaration of `pgno_t'
../../dist/public/dbm/mcom_db.h:239: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:243: error: syntax error before "indx_t"
../../dist/public/dbm/mcom_db.h:243: warning: type defaults to `int' in declaration of `indx_t'
../../dist/public/dbm/mcom_db.h:243: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:245: error: syntax error before "recno_t"
../../dist/public/dbm/mcom_db.h:245: warning: type defaults to `int' in declaration of `recno_t'
../../dist/public/dbm/mcom_db.h:245: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:312: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:312: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:322: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:322: warning: type defaults to `int' in declaration of `BTREEINFO'
../../dist/public/dbm/mcom_db.h:322: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:333: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:333: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:336: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:336: warning: type defaults to `int' in declaration of `HASHINFO'
../../dist/public/dbm/mcom_db.h:336: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:343: error: syntax error before "uint32"
../../dist/public/dbm/mcom_db.h:343: warning: no semicolon at end of struct or union
../../dist/public/dbm/mcom_db.h:348: error: syntax error before "bval"
../../dist/public/dbm/mcom_db.h:348: warning: type defaults to `int' in declaration of `bval'
../../dist/public/dbm/mcom_db.h:348: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:350: error: syntax error before '}' token
../../dist/public/dbm/mcom_db.h:350: warning: type defaults to `int' in declaration of `RECNOINFO'
../../dist/public/dbm/mcom_db.h:350: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:406: error: syntax error before "PR_EXTERN"
../../dist/public/dbm/mcom_db.h:408: error: syntax error before "dbopen"
../../dist/public/dbm/mcom_db.h:408: warning: type defaults to `int' in declaration of `dbopen'
../../dist/public/dbm/mcom_db.h:408: warning: data definition has no type or storage class
../../dist/public/dbm/mcom_db.h:416: warning: type defaults to `int' in declaration of `BTREEINFO'
../../dist/public/dbm/mcom_db.h:416: error: syntax error before '*' token
../../dist/public/dbm/mcom_db.h:417: warning: type defaults to `int' in declaration of `HASHINFO'
../../dist/public/dbm/mcom_db.h:417: error: syntax error before '*' token
../../dist/public/dbm/mcom_db.h:418: warning: type defaults to `int' in declaration of `RECNOINFO'
../../dist/public/dbm/mcom_db.h:418: error: syntax error before '*' token
../../../dbm/src/db.c:57: error: syntax error before "int"
../../../dbm/src/db.c:76: error: syntax error before "dbopen"
../../../dbm/src/db.c:77: warning: return type defaults to `int'
../../../dbm/src/db.c: In function `dbopen':
../../../dbm/src/db.c:84: warning: return makes integer from pointer without a cast
../../../dbm/src/db.c:114: error: syntax error before "HASHINFO"
../../../dbm/src/db.c:119: warning: return makes integer from pointer without a cast
make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/db.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
make: *** [libs] Error 2

!!! ERROR: dev-libs/nss-3.11 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! dbm make failed

nss 3.11 has the same dependencies from nss 3.11-r1:
DEPEND="virtual/libc
        app-arch/zip
        >=dev-libs/nspr-${NSPR_VER}"

so the emerge --info and my equery check from my previous ebuild also aply here
Comment 10 Jory A. Pratt 2006-04-14 17:28:15 UTC
(In reply to comment #9)
> nss 3.11 alsa fails 
> the build error:
> 
> # emerge =dev-libs/nss-3.11
> Calculating dependencies ...done!
> >>> emerge (1 of 1) dev-libs/nss-3.11 to /
> >>> md5 files   ;-) nss-3.9.2-r2.ebuild
> >>> md5 files   ;-) nss-3.11.ebuild
> >>> md5 files   ;-) nss-3.9.2-r3.ebuild
> >>> md5 files   ;-) nss-3.11-r1.ebuild
> >>> md5 files   ;-) files/nss-3.11-zdefs.patch
> >>> md5 files   ;-) files/digest-nss-3.11-r1
> >>> md5 files   ;-) files/nss-config.in
> >>> md5 files   ;-) files/nss-3.9.2-ppc64.patch
> >>> md5 files   ;-) files/nss-3.11-config-1.patch
> >>> md5 files   ;-) files/digest-nss-3.9.2-r2
> >>> md5 files   ;-) files/digest-nss-3.9.2-r3
> >>> md5 files   ;-) files/nss-3.11-config.patch
> >>> md5 files   ;-) files/nss-mips64.patch
> >>> md5 files   ;-) files/nss-3.9.2-gcc4.patch
> >>> md5 files   ;-) files/nss.pc.in
> >>> md5 files   ;-) files/digest-nss-3.11
> >>> md5 src_uri ;-) nss-3.11.tar.gz
> >>> Unpacking source...
> >>> Unpacking nss-3.11.tar.gz to /var/tmp/portage/nss-3.11/work
>  * Applying nss-3.11-zdefs.patch ...                                           
>                                      [ ok ]
>  * Applying nss-3.11-config.patch ...                                          
>                                      [ ok ]
> >>> Source unpacked.
> cd nsinstall; make export
> make[1]: Entering directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/coreconf/nsinstall'
> make[1]: Nothing to be done for `export'.
> make[1]: Leaving directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/coreconf/nsinstall'
> cd nsinstall; make libs
> make[1]: Entering directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/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    -lpthread  -ldl -lc
> 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.11/work/nss-3.11/mozilla/security/coreconf/nsinstall'
> cd include; make export
> make[1]: Entering directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
> Creating ../../dist/public/dbm
> ../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -R -m 444
> ../../../dbm/include/nsres.h ../../../dbm/include/cdefs.h
> ../../../dbm/include/mcom_db.h ../../../dbm/include/ncompat.h
> ../../../dbm/include/winfile.h ../../dist/public/dbm
> make[1]: Leaving directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
> cd src; make export
> make[1]: Entering directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
> make[1]: Nothing to be done for `export'.
> make[1]: Leaving directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
> cd include; make libs
> make[1]: Entering directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
> make[1]: Nothing to be done for `libs'.
> make[1]: Leaving directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/include'
> cd src; make libs
> make[1]: Entering directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
> gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/db.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
> -DSTDC_HEADERS -DHAVE_STRERROR -DHAVE_SNPRINTF -DHAVE_SYS_CDEFS_H -DMEMMOVE
> -D__DBINTERFACE_PRIVATE  -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include 
> -I../../dist/public/dbm -I../../dist/private/dbm -I//usr/include/nspr
> -I../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include/dbm -I../../../dbm/include 
> ../../../dbm/src/db.c
> In file included from ../../../dbm/src/db.c:54:
> ../../dist/public/dbm/mcom_db.h:46:21: prtypes.h: No such file or directory
> In file included from ../../../dbm/src/db.c:54:
> ../../dist/public/dbm/mcom_db.h:239: error: syntax error before "pgno_t"
> ../../dist/public/dbm/mcom_db.h:239: warning: type defaults to `int' in
> declaration of `pgno_t'
> ../../dist/public/dbm/mcom_db.h:239: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:243: error: syntax error before "indx_t"
> ../../dist/public/dbm/mcom_db.h:243: warning: type defaults to `int' in
> declaration of `indx_t'
> ../../dist/public/dbm/mcom_db.h:243: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:245: error: syntax error before "recno_t"
> ../../dist/public/dbm/mcom_db.h:245: warning: type defaults to `int' in
> declaration of `recno_t'
> ../../dist/public/dbm/mcom_db.h:245: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:312: error: syntax error before "uint32"
> ../../dist/public/dbm/mcom_db.h:312: warning: no semicolon at end of struct or
> union
> ../../dist/public/dbm/mcom_db.h:322: error: syntax error before '}' token
> ../../dist/public/dbm/mcom_db.h:322: warning: type defaults to `int' in
> declaration of `BTREEINFO'
> ../../dist/public/dbm/mcom_db.h:322: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:333: error: syntax error before "uint32"
> ../../dist/public/dbm/mcom_db.h:333: warning: no semicolon at end of struct or
> union
> ../../dist/public/dbm/mcom_db.h:336: error: syntax error before '}' token
> ../../dist/public/dbm/mcom_db.h:336: warning: type defaults to `int' in
> declaration of `HASHINFO'
> ../../dist/public/dbm/mcom_db.h:336: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:343: error: syntax error before "uint32"
> ../../dist/public/dbm/mcom_db.h:343: warning: no semicolon at end of struct or
> union
> ../../dist/public/dbm/mcom_db.h:348: error: syntax error before "bval"
> ../../dist/public/dbm/mcom_db.h:348: warning: type defaults to `int' in
> declaration of `bval'
> ../../dist/public/dbm/mcom_db.h:348: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:350: error: syntax error before '}' token
> ../../dist/public/dbm/mcom_db.h:350: warning: type defaults to `int' in
> declaration of `RECNOINFO'
> ../../dist/public/dbm/mcom_db.h:350: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:406: error: syntax error before "PR_EXTERN"
> ../../dist/public/dbm/mcom_db.h:408: error: syntax error before "dbopen"
> ../../dist/public/dbm/mcom_db.h:408: warning: type defaults to `int' in
> declaration of `dbopen'
> ../../dist/public/dbm/mcom_db.h:408: warning: data definition has no type or
> storage class
> ../../dist/public/dbm/mcom_db.h:416: warning: type defaults to `int' in
> declaration of `BTREEINFO'
> ../../dist/public/dbm/mcom_db.h:416: error: syntax error before '*' token
> ../../dist/public/dbm/mcom_db.h:417: warning: type defaults to `int' in
> declaration of `HASHINFO'
> ../../dist/public/dbm/mcom_db.h:417: error: syntax error before '*' token
> ../../dist/public/dbm/mcom_db.h:418: warning: type defaults to `int' in
> declaration of `RECNOINFO'
> ../../dist/public/dbm/mcom_db.h:418: error: syntax error before '*' token
> ../../../dbm/src/db.c:57: error: syntax error before "int"
> ../../../dbm/src/db.c:76: error: syntax error before "dbopen"
> ../../../dbm/src/db.c:77: warning: return type defaults to `int'
> ../../../dbm/src/db.c: In function `dbopen':
> ../../../dbm/src/db.c:84: warning: return makes integer from pointer without a
> cast
> ../../../dbm/src/db.c:114: error: syntax error before "HASHINFO"
> ../../../dbm/src/db.c:119: warning: return makes integer from pointer without a
> cast
> make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/db.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/nss-3.11/work/nss-3.11/mozilla/security/dbm/src'
> make: *** [libs] Error 2
> 
> !!! ERROR: dev-libs/nss-3.11 failed.
> !!! Function src_compile, Line 50, Exitcode 2
> !!! dbm make failed
> 
> nss 3.11 has the same dependencies from nss 3.11-r1:
> DEPEND="virtual/libc
>         app-arch/zip
>         >=dev-libs/nspr-${NSPR_VER}"
> 
> so the emerge --info and my equery check from my previous ebuild also aply here
> 

Until you update gcc and glibc to stable nothing I can do. Once you upgrade glibc and gcc issue an emerge -e system to rebuild your toolchain and then tes.
Comment 11 John Kavan 2006-05-29 08:20:32 UTC
../../../dist/private/nss/oiddata.h:46: error: array type has incomplete element type
make[2]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/asymmkey.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/lib/pki'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/lib'
make: *** [libs] Error 2

!!! ERROR: dev-libs/nss-3.9.2-r2 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  nss-3.9.2-r2.ebuild, line 64:   Called die

!!! nss make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

I get the above wehen a gnome install tries to emerge dev-libs/nss. This is a different version (3.9.2), should I start a new bug?
Comment 12 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-17 10:23:25 UTC
Just curious, do you guys still have the problem?
Comment 13 Emmanuel Rosa 2006-09-17 10:25:59 UTC
(In reply to comment #12)
> Just curious, do you guys still have the problem?
> 

I now have dev-libs/nss-3.11.3 installed. I believe I've emerged nss several times since this bug was reported, and I haven't encountered any problems.
Comment 14 Daniel Black (RETIRED) gentoo-dev 2006-09-19 14:21:07 UTC
great. Glad its fixed for you.