Opened 14 years ago

Closed 14 years ago

#26244 closed defect (fixed)

Error upgrading evolution-data-server

Reported by: mf2k (Frank Schima) Owned by: jim@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: dbevans (David B. Evans)
Port: evolution-data-server

Description

I'm seeing the following error when i attempt to update evolution-data-server.

Mac OS X 10.6.4. Xcode 3.2.3. I'm attaching the log too.

In file included from camel-sasl-gssapi.c:40:
/opt/local/include/et/com_err.h:24: error: redefinition of 'struct error_table'
/opt/local/include/et/com_err.h:32: warning: redundant redeclaration of 'com_err'
/usr/include/com_err.h:79: warning: previous declaration of 'com_err' was here
/opt/local/include/et/com_err.h:36: warning: redundant redeclaration of 'com_err_va'
/usr/include/com_err.h:80: warning: previous declaration of 'com_err_va' was here
/opt/local/include/et/com_err.h:38: warning: redundant redeclaration of 'error_message'
/usr/include/com_err.h:82: warning: previous declaration of 'error_message' was here
/opt/local/include/et/com_err.h:42: warning: redundant redeclaration of 'set_com_err_hook'
/usr/include/com_err.h:85: warning: previous declaration of 'set_com_err_hook' was here
/opt/local/include/et/com_err.h:44: warning: redundant redeclaration of 'reset_com_err_hook'
/usr/include/com_err.h:86: warning: previous declaration of 'reset_com_err_hook' was here
/opt/local/include/et/com_err.h:47: warning: redundant redeclaration of 'add_error_table'
/usr/include/com_err.h:88: warning: previous declaration of 'add_error_table' was here
/opt/local/include/et/com_err.h:48: warning: redundant redeclaration of 'remove_error_table'
/usr/include/com_err.h:89: warning: previous declaration of 'remove_error_table' was here
  CC     libcamel_provider_1_2_la-camel-sasl-popb4smtp.lo
  CC     libcamel_provider_1_2_la-camel-sasl.lo
make[4]: *** [libcamel_provider_1_2_la-camel-sasl-gssapi.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evolution-data-server/work/evolution-data-server-2.30.3" && /usr/bin/make -j8 all " returned error 2
Error: Target org.macports.build returned: shell command failed

Attachments (1)

main.log (40.7 KB) - added by mf2k (Frank Schima) 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: devans@… added

comment:2 Changed 14 years ago by dbevans (David B. Evans)

The relevant include lines are

#ifdef HAVE_ET_COM_ERR_H
#include <et/com_err.h>
#else
#ifdef HAVE_COM_ERR_H
#include <com_err.h>
#endif

On my system (same as yours)

/opt/local/include/et/com_err.h

does not exist and on configure the relevant defines get set as follows in config.h

/* Have <com_err.h> */
#define HAVE_COM_ERR_H 1

/* Have <et/com_err.h> */
/* #undef HAVE_ET_COM_ERR_H */

so I don't see your problem. Looks like you have a port installed that I don't that is interfering.

What does

port provides /opt/local/include/et/com_err.h

say ?

comment:3 Changed 14 years ago by mf2k (Frank Schima)

$ port provides /opt/local/include/et/com_err.h
/opt/local/include/et/com_err.h is provided by: e2fsprogs

Indeed, deactivating e2fsprogs, cleaning and upgrading and then reactivating works. Thanks for the workaround!

comment:4 Changed 14 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Fixed in r70931 by disabling the configuration check for <et/com_err.h> which allows the port to build even if e2fsprogs is installed. The build then relies on <com_err.h> which is found at /usr/include/com_err.h.

Note: See TracTickets for help on using tickets.