Hi, Try applying the patch from this bug report: https://bugzilla.gnome.org/show_bug.cgi?id=723000 gnome-contacts builds fine for me with that patch applied, using git master of gnome-contacts and Vala (specifically, version 0.23.1.38-994dd). Philip On Thu, 2014-01-30 at 03:21 +0530, Saurabh Patel wrote:
Some context to the problem. It might help you. I'm using vala 0.23.1.38-994dd and ubuntu 13.10 Moduleset in my jhbuildrc file is set to 3.12 On Thu, Jan 30, 2014 at 2:22 AM, Saurabh Patel <srp201201051 gmail com> wrote: This is the log of building gnome-contacts using jhbuild: *** Building gnome-contacts *** [1/1] make -j 5 make all-recursive make[1]: Entering directory `/home/saurabh/gnome/source/gnome-contacts' Making all in libgd make[2]: Entering directory `/home/saurabh/gnome/source/gnome-contacts/libgd' CC gd-types-catalog.lo CC gd-entry-focus-hack.lo CC gd-icon-utils.lo CC gd-main-toolbar.lo CC gd-header-button.lo CC gd-notification.lo libgd/gd-main-toolbar.c: In function 'gd_main_toolbar_constructed': libgd/gd-main-toolbar.c:179:3: warning: 'gtk_widget_set_margin_right' is deprecated (declared at /home/saurabh/gnome/install/include/gtk-3.0/gtk/gtkwidget.h:1089): Use 'gtk_widget_set_margin_end' instead [-Wdeprecated-declarations] gtk_widget_set_margin_right (GTK_WIDGET (self->priv->left_group), 12); ^ libgd/gd-main-toolbar.c:225:3: warning: 'gtk_widget_set_margin_left' is deprecated (declared at /home/saurabh/gnome/install/include/gtk-3.0/gtk/gtkwidget.h:1084): Use 'gtk_widget_set_margin_start' instead [-Wdeprecated-declarations] gtk_widget_set_margin_left (GTK_WIDGET (self->priv->right_group), 12); ^ CCLD libgd.la GISCAN Gd-1.0.gir GEN gd-1.0.vapi Generation succeeded - 0 warning(s) make[2]: Leaving directory `/home/saurabh/gnome/source/gnome-contacts/libgd' Making all in src make[2]: Entering directory `/home/saurabh/gnome/source/gnome-contacts/src' Makefile:790: warning: overriding commands for target `contacts-contact.c' Makefile:686: warning: ignoring old commands for target `contacts-contact.c' Makefile:800: warning: overriding commands for target `contacts-store.c' Makefile:731: warning: ignoring old commands for target `contacts-store.c' Makefile:805: warning: overriding commands for target `contacts-types.c' Makefile:706: warning: ignoring old commands for target `contacts-types.c' Makefile:810: warning: overriding commands for target `contacts-utils.c' Makefile:741: warning: ignoring old commands for target `contacts-utils.c' CC um-crop-area.o GEN contact-resources.c CC contacts-esd-setup.o VALAC gnome_contacts_vala.stamp VALAC gnome_contacts_search_provider_vala.stamp CC cheese-flash.o cheese-flash.c: In function ‘cheese_flash_opacity_fade’: cheese-flash.c:208:3: warning: ‘gtk_window_get_opacity’ is deprecated (declared at /home/saurabh/gnome/install/include/gtk-3.0/gtk/gtkwindow.h:177): Use 'gtk_widget_get_opacity' instead [-Wdeprecated-declarations] gdouble opacity = gtk_window_get_opacity (flash_window); ^ cheese-flash.c:211:3: warning: ‘gtk_window_set_opacity’ is deprecated (declared at /home/saurabh/gnome/install/include/gtk-3.0/gtk/gtkwindow.h:174): Use 'gtk_widget_set_opacity' instead [-Wdeprecated-declarations] gtk_window_set_opacity (flash_window, opacity * FLASH_FADE_FACTOR); ^ cheese-flash.c: In function ‘cheese_flash_fire’: cheese-flash.c:291:3: warning: ‘gtk_window_set_opacity’ is deprecated (declared at /home/saurabh/gnome/install/include/gtk-3.0/gtk/gtkwindow.h:174): Use 'gtk_widget_set_opacity' instead [-Wdeprecated-declarations] gtk_window_set_opacity (flash_window, 1); ^ ITMRG org.gnome.Contacts.gschema.xml CC contact-resources.o contacts-contact.vala:1014.10-1014.62: warning: regular expression literals are experimental if (/https?:\/\/www.facebook.com\/profile\.php \?id=[0-9]+$/.match(uri) || ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-contact.vala:1015.3-1015.45: warning: regular expression literals are experimental /https?:\/\/www.facebook.com\/[a-zA-Z0-9.]+$/.match(uri)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-contact.vala:1018.10-1018.50: warning: regular expression literals are experimental if (/https?:\/\/twitter.com\/#! \/[a-zA-Z0-9]+$/.match(uri)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-contact.vala:1021.10-1021.53: warning: regular expression literals are experimental if (/https?:\/\/www.google.com\/profiles \/[0-9]+$/.match(uri)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-contact.vala:1249.7-1249.50: warning: regular expression literals are experimental if (/https?:\/\/www.google.com\/profiles \/[0-9]+$/.match(url.value)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-store.vala:331.31-331.64: warning: TelepathyGLib.AccountManager.get_valid_accounts is deprecated contacts-store.vala:331.31-331.64: warning: TelepathyGLib.AccountManager.get_valid_accounts is deprecated contacts-contact.vala:1014.10-1014.62: warning: regular expression literals are experimental if (/https?:\/\/www.facebook.com\/profile\.php \?id=[0-9]+$/.match(uri) || ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-contact.vala:1015.3-1015.45: warning: regular expression literals are experimental /https?:\/\/www.facebook.com\/[a-zA-Z0-9.]+$/.match(uri)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-view.vala:268.3-268.35: error: overriding method `Contacts.View.row_selected' is incompatible with base method `Gtk.ListBox.row_selected': incompatible type of parameter 1. contacts-contact.vala:1018.10-1018.50: warning: regular expression literals are experimental if (/https?:\/\/twitter.com\/#! \/[a-zA-Z0-9]+$/.match(uri)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ public override void row_selected (ListBoxRow row) { ^ ^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ contacts-contact.vala:1021.10-1021.53: warning: regular expression literals are experimental if (/https?:\/\/www.google.com\/profiles \/[0-9]+$/.match(uri)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-view.vala:268.3-268.35: error: Contacts.View.row_selected: no suitable method found to override public override void row_selected (ListBoxRow row) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ contacts-contact.vala:1249.7-1249.50: warning: regular expression literals are experimental if (/https?:\/\/www.google.com\/profiles \/[0-9]+$/.match(url.value)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 2 error(s), 6 warning(s) make[2]: *** [gnome_contacts_vala.stamp] Error 1 make[2]: *** Waiting for unfinished jobs.... Compilation succeeded - 6 warning(s) make[2]: Leaving directory `/home/saurabh/gnome/source/gnome-contacts/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/saurabh/gnome/source/gnome-contacts' make: *** [all] Error 2 *** Error during phase build of gnome-contacts: ########## Error running make -j 5 *** [1/1] I've not modified the code. I'm just trying git master code and it is giving some compilation errors. What should I do ? _______________________________________________ gnome-contacts-list mailing list gnome-contacts-list gnome org https://mail.gnome.org/mailman/listinfo/gnome-contacts-list
Attachment:
signature.asc
Description: This is a digitally signed message part