Source: obconf
Version: 1:2.0.4+git20150213-2
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 -DPACKAGE_NAME=\"obconf\" -DPACKAGE_TARNAME=\"obconf\" 
> -DPACKAGE_VERSION=\"2.0.4\" -DPACKAGE_STRING=\"obconf\ 2.0.4\" 
> -DPACKAGE_BUGREPORT=\"http://bugzilla.icculus.org\"; -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"obconf\" -DVERSION=\"2.0.4\" -DENABLE_NLS=1 -DHAVE_GETTEXT=1 
> -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/openbox/3.6 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 
> -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 
> -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid 
> -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -pthread  
> -I/usr/include/startup-notification-1.0  -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/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpng16 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -pthread 
> -I/usr/include/libmount -I/usr/include/blkid   
> -DLOCALEDIR=\"/usr/share/locale\" -DPIXMAPDIR=\"/usr/share/pixmaps\" 
> -DRESOURCEDIR=\"/usr/share/obconf\" -DTHEMEDIR=\"/usr/share/openbox/themes\" 
> -DG_LOG_DOMAIN=\"Obconf\" -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 -c -o src/obconf-tree.o `test -f 
> 'src/tree.c' || echo './'`src/tree.c
> src/appearance.c: In function ‘on_title_layout_changed’:
> src/appearance.c:155:19: error: implicit declaration of function ‘toupper’ 
> [-Werror=implicit-function-declaration]
>   155 |             *it = toupper(*it);
>       |                   ^~~~~~~
> src/appearance.c:23:1: note: include ‘<ctype.h>’ or provide a declaration of 
> ‘toupper’
>    22 | #include "preview_update.h"
>   +++ |+#include <ctype.h>
>    23 | 
> src/appearance.c: In function ‘read_font’:
> src/appearance.c:261:5: warning: ‘gtk_font_button_set_font_name’ is 
> deprecated [-Wdeprecated-declarations]
>   261 |     gtk_font_button_set_font_name(w, fontstring);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/gtk-3.0/gtk/gtk.h:109,
>                  from src/main.h:27,
>                  from src/appearance.c:20:
> /usr/include/gtk-3.0/gtk/gtkfontbutton.h:98:23: note: declared here
>    98 | gboolean              gtk_font_button_set_font_name  (GtkFontButton 
> *font_button,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/appearance.c: In function ‘write_font’:
> src/appearance.c:292:5: warning: ‘gtk_font_button_get_font_name’ is 
> deprecated [-Wdeprecated-declarations]
>   292 |     font = g_strdup(gtk_font_button_get_font_name(w));
>       |     ^~~~
> /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here
>    96 | const gchar *         gtk_font_button_get_font_name  (GtkFontButton 
> *font_button);
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/theme.c: In function ‘on_install_theme_clicked’:
> src/theme.c:112:37: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   112 |                                     GTK_STOCK_OK, GTK_RESPONSE_OK,
>       |                                     ^~~~~~~~~~~~
> src/theme.c:113:37: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   113 |                                     GTK_STOCK_CANCEL, 
> GTK_RESPONSE_NONE,
>       |                                     ^~~~~~~~~~~~~~~~
> src/theme.c: In function ‘on_theme_archive_clicked’:
> src/theme.c:144:37: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   144 |                                     GTK_STOCK_OK, GTK_RESPONSE_OK,
>       |                                     ^~~~~~~~~~~~
> src/theme.c:145:37: warning: ‘GtkStock’ is deprecated 
> [-Wdeprecated-declarations]
>   145 |                                     GTK_STOCK_CANCEL, 
> GTK_RESPONSE_NONE,
>       |                                     ^~~~~~~~~~~~~~~~
> src/main.c: In function ‘main’:
> src/main.c:295:9: error: implicit declaration of function 
> ‘moveresize_setup_tab’; did you mean ‘mouse_setup_tab’? 
> [-Werror=implicit-function-declaration]
>   295 |         moveresize_setup_tab();
>       |         ^~~~~~~~~~~~~~~~~~~~
>       |         mouse_setup_tab
> src/main.c:297:9: error: implicit declaration of function 
> ‘desktops_setup_tab’; did you mean ‘desktops_setup_num’? 
> [-Werror=implicit-function-declaration]
>   297 |         desktops_setup_tab();
>       |         ^~~~~~~~~~~~~~~~~~
>       |         desktops_setup_num
> src/main.c: In function ‘obconf_show_main’:
> src/main.c:359:9: warning: ‘gdk_screen_get_number’ is deprecated 
> [-Wdeprecated-declarations]
>   359 |         (sn_d, gdk_screen_get_number(gdk_display_get_default_screen
>       |         ^
> 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 src/main.h:27,
>                  from src/main.c:20:
> /usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
>    56 | gint         gdk_screen_get_number            (GdkScreen   *screen);
>       |              ^~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:824: src/obconf-appearance.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/obconf_2.0.4+git20150213-2_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