[Pkg-mpd-maintainers] Bug#1066611: gmpc: FTBFS: Tools/gmpc-database-update-tracker.c:154:9: error: implicit declaration of function ‘main_window_add_status_icon’ [-Werror=implicit-function-declaration]
Lucas Nussbaum
lucas at debian.org
Wed Mar 13 11:50:46 GMT 2024
Source: gmpc
Version: 11.8.16-20
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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.. -DPIXMAP_PATH=\""/usr/share/gmpc/icons/"\" -DGLADE_PATH=\""/usr/share/gmpc"\" -DVERSION=\"11.8.16\" -DGMPC_BUILD=1 -I.. -I.. -I../src -I../src -I../src/egg -I../src/egg -I../src/Tools -I../src/Tools -I../src/vala -I../src/vala -I../src/Widgets -I../src/Widgets -I../src/GUI -I../src/GUI -I../src/MetaData/ -I../src/MetaData/ -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 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmpd-1.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libsoup-2.4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -Wmissing-prototypes -Wmissing-declarations -DPACKAGE_LIB_DIR=\""/usr/lib/x86_64-linux-gnu/gmpc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mpd-easy-commands.o `test -f 'Tools/mpd-easy-commands.c' || echo './'`Tools/mpd-easy-commands.c
> Tools/gmpc-database-update-tracker.c: In function ‘gmpc_tools_database_update_tracker_real_get_version’:
> Tools/gmpc-database-update-tracker.c:113:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 113 | _tmp0_ = GMPC_TOOLS_DATABASE_UPDATE_TRACKER_version;
> | ^
> In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
> from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
> from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
> from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
> from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
> from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
> from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:33,
> from ./gmpc-extras.h:6,
> from Tools/gmpc-liststore-sort.c:23:
> /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
> 236 | void gtk_type_init (GTypeDebugFlags debug_flags);
> | ^~~~
> In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
> from /usr/include/glib-2.0/gobject/gbinding.h:31,
> from /usr/include/glib-2.0/glib-object.h:24,
> from /usr/include/glib-2.0/gio/gioenums.h:30,
> from /usr/include/glib-2.0/gio/giotypes.h:30,
> from /usr/include/glib-2.0/gio/gio.h:28,
> from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
> from /usr/include/gtk-2.0/gdk/gdk.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:32:
> /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
> 723 | {
> | ^
> Tools/gmpc-metadata-prefetcher.c: In function ‘gmpc_tools_metadata_prefetcher_real_get_version’:
> Tools/gmpc-metadata-prefetcher.c:84:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 84 | _tmp0_ = GMPC_TOOLS_METADATA_PREFETCHER_version;
> | ^
> In file included from /usr/include/glib-2.0/glib/gthread.h:34,
> from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
> from /usr/include/glib-2.0/glib.h:34:
> Tools/gmpc-metadata-prefetcher.c: In function ‘gmpc_tools_metadata_prefetcher_get_type’:
> /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
> 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
> | ^~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
> 262 | (!g_atomic_pointer_get (location) && \
> | ^~~~~~~~~~~~~~~~~~~~
> Tools/gmpc-metadata-prefetcher.c:231:13: note: in expansion of macro ‘g_once_init_enter’
> 231 | if (g_once_init_enter (&gmpc_tools_metadata_prefetcher_type_id__once)) {
> | ^~~~~~~~~~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
> from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
> from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
> from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 73 | GTimeVal last_popdown;
> | ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
> from /usr/include/glib-2.0/glib.h:32,
> from /usr/include/glib-2.0/gobject/gbinding.h:30:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
> 580 | struct _GTimeVal
> | ^~~~~~~~~
> Tools/gmpc-database-update-tracker.c: In function ‘gmpc_tools_database_update_tracker_start_updating’:
> Tools/gmpc-database-update-tracker.c:154:9: error: implicit declaration of function ‘main_window_add_status_icon’ [-Werror=implicit-function-declaration]
> 154 | main_window_add_status_icon ((GtkWidget*) _tmp4_);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> Tools/gmpc-database-update-tracker.c: In function ‘gmpc_tools_database_update_tracker_stop_updating’:
> Tools/gmpc-database-update-tracker.c:171:16: warning: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
> 171 | _tmp2_ = gtk_widget_get_parent ((GtkWidget*) _tmp1_);
> | ^
> Tools/gmpc-database-update-tracker.c: In function ‘gmpc_tools_database_update_tracker_connection_changed’:
> Tools/gmpc-database-update-tracker.c:253:53: warning: passing argument 1 of ‘gmpc_profiles_get_current’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 253 | _tmp1_ = gmpc_profiles_get_current (_tmp0_);
> | ^~~~~~
> In file included from ./plugin.h:25,
> from Tools/gmpc-database-update-tracker.c:36:
> gmpc-profiles.gob:452:52: note: expected ‘GmpcProfiles *’ {aka ‘struct _GmpcProfiles *’} but argument is of type ‘const GmpcProfiles *’ {aka ‘const struct _GmpcProfiles *’}
> 452 | public
> | ^
> Tools/gmpc-database-update-tracker.c:263:65: warning: passing argument 1 of ‘gmpc_profiles_get_db_update_time’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 263 | dut = gmpc_profiles_get_db_update_time (_tmp3_, _tmp4_);
> | ^~~~~~
> gmpc-profiles.gob:333:55: note: expected ‘GmpcProfiles *’ {aka ‘struct _GmpcProfiles *’} but argument is of type ‘const GmpcProfiles *’ {aka ‘const struct _GmpcProfiles *’}
> 333 | public
> | ^
> Tools/gmpc-database-update-tracker.c:271:67: warning: passing argument 1 of ‘gmpc_profiles_set_db_update_time’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 271 | gmpc_profiles_set_db_update_time (_tmp5_, _tmp6_, serv_dut);
> | ^~~~~~
> gmpc-profiles.gob:606:56: note: expected ‘GmpcProfiles *’ {aka ‘struct _GmpcProfiles *’} but argument is of type ‘const GmpcProfiles *’ {aka ‘const struct _GmpcProfiles *’}
> 606 | public
> | ^
> Tools/gmpc-database-update-tracker.c: In function ‘gmpc_tools_database_update_tracker_status_changed’:
> Tools/gmpc-database-update-tracker.c:308:53: warning: passing argument 1 of ‘gmpc_profiles_get_current’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 308 | _tmp1_ = gmpc_profiles_get_current (_tmp0_);
> | ^~~~~~
> gmpc-profiles.gob:452:52: note: expected ‘GmpcProfiles *’ {aka ‘struct _GmpcProfiles *’} but argument is of type ‘const GmpcProfiles *’ {aka ‘const struct _GmpcProfiles *’}
> 452 | public
> | ^
> In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
> from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
> from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
> from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
> from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
> from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
> from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:33,
> from Tools/gmpc-metadata-appearance.c:24:
> /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
> 236 | void gtk_type_init (GTypeDebugFlags debug_flags);
> | ^~~~
> In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
> from /usr/include/glib-2.0/gobject/gbinding.h:31,
> from /usr/include/glib-2.0/glib-object.h:24,
> from /usr/include/glib-2.0/gio/gioenums.h:30,
> from /usr/include/glib-2.0/gio/giotypes.h:30,
> from /usr/include/glib-2.0/gio/gio.h:28,
> from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
> from /usr/include/gtk-2.0/gdk/gdk.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:32:
> /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
> 723 | {
> | ^
> Tools/gmpc-database-update-tracker.c:319:65: warning: passing argument 1 of ‘gmpc_profiles_get_db_update_time’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 319 | dut = gmpc_profiles_get_db_update_time (_tmp3_, _tmp4_);
> | ^~~~~~
> gmpc-profiles.gob:333:55: note: expected ‘GmpcProfiles *’ {aka ‘struct _GmpcProfiles *’} but argument is of type ‘const GmpcProfiles *’ {aka ‘const struct _GmpcProfiles *’}
> 333 | public
> | ^
> Tools/gmpc-database-update-tracker.c:328:67: warning: passing argument 1 of ‘gmpc_profiles_set_db_update_time’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 328 | gmpc_profiles_set_db_update_time (_tmp6_, _tmp7_, serv_dut);
> | ^~~~~~
> gmpc-profiles.gob:606:56: note: expected ‘GmpcProfiles *’ {aka ‘struct _GmpcProfiles *’} but argument is of type ‘const GmpcProfiles *’ {aka ‘const struct _GmpcProfiles *’}
> 606 | public
> | ^
> In file included from /usr/include/glib-2.0/glib/gthread.h:34,
> from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
> from /usr/include/glib-2.0/glib.h:34:
> Tools/gmpc-database-update-tracker.c: In function ‘gmpc_tools_database_update_tracker_get_type’:
> gcc -DHAVE_CONFIG_H -I. -I.. -DPIXMAP_PATH=\""/usr/share/gmpc/icons/"\" -DGLADE_PATH=\""/usr/share/gmpc"\" -DVERSION=\"11.8.16\" -DGMPC_BUILD=1 -I.. -I.. -I../src -I../src -I../src/egg -I../src/egg -I../src/Tools -I../src/Tools -I../src/vala -I../src/vala -I../src/Widgets -I../src/Widgets -I../src/GUI -I../src/GUI -I../src/MetaData/ -I../src/MetaData/ -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 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmpd-1.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libsoup-2.4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -Wmissing-prototypes -Wmissing-declarations -DPACKAGE_LIB_DIR=\""/usr/lib/x86_64-linux-gnu/gmpc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o advanced-search.o `test -f 'Tools/advanced-search.c' || echo './'`Tools/advanced-search.c
> /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
> 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
> | ^~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
> 262 | (!g_atomic_pointer_get (location) && \
> | ^~~~~~~~~~~~~~~~~~~~
> Tools/gmpc-database-update-tracker.c:432:13: note: in expansion of macro ‘g_once_init_enter’
> 432 | if (g_once_init_enter (&gmpc_tools_database_update_tracker_type_id__once)) {
> | ^~~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib/gthread.h:34,
> from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
> from /usr/include/glib-2.0/glib.h:34:
> Tools/gmpc-liststore-sort.c: In function ‘gmpc_tools_liststore_sort_get_type’:
> /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
> 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
> | ^~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
> 262 | (!g_atomic_pointer_get (location) && \
> | ^~~~~~~~~~~~~~~~~~~~
> Tools/gmpc-liststore-sort.c:239:13: note: in expansion of macro ‘g_once_init_enter’
> 239 | if (g_once_init_enter (&gmpc_tools_liststore_sort_type_id__once)) {
> | ^~~~~~~~~~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
> from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
> from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
> from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 73 | GTimeVal last_popdown;
> | ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
> from /usr/include/glib-2.0/glib.h:32,
> from Tools/gmpc-metadata-appearance.c:23:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
> 580 | struct _GTimeVal
> | ^~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
> from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
> from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
> from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
> from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
> from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
> from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:33,
> from ./plugin.h:20,
> from ./main.h:35,
> from Tools/gmpc_easy_download.c:27:
> /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
> 236 | void gtk_type_init (GTypeDebugFlags debug_flags);
> | ^~~~
> In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
> from /usr/include/glib-2.0/gobject/gbinding.h:31,
> from /usr/include/glib-2.0/glib-object.h:24,
> from /usr/include/glib-2.0/gio/gioenums.h:30,
> from /usr/include/glib-2.0/gio/giotypes.h:30,
> from /usr/include/glib-2.0/gio/gio.h:28,
> from /usr/include/libsoup-2.4/libsoup/soup-types.h:9,
> from /usr/include/libsoup-2.4/libsoup/soup-address.h:11,
> from /usr/include/libsoup-2.4/libsoup/soup.h:11,
> from Tools/gmpc_easy_download.c:24:
> /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
> 723 | {
> | ^
> gcc -DHAVE_CONFIG_H -I. -I.. -DPIXMAP_PATH=\""/usr/share/gmpc/icons/"\" -DGLADE_PATH=\""/usr/share/gmpc"\" -DVERSION=\"11.8.16\" -DGMPC_BUILD=1 -I.. -I.. -I../src -I../src -I../src/egg -I../src/egg -I../src/Tools -I../src/Tools -I../src/vala -I../src/vala -I../src/Widgets -I../src/Widgets -I../src/GUI -I../src/GUI -I../src/MetaData/ -I../src/MetaData/ -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 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmpd-1.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -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/atk-1.0 -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libsoup-2.4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -Wmissing-prototypes -Wmissing-declarations -DPACKAGE_LIB_DIR=\""/usr/lib/x86_64-linux-gnu/gmpc"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o setup-assistant.o `test -f 'Tools/setup-assistant.c' || echo './'`Tools/setup-assistant.c
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_real_get_version’:
> Tools/gmpc-metadata-appearance.c:81:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 81 | _tmp0_ = GMPC_TOOLS_METADATA_APPEARANCE_version;
> | ^
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_on_checkbutton_show_lyrics_toggled’:
> Tools/gmpc-metadata-appearance.c:106:38: warning: passing argument 1 of ‘cfg_set_single_value_as_int’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 106 | cfg_set_single_value_as_int (_tmp0_, "MetaData", "show-lyrics", (gint) gtk_toggle_button_get_active ((GtkToggleButton*) source));
> | ^~~~~~
> In file included from ./plugin.h:23,
> from Tools/gmpc-metadata-appearance.c:30:
> ./config1.h:120:47: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 120 | void cfg_set_single_value_as_int(config_obj * cfg, const char *class,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_on_checkbutton_show_artist_information_toggled’:
> Tools/gmpc-metadata-appearance.c:115:38: warning: passing argument 1 of ‘cfg_set_single_value_as_int’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 115 | cfg_set_single_value_as_int (_tmp0_, "MetaData", "show-artist-information", (gint) gtk_toggle_button_get_active ((GtkToggleButton*) source));
> | ^~~~~~
> ./config1.h:120:47: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 120 | void cfg_set_single_value_as_int(config_obj * cfg, const char *class,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_on_checkbutton_show_web_links_toggled’:
> Tools/gmpc-metadata-appearance.c:124:38: warning: passing argument 1 of ‘cfg_set_single_value_as_int’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 124 | cfg_set_single_value_as_int (_tmp0_, "MetaData", "show-web-links", (gint) gtk_toggle_button_get_active ((GtkToggleButton*) source));
> | ^~~~~~
> ./config1.h:120:47: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 120 | void cfg_set_single_value_as_int(config_obj * cfg, const char *class,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_on_checkbutton_show_similar_artists_toggled’:
> Tools/gmpc-metadata-appearance.c:133:38: warning: passing argument 1 of ‘cfg_set_single_value_as_int’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 133 | cfg_set_single_value_as_int (_tmp0_, "MetaData", "show-similar-artist", (gint) gtk_toggle_button_get_active ((GtkToggleButton*) source));
> | ^~~~~~
> ./config1.h:120:47: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 120 | void cfg_set_single_value_as_int(config_obj * cfg, const char *class,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_on_checkbutton_show_similar_songs_toggled’:
> Tools/gmpc-metadata-appearance.c:142:38: warning: passing argument 1 of ‘cfg_set_single_value_as_int’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 142 | cfg_set_single_value_as_int (_tmp0_, "MetaData", "show-similar-songs", (gint) gtk_toggle_button_get_active ((GtkToggleButton*) source));
> | ^~~~~~
> ./config1.h:120:47: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 120 | void cfg_set_single_value_as_int(config_obj * cfg, const char *class,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_on_checkbutton_show_guitar_tabs_toggled’:
> Tools/gmpc-metadata-appearance.c:151:38: warning: passing argument 1 of ‘cfg_set_single_value_as_int’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 151 | cfg_set_single_value_as_int (_tmp0_, "MetaData", "show-guitar-tabs", (gint) gtk_toggle_button_get_active ((GtkToggleButton*) source));
> | ^~~~~~
> ./config1.h:120:47: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 120 | void cfg_set_single_value_as_int(config_obj * cfg, const char *class,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_real_preferences_pane_construct’:
> Tools/gmpc-metadata-appearance.c:226:195: warning: passing argument 1 of ‘cfg_get_single_value_as_int_with_default’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 226 | gtk_toggle_button_set_active ((GtkToggleButton*) G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_CHECK_BUTTON, GtkCheckButton), (gboolean) cfg_get_single_value_as_int_with_default (_tmp9_, "MetaData", "show-lyrics", 1));
> | ^~~~~~
> ./config1.h:131:59: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 131 | int cfg_get_single_value_as_int_with_default(config_obj * cfg,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c:233:196: warning: passing argument 1 of ‘cfg_get_single_value_as_int_with_default’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 233 | gtk_toggle_button_set_active ((GtkToggleButton*) G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GTK_TYPE_CHECK_BUTTON, GtkCheckButton), (gboolean) cfg_get_single_value_as_int_with_default (_tmp13_, "MetaData", "show-artist-information", 1));
> | ^~~~~~~
> ./config1.h:131:59: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 131 | int cfg_get_single_value_as_int_with_default(config_obj * cfg,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c:240:196: warning: passing argument 1 of ‘cfg_get_single_value_as_int_with_default’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 240 | gtk_toggle_button_set_active ((GtkToggleButton*) G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GTK_TYPE_CHECK_BUTTON, GtkCheckButton), (gboolean) cfg_get_single_value_as_int_with_default (_tmp17_, "MetaData", "show-web-links", 1));
> | ^~~~~~~
> ./config1.h:131:59: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 131 | int cfg_get_single_value_as_int_with_default(config_obj * cfg,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c:247:196: warning: passing argument 1 of ‘cfg_get_single_value_as_int_with_default’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 247 | gtk_toggle_button_set_active ((GtkToggleButton*) G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GTK_TYPE_CHECK_BUTTON, GtkCheckButton), (gboolean) cfg_get_single_value_as_int_with_default (_tmp21_, "MetaData", "show-similar-artist", 1));
> | ^~~~~~~
> ./config1.h:131:59: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 131 | int cfg_get_single_value_as_int_with_default(config_obj * cfg,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c:254:196: warning: passing argument 1 of ‘cfg_get_single_value_as_int_with_default’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 254 | gtk_toggle_button_set_active ((GtkToggleButton*) G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_CHECK_BUTTON, GtkCheckButton), (gboolean) cfg_get_single_value_as_int_with_default (_tmp25_, "MetaData", "show-similar-songs", 1));
> | ^~~~~~~
> ./config1.h:131:59: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 131 | int cfg_get_single_value_as_int_with_default(config_obj * cfg,
> | ~~~~~~~~~~~~~^~~
> Tools/gmpc-metadata-appearance.c:261:196: warning: passing argument 1 of ‘cfg_get_single_value_as_int_with_default’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> 261 | gtk_toggle_button_set_active ((GtkToggleButton*) G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GTK_TYPE_CHECK_BUTTON, GtkCheckButton), (gboolean) cfg_get_single_value_as_int_with_default (_tmp29_, "MetaData", "show-guitar-tabs", 1));
> | ^~~~~~~
> ./config1.h:131:59: note: expected ‘config_obj *’ {aka ‘struct _config_obj *’} but argument is of type ‘const config_obj *’ {aka ‘const struct _config_obj *’}
> 131 | int cfg_get_single_value_as_int_with_default(config_obj * cfg,
> | ~~~~~~~~~~~~~^~~
> In file included from /usr/include/glib-2.0/glib/gthread.h:34,
> from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
> from /usr/include/glib-2.0/glib.h:34:
> Tools/gmpc-metadata-appearance.c: In function ‘gmpc_tools_metadata_appearance_get_type’:
> /usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wincompatible-pointer-types]
> 131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
> | ^~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gthread.h:262:7: note: in expansion of macro ‘g_atomic_pointer_get’
> 262 | (!g_atomic_pointer_get (location) && \
> | ^~~~~~~~~~~~~~~~~~~~
> Tools/gmpc-metadata-appearance.c:387:13: note: in expansion of macro ‘g_once_init_enter’
> 387 | if (g_once_init_enter (&gmpc_tools_metadata_appearance_type_id__once)) {
> | ^~~~~~~~~~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
> from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
> from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
> from /usr/include/gtk-2.0/gtk/gtk.h:126:
> /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
> 73 | GTimeVal last_popdown;
> | ^~~~~~~~
> In file included from /usr/include/glib-2.0/glib/galloca.h:34,
> from /usr/include/glib-2.0/glib.h:32,
> from Tools/gmpc_easy_download.c:23:
> /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
> 580 | struct _GTimeVal
> | ^~~~~~~~~
> In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
> from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
> from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
> from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
> from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
> from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
> from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:33,
> from ./plugin.h:20,
> from ./main.h:35,
> from Tools/mpd-easy-commands.c:1:
> /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
> 236 | void gtk_type_init (GTypeDebugFlags debug_flags);
> | ^~~~
> In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
> from /usr/include/glib-2.0/gobject/gbinding.h:31,
> from /usr/include/glib-2.0/glib-object.h:24,
> from /usr/include/glib-2.0/gio/gioenums.h:30,
> from /usr/include/glib-2.0/gio/giotypes.h:30,
> from /usr/include/glib-2.0/gio/gio.h:28,
> from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
> from /usr/include/gtk-2.0/gdk/gdk.h:32,
> from /usr/include/gtk-2.0/gtk/gtk.h:32:
> /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
> 723 | {
> | ^
> cc1: some warnings being treated as errors
> make[5]: *** [Makefile:1516: gmpc-database-update-tracker.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/gmpc_11.8.16-20_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@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.
More information about the Pkg-mpd-maintainers
mailing list