Opened 13 years ago

Closed 12 years ago

#14922 closed defect (fixed)

evolution data server 2.22.0 fails to build

Reported by: jwhowse4 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

On an Intel based MacBook Pro under Tiger 10.4.11 evolution data server 2.22.0 fails to build.

Making all in camel Making all in . /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I./.. -I../intl -DCAMEL_LIBEXECDIR=\""/opt/macports/libexec"\" -DCAMEL_PROVIDERDIR=\""/opt/macports/lib/evolution-data-server-1.2/camel-providers"\" -DG_LOG_DOMAIN=\"camel\" -DE_DATA_SERVER_PREFIX=\"/opt/macports\" -DEVOLUTION_LOCALEDIR=\""/opt/macports/share/locale"\" -D_REENTRANT -DORBIT2=1 -I/opt/macports/include/gnome-vfs-2.0 -I/opt/macports/lib/gnome-vfs-2.0/include -I/opt/macports/include/gconf/2 -I/opt/macports/include/orbit-2.0 -I/opt/macports/include/glib-2.0 -I/opt/macports/lib/glib-2.0/include -I/opt/macports/include -I/usr/include -I/opt/macports/include -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT camel.lo -MD -MP -MF .deps/camel.Tpo -c -o camel.lo camel.c

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I.. -I./.. -I../intl -DCAMEL_LIBEXECDIR=\"/opt/macports/libexec\" -DCAMEL_PROVIDERDIR=\"/opt/macports/lib/evolution-data-server-1.2/camel-providers\" -DG_LOG_DOMAIN=\"camel\" -DE_DATA_SERVER_PREFIX=\"/opt/macports\" -DEVOLUTION_LOCALEDIR=\"/opt/macports/share/locale\" -D_REENTRANT -DORBIT2=1 -I/opt/macports/include/gnome-vfs-2.0 -I/opt/macports/lib/gnome-vfs-2.0/include -I/opt/macports/include/gconf/2 -I/opt/macports/include/orbit-2.0 -I/opt/macports/include/glib-2.0 -I/opt/macports/lib/glib-2.0/include -I/opt/macports/include -I/usr/include -I/opt/macports/include -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT camel.lo -MD -MP -MF .deps/camel.Tpo -c camel.c -fno-common -DPIC -o .libs/camel.o

In file included from camel.h:31,

from camel.c:41:

../camel/camel-block-file.h:129: error: parse error before 'off_t' ../camel/camel-block-file.h:129: warning: no semicolon at end of struct or union make[3]: * [camel.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History (8)

comment:1 Changed 13 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

It appears as if the type off_t can not be found.
On Leopard, off_t is defined in stdio.h (which is included in offending camel-block-file.h).
I assume this is not the case on Tiger.
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.

comment:2 in reply to:  1 Changed 13 years ago by jwhowse4

Replying to marcuscalhounlopez@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_BookListenerinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookListenerinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookListenerinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookFactoryfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookFactoryfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookFactoryfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookFactoryinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookFactoryinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookFactoryinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookListenerfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookListenerfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookListenerfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewListenerfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewListenerinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_Bookfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_Bookfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_Bookfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_Bookinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_Bookinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_Bookinit /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.
On Leopard, off_t is defined in stdio.h (which is included in offending camel-block-file.h).
I assume this is not the case on Tiger.
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.

comment:3 Changed 13 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

This problem has apparently been perviously reported in #9162.
Let's try the same fix, r21695.

By the way, error output should be be specially formateed
(see http://guide.macports.org/#project.tickets.guidelines).

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
    }
}

platform darwin 8 i386 {
    configure.env-append MACOSX_DEPLOYMENT_TARGET="10.3"
}

comment:4 in reply to:  3 Changed 13 years ago by jwhowse4

Replying to marcuscalhounlopez@mac.com:

This pair of patches worked when building on my machine. Thank you very much for your help. All this just to upgrade gnome-panel, sigh.

This problem has apparently been perviously reported in #9162.
Let's try the same fix, r21695.

By the way, error output should be be specially formateed
(see http://guide.macports.org/#project.tickets.guidelines).

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
    }
}

platform darwin 8 i386 {
    configure.env-append MACOSX_DEPLOYMENT_TARGET="10.3"
}

comment:5 Changed 13 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: changed from macports-tickets@… to mcalhoun@…
Status: newassigned

comment:6 Changed 13 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

I committed the patch (r35940).
Can you confirm that it works on your machine?

comment:7 in reply to:  6 Changed 13 years ago by jwhowse4

Replying to mcalhoun@macports.org:

I committed the patch (r35940).
Can you confirm that it works on your machine?

The new portfile works on my machine.

comment:8 Changed 12 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

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