[MacPorts] #18930: nss 3.12 install fails ld: Undefined symbols: _CERT_NewTempCertificate on Tiger

MacPorts noreply at macports.org
Thu Mar 26 20:07:04 PDT 2009


#18930: nss 3.12 install fails ld: Undefined symbols: _CERT_NewTempCertificate on
Tiger
--------------------------------------------------------------+-------------
 Reporter:  garribald@…                                       |       Owner:  jeremyhu@…           
     Type:  defect                                            |      Status:  assigned             
 Priority:  Normal                                            |   Milestone:  Port Bugs            
Component:  ports                                             |     Version:  1.7.0                
 Keywords:  Tiger _CERT_NewTempCertificate undefined symbols  |        Port:  nss                  
--------------------------------------------------------------+-------------
Description changed by ryandesign@…:

Old description:

> I am not sure, how close this might be related to[[BR]]
> http://trac.macports.org/ticket/18922 [[BR]]
> or might be simply some flaw on my system. Anyway, the new nss 3.12 port
> throws an error, the snapshot at the end:
>
> {{{
> cc -o Darwin8.11.0_DBG.OBJ/ssl3ecc.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  ssl3ecc.c
> cc -o Darwin8.11.0_DBG.OBJ/unix_err.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  unix_err.c
> rm -f Darwin8.11.0_DBG.OBJ/libssl.a
> ar cr Darwin8.11.0_DBG.OBJ/libssl.a 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
> ranlib Darwin8.11.0_DBG.OBJ/libssl.a
> grep -v ';+' ssl.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e
> 's,;.*,,' -e 's,^,_,' > Darwin8.11.0_DBG.OBJ/ssl.def
> rm -f Darwin8.11.0_DBG.OBJ/libssl3.dylib
> 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
> 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" returned error 2
> Command output: cc -o Darwin8.11.0_DBG.OBJ/sslenum.o -c -g -fPIC -Dppc
> -Wmost -fpascal-strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR
> -DHAVE_BSD_FLOCK  -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root
> -I/opt/local/include/nspr/ -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslenum.c
> cc -o Darwin8.11.0_DBG.OBJ/sslerr.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslerr.c
> cc -o Darwin8.11.0_DBG.OBJ/ssl3ext.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  ssl3ext.c
> cc -o Darwin8.11.0_DBG.OBJ/sslgathr.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslgathr.c
> cc -o Darwin8.11.0_DBG.OBJ/sslmutex.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslmutex.c
> cc -o Darwin8.11.0_DBG.OBJ/sslnonce.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslnonce.c
> cc -o Darwin8.11.0_DBG.OBJ/sslreveal.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslreveal.c
> cc -o Darwin8.11.0_DBG.OBJ/sslsecur.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslsecur.c
> cc -o Darwin8.11.0_DBG.OBJ/sslsnce.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslsnce.c
> cc -o Darwin8.11.0_DBG.OBJ/sslsock.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslsock.c
> cc -o Darwin8.11.0_DBG.OBJ/ssltrace.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  ssltrace.c
> cc -o Darwin8.11.0_DBG.OBJ/sslver.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslver.c
> cc -o Darwin8.11.0_DBG.OBJ/authcert.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  authcert.c
> cc -o Darwin8.11.0_DBG.OBJ/cmpcert.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  cmpcert.c
> cc -o Darwin8.11.0_DBG.OBJ/nsskea.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  nsskea.c
> cc -o Darwin8.11.0_DBG.OBJ/sslinfo.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  sslinfo.c
> cc -o Darwin8.11.0_DBG.OBJ/ssl3ecc.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  ssl3ecc.c
> cc -o Darwin8.11.0_DBG.OBJ/unix_err.o -c -g -fPIC -Dppc -Wmost -fpascal-
> strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
> -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
> -L/opt/local/lib -DUSE_UTIL_DIRECTLY
> -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
> -I../../../../dist/public/nss -I../../../../dist/private/nss  unix_err.c
> rm -f Darwin8.11.0_DBG.OBJ/libssl.a
> ar cr Darwin8.11.0_DBG.OBJ/libssl.a 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
> ranlib Darwin8.11.0_DBG.OBJ/libssl.a
> grep -v ';+' ssl.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e
> 's,;.*,,' -e 's,^,_,' > Darwin8.11.0_DBG.OBJ/ssl.def
> rm -f Darwin8.11.0_DBG.OBJ/libssl3.dylib
> 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
>
> Warning: the following items did not execute (for nss):
> org.macports.destroot org.macports.build
> DEBUG: invalid command name "::ui_init"
>     while executing
> "::ui_init $priority $prefix $channels $message"
>     ("uplevel" body line 2)
>     invoked from within
> "uplevel 1 $body"
> Error: Unable to upgrade port: 1
> book:~ test$
> }}}
>
> The full log is attached. This run was made after I disabled ccache and
> pipe option in macports.conf - just for a try. Usually both are turned
> on.

New description:

 I am not sure, how close this might be related to
 #18922
 or might be simply some flaw on my system. Anyway, the new nss 3.12 port
 throws an error, the snapshot at the end:

 {{{
 cc -o Darwin8.11.0_DBG.OBJ/ssl3ecc.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  ssl3ecc.c
 cc -o Darwin8.11.0_DBG.OBJ/unix_err.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  unix_err.c
 rm -f Darwin8.11.0_DBG.OBJ/libssl.a
 ar cr Darwin8.11.0_DBG.OBJ/libssl.a 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
 ranlib Darwin8.11.0_DBG.OBJ/libssl.a
 grep -v ';+' ssl.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e
 's,;.*,,' -e 's,^,_,' > Darwin8.11.0_DBG.OBJ/ssl.def
 rm -f Darwin8.11.0_DBG.OBJ/libssl3.dylib
 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
 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" returned error 2
 Command output: cc -o Darwin8.11.0_DBG.OBJ/sslenum.o -c -g -fPIC -Dppc
 -Wmost -fpascal-strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR
 -DHAVE_BSD_FLOCK  -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root
 -I/opt/local/include/nspr/ -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslenum.c
 cc -o Darwin8.11.0_DBG.OBJ/sslerr.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslerr.c
 cc -o Darwin8.11.0_DBG.OBJ/ssl3ext.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  ssl3ext.c
 cc -o Darwin8.11.0_DBG.OBJ/sslgathr.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslgathr.c
 cc -o Darwin8.11.0_DBG.OBJ/sslmutex.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslmutex.c
 cc -o Darwin8.11.0_DBG.OBJ/sslnonce.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslnonce.c
 cc -o Darwin8.11.0_DBG.OBJ/sslreveal.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslreveal.c
 cc -o Darwin8.11.0_DBG.OBJ/sslsecur.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslsecur.c
 cc -o Darwin8.11.0_DBG.OBJ/sslsnce.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslsnce.c
 cc -o Darwin8.11.0_DBG.OBJ/sslsock.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslsock.c
 cc -o Darwin8.11.0_DBG.OBJ/ssltrace.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  ssltrace.c
 cc -o Darwin8.11.0_DBG.OBJ/sslver.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslver.c
 cc -o Darwin8.11.0_DBG.OBJ/authcert.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  authcert.c
 cc -o Darwin8.11.0_DBG.OBJ/cmpcert.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  cmpcert.c
 cc -o Darwin8.11.0_DBG.OBJ/nsskea.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  nsskea.c
 cc -o Darwin8.11.0_DBG.OBJ/sslinfo.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  sslinfo.c
 cc -o Darwin8.11.0_DBG.OBJ/ssl3ecc.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  ssl3ecc.c
 cc -o Darwin8.11.0_DBG.OBJ/unix_err.o -c -g -fPIC -Dppc -Wmost -fpascal-
 strings -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root -I/opt/local/include/nspr/
 -L/opt/local/lib -DUSE_UTIL_DIRECTLY
 -I../../../../dist/Darwin8.11.0_DBG.OBJ/include
 -I../../../../dist/public/nss -I../../../../dist/private/nss  unix_err.c
 rm -f Darwin8.11.0_DBG.OBJ/libssl.a
 ar cr Darwin8.11.0_DBG.OBJ/libssl.a 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
 ranlib Darwin8.11.0_DBG.OBJ/libssl.a
 grep -v ';+' ssl.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e
 's,;.*,,' -e 's,^,_,' > Darwin8.11.0_DBG.OBJ/ssl.def
 rm -f Darwin8.11.0_DBG.OBJ/libssl3.dylib
 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

 Warning: the following items did not execute (for nss):
 org.macports.destroot org.macports.build
 DEBUG: invalid command name "::ui_init"
     while executing
 "::ui_init $priority $prefix $channels $message"
     ("uplevel" body line 2)
     invoked from within
 "uplevel 1 $body"
 Error: Unable to upgrade port: 1
 book:~ test$
 }}}

 The full log is attached. This run was made after I disabled ccache and
 pipe option in macports.conf - just for a try. Usually both are turned on.

--

-- 
Ticket URL: <http://trac.macports.org/ticket/18930#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list