Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 00:20:53 GMT
From:      Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165762: security/nss: /usr/include/runetype.h:93:15: error: expected '=', ',', '; ', 'asm' or '__attribute__' before 'const'
Message-ID:  <201203060020.q260KrMe033109@red.freebsd.org>
Resent-Message-ID: <201203060030.q260U9FD027846@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165762
>Category:       ports
>Synopsis:       security/nss: /usr/include/runetype.h:93:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 00:30:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Hartmann
>Release:        FreeBSD 9.0-STABLE/amd64 and FreeBSD 10-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Updating port security/nss from nss-3.13.2 to nss-3.13.3 fails with the follwoing error message:


cd modutil; gmake export
gmake[2]: Entering directory `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/cmd/modutil'
gmake[2]: Nothing to be done for `export'.
gmake[2]: Leaving directory `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/cmd/modutil'
gmake[1]: Leaving directory `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/cmd'
cd lib; gmake libs
gmake[1]: Entering directory `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib'
cd util; gmake libs
gmake[2]: Entering directory `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib/util'
gcc46 -o FreeBSD10.0_OPT.OBJ/quickder.o -c -O2 -pipe -pipe -O3 -fno-strict-aliasing -march=native -I/usr/local/include/nspr -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc46 -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:0,
                 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:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
In file included from /usr/include/ctype.h:46:0,
                 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:21: error: invalid type argument of '->' (have 'int')
/usr/include/_ctype.h: In function '__sbmaskrune':
/usr/include/_ctype.h:107:27: error: invalid type argument of '->' (have 'int')
/usr/include/_ctype.h: In function '__toupper':
/usr/include/_ctype.h:133:27: error: invalid type argument of '->' (have 'int')
/usr/include/_ctype.h: In function '__sbtoupper':
/usr/include/_ctype.h:140:27: error: invalid type argument of '->' (have 'int')
/usr/include/_ctype.h: In function '__tolower':
/usr/include/_ctype.h:147:27: error: invalid type argument of '->' (have 'int')
/usr/include/_ctype.h: In function '__sbtolower':
/usr/include/_ctype.h:154:27: error: invalid type argument of '->' (have 'int')
In file included from /usr/include/ctype.h:83:0,
                 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:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:112:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:113:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:114:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:116:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:117:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:118:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:119:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:120:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:121:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:122:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:123:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:124:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:125:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:126:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:127:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:128:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:170:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:171:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:172:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:174:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:177:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/include/xlocale/_ctype.h:184:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
quickder.c: In function 'DecodeItem':
quickder.c:643:12: warning: variable 'optional' set but not used [-Wunused-but-set-variable]
gmake[2]: *** [FreeBSD10.0_OPT.OBJ/quickder.o] Error 1
gmake[2]: Leaving directory `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib/util'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/ports/security/nss/work/nss-3.13.3/mozilla/security/nss/lib'
gmake: *** [libs] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/security/nss.

===>>> make failed for security/nss
===>>> Aborting update

>How-To-Repeat:
Install or update security/nss after the most recent update of your OS and the port.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203060020.q260KrMe033109>