Opened 15 years ago

Closed 11 years ago

#20243 closed defect (worksforme)

NSS failing to upgrade due to linking against installed version

Reported by: x@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: nss

Description (last modified by nerdling (Jeremy Lavergne))

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

Change History (13)

comment:1 Changed 15 years ago by x@…

Ack, formatting screwup, sorry, trying again:

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

comment:2 Changed 15 years ago by x@…

Cc: x@… added

Cc Me!

comment:3 Changed 15 years ago by x@…

Reference ticket #19169 where someone else obviously had this issue in the same context as I (trying to install/upgrade pidgin), and were recommending to the pidgin project to remove the reliance on nss because of it.

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Port: nss added

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Cc: x@… removed
Owner: changed from macports-tickets@… to jeremyhu@…
Priority: HighNormal

Assigning to maintainer.

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

Hmm... I wonder if this isn't upgrading correctly still... try:

sudo port -v -f uninstall nss
sudo port -v install nss

comment:7 in reply to:  6 Changed 15 years ago by TruePath (Peter Gerdes)

Still failing for me right now with same errors. I even rebuilt both dependencies.

comment:8 Changed 15 years ago by TruePath (Peter Gerdes)

Cc: gerdes@… added

Cc Me!

comment:9 Changed 15 years ago by TruePath (Peter Gerdes)

Cc: gerdes@… removed

Cc Me!

comment:10 Changed 15 years ago by TruePath (Peter Gerdes)

Doh, apparently you need to deactivate the prior install of nss or this happens. Just deactivate the current version and it compiles fine.

Probably should be fixed so update works but it's at least an easy fix.

comment:11 Changed 14 years ago by jmroot (Joshua Root)

Summary: NSS failing to compile w/ Undefined symbolsNSS failing to upgrade w/ Undefined symbols

Does this still affect 3.12.7?

comment:12 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Summary: NSS failing to upgrade w/ Undefined symbolsNSS failing to upgrade due to linking against installed version

comment:13 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.