#19487: evolution-data-server fails update from 2.24.5_1 to 2.26.1.1_0 -----------------------------------+---------------------------------------- Reporter: david.rowe@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: evolution-data-server | Port: nss -----------------------------------+---------------------------------------- Changes (by devans@…): * keywords: => evolution-data-server * owner: macports-tickets@… => jeremyhu@… * port: => nss Old description:
The update failed with the last log messages being: ---- [snip][[BR]] gtk-doc: Linking scanner[[BR]] /usr/bin/gcc-4.0 -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -Wno- pointer-sign -o .libs/libebook-scan .libs/libebook-scan.o -L/opt/local/lib ../../../../addressbook/libebook/.libs/libebook-1.2.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_evolution-data-server/work/evolution-data- server-2.26.1.1/camel/.libs/libcamel-1.2.dylib -L/opt/local/lib/nspr /opt/local/lib/libsqlite3.dylib -L/usr/lib -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -L/opt/local/lib/nss -lssl3 -lsmime3 -lnss3 -lsoftokn3 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_evolution-data-server/work/evolution-data- server-2.26.1.1/libedataserver/.libs/libedataserver-1.2.dylib -ldl -lplc4 -lplds4 -lnspr4 /opt/local/lib/libsoup-2.4.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libtasn1.dylib /opt/local/lib/libgcrypt.dylib /opt/local/lib/libgpg-error.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libbonobo- activation.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libORBit-2.dylib -lresolv -lm /opt/local/lib/libdbus-1.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib[[BR]] creating libebook-scan[[BR]] Use of uninitialized value in concatenation (.) or string at /opt/local/bin/gtkdoc-scangobj line 1548, <TYPES> line 15. gtk-doc: Running scanner libebook-scan[[BR]] dyld: Library not loaded: /opt/local/lib/libnss3.dylib Referenced from: /opt/local/lib/nss/libssl3.dylib Reason: image not found Scan failed:[[BR]] make[5]: *** [scan-build.stamp] Error 255 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Unable to upgrade port: 1[[BR]] ----
Looking at the file store:[[BR]] There was a /opt/local/lib/nss/libssl3.dylib[[BR]] There was no /opt/local/lib/libnss3.dylib[[BR]] ----
On the advice of Jeremy Huddleston <jeremyhu@macports.org> I tried:
---- bash-3.2# sudo port -v clean nss[[BR]] ---> Cleaning nss[[BR]] ---> Removing build directory for nss[[BR]] bash-3.2# sudo port -v upgrade nss[[BR]] bash-3.2# sudo port upgrade evolution-data-server[[BR]] [snip][[BR]] [same error messages as above][[BR]] ---- On the advice of Jeremy Huddleston, I then tried the following workaround: ---- sudo port -v -f uninstall nss[[BR]] sudo port -v -f install nss[[BR]] sudo port upgrade evolution-data-server
----
And that worked OK for me
New description: The update failed with the last log messages being: ---- [snip][[BR]] {{{ gtk-doc: Linking scanner[[BR]] /usr/bin/gcc-4.0 -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -Wno- pointer-sign -o .libs/libebook-scan .libs/libebook-scan.o -L/opt/local/lib ../../../../addressbook/libebook/.libs/libebook-1.2.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_evolution-data-server/work/evolution-data- server-2.26.1.1/camel/.libs/libcamel-1.2.dylib -L/opt/local/lib/nspr /opt/local/lib/libsqlite3.dylib -L/usr/lib -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -L/opt/local/lib/nss -lssl3 -lsmime3 -lnss3 -lsoftokn3 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_gnome_evolution-data-server/work/evolution-data- server-2.26.1.1/libedataserver/.libs/libedataserver-1.2.dylib -ldl -lplc4 -lplds4 -lnspr4 /opt/local/lib/libsoup-2.4.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libtasn1.dylib /opt/local/lib/libgcrypt.dylib /opt/local/lib/libgpg-error.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread -lz /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libORBit-2.dylib -lresolv -lm /opt/local/lib/libdbus-1.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib[[BR]] creating libebook-scan[[BR]] Use of uninitialized value in concatenation (.) or string at /opt/local/bin/gtkdoc-scangobj line 1548, <TYPES> line 15. gtk-doc: Running scanner libebook-scan[[BR]] dyld: Library not loaded: /opt/local/lib/libnss3.dylib Referenced from: /opt/local/lib/nss/libssl3.dylib Reason: image not found Scan failed:[[BR]] make[5]: *** [scan-build.stamp] Error 255 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1 }}} ---- Looking at the file store:[[BR]] There was a /opt/local/lib/nss/libssl3.dylib[[BR]] There was no /opt/local/lib/libnss3.dylib[[BR]] ---- On the advice of Jeremy Huddleston <jeremyhu@macports.org> I tried: ---- {{{ bash-3.2# sudo port -v clean nss ---> Cleaning nss ---> Removing build directory for nss bash-3.2# sudo port -v upgrade nss bash-3.2# sudo port upgrade evolution-data-server }}} [snip][[BR]] [same error messages as above][[BR]] ---- On the advice of Jeremy Huddleston, I then tried the following workaround: ---- {{{ sudo port -v -f uninstall nss sudo port -v -f install nss sudo port upgrade evolution-data-server }}} ---- And that worked OK for me -- Comment: It appears the problem has been resolved. Looks like nss failed to get fully upgraded after recent change in library locations before attempting to install evolution-data-server. Assigning to nss maintainer for any futher follow up. -- Ticket URL: <http://trac.macports.org/ticket/19487#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS