Source: spotlighter
Version: 0.3-1.1
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..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" 
> -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" 
> -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  -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/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  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -c -o spotlighter-spotlighter.o `test 
> -f 'spotlighter.c' || echo './'`spotlighter.c
> spotlighter.c: In function ‘create_window’:
> spotlighter.c:102:3: warning: ‘gtk_widget_set_double_buffered’ is deprecated 
> [-Wdeprecated-declarations]
>   102 |   gtk_widget_set_double_buffered (window, FALSE);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
>                  from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
>                  from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
>                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
>                  from spotlighter.h:27,
>                  from spotlighter.c:23:
> /usr/include/gtk-3.0/gtk/gtkwidget.h:883:23: note: declared here
>   883 | void                  gtk_widget_set_double_buffered    (GtkWidget    
> *widget,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> spotlighter.c:105:3: error: implicit declaration of function 
> ‘on_window_screen_changed’ [-Werror=implicit-function-declaration]
>   105 |   on_window_screen_changed (window, NULL, NULL);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~
> spotlighter.c:108:3: warning: ‘gtk_window_set_opacity’ is deprecated: Use 
> 'gtk_widget_set_opacity' instead [-Wdeprecated-declarations]
>   108 |   gtk_window_set_opacity (GTK_WINDOW (window), 0);
>       |   ^~~~~~~~~~~~~~~~~~~~~~
> /usr/include/gtk-3.0/gtk/gtkwindow.h:200:12: note: declared here
>   200 | void       gtk_window_set_opacity              (GtkWindow           
> *window,
>       |            ^~~~~~~~~~~~~~~~~~~~~~
> spotlighter.c:110:3: warning: ‘gdk_screen_width’ is deprecated 
> [-Wdeprecated-declarations]
>   110 |   int width = gdk_screen_width ();
>       |   ^~~
> In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
>                  from /usr/include/gtk-3.0/gtk/gtk.h:30:
> /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here
>   108 | gint gdk_screen_width  (void) G_GNUC_CONST;
>       |      ^~~~~~~~~~~~~~~~
> spotlighter.c:111:3: warning: ‘gdk_screen_height’ is deprecated 
> [-Wdeprecated-declarations]
>   111 |   int height = gdk_screen_height ();
>       |   ^~~
> /usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here
>   110 | gint gdk_screen_height (void) G_GNUC_CONST;
>       |      ^~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:514: spotlighter-spotlighter.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/spotlighter_0.3-1.1_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