Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2009 09:30:38 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/141131: www/libxul: compiler error in dsa.c
Message-ID:  <200912030930.nB39Ucae049741@www.freebsd.org>
Resent-Message-ID: <200912030940.nB39e0Eb043837@freefall.freebsd.org>

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

>Number:         141131
>Category:       ports
>Synopsis:       www/libxul: compiler error in dsa.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 03 09:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 8.0-STABLE/AMD64
>Organization:
FU Berlin
>Environment:
>Description:
Trying to install www/libxul (according to update www/xulrunner-1.8.0.4_6 to new version instroduced yesterday) ends up in this error after using

portmaster -dav

Manual compilation/installation of www/libxul also ends with the following error message:


cc -o FreeBSD8.0_64_OPT.OBJ/FreeBSD_SINGLE_SHLIB/dsa.o -c -O -fPIC -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX  DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -D_T READ_SAFE -D_REENTRANT -DNSS_ENABLE_ECC -DUSE_UTIL_DIRECTLY -DNSS_USE_64 -DMP_API_COMPATIBLE -I/usr/local/include -I/usr/local/include/nspr -I/u r/ports/www/libxul/work/mozilla/dist/include -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include  -Impi -Iec   dsa.c
dsa.c: In function 'FIPS186Change_ReduceModQForDSA':
dsa.c:75: error: 'mp_int' undeclared (first use in this function)
dsa.c:75: error: (Each undeclared identifier is reported only once
dsa.c:75: error: for each function it appears in.)
dsa.c:75: error: expected ';' before 'W'
dsa.c:76: error: 'mp_err' undeclared (first use in this function)
dsa.c:76: error: expected ';' before 'err'
dsa.c:80: warning: implicit declaration of function 'MP_DIGITS'
dsa.c:80: error: 'W' undeclared (first use in this function)
dsa.c:80: error: lvalue required as left operand of assignment
dsa.c:81: error: 'Q' undeclared (first use in this function)
dsa.c:81: error: lvalue required as left operand of assignment
dsa.c:82: error: 'Xj' undeclared (first use in this function)
dsa.c:82: error: lvalue required as left operand of assignment
dsa.c:83: error: 'MP_OKAY' undeclared (first use in this function)
dsa.c:83: error: 'err' undeclared (first use in this function)
dsa.c:83: warning: implicit declaration of function 'mp_init'
dsa.c:89: warning: implicit declaration of function 'mp_read_unsigned_octets'
dsa.c:96: warning: implicit declaration of function 'mp_mod'
dsa.c:97: warning: implicit declaration of function 'mp_to_fixlen_octets'
dsa.c:99: warning: implicit declaration of function 'mp_clear'
dsa.c:103: error: 'MP_MEM' undeclared (first use in this function)
dsa.c:103: error: 'MP_RANGE' undeclared (first use in this function)
dsa.c:103: error: 'MP_BADARG' undeclared (first use in this function)
dsa.c: At top level:
dsa.c:161: error: expected ')' before 'err'
dsa.c: In function 'dsa_NewKey':
dsa.c:170: error: 'mp_int' undeclared (first use in this function)
dsa.c:170: error: expected ';' before 'p'
dsa.c:171: error: expected ';' before 'x'
dsa.c:172: error: 'mp_err' undeclared (first use in this function)
dsa.c:172: error: expected ';' before 'err'
dsa.c:194: error: 'p' undeclared (first use in this function)
dsa.c:194: error: lvalue required as left operand of assignment
dsa.c:195: error: 'g' undeclared (first use in this function)
dsa.c:195: error: lvalue required as left operand of assignment
dsa.c:196: error: 'x' undeclared (first use in this function)
dsa.c:196: error: lvalue required as left operand of assignment
dsa.c:197: error: 'y' undeclared (first use in this function)
dsa.c:197: error: lvalue required as left operand of assignment
dsa.c:198: error: 'MP_OKAY' undeclared (first use in this function)
dsa.c:198: error: 'err' undeclared (first use in this function)
dsa.c:216: warning: implicit declaration of function 'mp_exptmod'
dsa.c:218: warning: implicit declaration of function 'mp_unsigned_octet_size'
dsa.c:218: error: 'MP_MEM' undeclared (first use in this function)
dsa.c:218: warning: implicit declaration of function 'mp_to_unsigned_octets'
dsa.c:229: warning: implicit declaration of function 'translate_mpi_error'
dsa.c: In function 'dsa_SignDigest':
dsa.c:293: error: 'mp_int' undeclared (first use in this function)
dsa.c:293: error: expected ';' before 'p'
dsa.c:294: error: expected ';' before 'x'
dsa.c:295: error: expected ';' before 'r'
dsa.c:296: error: 'mp_err' undeclared (first use in this function)
dsa.c:296: error: expected ';' before 'err'
dsa.c:309: error: 'p' undeclared (first use in this function)
dsa.c:309: error: lvalue required as left operand of assignment
dsa.c:310: error: 'q' undeclared (first use in this function)
dsa.c:310: error: lvalue required as left operand of assignment
dsa.c:311: error: 'g' undeclared (first use in this function)
dsa.c:311: error: lvalue required as left operand of assignment
dsa.c:312: error: 'x' undeclared (first use in this function)
dsa.c:312: error: lvalue required as left operand of assignment
dsa.c:313: error: 'k' undeclared (first use in this function)
dsa.c:313: error: lvalue required as left operand of assignment
dsa.c:314: error: 'r' undeclared (first use in this function)
dsa.c:314: error: lvalue required as left operand of assignment
dsa.c:315: error: 's' undeclared (first use in this function)
dsa.c:315: error: lvalue required as left operand of assignment
dsa.c:316: error: 'MP_OKAY' undeclared (first use in this function)
dsa.c:316: error: 'err' undeclared (first use in this function)
dsa.c:344: warning: implicit declaration of function 'mp_invmod'
dsa.c:345: warning: implicit declaration of function 'mp_mulmod'
dsa.c:346: warning: implicit declaration of function 'mp_addmod'
dsa.c:352: warning: implicit declaration of function 'mp_cmp_z'
dsa.c: In function 'DSA_VerifyDigest':
dsa.c:445: error: 'mp_int' undeclared (first use in this function)
dsa.c:445: error: expected ';' before 'p'
dsa.c:446: error: expected ';' before 'r_'
dsa.c:447: error: expected ';' before 'u1'
dsa.c:448: error: expected ';' before 'y'
dsa.c:449: error: 'mp_err' undeclared (first use in this function)
dsa.c:449: error: expected ';' before 'err'
dsa.c:460: error: 'p' undeclared (first use in this function)
dsa.c:460: error: lvalue required as left operand of assignment
dsa.c:461: error: 'q' undeclared (first use in this function)
dsa.c:461: error: lvalue required as left operand of assignment
dsa.c:462: error: 'g' undeclared (first use in this function)
dsa.c:462: error: lvalue required as left operand of assignment
dsa.c:463: error: 'y' undeclared (first use in this function)
dsa.c:463: error: lvalue required as left operand of assignment
dsa.c:464: error: 'r_' undeclared (first use in this function)
dsa.c:464: error: lvalue required as left operand of assignment
dsa.c:465: error: 's_' undeclared (first use in this function)
dsa.c:465: error: lvalue required as left operand of assignment
dsa.c:466: error: 'u1' undeclared (first use in this function)
dsa.c:466: error: lvalue required as left operand of assignment
dsa.c:467: error: 'u2' undeclared (first use in this function)
dsa.c:467: error: lvalue required as left operand of assignment
dsa.c:468: error: 'v' undeclared (first use in this function)
dsa.c:468: error: lvalue required as left operand of assignment
dsa.c:469: error: 'w' undeclared (first use in this function)
dsa.c:469: error: lvalue required as left operand of assignment
dsa.c:470: error: 'MP_OKAY' undeclared (first use in this function)
dsa.c:470: error: 'err' undeclared (first use in this function)
dsa.c:496: warning: implicit declaration of function 'mp_cmp'
gmake[6]: *** [FreeBSD8.0_64_OPT.OBJ/FreeBSD_SINGLE_SHLIB/dsa.o] Error 1
gmake[6]: Leaving directory `/usr/ports/www/libxul/work/mozilla/security/nss/lib/freebl'
gmake[5]: *** [libs] Error 2
gmake[5]: Leaving directory `/usr/ports/www/libxul/work/mozilla/security/nss/lib/freebl'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/usr/ports/www/libxul/work/mozilla/security/nss/lib'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/libxul/work/mozilla/security/manager'
gmake[2]: *** [libs_tier_toolkit] Error 2
gmake[2]: Leaving directory `/usr/ports/www/libxul/work/mozilla'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory `/usr/ports/www/libxul/work/mozilla'
gmake: *** [default] Error 2
*** Error code 1

Stop in /usr/ports/www/libxul.
*** Error code 1

Stop in /usr/ports/www/libxul.

>How-To-Repeat:
Try installing www/libxul on FreeBSD 8.0/amd64
>Fix:


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



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