problem rebuilding nss

Robert Huff roberthuff at rcn.com
Wed Mar 7 16:50:08 UTC 2012


Hello:
	After upgrading the system from CURRENT(August) to
CURRENT(yesterday), I am rebuilding a variety of ports.
	nss fails with:

gmake[1]: Leaving directory `/data/port-work/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/cmd'
cd lib; gmake libs
gmake[1]: Entering directory `/data/port-work/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib'
cd util; gmake libs
gmake[2]: Entering directory `/data/port-work/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib/util'
cc -o FreeBSD10.0_OPT.OBJ/quickder.o -c -O -pipe -g -I/usr/local/include/nspr -L/usr/local/lib -O -fPIC -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I../../dist/FreeBSD10.0_OPT.OBJ/include -I../../dist/public/ -I../../dist/private/  -O -fPIC -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I../../../dist/FreeBSD10.0_OPT.OBJ/include -I../../../dist/public/ -I../../../dist/private/  -O -fPIC -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -UDEBUG -DNDEBUG -D_THREAD_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -I../../../../dist/FreeBSD10.0_OPT.OBJ/include -I../../../../dist/public/nss -I../../../../dist/private/nss  quickder.c
In file included from /usr/include/_ctype.h:94,
                 from /usr/include/ctype.h:46,
                 from secport.h:83,
                 from seccomon.h:62,
                 from secasn1.h:51,
                 from quickder.c:43:
/usr/include/runetype.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
In file included from /usr/include/ctype.h:46,
                 from secport.h:83,
                 from seccomon.h:62,
                 from secasn1.h:51,
                 from quickder.c:43:
/usr/include/_ctype.h: In function '__maskrune':
/usr/include/_ctype.h:100: error: invalid type argument of '->'
/usr/include/_ctype.h: In function '__sbmaskrune':
/usr/include/_ctype.h:107: error: invalid type argument of '->'
/usr/include/_ctype.h: In function '__toupper':
/usr/include/_ctype.h:133: error: invalid type argument of '->'
/usr/include/_ctype.h: In function '__sbtoupper':
/usr/include/_ctype.h:140: error: invalid type argument of '->'
/usr/include/_ctype.h: In function '__tolower':
/usr/include/_ctype.h:147: error: invalid type argument of '->'
/usr/include/_ctype.h: In function '__sbtolower':
/usr/include/_ctype.h:154: error: invalid type argument of '->'
In file included from /usr/include/ctype.h:83,
                 from secport.h:83,
                 from seccomon.h:62,
                 from secasn1.h:51,
                 from quickder.c:43:
/usr/include/xlocale/_ctype.h: At top level:
/usr/include/xlocale/_ctype.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:177: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
gmake[2]: *** [FreeBSD10.0_OPT.OBJ/quickder.o] Error 1
gmake[2]: Leaving directory `/data/port-work/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib/util'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/data/port-work/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib'
gmake: *** [libs] Error 2
*** [do-build] Error code 1


	Is there something upstream that I have failed to rebuild?

	Respectfully,



					Robert Huff


More information about the freebsd-gecko mailing list