Build failure after today's gtk3 git updates

Brian Morrison <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.general
Organization The Fool and Bladder Face-Jumping Team
Message-ID <[email protected]>
My compiler has become unhappy:

gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"Claws-Mail\"
-DLOCALEDIR=\""/usr/share/locale"\"
-DPIXMAP_DIR=\""/usr/share/icons/hicolor/48x48/apps"\"
-DMANUALDIR=\""/usr/share/doc/claws-mail/manual"\"
-DTARGET_ALIAS=\""x86_64-redhat-linux-gnu"\" -DSYSCONFDIR=\""/etc"\"
-DDATAROOTDIR=\""/usr/share"\" -I./common -Icommon -I./gtk -I./etpan
-I/usr/include/enchant -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread
-I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4
-I/usr/include/harfbuzz -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/at-spi-2.0 -pthread  -DGTK_DISABLE_SINGLE_INCLUDES
-DGSEAL_ENABLE -I/usr/include/p11-kit-1
-I/usr/include/startup-notification-1.0  -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread
-I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4
-I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/harfbuzz -I/usr/include/libxml2 -pthread
-I/usr/include/libnm -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4
-I/usr/include/libmount -I/usr/include/blkid -pthread
-I/usr/include/valgrind    -Wall -Wno-pointer-sign -O2 -flto=auto
-ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-c -o alertpanel.o alertpanel.c addressadd.c: In function
'addressadd_create': addressadd.c:270:9: warning:
'gtk_tree_view_set_rules_hint' is deprecated
[-Wdeprecated-declarations] 270 |
gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree_folder),
prefs_common.use_stripes_everywhere); |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from
/usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from
/usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from
/usr/include/gtk-3.0/gtk/gtk.h:42, from addressadd.c:33:
/usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246
| void                   gtk_tree_view_set_rules_hint                (GtkTreeView               *tree_view, |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ addressadd.c: In function 'addressadd_selection': addressadd.c:600:63: error: request for member 'dcgettext' in something not a structure or union 600 |                                                 "window-close". _("_Close"), NULL, NULL, |                                                               ^ addressadd.c:598:41: error: too few arguments to function 'alertpanel' 598 |                                         alertpanel( _("Add address(es)"), |                                         ^~~~~~~~~~ In file included from addressadd.c:50: alertpanel.h:66:12: note: declared here 66 | AlertValue alertpanel   (const gchar    *t
 itle, |            ^~~~~~~~~~ make[4]: *** [Makefile:1606: addressadd.o] Error 1 make[4]: *** Waiting for unfinished jobs.... addr_compl.c: In function 'init_all': addr_compl.c:255:9: warning:
 'g_completion_new' is deprecated [-Wdeprecated-declarations] 255 |
     g_completion = g_completion_new(completion_func); |
 ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:109,
 from ./common/defs.h:26, from addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:58:14: note:
 declared here 58 | GCompletion* g_completion_new
 (GCompletionFunc func); |              ^~~~~~~~~~~~~~~~ addr_compl.c:
 In function 'set_match_any_part': addr_compl.c:265:17: warning:
 'g_completion_set_compare' is deprecated [-Wdeprecated-declarations]
 265 |                 g_completion_set_compare(g_completion,
 addr_completion_func); |                 ^~~~~~~~~~~~~~~~~~~~~~~~ In
 file included from /usr/include/glib-2.0/glib.h:109, from
 ./common/defs.h:26, from addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:76:14: note:
 declared here 76 | void         g_completion_set_compare
 (GCompletion *cmp, |              ^~~~~~~~~~~~~~~~~~~~~~~~
 addr_compl.c:267:17: warning: 'g_completion_set_compare' is deprecated
 [-Wdeprecated-declarations] 267 |
 g_completion_set_compare(g_completion, strncmp); |
 ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from
 /usr/include/glib-2.0/glib.h:109, from ./common/defs.h:26, from
 addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:76:14: note:
 declared here 76 | void         g_completion_set_compare
 (GCompletion *cmp, |              ^~~~~~~~~~~~~~~~~~~~~~~~
 addr_compl.c: In function 'free_completion_list': addr_compl.c:299:17:
 warning: 'g_completion_clear_items' is deprecated
 [-Wdeprecated-declarations] 299 |
 g_completion_clear_items(g_completion); | ^~~~~~~~~~~~~~~~~~~~~~~~ In
 file included from /usr/include/glib-2.0/glib.h:109, from
 ./common/defs.h:26, from addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:66:14: note:
 declared here 66 | void         g_completion_clear_items (GCompletion*
    cmp); |              ^~~~~~~~~~~~~~~~~~~~~~~~ addr_compl.c: In
 function 'free_all': addr_compl.c:317:9: warning: 'g_completion_free'
 is deprecated [-Wdeprecated-declarations] 317 |
 g_completion_free(g_completion); |         ^~~~~~~~~~~~~~~~~ In file
 included from /usr/include/glib-2.0/glib.h:109, from
 ./common/defs.h:26, from addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:79:14: note:
 declared here 79 | void         g_completion_free (GCompletion*
 cmp); |              ^~~~~~~~~~~~~~~~~ addr_compl.c: In function
 'read_address_book': addr_compl.c:409:17: warning:
 'g_completion_add_items' is deprecated [-Wdeprecated-declarations] 409
 | g_completion_add_items(g_completion, g_completion_list); |
 ^~~~~~~~~~~~~~~~~~~~~~ In file included from
 /usr/include/glib-2.0/glib.h:109, from ./common/defs.h:26, from
 addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:60:14: note:
 declared here 60 | void         g_completion_add_items (GCompletion*
  cmp, |              ^~~~~~~~~~~~~~~~~~~~~~ addr_compl.c: In function
 'complete_address': addr_compl.c:616:9: warning:
 'g_completion_complete' is deprecated [-Wdeprecated-declarations] 616
 |         result = g_completion_complete(g_completion, d, NULL); |
     ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:109,
 from ./common/defs.h:26, from addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:68:14: note:
 declared here 68 | GList*       g_completion_complete (GCompletion*
 cmp, |              ^~~~~~~~~~~~~~~~~~~~~ addr_compl.c: In function
 'complete_matches_found': addr_compl.c:669:9: warning:
 'g_completion_complete' is deprecated [-Wdeprecated-declarations] 669
 |         result = g_completion_complete(g_completion, d, NULL); |
     ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:109,
 from ./common/defs.h:26, from addr_compl.c:25:
 /usr/include/glib-2.0/glib/deprecated/gcompletion.h:68:14: note:
 declared here 68 | GList*       g_completion_complete (GCompletion*
 cmp, |              ^~~~~~~~~~~~~~~~~~~~~ addr_compl.c: In function
 'addr_compl_list_view_create': addr_compl.c:1763:9: warning:
 'gtk_tree_view_set_rules_hint' is deprecated
 [-Wdeprecated-declarations] 1763 |
 gtk_tree_view_set_rules_hint(list_view,
 prefs_common.use_stripes_everywhere); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from
 /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from
 /usr/include/gtk-3.0/gtk/gtk.h:42, from addr_compl.c:30:
 /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246
| void                   gtk_tree_view_set_rules_hint                (GtkTreeView               *tree_view, |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
action.c: In function 'action_update_menu':
action.c:562:33: warning: 'gtk_ui_manager_get_accel_group' is
deprecated [-Wdeprecated-declarations] 562 |
     gtk_ui_manager_get_accel_group(ui_manager)); |
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from
/usr/include/gtk-3.0/gtk/gtk.h:284, from action.c:28:
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:147:16: note:
declared here 147 | GtkAccelGroup *gtk_ui_manager_get_accel_group
(GtkUIManager          *manager); |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ action.c:579:9: warning:
'gtk_ui_manager_get_widget' is deprecated [-Wdeprecated-declarations]
579 |
gtk_menu_item_set_submenu(GTK_MENU_ITEM(gtk_ui_manager_get_widget(ui_manager,
branch_path)), menu); |         ^~~~~~~~~~~~~~~~~~~~~~~~~ In file
included from /usr/include/gtk-3.0/gtk/gtk.h:284, from action.c:28:
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note:
declared here 149 | GtkWidget     *gtk_ui_manager_get_widget
(GtkUIManager          *manager, |
^~~~~~~~~~~~~~~~~~~~~~~~~ action.c: In function 'create_io_dialog':
action.c:1345:25: warning: 'gtk_widget_override_font' is deprecated
[-Wdeprecated-declarations] 1345 |
gtk_widget_override_font(text, font_desc); |
^~~~~~~~~~~~~~~~~~~~~~~~ In file included from
/usr/include/gtk-3.0/gtk/gtkapplication.h:27, from
/usr/include/gtk-3.0/gtk/gtkwindow.h:33, from
/usr/include/gtk-3.0/gtk/gtkdialog.h:32, from
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from
/usr/include/gtk-3.0/gtk/gtk.h:31, from action.c:28:
/usr/include/gtk-3.0/gtk/gtkwidget.h:1153:14: note: declared here 1153
| void         gtk_widget_override_font             (GtkWidget                  *widget, |              ^~~~~~~~~~~~~~~~~~~~~~~~
account.c: In function 'account_list_view_create':
account.c:1578:9: warning: 'gtk_tree_view_set_rules_hint' is deprecated
[-Wdeprecated-declarations] 1578 |
gtk_tree_view_set_rules_hint(list_view,
prefs_common.use_stripes_everywhere); |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from
/usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from
/usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from
/usr/include/gtk-3.0/gtk/gtk.h:42, from account.c:29:
/usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246
| void                   gtk_tree_view_set_rules_hint                (GtkTreeView               *tree_view, |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
alertpanel.c: In function 'alertpanel_create':
alertpanel.c:338:25: warning: 'gtk_widget_get_style' is deprecated: Use
'gtk_widget_get_style_context' instead [-Wdeprecated-declarations] 338
|                         (gtk_widget_get_style(label)->font_desc); |                         ^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:277,
                 from alertpanel.c:28:
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:742:13: note: declared
here 742 | GtkStyle *  gtk_widget_get_style          (GtkWidget
   *widget); |             ^~~~~~~~~~~~~~~~~~~~
alertpanel.c:346:17: warning: 'gtk_widget_override_font' is deprecated
[-Wdeprecated-declarations] 346 |
gtk_widget_override_font(label, font_desc); |
^~~~~~~~~~~~~~~~~~~~~~~~ In file included from
/usr/include/gtk-3.0/gtk/gtkapplication.h:27, from
/usr/include/gtk-3.0/gtk/gtkwindow.h:33, from
/usr/include/gtk-3.0/gtk/gtkdialog.h:32, from
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from
/usr/include/gtk-3.0/gtk/gtk.h:31, from alertpanel.c:28:
/usr/include/gtk-3.0/gtk/gtkwidget.h:1153:14: note: declared here
 1153 | void         gtk_widget_override_font             (GtkWidget
              *widget, |              ^~~~~~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory
'/home/bdm/rpmbuild/BUILD/claws-mail-4.0.0git408/src' make[3]: ***
[Makefile:1662: all-recursive] Error 1 make[3]: Leaving directory
'/home/bdm/rpmbuild/BUILD/claws-mail-4.0.0git408/src' make[2]: ***
[Makefile:1341: all] Error 2 make[2]: Leaving directory
'/home/bdm/rpmbuild/BUILD/claws-mail-4.0.0git408/src' make[1]: ***
[Makefile:795: all-recursive] Error 1 make[1]: Leaving directory
'/home/bdm/rpmbuild/BUILD/claws-mail-4.0.0git408' make: ***
[Makefile:569: all] Error 2

I'm assuming this is due to Paul's changes in git404-git408.

HTH

-- 

Brian Morrison

                "I am not young enough to know everything"
                                                          Oscar Wilde
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.