Source: pcsxr
Version: 1.9.94-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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 -I. -I../include  
> -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" 
> -DLOCALE_DIR=\"/usr/share/locale/\" -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 -pthread  -I../libpcsxcore 
> -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" 
> -DDEF_PLUGIN_DIR=\"/usr/lib/x86_64-linux-gnu/psemu\" -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -fcommon -c -o DebugMemory.o DebugMemory.c
> Config.c: In function ‘LoadConfig’:
> Config.c:108:9: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   108 |         fread(data, 1, buf.st_size, f);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> MemcardDlg.c: In function ‘LoadListItems’:
> MemcardDlg.c:180:9: warning: ‘gtk_tree_view_set_rules_hint’ is deprecated 
> [-Wdeprecated-declarations]
>   180 |         gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(List), 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 MemcardDlg.c:24:
> /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
>   246 | void                   gtk_tree_view_set_rules_hint                
> (GtkTreeView               *tree_view,
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> MemcardDlg.c: In function ‘OnMcd_FileChange’:
> MemcardDlg.c:307:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   307 |                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> MemcardDlg.c:308:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   308 |                 GTK_STOCK_OPEN, GTK_RESPONSE_OK,
>       |                 ^~~~~~~~~~~~~~
> MemcardDlg.c: In function ‘OnMcd_Format’:
> MemcardDlg.c:349:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   349 |                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> MemcardDlg.c: In function ‘OnMcd_New’:
> MemcardDlg.c:374:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   374 |                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> MemcardDlg.c:375:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   375 |                 GTK_STOCK_SAVE, GTK_RESPONSE_OK,
>       |                 ^~~~~~~~~~~~~~
> DebugMemory.c: In function ‘UpdateMemViewDlg’:
> DebugMemory.c:89:9: warning: ‘gtk_tree_view_set_rules_hint’ is deprecated 
> [-Wdeprecated-declarations]
>    89 |         gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), 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 Linux.h:25,
>                  from DebugMemory.c:19:
> /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
>   246 | void                   gtk_tree_view_set_rules_hint                
> (GtkTreeView               *tree_view,
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> DebugMemory.c: In function ‘MemView_RowActivated’:
> DebugMemory.c:136:33: warning: format ‘%x’ expects argument of type ‘unsigned 
> int *’, but argument 3 has type ‘u8 *’ {aka ‘unsigned char *’} [-Wformat=]
>   136 |                 sscanf(value, "%x", &MemViewValue);
>       |                                ~^   ~~~~~~~~~~~~~
>       |                                 |   |
>       |                                 |   u8 * {aka unsigned char *}
>       |                                 unsigned int *
>       |                                %hhx
> DebugMemory.c: In function ‘MemView_Dump’:
> DebugMemory.c:153:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   153 |                 GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, 
> GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> DebugMemory.c:154:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   154 |                 GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
>       |                 ^~~~~~~~~~~~
> DebugMemory.c:158:9: warning: ‘gtk_table_new’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   158 |         table = gtk_table_new(2, 2, FALSE);
>       |         ^~~~~
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:280:
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
>   119 | GtkWidget* gtk_table_new              (guint            rows,
>       |            ^~~~~~~~~~~~~
> DebugMemory.c:161:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   161 |         gtk_table_attach(GTK_TABLE(table), label, 0, 1, 0, 1, 0, 0, 
> 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c:168:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   168 |         gtk_table_attach(GTK_TABLE(table), start_edit, 1, 2, 0, 1, 0, 
> 0, 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c:172:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   172 |         gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, 0, 0, 
> 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c:176:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   176 |         gtk_table_attach(GTK_TABLE(table), length_edit, 1, 2, 1, 2, 
> 0, 0, 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c:199:33: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   199 |                                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
>       |                                 ^~~~~~~~~~~~~~~~
> DebugMemory.c:200:33: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   200 |                                 GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, 
> NULL);
>       |                                 ^~~~~~~~~~~~~~
> DebugMemory.c: In function ‘MemView_Patch’:
> DebugMemory.c:231:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   231 |                 GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, 
> GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> DebugMemory.c:232:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   232 |                 GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
>       |                 ^~~~~~~~~~~~
> DebugMemory.c:236:9: warning: ‘gtk_table_new’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   236 |         table = gtk_table_new(2, 2, FALSE);
>       |         ^~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
>   119 | GtkWidget* gtk_table_new              (guint            rows,
>       |            ^~~~~~~~~~~~~
> DebugMemory.c:239:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   239 |         gtk_table_attach(GTK_TABLE(table), label, 0, 1, 0, 1, 0, 0, 
> 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c:246:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   246 |         gtk_table_attach(GTK_TABLE(table), addr_edit, 1, 2, 0, 1, 0, 
> 0, 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c:250:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   250 |         gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, 0, 0, 
> 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c:256:9: warning: ‘gtk_table_attach’ is deprecated: Use 'GtkGrid' 
> instead [-Wdeprecated-declarations]
>   256 |         gtk_table_attach(GTK_TABLE(table), val_edit, 1, 2, 1, 2, 0, 
> 0, 5, 5);
>       |         ^~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here
>   127 | void       gtk_table_attach           (GtkTable        *table,
>       |            ^~~~~~~~~~~~~~~~
> DebugMemory.c: In function ‘RunDebugMemoryDialog’:
> DebugMemory.c:349:9: warning: ‘gtk_widget_override_font’ is deprecated 
> [-Wdeprecated-declarations]
>   349 |         gtk_widget_override_font(widget, pfd);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~
> 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:
> /usr/include/gtk-3.0/gtk/gtkwidget.h:1153:14: note: declared here
>  1153 | void         gtk_widget_override_font             (GtkWidget          
>         *widget,
>       |              ^~~~~~~~~~~~~~~~~~~~~~~~
> GtkGui.c: In function ‘OnFile_RunExe’:
> GtkGui.c:531:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   531 |                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
>       |                         ^~~~~~~~~~~~~~~~
> GtkGui.c:532:25: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   532 |                         GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL);
>       |                         ^~~~~~~~~~~~~~
> GtkGui.c: In function ‘Open_Iso_Proc’:
> GtkGui.c:665:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   665 |                 NULL, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, 
> GTK_RESPONSE_CANCEL,
>       |                 ^~~~
> GtkGui.c:666:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   666 |                 GTK_STOCK_OK, GTK_RESPONSE_OK,
>       |                 ^~~~~~~~~~~~
> GtkGui.c: In function ‘OnEmu_SwitchImage’:
> GtkGui.c:873:9: error: implicit declaration of function ‘LidInterrupt’; did 
> you mean ‘sioInterrupt’? [-Werror=implicit-function-declaration]
>   873 |         LidInterrupt(); // causes CD lid open event
>       |         ^~~~~~~~~~~~
>       |         sioInterrupt
> GtkGui.c: In function ‘on_states_load_other’:
> GtkGui.c:1020:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>  1020 |                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> GtkGui.c:1021:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>  1021 |                 GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
>       |                 ^~~~~~~~~~~~~~
> GtkGui.c: In function ‘on_states_save_other’:
> GtkGui.c:1049:25: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>  1049 |                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
>       |                         ^~~~~~~~~~~~~~~~
> GtkGui.c:1050:25: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>  1050 |                         GTK_STOCK_SAVE, GTK_RESPONSE_OK,
>       |                         ^~~~~~~~~~~~~~
> GtkGui.c: In function ‘SysMessage’:
> GtkGui.c:1091:17: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>  1091 |                 GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_OK, 
> GTK_RESPONSE_NONE, NULL);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Cheat.c: In function ‘LoadCheatListItems’:
> Cheat.c:52:9: warning: ‘gtk_tree_view_set_rules_hint’ is deprecated 
> [-Wdeprecated-declarations]
>    52 |         gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), 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 Cheat.c:25:
> /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
>   246 | void                   gtk_tree_view_set_rules_hint                
> (GtkTreeView               *tree_view,
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Cheat.c: In function ‘OnCheatListDlg_AddClicked’:
> Cheat.c:102:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   102 |                 GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, 
> GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> Cheat.c:103:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   103 |                 GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
>       |                 ^~~~~~~~~~~~
> Cheat.c:128:9: warning: ‘gtk_scrolled_window_add_with_viewport’ is 
> deprecated: Use 'gtk_container_add' instead [-Wdeprecated-declarations]
>   128 |         
> gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), code_edit);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:187:
> /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:186:16: note: declared here
>   186 | void           gtk_scrolled_window_add_with_viewport 
> (GtkScrolledWindow *scrolled_window,
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Cheat.c: In function ‘OnCheatListDlg_EditClicked’:
> Cheat.c:186:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   186 |                 GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, 
> GTK_RESPONSE_CANCEL,
>       |                 ^~~~~~~~~~~~~~~~
> Cheat.c:187:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   187 |                 GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
>       |                 ^~~~~~~~~~~~
> Cheat.c:223:9: warning: ‘gtk_scrolled_window_add_with_viewport’ is 
> deprecated: Use 'gtk_container_add' instead [-Wdeprecated-declarations]
>   223 |         
> gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), code_edit);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:186:16: note: declared here
>   186 | void           gtk_scrolled_window_add_with_viewport 
> (GtkScrolledWindow *scrolled_window,
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Cheat.c: In function ‘OnCheatListDlg_OpenClicked’:
> Cheat.c:314:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   314 |                 NULL, GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL, 
> GTK_RESPONSE_CANCEL,
>       |                 ^~~~
> Cheat.c:315:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   315 |                 GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
>       |                 ^~~~~~~~~~~~
> Cheat.c: In function ‘OnCheatListDlg_SaveClicked’:
> Cheat.c:358:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   358 |                 NULL, GTK_FILE_CHOOSER_ACTION_SAVE, GTK_STOCK_CANCEL, 
> GTK_RESPONSE_CANCEL,
>       |                 ^~~~
> Cheat.c:359:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   359 |                 GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
>       |                 ^~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I../include  
> -DPACKAGE_DATA_DIR=\"/usr/share/pcsxr/\" -DPIXMAPDIR=\"/usr/share/pixmaps/\" 
> -DLOCALE_DIR=\"/usr/share/locale/\" -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 -pthread  -I../libpcsxcore 
> -I../include -DPSEMU_DATA_DIR=\"/usr/share/psemu\" 
> -DDEF_PLUGIN_DIR=\"/usr/lib/x86_64-linux-gnu/psemu\" -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -fcommon -c -o AboutDlg.o AboutDlg.c
> Cheat.c: In function ‘UpdateCheatSearchDialog’:
> Cheat.c:624:9: warning: ‘gtk_tree_view_set_rules_hint’ is deprecated 
> [-Wdeprecated-declarations]
>   624 |         gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(widget), TRUE);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
>   246 | void                   gtk_tree_view_set_rules_hint                
> (GtkTreeView               *tree_view,
>       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Cheat.c: In function ‘OnCheatSearchDlg_FreezeClicked’:
> Cheat.c:662:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   662 |                 GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
>       |                 ^~~~~~~~~~~~~~~~
> Cheat.c:663:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   663 |                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
>       |                 ^~~~~~~~~~~~~~~~
> Cheat.c:675:9: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' 
> instead [-Wdeprecated-declarations]
>   675 |         hbox = gtk_hbox_new(FALSE, 0);
>       |         ^~~~
> 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,
>       |             ^~~~~~~~~~~~
> Cheat.c: In function ‘OnCheatSearchDlg_ModifyClicked’:
> Cheat.c:761:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   761 |                 GTK_DIALOG_MODAL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
>       |                 ^~~~~~~~~~~~~~~~
> Cheat.c:762:17: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   762 |                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL);
>       |                 ^~~~~~~~~~~~~~~~
> Cheat.c:765:9: warning: ‘gtk_hbox_new’ is deprecated: Use 'gtk_box_new' 
> instead [-Wdeprecated-declarations]
>   765 |         hbox = gtk_hbox_new(FALSE, 0);
>       |         ^~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
>    63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
>       |             ^~~~~~~~~~~~
> LnxMain.c: In function ‘main’:
> LnxMain.c:315:33: warning: ignoring return value of ‘getcwd’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   315 |                                 getcwd(path, MAXPATHLEN);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
> LnxMain.c:347:33: warning: ignoring return value of ‘getcwd’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   347 |                                 getcwd(path, MAXPATHLEN);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
> LnxMain.c:414:9: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   414 |         chdir(plugin_default_dir);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
> LnxMain.c: In function ‘ScanBios’:
> LnxMain.c:153:33: warning: ignoring return value of ‘symlink’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   153 |                                 symlink(filename, linkname);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> LnxMain.c: In function ‘ScanPlugins’:
> LnxMain.c:115:33: warning: ignoring return value of ‘symlink’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   115 |                                 symlink(filename, linkname);
>       |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> LnxMain.c:122:41: warning: ignoring return value of ‘symlink’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   122 |                                         symlink(filename, linkname);
>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> Plugin.c: In function ‘_OpenPlugins’:
> Plugin.c:376:34: warning: ‘%s’ directive writing up to 4095 bytes into a 
> region of size between 1 and 4096 [-Wformat-overflow=]
>   376 |                 sprintf(path, "%s%s", Config.BiosDir, Config.Bios);
>       |                                  ^~                   ~~~~~~~~~~~
> In file included from /usr/include/stdio.h:906,
>                  from Plugin.c:19:
> In function ‘sprintf’,
>     inlined from ‘_OpenPlugins’ at Plugin.c:376:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 1 and 8191 bytes into a destination 
> of size 4096
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> LnxMain.c: In function ‘main’:
> LnxMain.c:313:49: warning: writing 1 byte into a region of size 0 
> [-Wstringop-overflow=]
>   313 |                         isofilename[MAXPATHLEN] = '\0';
>       |                         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> LnxMain.c:309:30: note: at offset 4096 into destination object ‘isofilename’ 
> of size 4096
>   309 |                         char isofilename[MAXPATHLEN];
>       |                              ^~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:499: GtkGui.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pcsxr_1.9.94-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to