• Bug#1066384: bluefish: FTBFS: bookmark.c:1162:16: error: implicit decla

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 13:10:04 2024
    Source: bluefish
    Version: 2.2.14-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.

    This is most likely caused by a change in dpkg 1.22.6, that enabled -Werror=implicit-function-declaration. For more information, see https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

    Relevant part (hopefully):
    gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DPKGDATADIR=\"/usr/share/bluefish\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/bluefish\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<
    PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -g -Wall -pipe -I/usr/include/python3.11 -I/usr/include/python3.11 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/
    glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -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/cairo -I/usr/include/pixman-1 -I/usr/include/
    gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -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/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-
    gnu/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/enchant-2 -pthread -c -o compatibility.o compatibility.c
    bftextview2_scanner.c: In function ‘bftextview2_run_scanner’: bftextview2_scanner.c:2162:50: warning: ‘context’ may be used uninitialized [-Wmaybe-uninitialized]
    2162 | scanning.context = found_match(btv, &match, &scanning);
    | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bftextview2_scanner.c:1713:30: note: ‘context’ was declared here
    1713 | gint context;
    | ^~~~~~~
    bookmark.c: In function ‘bmark_add_rename_dialog’:
    bookmark.c:563:73: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    563 | GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
    | ^~~~~~~~~~~~~~~~
    bookmark.c:564:9: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
    564 | button = gtk_button_new_from_stock(GTK_STOCK_OK);
    | ^~~~~~
    In file included from /usr/include/gtk-3.0/gtk/gtk.h:54,
    from bookmark.c:25: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
    103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:564:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    564 | button = gtk_button_new_from_stock(GTK_STOCK_OK);
    | ^~~~~~
    bookmark.c:569:9: warning: ‘gtk_alignment_new’ is deprecated [-Wdeprecated-declarations]
    569 | align = gtk_alignment_new(0, 0, 1, 1);
    | ^~~~~
    In file included from /usr/include/gtk-3.0/gtk/gtk.h:255: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
    79 | GtkWidget* gtk_alignment_new (gfloat xalign,
    | ^~~~~~~~~~~~~~~~~
    bookmark.c:570:9: warning: ‘gtk_alignment_set_padding’ is deprecated [-Wdeprecated-declarations]
    570 | gtk_alignment_set_padding(GTK_ALIGNMENT(align), 12, 12, 6, 6);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here
    91 | void gtk_alignment_set_padding (GtkAlignment *alignment,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘popup_menu_default_permanent’:
    bookmark.c:768:9: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    768 | main_v->globses.bookmarks_default_store = gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action));
    | ^~~~~~
    In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:36,
    from /usr/include/gtk-3.0/gtk/gtk.h:272: /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘popup_menu_delete’:
    bookmark.c:778:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    778 | const gchar *buttons[] = { GTK_STOCK_NO, GTK_STOCK_YES, NULL };
    | ^~~~~
    bookmark.c:778:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    bookmark.c: In function ‘popup_menu_delete_all’:
    bookmark.c:810:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    810 | const gchar *buttons[] = { GTK_STOCK_NO, GTK_STOCK_YES, NULL };
    | ^~~~~
    bookmark.c:810:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    bookmark.c: In function ‘popup_menu_delete_all_doc’:
    bookmark.c:841:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    841 | const gchar *buttons[] = { GTK_STOCK_NO, GTK_STOCK_YES, NULL };
    | ^~~~~
    bookmark.c:841:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    bookmark.c: In function ‘popup_menu_show_bookmark’:
    bookmark.c:884:9: warning: ‘gtk_radio_action_get_current_value’ is deprecated [-Wdeprecated-declarations]
    884 | BFWIN(user_data)->session->bookmarks_show_mode = gtk_radio_action_get_current_value(action);
    | ^~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:89:17: note: declared here
    89 | gint gtk_radio_action_get_current_value (GtkRadioAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘popup_menu_show_file’:
    bookmark.c:891:9: warning: ‘gtk_radio_action_get_current_value’ is deprecated [-Wdeprecated-declarations]
    891 | BFWIN(user_data)->session->bookmarks_filename_mode = gtk_radio_action_get_current_value(action);
    | ^~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:89:17: note: declared here
    89 | gint gtk_radio_action_get_current_value (GtkRadioAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘popup_search_mode_changed’:
    bookmark.c:898:9: warning: ‘gtk_radio_action_get_current_value’ is deprecated [-Wdeprecated-declarations]
    898 | BFWIN(user_data)->session->bmarksearchmode = gtk_radio_action_get_current_value(action);
    | ^~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:89:17: note: declared here
    89 | gint gtk_radio_action_get_current_value (GtkRadioAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘popup_menu_action_group_init’:
    bookmark.c:977:9: warning: ‘gtk_action_group_new’ is deprecated [-Wdeprecated-declarations]
    977 | bfwin->bookmarkGroup = gtk_action_group_new("BookmarkActions");
    | ^~~~~
    In file included from /usr/include/gtk-3.0/gtk/gtk.h:254: /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:175:17: note: declared here
    175 | GtkActionGroup *gtk_action_group_new (const gchar *name);
    | ^~~~~~~~~~~~~~~~~~~~
    bookmark.c:978:9: warning: ‘gtk_action_group_set_translation_domain’ is deprecated [-Wdeprecated-declarations]
    978 | gtk_action_group_set_translation_domain(bfwin->bookmarkGroup, GETTEXT_PACKAGE);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:252:17: note: declared here
    252 | void gtk_action_group_set_translation_domain (GtkActionGroup *action_group,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bookmark.c:979:9: warning: ‘gtk_action_group_add_actions’ is deprecated [-Wdeprecated-declarations]
    979 | gtk_action_group_add_actions(bfwin->bookmarkGroup, bookmark_actions, G_N_ELEMENTS(bookmark_actions),
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:210:17: note: declared here
    210 | void gtk_action_group_add_actions (GtkActionGroup *action_group,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:981:9: warning: ‘gtk_action_group_add_toggle_actions’ is deprecated [-Wdeprecated-declarations]
    981 | gtk_action_group_add_toggle_actions(bfwin->bookmarkGroup, bookmark_toggle_actions,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:215:17: note: declared here
    215 | void gtk_action_group_add_toggle_actions (GtkActionGroup *action_group,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:983:9: warning: ‘gtk_action_group_add_radio_actions’ is deprecated [-Wdeprecated-declarations]
    983 | gtk_action_group_add_radio_actions(bfwin->bookmarkGroup, bookmark_file_radio_actions,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:220:17: note: declared here
    220 | void gtk_action_group_add_radio_actions (GtkActionGroup *action_group,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:987:9: warning: ‘gtk_action_group_add_radio_actions’ is deprecated [-Wdeprecated-declarations]
    987 | gtk_action_group_add_radio_actions(bfwin->bookmarkGroup, bookmark_radio_actions,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:220:17: note: declared here
    220 | void gtk_action_group_add_radio_actions (GtkActionGroup *action_group,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:991:9: warning: ‘gtk_action_group_add_radio_actions’ is deprecated [-Wdeprecated-declarations]
    991 | gtk_action_group_add_radio_actions(bfwin->bookmarkGroup, bookmark_search_radio_actions,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:220:17: note: declared here
    220 | void gtk_action_group_add_radio_actions (GtkActionGroup *action_group,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:995:9: warning: ‘gtk_ui_manager_insert_action_group’ is deprecated [-Wdeprecated-declarations]
    995 | gtk_ui_manager_insert_action_group(bfwin->uimanager, bfwin->bookmarkGroup, 1);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/gtk-3.0/gtk/gtk.h:284: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:138:16: note: declared here
    138 | void gtk_ui_manager_insert_action_group (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:998:9: warning: ‘gtk_ui_manager_add_ui_from_string’ is deprecated [-Wdeprecated-declarations]
    998 | gtk_ui_manager_add_ui_from_string(bfwin->uimanager, bookmark_menu_ui, -1, &error);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here
    158 | guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1004:9: warning: ‘gtk_ui_manager_add_ui_from_string’ is deprecated [-Wdeprecated-declarations]
    1004 | gtk_ui_manager_add_ui_from_string(bfwin->uimanager, bookmark_search_menu_ui, -1, &error);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:158:16: note: declared here
    158 | guint gtk_ui_manager_add_ui_from_string (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘popup_menu’:
    bookmark.c:1014:9: warning: ‘gtk_ui_manager_get_widget’ is deprecated [-Wdeprecated-declarations]
    1014 | GtkWidget *menu = gtk_ui_manager_get_widget(bfwin->uimanager, "/BookmarkMenu");
    | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here
    149 | GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1023:9: warning: ‘gtk_radio_action_set_current_value’ is deprecated [-Wdeprecated-declarations]
    1023 | gtk_radio_action_set_current_value((GtkRadioAction *)
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:91:17: note: declared here
    91 | void gtk_radio_action_set_current_value (GtkRadioAction *action,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bookmark.c:1024:76: warning: ‘gtk_ui_manager_get_action’ is deprecated [-Wdeprecated-declarations]
    1024 | gtk_ui_manager_get_action(bfwin->uimanager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:155:16: note: declared here
    155 | GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1027:9: warning: ‘gtk_radio_action_set_current_value’ is deprecated [-Wdeprecated-declarations]
    1027 | gtk_radio_action_set_current_value((GtkRadioAction *)
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:91:17: note: declared here
    91 | void gtk_radio_action_set_current_value (GtkRadioAction *action,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bookmark.c:1028:76: warning: ‘gtk_ui_manager_get_action’ is deprecated [-Wdeprecated-declarations]
    1028 | gtk_ui_manager_get_action(bfwin->uimanager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:155:16: note: declared here
    155 | GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘popup_search_menu’:
    bookmark.c:1042:9: warning: ‘gtk_ui_manager_get_widget’ is deprecated [-Wdeprecated-declarations]
    1042 | GtkWidget *menu = gtk_ui_manager_get_widget(bfwin->uimanager, "/BookmarkSearchMenu");
    | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here
    149 | GtkWidget *gtk_ui_manager_get_widget (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c: In function ‘bmark_previous_lcb’:
    bookmark.c:1162:16: error: implicit declaration of function ‘bmark_margin_get_initial_bookmark’; did you mean ‘bmark_margin_get_next_bookmark’? [-Werror=implicit-function-declaration]
    1162 | line = bmark_margin_get_initial_bookmark(CURDOC(bfwin), &titer, (gpointer) & bmark);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    | bmark_margin_get_next_bookmark
    bookmark.c: In function ‘bmark_gui’:
    bookmark.c:1314:9: warning: ‘gtk_entry_set_icon_from_stock’ is deprecated: Use 'gtk_entry_set_icon_from_icon_name' instead [-Wdeprecated-declarations]
    1314 | gtk_entry_set_icon_from_stock(GTK_ENTRY(entry), GTK_ENTRY_ICON_PRIMARY, GTK_STOCK_FIND);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:29,
    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: /usr/include/gtk-3.0/gtk/gtkentry.h:320:16: note: declared here
    320 | void gtk_entry_set_icon_from_stock (GtkEntry *entry,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1314:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    1314 | gtk_entry_set_icon_from_stock(GTK_ENTRY(entry), GTK_ENTRY_ICON_PRIMARY, GTK_STOCK_FIND);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1326:9: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations]
    1326 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GOTO_TOP, GTK_ICON_SIZE_MENU), "");
    | ^~~
    In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here
    122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1326:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    1326 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GOTO_TOP, GTK_ICON_SIZE_MENU), "");
    | ^~~
    bookmark.c:1330:9: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations]
    1330 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU), "");
    | ^~~
    /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here
    122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1330:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    1330 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU), "");
    | ^~~
    bookmark.c:1334:9: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations]
    1334 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU), "");
    | ^~~
    /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here
    122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1334:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    1334 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU), "");
    | ^~~
    bookmark.c:1338:9: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations]
    1338 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GOTO_BOTTOM, GTK_ICON_SIZE_MENU), "");
    | ^~~
    /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here
    122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    bookmark.c:1338:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    1338 | but = gtk_tool_button_new(gtk_image_new_from_stock(GTK_STOCK_GOTO_BOTTOM, GTK_ICON_SIZE_MENU), "");
    | ^~~
    gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DPKGDATADIR=\"/usr/share/bluefish\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/bluefish\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<
    PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -g -Wall -pipe -I/usr/include/python3.11 -I/usr/include/python3.11 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/
    glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -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/cairo -I/usr/include/pixman-1 -I/usr/include/
    gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -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/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-
    gnu/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/enchant-2 -pthread -c -o dialog_utils.o dialog_utils.c
    bookmark.c: In function ‘bmark_add_backend’:
    bookmark.c:1899:16: warning: unused variable ‘displaytext’ [-Wunused-variable]
    1899 | gchar *displaytext = NULL;
    | ^~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_autocompletion_popup_show’: bfwin_uimanager.c:66:90: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    66 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkradioaction.h:36,
    from /usr/include/gtk-3.0/gtk/gtk.h:272,
    from bluefish.h:123,
    from bfwin_uimanager.h:24,
    from bfwin_uimanager.c:27: /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_highlighting_toggle’: bfwin_uimanager.c:120:17: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    120 | doc_toggle_highlighting(bfwin, gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_set_autoindent’: bfwin_uimanager.c:162:84: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    162 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_set_highlight_block_delimiters’: bfwin_uimanager.c:172:82: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    172 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_set_spell_check’: bfwin_uimanager.c:183:84: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    183 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_set_wrap_text’: bfwin_uimanager.c:193:17: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    193 | doc_set_wrap(bfwin->current_document, gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_show_blocks’: bfwin_uimanager.c:204:84: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    204 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_show_line_numbers’: bfwin_uimanager.c:214:98: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    214 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_show_right_margin’: bfwin_uimanager.c:224:98: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    224 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_show_split_view’: bfwin_uimanager.c:233:17: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    233 | doc_split_view(CURDOC(bfwin), gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘ui_show_visible_spacing’: bfwin_uimanager.c:243:105: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    243 | gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c: In function ‘sync_fullscreen_toggle’: bfwin_uimanager.c:775:9: warning: ‘gtk_ui_manager_get_action’ is deprecated [-Wdeprecated-declarations]
    775 | GtkAction *action = gtk_ui_manager_get_action(bfwin->uimanager, "/MainToolbar/ViewFullScreen");
    | ^~~~~~~~~
    In file included from /usr/include/gtk-3.0/gtk/gtk.h:284: /usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:155:16: note: declared here
    155 | GtkAction *gtk_ui_manager_get_action (GtkUIManager *manager,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c:777:9: warning: ‘gtk_action_set_stock_id’ is deprecated [-Wdeprecated-declarations]
    777 | gtk_action_set_stock_id(action, (is_fullscreen ? GTK_STOCK_LEAVE_FULLSCREEN : GTK_STOCK_FULLSCREEN));
    | ^~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactivatable.h:25,
    from /usr/include/gtk-3.0/gtk/gtk.h:252: /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:179:23: note: declared here
    179 | void gtk_action_set_stock_id (GtkAction *action,
    | ^~~~~~~~~~~~~~~~~~~~~~~ bfwin_uimanager.c:777:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    777 | gtk_action_set_stock_id(action, (is_fullscreen ? GTK_STOCK_LEAVE_FULLSCREEN : GTK_STOCK_FULLSCREEN));
    | ^~~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c:777:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
    bfwin_uimanager.c:778:9: warning: ‘gtk_action_set_tooltip’ is deprecated [-Wdeprecated-declarations]
    778 | gtk_action_set_tooltip(action, (is_fullscreen ? _("Leave Fullscreen") : _("Fullscreen")));
    | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkaction.h:174:23: note: declared here
    174 | void gtk_action_set_tooltip (GtkAction *action,
    | ^~~~~~~~~~~~~~~~~~~~~~
    bfwin_uimanager.c:779:9: warning: ‘gtk_toggle_action_get_active’ is deprecated [-Wdeprecated-declarations]
    779 | if (gtk_toggle_action_get_active(GTK_TOGGLE_ACTION(action)) != is_fullscreen) {
    | ^~ /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:85:18: note: declared here
    85 | gboolean gtk_toggle_action_get_active (GtkToggleAction *action);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfwin_uimanager.c:780:17: warning: ‘gtk_toggle_action_set_active’ is deprecated [-Wdeprecated-declarations]
    780 | gtk_toggle_action_set_active(GTK_TOGGLE_ACTION(action), is_fullscreen);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktoggleaction.h:82:18: note: declared here

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Mar 27 10:40:01 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 27 Mar 2024 11:34:31 +0200
    with message-id <ec399e34-e59d-4643-9cfa-fab20cc0b494@debian.org>
    and subject line Compiles with 2.2.15
    has caused the Debian Bug report #1066384,
    regarding bluefish: FTBFS: bookmark.c:1162:16: error: implicit declaration of function ‘bmark_margin_get_initial_bookmark’; did you mean ‘bmark_margin_get_next_bookmark’? [-Werror=implicit-function-declaration]
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066384: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066384
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 11:49:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-104.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,LONGWORD,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 206; hammy, 150; neutral, 460; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debia