Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0: build fails end compile time warnings #1303

Open
kloczek opened this issue Jan 20, 2024 · 10 comments
Open

2.0.0: build fails end compile time warnings #1303

kloczek opened this issue Jan 20, 2024 · 10 comments

Comments

@kloczek
Copy link

kloczek commented Jan 20, 2024

Looks like latest version build fails
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanylua/examples'
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanylua/examples'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanylua'
  CC       libgeanylua_la-glspi_app.lo
glspi_app.c:531:30: error: array type has incomplete element type 'struct luaL_reg'
  531 | static const struct luaL_reg glspi_app_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
glspi_app.c: In function 'glspi_init_app_funcs':
glspi_app.c:552:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  552 |         luaL_register(L, NULL,glspi_app_funcs);
      |         ^~~~~~~~~~~~~
      |         lua_register
glspi_app.c: At top level:
glspi_app.c:531:30: warning: 'glspi_app_funcs' defined but not used [-Wunused-variable]
  531 | static const struct luaL_reg glspi_app_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:805: libgeanylua_la-glspi_app.lo] Error 1
  CC       libgeanylua_la-glspi_dlg.lo
glspi_dlg.c: In function 'glspi_choose':
glspi_dlg.c:131:11: error: implicit declaration of function 'lua_objlen'; did you mean 'lua_len'? [-Wimplicit-function-declaration]
  131 |         n=lua_objlen(L,2);
      |           ^~~~~~~~~~
      |           lua_len
glspi_dlg.c:148:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  148 |                         GTK_STOCK_OK, GTK_RESPONSE_OK);
      |                         ^~~~~~~~~~~~
glspi_dlg.c:150:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  150 |                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
      |                         ^~~~~~~~~~~~~~~~
glspi_dlg.c:155:9: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations]
  155 |         gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree), TRUE);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 /usr/include/geany/gtkcompat.h:30,
                 from /usr/include/geany/editor.h:27,
                 from /usr/include/geany/document.h:31,
                 from /usr/include/geany/build.h:26,
                 from /usr/include/geany/geanyplugin.h:36,
                 from glspi.h:19,
                 from glspi_dlg.c:12:
/usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
  246 | void                   gtk_tree_view_set_rules_hint                (GtkTreeView               *tree_view,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
glspi_dlg.c: In function 'glspi_confirm':
glspi_dlg.c:247:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  247 |                 GTK_STOCK_YES, GTK_RESPONSE_YES);
      |                 ^~~~~~~~~~~~~
glspi_dlg.c:249:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  249 |                 GTK_STOCK_NO, GTK_RESPONSE_NO);
      |                 ^~~~~~~~~~~~
glspi_dlg.c:254:9: warning: 'gtk_dialog_set_alternative_button_order' is deprecated [-Wdeprecated-declarations]
  254 |         gtk_dialog_set_alternative_button_order(GTK_DIALOG(dialog),
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31:
/usr/include/gtk-3.0/gtk/gtkdialog.h:185:10: note: declared here
  185 | void     gtk_dialog_set_alternative_button_order (GtkDialog *dialog,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glspi_dlg.c: In function 'glspi_input':
glspi_dlg.c:291:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  291 |                         GTK_STOCK_OK, GTK_RESPONSE_OK);
      |                         ^~~~~~~~~~~~
glspi_dlg.c:293:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  293 |                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
      |                         ^~~~~~~~~~~~~~~~
glspi_dlg.c: In function 'file_dlg':
glspi_dlg.c:412:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  412 |                                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |                                         ^~~~~~~~~~~~~~~~
glspi_dlg.c:413:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  413 |                                         GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,    NULL);
      |                                         ^~~~~~~~~~~~~~
glspi_dlg.c:422:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  422 |                                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |                                         ^~~~~~~~~~~~~~~~
glspi_dlg.c:423:41: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  423 |                                         GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,    NULL);
      |                                         ^~~~~~~~~~~~~~
glspi_dlg.c: At top level:
glspi_dlg.c:543:30: error: array type has incomplete element type 'struct luaL_reg'
  543 | static const struct luaL_reg glspi_dlg_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
glspi_dlg.c: In function 'glspi_init_dlg_funcs':
glspi_dlg.c:557:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  557 |         luaL_register(L, NULL,glspi_dlg_funcs);
      |         ^~~~~~~~~~~~~
      |         lua_register
glspi_dlg.c: At top level:
glspi_dlg.c:543:30: warning: 'glspi_dlg_funcs' defined but not used [-Wunused-variable]
  543 | static const struct luaL_reg glspi_dlg_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:812: libgeanylua_la-glspi_dlg.lo] Error 1
  CC       libgeanylua_la-glspi_doc.lo
glspi_doc.c:362:30: error: array type has incomplete element type 'struct luaL_reg'
  362 | static const struct luaL_reg glspi_doc_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
glspi_doc.c: In function 'glspi_init_doc_funcs':
glspi_doc.c:377:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  377 |         luaL_register(L, NULL,glspi_doc_funcs);
      |         ^~~~~~~~~~~~~
      |         lua_register
glspi_doc.c: At top level:
glspi_doc.c:362:30: warning: 'glspi_doc_funcs' defined but not used [-Wunused-variable]
  362 | static const struct luaL_reg glspi_doc_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:819: libgeanylua_la-glspi_doc.lo] Error 1
  CC       libgeanylua_la-glspi_init.lo
glspi_init.c:542:30: error: array type has incomplete element type 'struct luaL_reg'
  542 | static const struct luaL_reg glspi_mnu_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
glspi_init.c: In function 'glspi_init_mnu_funcs':
glspi_init.c:549:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  549 |         luaL_register(L, NULL,glspi_mnu_funcs);
      |         ^~~~~~~~~~~~~
      |         lua_register
glspi_init.c: At top level:
glspi_init.c:542:30: warning: 'glspi_mnu_funcs' defined but not used [-Wunused-variable]
  542 | static const struct luaL_reg glspi_mnu_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:826: libgeanylua_la-glspi_init.lo] Error 1
  CC       libgeanylua_la-glspi_kfile.lo
glspi_kfile.c:373:30: error: array type has incomplete element type 'struct luaL_reg'
  373 | static const struct luaL_reg kfile_funcs[] = {
      |                              ^~~~~~~~~~~
glspi_kfile.c: In function 'luaopen_keyfile':
glspi_kfile.c:398:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  398 |         luaL_register(L, NULL, &kfile_funcs[1]);
      |         ^~~~~~~~~~~~~
      |         lua_register
glspi_kfile.c: At top level:
glspi_kfile.c:373:30: warning: 'kfile_funcs' defined but not used [-Wunused-variable]
  373 | static const struct luaL_reg kfile_funcs[] = {
      |                              ^~~~~~~~~~~
make[3]: *** [Makefile:833: libgeanylua_la-glspi_kfile.lo] Error 1
  CC       libgeanylua_la-glspi_run.lo
glspi_run.c: In function 'repaint_scintilla':
glspi_run.c:27:17: warning: 'gdk_window_process_updates' is deprecated [-Wdeprecated-declarations]
   27 |                 gdk_window_process_updates(gtk_widget_get_window(GTK_WIDGET(doc->editor->sci)), TRUE);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from /usr/include/geany/gtkcompat.h:30,
                 from /usr/include/geany/editor.h:27,
                 from /usr/include/geany/document.h:31,
                 from /usr/include/geany/build.h:26,
                 from /usr/include/geany/geanyplugin.h:36,
                 from glspi.h:19,
                 from glspi_run.c:8:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1069:12: note: declared here
 1069 | void       gdk_window_process_updates     (GdkWindow    *window,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
glspi_run.c: In function 'glspi_show_question':
glspi_run.c:44:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
   44 |                 GTK_STOCK_YES, GTK_RESPONSE_YES);
      |                 ^~~~~~~~~~~~~
glspi_run.c:46:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
   46 |                 GTK_STOCK_NO, GTK_RESPONSE_NO);
      |                 ^~~~~~~~~~~~
glspi_run.c: In function 'glspi_script_error':
glspi_run.c:99:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
   99 |                 gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
      |                 ^~~~~~~~~~~~~~~~~~~~~
glspi_run.c:100:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  100 |                 open_btn=gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT);
      |                 ^~~~~~~~
glspi_run.c: In function 'debug_hook':
glspi_run.c:213:25: warning: 'gdk_window_process_updates' is deprecated [-Wdeprecated-declarations]
  213 |                         gdk_window_process_updates(gtk_widget_get_window(main_widgets->window), TRUE);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gdk/gdkwindow.h:1069:12: note: declared here
 1069 | void       gdk_window_process_updates     (GdkWindow    *window,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
glspi_run.c: At top level:
glspi_run.c:282:30: error: array type has incomplete element type 'struct luaL_reg'
  282 | static const struct luaL_reg glspi_timer_funcs[] = {
      |                              ^~~~~~~~~~~~~~~~~
glspi_run.c: In function 'glspi_traceback':
glspi_run.c:296:25: error: 'LUA_GLOBALSINDEX' undeclared (first use in this function)
  296 |         lua_getfield(L, LUA_GLOBALSINDEX, "debug");
      |                         ^~~~~~~~~~~~~~~~
glspi_run.c:296:25: note: each undeclared identifier is reported only once for each function it appears in
glspi_run.c: In function 'glspi_init_module':
glspi_run.c:396:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  396 |         luaL_register(L, LUA_MODULE_NAME, glspi_timer_funcs);
      |         ^~~~~~~~~~~~~
      |         lua_register
glspi_run.c: At top level:
glspi_run.c:282:30: warning: 'glspi_timer_funcs' defined but not used [-Wunused-variable]
  282 | static const struct luaL_reg glspi_timer_funcs[] = {
      |                              ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:840: libgeanylua_la-glspi_run.lo] Error 1
  CC       libgeanylua_la-glspi_sci.lo
glspi_sci.c: In function 'glspi_find':
glspi_sci.c:908:11: error: implicit declaration of function 'lua_objlen'; did you mean 'lua_len'? [-Wimplicit-function-declaration]
  908 |         n=lua_objlen(L,4);
      |           ^~~~~~~~~~
      |           lua_len
glspi_sci.c: At top level:
glspi_sci.c:975:30: error: array type has incomplete element type 'struct luaL_reg'
  975 | static const struct luaL_reg glspi_sci_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
glspi_sci.c: In function 'glspi_init_sci_funcs':
glspi_sci.c:998:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  998 |         luaL_register(L, NULL,glspi_sci_funcs);
      |         ^~~~~~~~~~~~~
      |         lua_register
glspi_sci.c: At top level:
glspi_sci.c:975:30: warning: 'glspi_sci_funcs' defined but not used [-Wunused-variable]
  975 | static const struct luaL_reg glspi_sci_funcs[] = {
      |                              ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:847: libgeanylua_la-glspi_sci.lo] Error 1
  CC       libgeanylua_la-gsdlg_lua.lo
In file included from gsdlg.h:84,
                 from gsdlg_lua.c:40:
gsdlg.c: In function 'gsdlg_textarea':
gsdlg.c:63:9: warning: 'gdk_screen_get_width' is deprecated [-Wdeprecated-declarations]
   63 |         gtk_widget_set_size_request(sw, gdk_screen_get_width(gdk_screen_get_default())/3,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from gsdlg.h:42:
/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
   58 | gint         gdk_screen_get_width             (GdkScreen   *screen);
      |              ^~~~~~~~~~~~~~~~~~~~
gsdlg.c:64:17: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations]
   64 |                 gdk_screen_get_height(gdk_screen_get_default())/10);
      |                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
   60 | gint         gdk_screen_get_height            (GdkScreen   *screen);
      |              ^~~~~~~~~~~~~~~~~~~~~
gsdlg.c: In function 'file_btn_clicked':
gsdlg.c:102:33: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  102 |                                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |                                 ^~~~~~~~~~~~~~~~
gsdlg.c:103:33: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  103 |                                 GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,    NULL);
      |                                 ^~~~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_file':
gsdlg.c:153:9: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  153 |         hbox=gtk_hbox_new(FALSE,FALSE);
      |         ^~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:262:
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gsdlg.c: In function 'color_btn_clicked':
gsdlg.c:173:9: warning: 'gtk_color_selection_dialog_new' is deprecated: Use 'gtk_color_chooser_dialog_new' instead [-Wdeprecated-declarations]
  173 |         dlg=gtk_color_selection_dialog_new (_("Select Color"));
      |         ^~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:257:
/usr/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h:74:12: note: declared here
   74 | GtkWidget* gtk_color_selection_dialog_new                 (const gchar *title);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c:177:9: warning: 'gdk_color_parse' is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations]
  177 |         if (cn && *cn && gdk_color_parse(cn,&rgb)) {
      |         ^~
In file included from /usr/include/gtk-3.0/gdk/gdkcairo.h:26,
                 from /usr/include/gtk-3.0/gdk/gdk.h:33:
/usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here
   79 | gboolean  gdk_color_parse     (const gchar    *spec,
      |           ^~~~~~~~~~~~~~~
gsdlg.c:178:17: warning: 'gtk_color_selection_set_current_color' is deprecated: Use 'gtk_color_chooser_set_rgba' instead [-Wdeprecated-declarations]
  178 |                 gtk_color_selection_set_current_color(
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:256:
/usr/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h:159:10: note: declared here
  159 | void     gtk_color_selection_set_current_color   (GtkColorSelection *colorsel,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c:179:25: warning: 'gtk_color_selection_dialog_get_color_selection' is deprecated: Use 'GtkColorChooser' instead [-Wdeprecated-declarations]
  179 |                         GTK_COLOR_SELECTION(gtk_color_selection_dialog_get_color_selection(csdlg)), &rgb);
      |                         ^~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h:76:12: note: declared here
   76 | GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c:184:17: warning: 'gtk_color_selection_get_current_color' is deprecated: Use 'gtk_color_chooser_get_rgba' instead [-Wdeprecated-declarations]
  184 |                 gtk_color_selection_get_current_color(
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h:162:10: note: declared here
  162 | void     gtk_color_selection_get_current_color   (GtkColorSelection *colorsel,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c:185:25: warning: 'gtk_color_selection_dialog_get_color_selection' is deprecated: Use 'GtkColorChooser' instead [-Wdeprecated-declarations]
  185 |                         GTK_COLOR_SELECTION(gtk_color_selection_dialog_get_color_selection(csdlg)), &rgb);
      |                         ^~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h:76:12: note: declared here
   76 | GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_color':
gsdlg.c:206:9: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  206 |         hbox=gtk_hbox_new(FALSE,FALSE);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gsdlg.c: In function 'font_btn_clicked':
gsdlg.c:225:9: warning: 'gtk_font_selection_dialog_new' is deprecated: Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
  225 |         dlg=gtk_font_selection_dialog_new(_("Select Font"));
      |         ^~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:258:
/usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:143:12: note: declared here
  143 | GtkWidget *gtk_font_selection_dialog_new               (const gchar            *title);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c:228:17: warning: 'gtk_font_selection_dialog_set_font_name' is deprecated: Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
  228 |                 gtk_font_selection_dialog_set_font_name(GTK_FONT_SELECTION_DIALOG(dlg),fn);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:154:12: note: declared here
  154 | gboolean   gtk_font_selection_dialog_set_font_name     (GtkFontSelectionDialog *fsd,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c:232:17: warning: 'gtk_font_selection_dialog_get_font_name' is deprecated: Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
  232 |                 gchar *gfn=gtk_font_selection_dialog_get_font_name(GTK_FONT_SELECTION_DIALOG(dlg));
      |                 ^~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:152:12: note: declared here
  152 | gchar*     gtk_font_selection_dialog_get_font_name     (GtkFontSelectionDialog *fsd);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_font':
gsdlg.c:254:9: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  254 |         hbox=gtk_hbox_new(FALSE,FALSE);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_entry':
gsdlg.c:276:9: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  276 |         hbox=gtk_hbox_new(FALSE,FALSE);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_group':
gsdlg.c:371:17: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  371 |                 vbox=gtk_vbox_new(FALSE,FALSE);
      |                 ^~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_select':
gsdlg.c:444:9: warning: 'gtk_hbox_get_type' is deprecated [-Wdeprecated-declarations]
  444 |         hbox=find_widget_by_key(dlg,GTK_TYPE_HBOX, key);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:61:13: note: declared here
   61 | GType       gtk_hbox_get_type (void) G_GNUC_CONST;
      |             ^~~~~~~~~~~~~~~~~
gsdlg.c:449:17: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  449 |                 hbox=gtk_hbox_new(FALSE,FALSE);
      |                 ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_option':
gsdlg.c:474:9: warning: 'gtk_hbox_get_type' is deprecated [-Wdeprecated-declarations]
  474 |         hbox=find_widget_by_key(dlg,GTK_TYPE_HBOX, key);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:61:13: note: declared here
   61 | GType       gtk_hbox_get_type (void) G_GNUC_CONST;
      |             ^~~~~~~~~~~~~~~~~
gsdlg.c:477:17: warning: 'gtk_hbox_get_type' is deprecated [-Wdeprecated-declarations]
  477 |                 hbox=find_widget_by_key(dlg,GTK_TYPE_HBOX, key);
      |                 ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:61:13: note: declared here
   61 | GType       gtk_hbox_get_type (void) G_GNUC_CONST;
      |             ^~~~~~~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_label':
gsdlg.c:499:9: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  499 |         gtk_misc_set_alignment(GTK_MISC(lab), 0.0f, 0.0f);
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
gsdlg.c: In function 'gsdlg_hr':
gsdlg.c:507:9: warning: 'gtk_hseparator_new' is deprecated: Use 'gtk_separator_new' instead [-Wdeprecated-declarations]
  507 |         gtk_container_add(GTK_CONTAINER(GTK_CONTAINER(gtk_dialog_get_content_area(dlg))), gtk_hseparator_new());
      |         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:267:
/usr/include/gtk-3.0/gtk/deprecated/gtkhseparator.h:61:12: note: declared here
   61 | GtkWidget* gtk_hseparator_new      (void);
      |            ^~~~~~~~~~~~~~~~~~
gsdlg_lua.c: In function 'gsdl_new':
gsdlg_lua.c:326:11: error: implicit declaration of function 'lua_objlen'; did you mean 'lua_len'? [-Wimplicit-function-declaration]
  326 |         n=lua_objlen(L,2);
      |           ^~~~~~~~~~
      |           lua_len
gsdlg_lua.c: At top level:
gsdlg_lua.c:390:30: error: array type has incomplete element type 'struct luaL_reg'
  390 | static const struct luaL_reg gsdl_funcs[] = {
      |                              ^~~~~~~~~~
gsdlg_lua.c: In function 'luaopen_dialog':
gsdlg_lua.c:428:9: error: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration]
  428 |         luaL_register(L, NULL, &gsdl_funcs[1]);
      |         ^~~~~~~~~~~~~
      |         lua_register
gsdlg_lua.c: At top level:
gsdlg_lua.c:390:30: warning: 'gsdl_funcs' defined but not used [-Wunused-variable]
  390 | static const struct luaL_reg gsdl_funcs[] = {
      |                              ^~~~~~~~~~
make[3]: *** [Makefile:861: libgeanylua_la-gsdlg_lua.lo] Error 1
make[3]: Target 'all-am' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanylua'
make[2]: *** [Makefile:897: all-recursive] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanylua'
Making all in geanymacro
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanymacro'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanymacro/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanymacro/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanymacro'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanymacro'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanymacro'
Making all in geanyminiscript
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyminiscript'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyminiscript/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyminiscript/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyminiscript'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyminiscript'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyminiscript'
Making all in geanynumberedbookmarks
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanynumberedbookmarks'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanynumberedbookmarks/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanynumberedbookmarks/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanynumberedbookmarks'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanynumberedbookmarks'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanynumberedbookmarks'
Making all in geanypg
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanypg'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanypg/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanypg/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanypg'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanypg'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanypg'
Making all in geanyprj
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyprj'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyprj/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyprj/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyprj'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyprj'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyprj'
Making all in geanyvc
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyvc'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyvc/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyvc/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyvc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyvc'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geanyvc'
Making all in geniuspaste
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste'
Making all in data
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste/data'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste/data'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/geniuspaste'
Making all in git-changebar
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar'
Making all in data
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar/data'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar/data'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/git-changebar'
Making all in keyrecord
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/keyrecord'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/keyrecord/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/keyrecord/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/keyrecord'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/keyrecord'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/keyrecord'
Making all in lineoperations
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lineoperations'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lineoperations/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lineoperations/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lineoperations'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lineoperations'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lineoperations'
Making all in lipsum
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lipsum'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lipsum/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lipsum/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lipsum'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lipsum'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/lipsum'
Making all in markdown
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown'
Making all in peg-markdown
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/peg-markdown'
Making all in peg-0.1.9
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/peg-markdown/peg-0.1.9'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/peg-markdown/peg-0.1.9'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/peg-markdown'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/peg-markdown'
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/peg-markdown'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/src'
Making all in docs
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/docs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown/docs'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/markdown'
Making all in overview
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview'
Making all in overview
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview/overview'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview/overview'
Making all in data
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview/data'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview/data'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/overview'
Making all in pairtaghighlighter
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pairtaghighlighter'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pairtaghighlighter/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pairtaghighlighter/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pairtaghighlighter'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pairtaghighlighter'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pairtaghighlighter'
Making all in pohelper
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper'
Making all in data
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper/data'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper/data'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pohelper'
Making all in pretty-printer
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pretty-printer'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pretty-printer/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pretty-printer/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pretty-printer'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pretty-printer'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/pretty-printer'
Making all in projectorganizer
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/projectorganizer'
Making all in src
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/projectorganizer/src'
  CC       projectorganizer_la-prjorg-sidebar.lo
prjorg-sidebar.c: In function 'show_dialog_find_file':
prjorg-sidebar.c:131:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  131 |                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
      |                         ^~~~~~~~~~~~~~~~
prjorg-sidebar.c:141:17: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  141 |                 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from /usr/include/geany/gtkcompat.h:30,
                 from /usr/include/geany/editor.h:27,
                 from /usr/include/geany/document.h:31,
                 from /usr/include/geany/build.h:26,
                 from /usr/include/geany/geanyplugin.h:36,
                 from prjorg-sidebar.c:26:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:150:17: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  150 |                 ebox = gtk_hbox_new(FALSE, 6);
      |                 ^~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:262:
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
prjorg-sidebar.c:157:17: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  157 |                 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:160:17: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  160 |                 gtk_misc_set_alignment(GTK_MISC(s_fif_dialog.dir_label), 0, 0.5);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:162:17: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  162 |                 ebox = gtk_hbox_new(FALSE, 6);
      |                 ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
prjorg-sidebar.c:169:17: warning: 'gtk_button_set_focus_on_click' is deprecated: Use 'gtk_widget_set_focus_on_click' instead [-Wdeprecated-declarations]
  169 |                 gtk_button_set_focus_on_click(GTK_BUTTON(s_fif_dialog.case_sensitive), FALSE);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:54:
/usr/include/gtk-3.0/gtk/gtkbutton.h:138:23: note: declared here
  138 | void                  gtk_button_set_focus_on_click (GtkButton      *button,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:172:17: warning: 'gtk_button_set_focus_on_click' is deprecated: Use 'gtk_widget_set_focus_on_click' instead [-Wdeprecated-declarations]
  172 |                 gtk_button_set_focus_on_click(GTK_BUTTON(s_fif_dialog.full_path), FALSE);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkbutton.h:138:23: note: declared here
  138 | void                  gtk_button_set_focus_on_click (GtkButton      *button,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'get_fallback_dir_of_selection':
prjorg-sidebar.c:349:56: warning: comparison between pointer and integer
  349 |                         if (locale_path && locale_path == '.')
      |                                                        ^~
prjorg-sidebar.c: In function 'find_file_recursive':
prjorg-sidebar.c:659:17: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations]
  659 |                 if (g_pattern_match_string(pattern, utf8_name))
      |                 ^~
In file included from /usr/include/glib-2.0/glib.h:68,
                 from /usr/include/geany/tagmanager/tm_workspace.h:15,
                 from /usr/include/geany/app.h:29,
                 from /usr/include/geany/geanyplugin.h:35:
/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here
   57 | gboolean      g_pattern_match_string   (GPatternSpec *pspec,
      |               ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'create_dialog_find_tag':
prjorg-sidebar.c:719:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  719 |                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
      |                 ^~~~~~~~~~~~~~~~
prjorg-sidebar.c:729:9: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  729 |         gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
      |         ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:741:9: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  741 |         ebox = gtk_hbox_new(FALSE, 6);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
prjorg-sidebar.c:747:9: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  747 |         gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
      |         ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:757:9: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  757 |         ebox = gtk_hbox_new(FALSE, 6);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
prjorg-sidebar.c:763:9: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  763 |         gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
      |         ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:766:9: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  766 |         gtk_misc_set_alignment(GTK_MISC(s_ft_dialog.dir_label), 0, 0.5);
      |         ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:768:9: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  768 |         ebox = gtk_hbox_new(FALSE, 6);
      |         ^~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
prjorg-sidebar.c:775:9: warning: 'gtk_button_set_focus_on_click' is deprecated: Use 'gtk_widget_set_focus_on_click' instead [-Wdeprecated-declarations]
  775 |         gtk_button_set_focus_on_click(GTK_BUTTON(s_ft_dialog.case_sensitive), FALSE);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkbutton.h:138:23: note: declared here
  138 | void                  gtk_button_set_focus_on_click (GtkButton      *button,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:778:9: warning: 'gtk_button_set_focus_on_click' is deprecated: Use 'gtk_widget_set_focus_on_click' instead [-Wdeprecated-declarations]
  778 |         gtk_button_set_focus_on_click(GTK_BUTTON(s_ft_dialog.declaration), FALSE);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkbutton.h:138:23: note: declared here
  138 | void                  gtk_button_set_focus_on_click (GtkButton      *button,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'match':
prjorg-sidebar.c:842:33: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations]
  842 |                                 matches = g_pattern_match_string(pspec, name_case);
      |                                 ^~~~~~~
/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here
   57 | gboolean      g_pattern_match_string   (GPatternSpec *pspec,
      |               ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'on_button_release':
prjorg-sidebar.c:1088:17: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
 1088 |                 gtk_menu_popup(GTK_MENU(s_popup_menu.widget), NULL, NULL, NULL, NULL,
      |                 ^~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here
  138 | void       gtk_menu_popup                 (GtkMenu             *menu,
      |            ^~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'create_branch':
prjorg-sidebar.c:1210:41: warning: 'gtk_icon_info_free' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations]
 1210 |                                         gtk_icon_info_free(icon_info);
      |                                         ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:127:
/usr/include/gtk-3.0/gtk/gtkicontheme.h:284:23: note: declared here
  284 | void                  gtk_icon_info_free               (GtkIconInfo  *icon_info);
      |                       ^~~~~~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'load_project':
prjorg-sidebar.c:1364:9: warning: 'gtk_widget_get_style' is deprecated: Use 'gtk_widget_get_style_context' instead [-Wdeprecated-declarations]
 1364 |         s_external_color = gtk_widget_get_style(s_toolbar)->bg[GTK_STATE_NORMAL];
      |         ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:277:
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:742:13: note: declared here
  742 | GtkStyle *  gtk_widget_get_style          (GtkWidget            *widget);
      |             ^~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'prjorg_sidebar_get_expanded_paths':
prjorg-sidebar.c:1565:16: error: returning 'void **' from a function with incompatible return type 'gchar **' {aka 'char **'} [-Wincompatible-pointer-types]
 1565 |         return g_ptr_array_free(expanded_paths, FALSE);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c: In function 'prjorg_sidebar_update_full':
prjorg-sidebar.c:1592:31: warning: unused variable 'model' [-Wunused-variable]
 1592 |                 GtkTreeModel *model;
      |                               ^~~~~
prjorg-sidebar.c:1591:29: warning: unused variable 'iter' [-Wunused-variable]
 1591 |                 GtkTreeIter iter;
      |                             ^~~~
prjorg-sidebar.c:1590:35: warning: unused variable 'treesel' [-Wunused-variable]
 1590 |                 GtkTreeSelection *treesel;
      |                                   ^~~~~~~
prjorg-sidebar.c: In function 'prjorg_sidebar_init':
prjorg-sidebar.c:1661:9: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
 1661 |         s_file_view_vbox = gtk_vbox_new(FALSE, 0);
      |         ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
prjorg-sidebar.c:1718:9: warning: 'gdk_color_get_type' is deprecated: Use 'gdk_rgba_get_type' instead [-Wdeprecated-declarations]
 1718 |         s_file_store = gtk_tree_store_new(FILEVIEW_N_COLUMNS, G_TYPE_ICON, G_TYPE_STRING, GDK_TYPE_COLOR);
      |         ^~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkcairo.h:26,
                 from /usr/include/gtk-3.0/gdk/gdk.h:33,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30:
/usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:65:11: note: declared here
   65 | GType     gdk_color_get_type (void) G_GNUC_CONST;
      |           ^~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:1739:9: warning: 'gtk_widget_modify_font' is deprecated: Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations]
 1739 |         gtk_widget_modify_font(s_file_view, pfd);
      |         ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:769:13: note: declared here
  769 | void        gtk_widget_modify_font        (GtkWidget            *widget,
      |             ^~~~~~~~~~~~~~~~~~~~~~
prjorg-sidebar.c:1844:9: warning: 'gtk_container_set_focus_chain' is deprecated [-Wdeprecated-declarations]
 1844 |         gtk_container_set_focus_chain(GTK_CONTAINER(s_file_view_vbox), focus_chain);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33,
                 from /usr/include/gtk-3.0/gtk/gtkwindow.h:35,
                 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:
/usr/include/gtk-3.0/gtk/gtkcontainer.h:177:10: note: declared here
  177 | void     gtk_container_set_focus_chain  (GtkContainer   *container,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:674: projectorganizer_la-prjorg-sidebar.lo] Error 1
make[3]: Target 'all' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/projectorganizer/src'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/projectorganizer'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/geany-plugins-2.0.0/projectorganizer'
make[2]: *** [Makefile:569: all-recursive] Error 1
make[2]: Target 'all' not remade because of errors.
@kloczek kloczek changed the title 2.0.0: build fails 2.0.0: build fails end compile time warnings Jan 20, 2024
@kloczek
Copy link
Author

kloczek commented Jan 20, 2024

Looks like number of compile time warnings is quite high
Summary stats on bilding with ignore make errors (with -k):

$ rpmbuild -ba geany-plugins.spec --quiet 2>&1 | grep -- \\[-W | sed 's/.*\[//; s/\]//' | sort | uniq -c | sort -nr
    613 -Wdeprecated-declarations
     11 -Wunused-variable
     11 -Wimplicit-function-declaration
      8 -Wunused-result
      7 -Wdiscarded-qualifiers
      6 -Wunused-function
      5 -Wformat=
      1 -Wunused-const-variable=
      1 -Wunused-but-set-variable
      1 -Wincompatible-pointer-types

@kloczek
Copy link
Author

kloczek commented Jan 20, 2024

I'm using gcc 14.x so it shows a bit more like -Wincompatible-pointer-types warnings

Extracted stderr with all warnings and errors geany-plugins.stderr.txt

@kloczek
Copy link
Author

kloczek commented Jan 20, 2024

Build may fail in lua beause I'm using patch which enabled build with lua >= 5.2

--- a/build/geanylua.m4
+++ b/build/geanylua.m4
@@ -14,10 +14,8 @@
         done])

     LUA_VERSION=5.1
-    LUA_VERSION_BOUNDARY=5.2
     GP_CHECK_PLUGIN_DEPS([GeanyLua], [LUA],
-                         [${LUA_PKG_NAME} >= ${LUA_VERSION}
-                          ${LUA_PKG_NAME} < ${LUA_VERSION_BOUNDARY}])
+                         [${LUA_PKG_NAME} >= ${LUA_VERSION}])
     GP_CHECK_PLUGIN_DEPS([GeanyLua], [GMODULE], [gmodule-2.0])
     GP_COMMIT_PLUGIN_STATUS([GeanyLua])

It would be good to update for latest lua because older versions are buggy and longer maintained (there are few CVEs in lua older than 5.4).

@elextr
Copy link
Member

elextr commented Jan 20, 2024

GTK deprecations should continue to work on GTK3 which is all Geany and plugins support. So these warnings will likely not go away until a GTK4 port happens, so they should not be allowed fail a build.

For the Geanylua plugin, are you sure your build is using a version of the lua headers/library that is supported by the plugin? Note that geanylua is unmaintained and will not have been updated if type and function names in Lua headers have changed. Unless "somebody" with the time and ability takes the plugin under their wing it won't be updated to newer versions.

The project organiser incompatible pointer just needs an explicit cast @techee (As an aside, I thought incompatible pointers was in GCC 13, not 14)

@kloczek
Copy link
Author

kloczek commented Jan 20, 2024

After disable build projectorganizer and geanylua I was able to build geany-plugins.

For the Geanylua plugin, are you sure your build is using a version of the lua headers/library that is supported by the plugin?

As I wrote I've been trying to build against latest lua 5.4 using --enable-geanylua --with-lua-pkg=lua + patch which I've posted here.

The project organiser incompatible pointer just needs an explicit cast @techee (As an aside, I thought incompatible pointers was in GCC 13, not 14)

gcc 14.x is now even more sensitive on pointer typing.

@elextr
Copy link
Member

elextr commented Jan 20, 2024

As I wrote I've been trying to build against latest lua 5.4

Yeah, I didn't see your post until I had hit comment

gcc 14.x is now even more sensitive on pointer typing.

As a C++ programmer I totally approve (he says writing reinterpret_cast) 😁

@techee
Copy link
Member

techee commented Mar 5, 2024

Unless "somebody" with the time and ability takes the plugin under their wing it won't be updated to newer versions.

This happened in #1235.

@techee
Copy link
Member

techee commented Mar 5, 2024

I've just created #1315, #1316, and #1317 to eliminate some of the warnings in my plugins.

@elextr
Copy link
Member

elextr commented Mar 5, 2024

This happened in #1235.

It was good of you to update it even if you don't use the plugin. But sadly it seems no real Geanylua users could build and test it in the year since it was created. @frlan maybe it should be merged anyway since the plugin will die otherwise.

@techee
Copy link
Member

techee commented Mar 5, 2024

Well, there's also the competing #1238 that tries to support about everything. I haven't checked if it works, I personally would prefer supporting only a single version since nobody will be able to test all the versions (especially when the plugin is unmaintained).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants