GNOME Bugzilla – Bug 641664
Empathy from git fails to build in jhbuild
Last modified: 2011-03-18 21:43:02 UTC
make[3]: Entering directory `/home/kmaraas/src/gnome/empathy/libempathy-gtk' GEN ../libempathy/empathy-marshal.h CC empathy-chat.lo In file included from empathy-chat.c:46:0: ../libempathy/empathy-marshal.h:2:12: warning: extra tokens at end of #ifndef directive [enabled by default] ../libempathy/empathy-marshal.h:3:12: warning: missing whitespace after the macro name [enabled by default] ../libempathy/empathy-marshal.h:10:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token ../libempathy/empathy-marshal.h:18:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token ../libempathy/empathy-marshal.h:26:10: warning: missing whitespace after the macro name [enabled by default] ../libempathy/empathy-marshal.h:26:0: warning: "_" redefined [enabled by default] /opt/gnome2/include/glib-2.0/glib/gi18n-lib.h:32:0: note: this is the location of the previous definition ../libempathy/empathy-marshal.h:29:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:37:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:45:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:53:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:61:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:69:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:77:10: warning: missing whitespace after the macro name [enabled by default] ../libempathy/empathy-marshal.h:77:0: warning: "_" redefined [enabled by default] ../libempathy/empathy-marshal.h:26:0: note: this is the location of the previous definition ../libempathy/empathy-marshal.h:80:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:88:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:96:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:104:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:112:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:120:13: error: expected identifier or '(' before '.' token ../libempathy/empathy-marshal.h:128:13: error: expected identifier or '(' before '.' token empathy-chat.c: In function 'chat_new_connection_cb': empathy-chat.c:278:16: warning: variable 'connection' set but not used [-Wunused-but-set-variable] empathy-chat.c: In function 'chat_command_topic': empathy-chat.c:697:4: error: expected expression before '.' token empathy-chat.c:703:4: error: expected expression before '.' token empathy-chat.c: In function 'chat_command_join': empathy-chat.c:728:18: warning: variable 'connection' set but not used [-Wunused-but-set-variable] empathy-chat.c: In function 'chat_command_show_help': empathy-chat.c:884:25: error: expected expression before '.' token empathy-chat.c: In function 'chat_command_help': empathy-chat.c:908:8: error: expected expression before '.' token empathy-chat.c:926:3: error: expected expression before '.' token empathy-chat.c:893:19: warning: variable 'priv' set but not used [-Wunused-but-set-variable] empathy-chat.c: In function 'chat_send': empathy-chat.c:1052:5: error: expected expression before '.' token empathy-chat.c: In function 'chat_input_text_view_send': empathy-chat.c:1066:19: warning: variable 'priv' set but not used [-Wunused-but-set-variable] empathy-chat.c: In function 'chat_send_error_cb': empathy-chat.c:1192:11: error: expected expression before '.' token empathy-chat.c:1195:11: error: expected expression before '.' token empathy-chat.c:1198:11: error: expected expression before '.' token empathy-chat.c:1201:11: error: expected expression before '.' token empathy-chat.c:1204:11: error: expected expression before '.' token empathy-chat.c:1208:11: error: expected expression before '.' token empathy-chat.c:1212:25: error: expected expression before '.' token empathy-chat.c:1187:15: warning: variable 'error' set but not used [-Wunused-but-set-variable] empathy-chat.c: In function 'chat_property_changed_cb': empathy-chat.c:1273:5: error: expected expression before '.' token empathy-chat.c:1285:28: error: expected expression before '.' token empathy-chat.c:1287:21: error: expected expression before '.' token empathy-chat.c: In function 'chat_spelling_build_menu': empathy-chat.c:1786:41: error: expected expression before '.' token empathy-chat.c: In function 'chat_spelling_build_add_to_dictionary_item': empathy-chat.c:1854:28: error: expected expression before '.' token empathy-chat.c:1891:28: error: expected expression before '.' token empathy-chat.c: In function 'chat_input_populate_popup_cb': empathy-chat.c:1950:48: error: expected expression before '.' token empathy-chat.c:1968:43: error: expected expression before '.' token empathy-chat.c:2003:49: error: expected expression before '.' token empathy-chat.c:1927:24: warning: variable 'priv' set but not used [-Wunused-but-set-variable] empathy-chat.c: In function 'got_filtered_messages_cb': empathy-chat.c:2092:4: error: expected expression before '.' token empathy-chat.c: In function 'build_part_message': empathy-chat.c:2198:30: error: expected expression before '.' token empathy-chat.c:2205:31: error: expected expression before '.' token empathy-chat.c:2208:31: error: expected expression before '.' token empathy-chat.c:2216:31: error: expected expression before '.' token empathy-chat.c:2219:31: error: expected expression before '.' token empathy-chat.c:2223:30: error: expected expression before '.' token empathy-chat.c:2232:30: error: expected expression before '.' token empathy-chat.c: In function 'chat_members_changed_cb': empathy-chat.c:2257:26: error: expected expression before '.' token empathy-chat.c: In function 'chat_member_renamed_cb': empathy-chat.c:2282:26: error: expected expression before '.' token empathy-chat.c: In function 'chat_destroy_cb': empathy-chat.c:2421:46: error: expected expression before '.' token empathy-chat.c: In function 'empathy_chat_class_init': empathy-chat.c:2872:10: error: '_empathy_marshal_VOID__OBJECT_BOOLEAN' undeclared (first use in this function) empathy-chat.c:2872:10: note: each undeclared identifier is reported only once for each function it appears in empathy-chat.c: In function 'chat_prompt_to_save_password': empathy-chat.c:3048:25: error: expected expression before '.' token empathy-chat.c:3054:38: error: expected expression before '.' token empathy-chat.c:3064:38: error: expected expression before '.' token empathy-chat.c: In function 'provide_password_cb': empathy-chat.c:3108:8: error: expected expression before '.' token empathy-chat.c:3112:8: error: expected expression before '.' token empathy-chat.c: In function 'display_password_info_bar': empathy-chat.c:3229:25: error: expected expression before '.' token empathy-chat.c:3256:38: error: expected expression before '.' token empathy-chat.c: In function 'empathy_chat_set_tp_chat': empathy-chat.c:3426:48: error: expected expression before '.' token empathy-chat.c: In function 'empathy_chat_get_name': empathy-chat.c:3479:21: error: expected expression before '.' token empathy-chat.c:3480:1: warning: control reaches end of non-void function [-Wreturn-type] make[3]: *** [empathy-chat.lo] Error 1 make[3]: Leaving directory `/home/kmaraas/src/gnome/empathy/libempathy-gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/kmaraas/src/gnome/empathy/libempathy-gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kmaraas/src/gnome/empathy' make: *** [all] Error 2 *** Error during phase build of empathy: ########## Error running make *** [1/1]
Looks like it first builds libempathy, libempathy-gtk and src then it goes back and generates empathy-marshal.h again from the libempathy-gtk dir which again adds ..libempathy/ to all function names etc in the header...
Is that a clean build? Can you try running "git clean -fxd" before?
I've gotten this a couple of times. `rm empathy-marshal.h` fixes it. Not had time to debug it.
[Removing GNOME3.0 target as decided in release-team meeting on March 03, 2011. Workaround & NEEDINFO state.]
I believe this is fixed by commit 6fc411c2e7a53eafe132c67c7ce430df665e5493 Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> Date: Fri Mar 18 21:00:21 2011 +0000 Use the right marshal file Please reopen if this still happens.