nss build error

Frank J. R. Hanstick trog24 at comcast.net
Mon Apr 6 12:52:34 PDT 2009


Hello,
	Following a "sudo port selfupdate" the nss error changed from the  
previous to the following:

Error: Target org.macports.build returned: shell command "cd /opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nss 
/work/nss-3.12 && make -C mozilla/security/coreconf/nsinstall && make  
-C mozilla/security/dbm && make -C mozilla/security/nss NSPR_LIB_DIR=/ 
opt/local/lib/nspr NSS_USE_SYSTEM_SQLITE=1" returned error 2
Command output: _PR_GMTParameters referenced from libnss3 expected to  
be defined in /opt/local/lib/libnspr4.dylib
_PR_LocalTimeParameters referenced from libnss3 expected to be  
defined in /opt/local/lib/libnspr4.dylib
_PR_ImplodeTime referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_SetErrorText referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_AtomicAdd referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_FindSymbol referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_IntervalToMicroseconds referenced from libnss3 expected to be  
defined in /opt/local/lib/libnspr4.dylib
_PR_IntervalToMilliseconds referenced from libnss3 expected to be  
defined in /opt/local/lib/libnspr4.dylib
_PR_IntervalToSeconds referenced from libnss3 expected to be defined  
in /opt/local/lib/libnspr4.dylib
_PR_LoadLibrary referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_LogPrint referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_NewLogModule referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_UnloadLibrary referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_snprintf referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_VersionCheck referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_Close referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_Connect referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_EnumerateHostEnt referenced from libnss3 expected to be defined  
in /opt/local/lib/libnspr4.dylib
_PR_GetHostByName referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_InitializeNetAddr referenced from libnss3 expected to be defined  
in /opt/local/lib/libnspr4.dylib
_PR_NewTCPSocket referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_Recv referenced from libnss3 expected to be defined in /opt/local/ 
lib/libnspr4.dylib
_PR_TicksPerSecond referenced from libnss3 expected to be defined in / 
opt/local/lib/libnspr4.dylib
_PR_Write referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_vsnprintf referenced from libnss3 expected to be defined in /opt/ 
local/lib/libnspr4.dylib
_PR_CallOnceWithArg referenced from libnss3 expected to be defined  
in /opt/local/lib/libnspr4.dylib
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link  
edit command failed
make[2]: *** [Darwin8.11.0_gcc-4.0_DBG.OBJ/libssl3.dylib] Error 1
make[1]: *** [libs] Error 2
make: *** [libs] Error 2

Error: Unable to upgrade port: 1

	I thought this error kind of curious because if followed:

--->  Fetching nspr
--->  Verifying checksum(s) for nspr
--->  Extracting nspr
--->  Configuring nspr
--->  Building nspr
--->  Staging nspr into destroot
--->  Deactivating nspr @4.7.3_0
--->  Installing nspr @4.7.3_1
--->  Activating nspr @4.7.3_1
--->  Cleaning nspr
Portfile changed since last build; discarding previous state.
--->  Fetching nss
--->  Verifying checksum(s) for nss
--->  Extracting nss
--->  Applying patches to nss
--->  Configuring nss
--->  Building nss

which indicates that nspr was upgraded just prior to the reference  
failure.

On Apr 2, 2009, at 1:54 AM, Ryan Schmidt wrote:

> On Apr 2, 2009, at 03:43, Frank J. R. Hanstick wrote:
>
>> 	I get almost the same error on MacOS 10.4.11:
>>
>> cc -dynamiclib -compatibility_version 1 -current_version 1 - 
>> install_name /opt/local/lib/libssl3.dylib - 
>> headerpad_max_install_names -L/opt/local/lib  -o  
>> Darwin8.11.0_DBG.OBJ/libssl3.dylib Darwin8.11.0_DBG.OBJ/derive.o  
>> Darwin8.11.0_DBG.OBJ/prelib.o Darwin8.11.0_DBG.OBJ/ssl3con.o  
>> Darwin8.11.0_DBG.OBJ/ssl3gthr.o Darwin8.11.0_DBG.OBJ/sslauth.o  
>> Darwin8.11.0_DBG.OBJ/sslcon.o Darwin8.11.0_DBG.OBJ/ssldef.o  
>> Darwin8.11.0_DBG.OBJ/sslenum.o Darwin8.11.0_DBG.OBJ/sslerr.o  
>> Darwin8.11.0_DBG.OBJ/ssl3ext.o Darwin8.11.0_DBG.OBJ/sslgathr.o  
>> Darwin8.11.0_DBG.OBJ/sslmutex.o Darwin8.11.0_DBG.OBJ/sslnonce.o  
>> Darwin8.11.0_DBG.OBJ/sslreveal.o Darwin8.11.0_DBG.OBJ/sslsecur.o  
>> Darwin8.11.0_DBG.OBJ/sslsnce.o Darwin8.11.0_DBG.OBJ/sslsock.o  
>> Darwin8.11.0_DBG.OBJ/ssltrace.o Darwin8.11.0_DBG.OBJ/sslver.o  
>> Darwin8.11.0_DBG.OBJ/authcert.o Darwin8.11.0_DBG.OBJ/cmpcert.o  
>> Darwin8.11.0_DBG.OBJ/nsskea.o Darwin8.11.0_DBG.OBJ/sslinfo.o  
>> Darwin8.11.0_DBG.OBJ/ssl3ecc.o Darwin8.11.0_DBG.OBJ/ 
>> unix_err.o   ../../../../dist/Darwin8.11.0_DBG.OBJ/lib/ 
>> libfreebl.a  -L../../../../dist/Darwin8.11.0_DBG.OBJ/lib -lnss3 - 
>> lnssutil3 -L../../../../dist/Darwin8.11.0_DBG.OBJ/lib -lplc4 - 
>> lplds4 -lnspr4  -dylib_file /opt/local/lib/ 
>> libsoftokn3.dylib:../../../../dist/Darwin8.11.0_DBG.OBJ/lib/ 
>> libsoftokn3.dylib
>> ld: Undefined symbols:
>> _CERT_NewTempCertificate
>> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal  
>> link edit command failed
>> make[2]: *** [Darwin8.11.0_DBG.OBJ/libssl3.dylib] Error 1
>> make[1]: *** [libs] Error 2
>> make: *** [libs] Error 2
>
> That bug is filed here:
>
> http://trac.macports.org/ticket/18930
>
>
>

Frank J. R. Hanstick
trog24 at comcast.net



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090406/3c02bbcb/attachment.html>


More information about the macports-users mailing list