[MacPorts] #14922: evolution data server 2.22.0 fails to build

MacPorts trac at macosforge.org
Sun Apr 6 05:57:31 PDT 2008


#14922: evolution data server 2.22.0 fails to build
-----------------------------------+----------------------------------------
  Reporter:  jwhowse4 at comcast.net  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                |      Status:  new                                  
  Priority:  Normal                |   Milestone:                                       
 Component:  ports                 |     Version:  1.6.0                                
Resolution:                        |    Keywords:                                       
-----------------------------------+----------------------------------------
Comment (by jwhowse4 at comcast.net):

 Replying to [comment:1 marcuscalhounlopez at mac.com]:

 I added your patch to the Portfile and it solves the problem I originally
 reported on my Tiger machine.  Unfortunately another problem appears.

 /usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-undefined
 ${wl}suppress -o .libs/libedata-book-1.2.2.4.1.dylib  .libs/Evolution-
 DataServer-Addressbook-common.o .libs/Evolution-DataServer-Addressbook-
 skels.o .libs/Evolution-DataServer-Addressbook-stubs.o .libs/e-book-
 backend-factory.o .libs/e-book-backend-sexp.o .libs/e-book-backend-
 summary.o .libs/e-book-backend-cache.o .libs/e-book-backend-db-cache.o
 .libs/e-book-backend-sync.o .libs/e-book-backend.o .libs/e-data-book-
 factory.o .libs/e-data-book-view.o .libs/e-data-book.o  .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_compare.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_conv.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_curadj.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_cursor.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_delete.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_open.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_put.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_reclaim.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_recno.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_rsearch.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_search.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_split.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_stat.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_upgrade.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/bt_verify.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/btree_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/crdel_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/crdel_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_am.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_byteorder.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_cam.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_conv.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_dispatch.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_dup.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_err.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_getlong.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_idspace.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_iface.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_join.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_log2.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_meta.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_open.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_overflow.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_pr.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_reclaim.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_remove.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_rename.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_ret.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_salloc.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_shash.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_truncate.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_upg.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_upg_opd.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_vrfy.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/db_vrfyutil.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/dbm.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/dbreg.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/dbreg_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/dbreg_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/dbreg_util.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/env_file.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/env_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/env_open.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/env_recover.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/env_region.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/fileops_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/fop_basic.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/fop_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/fop_util.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_conv.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_dup.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_func.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_meta.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_open.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_page.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_reclaim.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_stat.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_upgrade.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hash_verify.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hmac.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/hsearch.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/lock.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/lock_deadlock.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/lock_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/lock_region.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/lock_stat.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/lock_util.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/log.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/log_archive.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/log_compare.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/log_get.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/log_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/log_put.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_alloc.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_bh.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_fget.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_fopen.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_fput.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_fset.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_region.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_register.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_stat.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_sync.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mp_trickle.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mut_tas.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/mutex.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_abs.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_alloc.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_clock.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_config.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_dir.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_errno.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_fid.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_fsync.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_handle.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_id.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_map.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_oflags.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_open.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_region.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_rename.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_root.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_rpath.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_rw.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_seek.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_sleep.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_spin.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_stat.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_tmpdir.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/os_unlink.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_conv.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_files.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_open.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_stat.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_upgrade.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/qam_verify.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/rep_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/rep_record.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/rep_region.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/rep_util.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/sha1.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn_auto.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn_method.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn_rec.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn_recover.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn_region.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn_stat.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/txn_util.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/xa.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/xa_db.lo .libs/libedata-
 book-1.2.lax/libdb-4.1.al/xa_map.lo   -L/opt/macports/lib
 /opt/macports/lib/libxml2.dylib /opt/macports/lib/libz.dylib -lpthread -lz
 /opt/macports/lib/libgnome-2.dylib /opt/macports/lib/libdbus-glib-1.dylib
 /opt/macports/lib/libdbus-1.dylib /opt/macports/lib/libssl.dylib
 /opt/macports/lib/libcrypto.dylib
 /opt/macports/lib/libORBitCosNaming-2.dylib
 /opt/macports/lib/libpopt.dylib /opt/macports/lib/libesd.dylib
 /opt/macports/lib/libbonobo-2.dylib /opt/macports/lib/libaudiofile.dylib
 /opt/macports/lib/libbonobo-activation.dylib
 /opt/macports/lib/libgnomevfs-2.dylib /opt/macports/lib/libgconf-2.dylib
 /opt/macports/lib/libORBit-2.dylib -lm
 /opt/macports/lib/libgmodule-2.0.dylib
 /opt/macports/lib/libgthread-2.0.dylib
 /opt/macports/lib/libgobject-2.0.dylib /opt/macports/lib/libglib-2.0.dylib
 /opt/macports/lib/libintl.dylib /opt/macports/lib/libiconv.dylib
 ../../addressbook/libebook/.libs/libebook-1.2.dylib
 /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
 .org_release_ports_gnome_evolution-data-server/work/evolution-data-
 server-2.22.0/camel/.libs/libcamel-1.2.dylib -L/usr/lib
 /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
 .org_release_ports_gnome_evolution-data-server/work/evolution-data-
 server-2.22.0/libedataserver/.libs/libedataserver-1.2.dylib
 ../../libedataserver/.libs/libedataserver-1.2.dylib  -Wl,-framework
 -Wl,CoreAudio -install_name  /opt/macports/lib/libedata-book-1.2.2.dylib
 -Wl,-compatibility_version -Wl,7 -Wl,-current_version -Wl,7.1
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookListener__init
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookListener__init in section
 (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookListener__init
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookFactory__fini
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookFactory__fini in section
 (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookFactory__fini
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookFactory__init
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookFactory__init in section
 (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookFactory__init
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookListener__fini
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookListener__fini in section
 (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookListener__fini
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookViewListener__fini
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookViewListener__fini in section
 (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookViewListener__fini
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookViewListener__init
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookViewListener__init in section
 (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookViewListener__init
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookView__fini
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookView__fini in section (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookView__fini
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_BookView__init
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_BookView__init in section (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_BookView__init
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_Book__fini
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_Book__fini in section (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_Book__fini
 ld: multiple definitions of symbol
 _POA_GNOME_Evolution_Addressbook_Book__init
 .libs/Evolution-DataServer-Addressbook-skels.o definition of
 _POA_GNOME_Evolution_Addressbook_Book__init in section (__TEXT,__text)
 ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-
 Addressbook-skels.o) definition of
 _POA_GNOME_Evolution_Addressbook_Book__init
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit
 command failed
 make[4]: *** [libedata-book-1.2.la] Error 1
 make[3]: *** [all] Error 2
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
 .org_release_ports_gnome_evolution-data-server/work/evolution-data-
 server-2.22.0" && make all " returned error 2


 > It appears as if the type off_t can not be found.[[BR]]
 > On Leopard, off_t is defined in stdio.h (which is included in offending
 camel-block-file.h).[[BR]]
 > I assume this is not the case on Tiger.[[BR]]
 > off_t is also defined in sys/types.h.
 >
 > Perhaps something like this:
 > {{{
 > platform darwin 8 {
 >     post-patch {
 >         reinplace "s|#include <stdio.h>|#include <stdio.h>\\\n#include
 <sys/types.h>|g" \
 >             ${worksrcpath}/camel/camel-block-file.h
 >     }
 > }
 > }}}
 >
 > Unfortunately, I do not have access to a Tiger machine to test this.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14922#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list