#16949 closed defect (wontfix)
evolution-data-server 2.24.1: Fails to build
Reported by: | dbevans (David B. Evans) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | markdigital69@… | |
Port: | evolution-data-server |
Description (last modified by dbevans (David B. Evans))
On 10.4.11 ppc, evolution-data-server 2.24.1 fails to build with following error:
Making all in sendmail /bin/sh ../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -avoid-version -module -L/opt/local/lib -o libcamelsendmail.la -rpath /opt/local/lib/evolution-data-server-1.2/camel-providers camel-sendmail-provider.lo camel-sendmail-transport.lo ../../../camel/libcamel-1.2.la ../../../camel/libcamel-provider-1.2.la -L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lsqlite3 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lz -lpthread -L/usr/lib -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 /usr/bin/gcc-4.0 ${wl}-undefined ${wl}dynamic_lookup -o .libs/libcamelsendmail.so -bundle .libs/camel-sendmail-provider.o .libs/camel-sendmail-transport.o -L/opt/local/lib ../../../camel/.libs/libcamel-1.2.dylib /opt/local/lib/libedataserver-1.2.dylib /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 /opt/local/lib/libdbus-1.dylib /opt/local/lib/libsoup-2.4.dylib /opt/local/lib/libxml2.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/libz.dylib -L/usr/lib ../../../camel/.libs/libcamel-provider-1.2.dylib /opt/local/lib/libcamel-1.2.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libsqlite3.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lz -lpthread -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libedataserver-1.2.11.dylib referenced from: ../../../camel/.libs/libcamel-1.2.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _e_sexp_add_function referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_add_ifunction referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_error referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_eval referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_input_text referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_new referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_parse referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_result_free referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_unref referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_fatal_error referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_result_new referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_term_eval referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_sexp_resultv_free referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_memchunk_alloc0 referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_memchunk_destroy referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_memchunk_free referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_memchunk_new referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_mempool_destroy referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_mempool_flush referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_mempool_new referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_mempool_strdup referenced from libcamel-provider-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_util_pthread_id referenced from libcamel-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_localtime_with_offset referenced from libcamel-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_mempool_alloc referenced from libcamel-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_mktime_utc referenced from libcamel-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib _e_memchunk_alloc referenced from libcamel-1.2.14 expected to be defined in /opt/local/lib/libedataserver-1.2.11.dylib collect2: ld returned 1 exit status make[4]: *** [libcamelsendmail.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
As stated in the error message, file /opt/local/lib/libedataserver-1.2.11.dylib does not exist.
Change History (12)
comment:1 Changed 16 years ago by blb@…
comment:2 Changed 16 years ago by dbevans (David B. Evans)
Upgrade from evolution-data-server @2.22.1_0+darwin_8
comment:3 Changed 16 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|
comment:4 Changed 16 years ago by jwhowse4
I obtain an essentially identical error using an Intel Mac Pro running Leopard 10.5.5.
mv -f .deps/camel-sendmail-transport.Tpo .deps/camel-sendmail-transport.Plo
../../../doltlibtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -avoid-version -module -L/opt/macports/lib -o libcamelsendmail.la -rpath /opt/macports/lib/evolution-data-server-1.2/camel-providers camel-sendmail-provider.lo camel-sendmail-transport.lo ../../../camel/libcamel-1.2.la ../../../camel/libcamel-provider-1.2.la -L/opt/macports/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lsqlite3 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lz -lpthread -L/usr/lib -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -L -ldl -lplc4 -lplds4 -lnspr4 -L -lssl3 -lsmime3 -lnss3 -lsoftokn3
/usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libcamelsendmail.so -bundle .libs/camel-sendmail-provider.o .libs/camel-sendmail-transport.o -L/opt/macports/lib ../../../camel/.libs/libcamel-1.2.dylib /opt/macports/lib/libedataserver-1.2.dylib /opt/macports/lib/libbonobo-2.dylib /opt/macports/lib/libbonobo-activation.dylib /opt/macports/lib/libORBitCosNaming-2.dylib /opt/macports/lib/libgconf-2.dylib /opt/macports/lib/libdbus-glib-1.dylib /opt/macports/lib/libORBit-2.dylib /opt/macports/lib/libdbus-1.dylib -L/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_gnome_evolution-data-server/work/evolution-data-server-2.24.1/libedataserver /opt/macports/lib/libsoup-2.4.dylib /opt/macports/lib/libxml2.dylib /opt/macports/lib/libgnutls.dylib /opt/macports/lib/libtasn1.dylib /opt/macports/lib/libgcrypt.dylib /opt/macports/lib/libgpg-error.dylib /opt/macports/lib/libz.dylib -L/usr/lib -L/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_gnome_evolution-data-server/work/evolution-data-server-2.24.1/camel /opt/macports/lib/libplc4.dylib /opt/macports/lib/libplds4.dylib /opt/macports/lib/libnspr4.dylib /opt/macports/lib/libssl3.dylib /opt/macports/lib/libsmime3.dylib /opt/macports/lib/libnss3.dylib /opt/macports/lib/libsoftokn3.dylib ../../../camel/.libs/libcamel-provider-1.2.dylib /opt/macports/lib/libcamel-1.2.dylib /opt/macports/lib/libgio-2.0.dylib /opt/macports/lib/libgobject-2.0.dylib /opt/macports/lib/libgmodule-2.0.dylib /opt/macports/lib/libsqlite3.dylib /opt/macports/lib/libgthread-2.0.dylib /opt/macports/lib/libglib-2.0.dylib /opt/macports/lib/libintl.dylib /opt/macports/lib/libiconv.dylib -lz -lpthread -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 -L/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_gnome_evolution-data-server/work/evolution-data-server-2.24.1/camel/providers/sendmail -ldl -lplc4 -lplds4 -lnspr4 -lssl3 -lsmime3 -lnss3 -lsoftokn3
ld: file not found: /opt/macports/lib/libedataserver-1.2.11.dylib
collect2: ld returned 1 exit status make[4]: * [libcamelsendmail.la] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
comment:5 Changed 16 years ago by dbevans (David B. Evans)
Taking a fresh look at the command line that failed it looks as if variable ${wl} was not expanded invalidating several option flags.
comment:6 Changed 16 years ago by markdigital69@…
I get a dependency error:
checking for CAMEL... configure: error: Package requirements ( gio-2.0 sqlite3 >= 3.5 gthread-2.0) were not met: No package 'sqlite3' found
Maybe it has to go in depends_lib?. I installed it, then I get the same error as jwhowse4.
comment:9 Changed 16 years ago by pawel.matykiewicz@…
There is a dirty workaround:
sudo ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_evolution-data-server/work/evolution-data-server-2.24.1/camel/.libs/libcamel-1.2.14.dylib /opt/local/lib/libcamel-1.2.14.dylib
sudo ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_evolution-data-server/work/evolution-data-server-2.24.1/libedataserver/.libs/libedataserver-1.2.11.dylib /opt/local/lib/libedataserver-1.2.11.dylib
Just before activating the port you have to remove the symbolic links
comment:10 Changed 16 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Status: | new → assigned |
comment:11 Changed 16 years ago by dbevans (David B. Evans)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
The problem seems to be that if an old copy of the port is already installed, the new port will in some cases try to link to the old libraries in ${prefix} rather than refer to the new libraries being built. This actually works for minor updates where the old libraries and the new ones have the same file name and ABI, but fails for major updates where the file name changes as in my case of upgrading from the 2.22 branch to the 2.24 branch.
The upstream developers apparently didn't envision this situation expecting that each install would be a fresh one or the old version uninstalled before trying to install the new one.
So will close the ticket with this simple workaround: rather than using upgrade, uninstall or deactivate the old version then install the new one. Port upgraded to version 2.24.3 in r45338, r45339, r45340.
Was this via a 'port install' or 'port upgrade'?