Compilation error in building git master code



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 ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]