Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18930 closed defect (fixed)

nss 3.12 install fails ld: Undefined symbols: _CERT_NewTempCertificate on Tiger

Reported by: garribald@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Tiger _CERT_NewTempCertificate undefined symbols Cc: markdigital69@…, judufuru-gherthgr@…
Port: nss

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

nss_log.txt (190.2 KB) - added by garribald@… 16 years ago.

Download all attachments as: .zip

Change History (15)

Changed 16 years ago by garribald@…

Attachment: nss_log.txt added

comment:1 Changed 16 years ago by blb@…

Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

comment:3 in reply to:  1 Changed 16 years ago by garribald@…

Replying to blb@…:

Sounds like http://lists.macosforge.org/pipermail/macports-users/2009-March/014412.html so try deactivating nss prior.

Thanks for that, but sadly it didn't worked for me. At first I tried the deactivate old -> install new, but got the same error. Then I even uninstalled the old nss port and made a fresh install (as before with cleaning the work folder first), only to run into the same error.

Exchanged the portfile to install 3.11.9 rev 1 again, installation was successful.

comment:4 Changed 16 years ago by markdigital69@…

Cc: markdigital69@… added

Cc Me!

comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:6 Changed 16 years ago by markdigital69@…

I had the same problem on 10.5.6:

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.6.0_DBG.OBJ/libssl3.dylib] Error 1

I deactivated 3.11.9 and tried to install 3.12 with no success. However, when I uninstalled 3.11.9 completely and then installed 3.12, it worked.

comment:7 in reply to:  6 Changed 16 years ago by garribald@…

Replying to markdigital69@…:

I had the same problem on 10.5.6: [...] I deactivated 3.11.9 and tried to install 3.12 with no success. However, when I uninstalled 3.11.9 completely and then installed 3.12, it worked.

Hi, thanks for your comment. I took the thing in my own hands, uninstalled nss 3.11.9_1 manually instead of relying on the "sudo port -f uninstall nss" command. After that, finally nss 3.12_0 went through without an error.

So basically this ticket can be closed now. Nonetheless, it would be great, if the maintainer could make the upgrade a bit less painless. Or the MacPorts-team, since i don't know whether this is a shortcoming of MacPorts (1.7) or of the individual port. That said - I really appreciate all the efforts behind MacPorts, the individual ports and the countless helpful comments from users, developers and maintainers. Thanks!

comment:8 Changed 16 years ago by jeremyhu (Jeremy Huddleston Sequoia)

No, this ticket can't be closed because the upgrade really needs to be smooth... I won't have time to look at it for the next week or so, but it's at the top of my list after that. Sorry for the delay.

comment:9 Changed 16 years ago by trog24 (Frank J. R. Hanstick)

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

I had updated to the latest MacPorts today.

comment:10 Changed 16 years ago by blb@…

Cc: judufuru-gherthgr@… added

Cc reporter of dup #19168.

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

Is this fixed with my commit from yesterday?

comment:12 Changed 16 years ago by judufuru-gherthgr@…

I have just tried again now (currently available version is 3.12_1) and I get the same error message.

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

Resolution: fixed
Status: assignedclosed

Fixed in r49441

comment:14 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.