Source: yad
Version: 0.40.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\""/usr/share/locale"\"  
> -Wdate-time -D_FORTIFY_SOURCE=2 -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/sysprof-6 
> -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/gtk-3.0/unix-print -pthread     -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -fgnu89-inline -c -o yad-main.o `test 
> -f 'main.c' || echo './'`main.c
> main.c: In function ‘create_layout’:
> main.c:194:7: warning: ‘gtk_misc_set_alignment’ is deprecated 
> [-Wdeprecated-declarations]
>   194 |       gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0);
>       |       ^~~~~~~~~~~~~~~~~~~~~~
> 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 yad.h:30,
>                  from main.c:34:
> /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
>    72 | void    gtk_misc_set_alignment (GtkMisc *misc,
>       |         ^~~~~~~~~~~~~~~~~~~~~~
> main.c:216:11: warning: ‘gtk_widget_set_state’ is deprecated: Use 
> 'gtk_widget_set_state_flags' instead [-Wdeprecated-declarations]
>   216 |           gtk_widget_set_state (text, GTK_STATE_NORMAL);
>       |           ^~~~~~~~~~~~~~~~~~~~
> 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:823:23: note: declared here
>   823 | void                  gtk_widget_set_state              (GtkWidget    
> *widget,
>       |                       ^~~~~~~~~~~~~~~~~~~~
> main.c:221:15: warning: ‘gtk_misc_set_alignment’ is deprecated 
> [-Wdeprecated-declarations]
>   221 |               gtk_misc_set_alignment (GTK_MISC (text), 0.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,
>       |         ^~~~~~~~~~~~~~~~~~~~~~
> main.c:224:15: warning: ‘gtk_misc_set_alignment’ is deprecated 
> [-Wdeprecated-declarations]
>   224 |               gtk_misc_set_alignment (GTK_MISC (text), 0.5, 0.5);
>       |               ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
>    72 | void    gtk_misc_set_alignment (GtkMisc *misc,
>       |         ^~~~~~~~~~~~~~~~~~~~~~
> main.c:227:15: warning: ‘gtk_misc_set_alignment’ is deprecated 
> [-Wdeprecated-declarations]
>   227 |               gtk_misc_set_alignment (GTK_MISC (text), 1.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,
>       |         ^~~~~~~~~~~~~~~~~~~~~~
> main.c: In function ‘create_dialog’:
> main.c:539:15: warning: ‘gtk_button_set_alignment’ is deprecated 
> [-Wdeprecated-declarations]
>   539 |               gtk_button_set_alignment (GTK_BUTTON (btn), 0.5, 0.5);
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:54:
> /usr/include/gtk-3.0/gtk/gtkbutton.h:143:23: note: declared here
>   143 | void                  gtk_button_set_alignment      (GtkButton      
> *button,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~
> main.c:554:15: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 
> 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
>   554 |               btn = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
>       |               ^~~
> /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
>   103 | GtkWidget*     gtk_button_new_from_stock    (const gchar    
> *stock_id);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~
> main.c:554:15: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   554 |               btn = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
>       |               ^~~
> main.c:562:15: warning: ‘gtk_alternative_dialog_button_order’ is deprecated 
> [-Wdeprecated-declarations]
>   562 |               if (gtk_alternative_dialog_button_order (NULL))
>       |               ^~
> /usr/include/gtk-3.0/gtk/gtkdialog.h:183:10: note: declared here
>   183 | gboolean gtk_alternative_dialog_button_order (GdkScreen *screen);
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> main.c:565:19: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 
> 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
>   565 |                   btn = gtk_button_new_from_stock (GTK_STOCK_OK);
>       |                   ^~~
> /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
>   103 | GtkWidget*     gtk_button_new_from_stock    (const gchar    
> *stock_id);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~
> main.c:565:19: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   565 |                   btn = gtk_button_new_from_stock (GTK_STOCK_OK);
>       |                   ^~~
> main.c:571:19: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 
> 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
>   571 |                   btn = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
>       |                   ^~~
> /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
>   103 | GtkWidget*     gtk_button_new_from_stock    (const gchar    
> *stock_id);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~
> main.c:571:19: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   571 |                   btn = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
>       |                   ^~~
> main.c:579:19: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 
> 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
>   579 |                   btn = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
>       |                   ^~~
> /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
>   103 | GtkWidget*     gtk_button_new_from_stock    (const gchar    
> *stock_id);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~
> main.c:579:19: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   579 |                   btn = gtk_button_new_from_stock (GTK_STOCK_CANCEL);
>       |                   ^~~
> main.c:585:19: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 
> 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
>   585 |                   btn = gtk_button_new_from_stock (GTK_STOCK_OK);
>       |                   ^~~
> /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
>   103 | GtkWidget*     gtk_button_new_from_stock    (const gchar    
> *stock_id);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~
> main.c:585:19: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
>   585 |                   btn = gtk_button_new_from_stock (GTK_STOCK_OK);
>       |                   ^~~
> main.c:604:11: warning: ‘gtk_window_parse_geometry’ is deprecated 
> [-Wdeprecated-declarations]
>   604 |           gtk_window_parse_geometry (GTK_WINDOW (dlg), 
> options.data.geometry);
>       |           ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/gtkwindow.h:443:10: note: declared here
>   443 | gboolean gtk_window_parse_geometry   (GtkWindow   *window,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~
> main.c:621:19: warning: ‘gdk_screen_get_width’ is deprecated 
> [-Wdeprecated-declarations]
>   621 |                   gint sw = gdk_screen_get_width 
> (gdk_screen_get_default ());
>       |                   ^~~~
> 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/gdk/gdkx.h:28,
>                  from main.c:31:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
>    58 | gint         gdk_screen_get_width             (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~
> main.c:626:19: warning: ‘gdk_screen_get_height’ is deprecated 
> [-Wdeprecated-declarations]
>   626 |                   gint sh = gdk_screen_get_height 
> (gdk_screen_get_default ());
>       |                   ^~~~
> /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
>    60 | gint         gdk_screen_get_height            (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~
> main.c:673:73: error: passing argument 2 of ‘gtk_style_context_add_provider’ 
> from incompatible pointer type [-Wincompatible-pointer-types]
>   673 |     gtk_style_context_add_provider (gtk_widget_get_style_context 
> (dlg), css, GTK_STYLE_PROVIDER_PRIORITY_USER);
>       |                                                                       
>   ^~~
>       |                                                                       
>   |
>       |                                                                       
>   GtkCssProvider * {aka struct _GtkCssProvider *}
> In file included from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:127:
> /usr/include/gtk-3.0/gtk/gtkstylecontext.h:1034:59: note: expected 
> ‘GtkStyleProvider *’ {aka ‘struct _GtkStyleProvider *’} but argument is of 
> type ‘GtkCssProvider *’ {aka ‘struct _GtkCssProvider *’}
>  1034 |                                         GtkStyleProvider *provider,
>       |                                         ~~~~~~~~~~~~~~~~~~^~~~~~~~
> main.c: In function ‘create_plug’:
> main.c:703:73: error: passing argument 2 of ‘gtk_style_context_add_provider’ 
> from incompatible pointer type [-Wincompatible-pointer-types]
>   703 |     gtk_style_context_add_provider (gtk_widget_get_style_context 
> (win), css, GTK_STYLE_PROVIDER_PRIORITY_USER);
>       |                                                                       
>   ^~~
>       |                                                                       
>   |
>       |                                                                       
>   GtkCssProvider * {aka struct _GtkCssProvider *}
> /usr/include/gtk-3.0/gtk/gtkstylecontext.h:1034:59: note: expected 
> ‘GtkStyleProvider *’ {aka ‘struct _GtkStyleProvider *’} but argument is of 
> type ‘GtkCssProvider *’ {aka ‘struct _GtkCssProvider *’}
>  1034 |                                         GtkStyleProvider *provider,
>       |                                         ~~~~~~~~~~~~~~~~~~^~~~~~~~
> make[3]: *** [Makefile:788: yad-main.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/yad_0.40.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&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