[MacPorts] #20243: NSS failing to compile w/ Undefined symbols
MacPorts
noreply at macports.org
Thu Jul 9 07:47:24 PDT 2009
#20243: NSS failing to compile w/ Undefined symbols
------------------------+---------------------------------------------------
Reporter: x@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port:
------------------------+---------------------------------------------------
gastraphetes:/> sudo port upgrade nss
---> Fetching nss
---> Attempting to fetch nss-3.12.3.tar.bz2 from
http://distfiles.macports.org/nss
---> Verifying checksum(s) for nss
---> Extracting nss
---> Applying patches to nss
---> Configuring nss
---> Building nss
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.3
&& 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: /usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsecur.o
-c -g -fPIC -Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss sslsecur.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsnce.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss sslsnce.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsock.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss sslsock.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/ssltrace.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss ssltrace.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslver.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss sslver.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/authcert.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss authcert.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/cmpcert.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss cmpcert.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/nsskea.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss nsskea.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslinfo.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss sslinfo.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3ecc.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss ssl3ecc.c
/usr/bin/gcc-4.0 -o Darwin9.7.0_gcc-4.0_DBG.OBJ/unix_err.o -c -g -fPIC
-Di386 -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/nspr -I/opt/local/include
-L/opt/local/lib -DUSE_UTIL_DIRECTLY
-I../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/include
-I../../../../dist/public/nss -I../../../../dist/private/nss unix_err.c
rm -f Darwin9.7.0_gcc-4.0_DBG.OBJ/libssl.a
ar cr Darwin9.7.0_gcc-4.0_DBG.OBJ/libssl.a
Darwin9.7.0_gcc-4.0_DBG.OBJ/derive.o Darwin9.7.0_gcc-4.0_DBG.OBJ/prelib.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3con.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3gthr.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslauth.o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslcon.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssldef.o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslenum.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslerr.o Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3ext.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslgathr.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslmutex.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslnonce.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslreveal.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsecur.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsnce.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsock.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssltrace.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslver.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/authcert.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/cmpcert.o Darwin9.7.0_gcc-4.0_DBG.OBJ/nsskea.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslinfo.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3ecc.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/unix_err.o
/usr/bin/ranlib Darwin9.7.0_gcc-4.0_DBG.OBJ/libssl.a
grep -v ';+' ssl.def | grep -v ';-' | sed -e 's; DATA ;;' -e 's,;;,,' -e
's,;.*,,' -e 's,^,_,' > Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl.def
rm -f Darwin9.7.0_gcc-4.0_DBG.OBJ/libssl3.dylib
/usr/bin/gcc-4.0 -dynamiclib -compatibility_version 1 -current_version 1
-install_name /opt/local/lib/nss/libssl3.dylib
-headerpad_max_install_names -L/opt/local/lib/nspr -L/opt/local/lib/ -o
Darwin9.7.0_gcc-4.0_DBG.OBJ/libssl3.dylib
Darwin9.7.0_gcc-4.0_DBG.OBJ/derive.o Darwin9.7.0_gcc-4.0_DBG.OBJ/prelib.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3con.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3gthr.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslauth.o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslcon.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssldef.o Darwin9.7.0_gcc-4.0_DBG.OBJ/sslenum.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslerr.o Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3ext.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslgathr.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslmutex.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslnonce.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslreveal.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsecur.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsnce.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslsock.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssltrace.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslver.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/authcert.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/cmpcert.o Darwin9.7.0_gcc-4.0_DBG.OBJ/nsskea.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/sslinfo.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/ssl3ecc.o
Darwin9.7.0_gcc-4.0_DBG.OBJ/unix_err.o
../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/lib/libfreebl.a
-L../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/lib -lnss3 -lnssutil3
-L/opt/local/lib/nspr -lplc4 -lplds4 -lnspr4
Undefined symbols:
"_CERT_NewTempCertificate", referenced from:
_ssl3_HandleCertificate in ssl3con.o
_ssl3_HandleCertificate in ssl3con.o
_ssl2_ClientHandleServerCert in sslcon.o
_ssl2_HandleClientCertificate in sslcon.o
_ssl3_ServerHandleSessionTicketXtn in ssl3ext.o
_ConvertToSID in sslsnce.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [Darwin9.7.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
--
Ticket URL: <http://trac.macports.org/ticket/20243>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list