Bug#1066393: gnome-shell-extension-manager: FTBFS: ../src/main.c:168:9: error: implicit declaration of function ‘waitpid’ [-Werror=implicit-function-declaration]

Lucas Nussbaum lucas at debian.org
Wed Mar 13 11:50:55 GMT 2024


Source: gnome-shell-extension-manager
Version: 0.4.3-1
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):
> cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/main.c.o -MF src/extension-manager.p/main.c.o.d -o src/extension-manager.p/main.c.o -c ../src/main.c
> ../src/main.c: In function ‘main’:
> ../src/main.c:168:9: error: implicit declaration of function ‘waitpid’ [-Werror=implicit-function-declaration]
>   168 |         waitpid (pid, 0, 0);
>       |         ^~~~~~~
> ../src/main.c: In function ‘handler’:
> ../src/main.c:48:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>    48 |         write (pipe_fd[1], backtrace, strlen (backtrace));
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> [42/69] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-application.c.o -MF src/extension-manager.p/exm-application.c.o.d -o src/extension-manager.p/exm-application.c.o -c ../src/exm-application.c
> ../src/exm-application.c: In function ‘exm_application_finalize’:
> ../src/exm-application.c:48:21: warning: unused variable ‘self’ [-Wunused-variable]
>    48 |     ExmApplication *self = (ExmApplication *)object;
>       |                     ^~~~
> ../src/exm-application.c: In function ‘exm_application_open’:
> ../src/exm-application.c:101:38: warning: unused parameter ‘hint’ [-Wunused-parameter]
>   101 |                       const gchar   *hint)
>       |                       ~~~~~~~~~~~~~~~^~~~
> ../src/exm-application.c: In function ‘exm_application_show_about’:
> ../src/exm-application.c:157:44: warning: unused parameter ‘action’ [-Wunused-parameter]
>   157 | exm_application_show_about (GSimpleAction *action,
>       |                             ~~~~~~~~~~~~~~~^~~~~~
> ../src/exm-application.c:158:44: warning: unused parameter ‘parameter’ [-Wunused-parameter]
>   158 |                             GVariant      *parameter,
>       |                             ~~~~~~~~~~~~~~~^~~~~~~~~
> [43/69] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-detail-view.c.o -MF src/extension-manager.p/exm-detail-view.c.o.d -o src/extension-manager.p/exm-detail-view.c.o -c ../src/exm-detail-view.c
> ../src/exm-detail-view.c: In function ‘exm_detail_view_finalize’:
> ../src/exm-detail-view.c:102:20: warning: unused variable ‘self’ [-Wunused-variable]
>   102 |     ExmDetailView *self = (ExmDetailView *)object;
>       |                    ^~~~
> ../src/exm-detail-view.c: In function ‘on_get_comments’:
> ../src/exm-detail-view.c:225:30: warning: cast between incompatible function types from ‘GtkWidget * (*)(ExmComment *)’ {aka ‘struct _GtkWidget * (*)(struct _ExmComment *)’} to ‘GtkWidget * (*)(void *, void *)’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} [-Wcast-function-type]
>   225 |                              (GtkListBoxCreateWidgetFunc) comment_factory,
>       |                              ^
> ../src/exm-detail-view.c: In function ‘show_more_comments’:
> ../src/exm-detail-view.c:241:32: warning: unused parameter ‘button’ [-Wunused-parameter]
>   241 | show_more_comments (GtkButton *button,
>       |                     ~~~~~~~~~~~^~~~~~
> ../src/exm-detail-view.c: In function ‘on_data_loaded’:
> ../src/exm-detail-view.c:283:12: warning: unused variable ‘uri’ [-Wunused-variable]
>   283 |     gchar *uri;
>       |            ^~~
> ../src/exm-detail-view.c: In function ‘open_link’:
> ../src/exm-detail-view.c:446:27: warning: unused parameter ‘param’ [-Wunused-parameter]
>   446 |            GVariant      *param)
>       |            ~~~~~~~~~~~~~~~^~~~~
> ../src/exm-detail-view.c: In function ‘notify_zoom’:
> ../src/exm-detail-view.c:465:30: warning: unused parameter ‘pspec’ [-Wunused-parameter]
>   465 |              GParamSpec     *pspec,
>       |              ~~~~~~~~~~~~~~~~^~~~~
> ../src/exm-detail-view.c: In function ‘exm_detail_view_class_init’:
> ../src/exm-detail-view.c:558:84: warning: passing argument 4 of ‘gtk_widget_class_install_action’ from incompatible pointer type [-Wincompatible-pointer-types]
>   558 |     gtk_widget_class_install_action (widget_class, "detail.open-extensions", NULL, open_link);
>       |                                                                                    ^~~~~~~~~
>       |                                                                                    |
>       |                                                                                    void (*)(ExmDetailView *, const char *, GVariant *) {aka void (*)(struct _ExmDetailView *, const char *, struct _GVariant *)}
> In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:26,
>                  from /usr/include/gtk-4.0/gtk/gtkwindow.h:32,
>                  from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:29,
>                  from /usr/include/gtk-4.0/gtk/gtk.h:33,
>                  from /usr/include/libadwaita-1/adwaita.h:9,
>                  from ../src/exm-detail-view.h:3,
>                  from ../src/exm-detail-view.c:21:
> /usr/include/gtk-4.0/gtk/gtkwidget.h:955:87: note: expected ‘GtkWidgetActionActivateFunc’ {aka ‘void (*)(struct _GtkWidget *, const char *, struct _GVariant *)’} but argument is of type ‘void (*)(ExmDetailView *, const char *, GVariant *)’ {aka ‘void (*)(struct _ExmDetailView *, const char *, struct _GVariant *)’}
>   955 |                                                          GtkWidgetActionActivateFunc  activate);
>       |                                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> ../src/exm-detail-view.c:559:82: warning: passing argument 4 of ‘gtk_widget_class_install_action’ from incompatible pointer type [-Wincompatible-pointer-types]
>   559 |     gtk_widget_class_install_action (widget_class, "detail.open-homepage", NULL, open_link);
>       |                                                                                  ^~~~~~~~~
>       |                                                                                  |
>       |                                                                                  void (*)(ExmDetailView *, const char *, GVariant *) {aka void (*)(struct _ExmDetailView *, const char *, struct _GVariant *)}
> /usr/include/gtk-4.0/gtk/gtkwidget.h:955:87: note: expected ‘GtkWidgetActionActivateFunc’ {aka ‘void (*)(struct _GtkWidget *, const char *, struct _GVariant *)’} but argument is of type ‘void (*)(ExmDetailView *, const char *, GVariant *)’ {aka ‘void (*)(struct _ExmDetailView *, const char *, struct _GVariant *)’}
>   955 |                                                          GtkWidgetActionActivateFunc  activate);
>       |                                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> [44/69] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-window.c.o -MF src/extension-manager.p/exm-window.c.o.d -o src/extension-manager.p/exm-window.c.o -c ../src/exm-window.c
> ../src/exm-window.c: In function ‘exm_window_finalize’:
> ../src/exm-window.c:64:16: warning: unused variable ‘self’ [-Wunused-variable]
>    64 |     ExmWindow *self = (ExmWindow *)object;
>       |                ^~~~
> ../src/exm-window.c: In function ‘exm_window_set_property’:
> ../src/exm-window.c:93:16: warning: unused variable ‘self’ [-Wunused-variable]
>    93 |     ExmWindow *self = EXM_WINDOW (object);
>       |                ^~~~
> ../src/exm-window.c:90:40: warning: unused parameter ‘value’ [-Wunused-parameter]
>    90 |                          const GValue *value,
>       |                          ~~~~~~~~~~~~~~^~~~~
> ../src/exm-window.c: In function ‘extension_open_prefs’:
> ../src/exm-window.c:104:35: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   104 |                       const char *action_name,
>       |                       ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c: In function ‘extension_state_set’:
> ../src/exm-window.c:121:34: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   121 |                      const char *action_name,
>       |                      ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c: In function ‘extension_remove’:
> ../src/exm-window.c:165:31: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   165 |                   const char *action_name,
>       |                   ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c: In function ‘extension_unsupported_dialog_response’:
> ../src/exm-window.c:229:36: warning: cast between incompatible function types from ‘void (*)(GObject *, GAsyncResult *)’ {aka ‘void (*)(struct _GObject *, struct _GAsyncResult *)’} to ‘void (*)(GObject *, GAsyncResult *, void *)’ {aka ‘void (*)(struct _GObject *, struct _GAsyncResult *, void *)’} [-Wcast-function-type]
>   229 |                                    (GAsyncReadyCallback) on_install_done,
>       |                                    ^
> ../src/exm-window.c: In function ‘extension_install’:
> ../src/exm-window.c:280:32: warning: cast between incompatible function types from ‘void (*)(GObject *, GAsyncResult *)’ {aka ‘void (*)(struct _GObject *, struct _GAsyncResult *)’} to ‘void (*)(GObject *, GAsyncResult *, void *)’ {aka ‘void (*)(struct _GObject *, struct _GAsyncResult *, void *)’} [-Wcast-function-type]
>   280 |                                (GAsyncReadyCallback) on_install_done,
>       |                                ^
> ../src/exm-window.c:240:32: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   240 |                    const char *action_name,
>       |                    ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c: In function ‘show_page’:
> ../src/exm-window.c:286:24: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   286 |            const char *action_name,
>       |            ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c: In function ‘show_upgrade_assistant’:
> ../src/exm-window.c:326:37: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   326 |                         const char *action_name,
>       |                         ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c:327:37: warning: unused parameter ‘param’ [-Wunused-parameter]
>   327 |                         GVariant   *param)
>       |                         ~~~~~~~~~~~~^~~~~
> ../src/exm-window.c: In function ‘show_error_dialog’:
> ../src/exm-window.c:341:32: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   341 |                    const char *action_name,
>       |                    ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c: In function ‘show_error’:
> ../src/exm-window.c:358:25: warning: unused parameter ‘action_name’ [-Wunused-parameter]
>   358 |             const char *action_name,
>       |             ~~~~~~~~~~~~^~~~~~~~~~~
> ../src/exm-window.c: In function ‘on_error’:
> ../src/exm-window.c:381:23: warning: unused parameter ‘manager’ [-Wunused-parameter]
>   381 | on_error (ExmManager *manager,
>       |           ~~~~~~~~~~~~^~~~~~~
> ../src/exm-window.c: In function ‘do_version_check’:
> ../src/exm-window.c:438:12: warning: variable ‘version_string’ set but not used [-Wunused-but-set-variable]
>   438 |     gchar *version_string;
>       |            ^~~~~~~~~~~~~~
> ../src/exm-window.c:435:30: warning: unused parameter ‘self’ [-Wunused-parameter]
>   435 | do_version_check (ExmWindow *self)
>       |                   ~~~~~~~~~~~^~~~
> In file included from /usr/include/glib-2.0/gobject/gobject.h:30,
>                  from /usr/include/glib-2.0/gobject/gbinding.h:31,
>                  from /usr/include/glib-2.0/glib-object.h:24,
>                  from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
>                  from /usr/include/gtk-4.0/gtk/css/gtkcss.h:33,
>                  from /usr/include/gtk-4.0/gtk/gtk.h:29,
>                  from /usr/include/libadwaita-1/adwaita.h:9,
>                  from ../src/exm-window.h:21,
>                  from ../src/exm-window.c:20:
> ../src/exm-window.c: In function ‘exm_window_init’:
> /usr/include/glib-2.0/gobject/gsignal.h:515:59: warning: passing argument 3 of ‘g_signal_connect_data’ from incompatible pointer type [-Wincompatible-pointer-types]
>   515 |     g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
>       |                                                           ^~~~~~~~~~~
>       |                                                           |
>       |                                                           void (*)(ExmManager *, char *, ExmWindow *) {aka void (*)(struct _ExmManager *, char *, struct _ExmWindow *)}
> ../src/exm-window.c:462:5: note: in expansion of macro ‘g_signal_connect’
>   462 |     g_signal_connect (self->manager, "error-occurred", on_error, self);
>       |     ^~~~~~~~~~~~~~~~
> /usr/include/glib-2.0/gobject/gsignal.h:411:67: note: expected ‘GCallback’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(ExmManager *, char *, ExmWindow *)’ {aka ‘void (*)(struct _ExmManager *, char *, struct _ExmWindow *)’}
>   411 |                                                GCallback          c_handler,
>       |                                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> [45/69] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-comment-tile.c.o -MF src/extension-manager.p/exm-comment-tile.c.o.d -o src/extension-manager.p/exm-comment-tile.c.o -c ../src/exm-comment-tile.c
> ../src/exm-comment-tile.c: In function ‘exm_comment_tile_finalize’:
> ../src/exm-comment-tile.c:40:21: warning: unused variable ‘self’ [-Wunused-variable]
>    40 |     ExmCommentTile *self = (ExmCommentTile *)object;
>       |                     ^~~~
> [46/69] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-comment-dialog.c.o -MF src/extension-manager.p/exm-comment-dialog.c.o.d -o src/extension-manager.p/exm-comment-dialog.c.o -c ../src/exm-comment-dialog.c
> ../src/exm-comment-dialog.c: In function ‘exm_comment_dialog_finalize’:
> ../src/exm-comment-dialog.c:43:23: warning: unused variable ‘self’ [-Wunused-variable]
>    43 |     ExmCommentDialog *self = (ExmCommentDialog *)object;
>       |                       ^~~~
> ../src/exm-comment-dialog.c: In function ‘on_get_comments’:
> ../src/exm-comment-dialog.c:144:30: warning: cast between incompatible function types from ‘GtkWidget * (*)(ExmComment *)’ {aka ‘struct _GtkWidget * (*)(struct _ExmComment *)’} to ‘GtkWidget * (*)(void *, void *)’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} [-Wcast-function-type]
>   144 |                              (GtkListBoxCreateWidgetFunc) comment_factory,
>       |                              ^
> [47/69] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-rating.c.o -MF src/extension-manager.p/exm-rating.c.o.d -o src/extension-manager.p/exm-rating.c.o -c ../src/exm-rating.c
> ../src/exm-rating.c: In function ‘exm_rating_finalize’:
> ../src/exm-rating.c:35:16: warning: unused variable ‘self’ [-Wunused-variable]
>    35 |     ExmRating *self = (ExmRating *)object;
>       |                ^~~~
> ../src/exm-rating.c: In function ‘update_rating’:
> ../src/exm-rating.c:93:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
>    93 |         gtk_image_set_from_icon_name (self->star_five, FILLED_ICON_NAME);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../src/exm-rating.c:94:5: note: here
>    94 |     case 4:
>       |     ^~~~
> ../src/exm-rating.c:95:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
>    95 |         gtk_image_set_from_icon_name (self->star_four, FILLED_ICON_NAME);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../src/exm-rating.c:96:5: note: here
>    96 |     case 3:
>       |     ^~~~
> ../src/exm-rating.c:97:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
>    97 |         gtk_image_set_from_icon_name (self->star_three, FILLED_ICON_NAME);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../src/exm-rating.c:98:5: note: here
>    98 |     case 2:
>       |     ^~~~
> ../src/exm-rating.c:99:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
>    99 |         gtk_image_set_from_icon_name (self->star_two, FILLED_ICON_NAME);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../src/exm-rating.c:100:5: note: here
>   100 |     case 1:
>       |     ^~~~
> [48/69] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-6 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-installed-page.c.o -MF src/extension-manager.p/exm-installed-page.c.o.d -o src/extension-manager.p/exm-installed-page.c.o -c ../src/exm-installed-page.c
> In file included from /usr/include/glib-2.0/glib.h:64,
>                  from /usr/include/gtk-4.0/gtk/css/gtkcss.h:29,
>                  from /usr/include/gtk-4.0/gtk/gtk.h:29,
>                  from ../src/exm-installed-page.h:3,
>                  from ../src/exm-installed-page.c:1:
> ../src/exm-installed-page.c: In function ‘widget_factory’:
> /usr/include/glib-2.0/glib/gmessages.h:647:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
>   647 |         return; \
>       |         ^~~~~~
> ../src/exm-installed-page.c:139:5: note: in expansion of macro ‘g_return_if_fail’
>   139 |     g_return_if_fail (EXM_IS_EXTENSION (extension));
>       |     ^~~~~~~~~~~~~~~~
> ../src/exm-installed-page.c:135:1: note: declared here
>   135 | widget_factory (ExmExtension* extension)
>       | ^~~~~~~~~~~~~~
> ../src/exm-installed-page.c: In function ‘compare_enabled’:
> /usr/include/glib-2.0/glib/gmessages.h:647:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
>   647 |         return; \
>       |         ^~~~~~
> ../src/exm-installed-page.c:148:5: note: in expansion of macro ‘g_return_if_fail’
>   148 |     g_return_if_fail (EXM_IS_EXTENSION (this));
>       |     ^~~~~~~~~~~~~~~~
> ../src/exm-installed-page.c:146:1: note: declared here
>   146 | compare_enabled (ExmExtension *this, ExmExtension *other)
>       | ^~~~~~~~~~~~~~~
> /usr/include/glib-2.0/glib/gmessages.h:647:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
>   647 |         return; \
>       |         ^~~~~~
> ../src/exm-installed-page.c:149:5: note: in expansion of macro ‘g_return_if_fail’
>   149 |     g_return_if_fail (EXM_IS_EXTENSION (other));
>       |     ^~~~~~~~~~~~~~~~
> ../src/exm-installed-page.c:146:1: note: declared here
>   146 | compare_enabled (ExmExtension *this, ExmExtension *other)
>       | ^~~~~~~~~~~~~~~
> ../src/exm-installed-page.c: In function ‘bind_list_box’:
> ../src/exm-installed-page.c:190:49: warning: cast between incompatible function types from ‘int (*)(ExmExtension *, ExmExtension *)’ {aka ‘int (*)(struct _ExmExtension *, struct _ExmExtension *)’} to ‘gint (*)(const void *, const void *, void *)’ {aka ‘int (*)(const void *, const void *, void *)’} [-Wcast-function-type]
>   190 |         enabled_sorter = gtk_custom_sorter_new ((GCompareDataFunc) compare_enabled, NULL, NULL);
>       |                                                 ^
> ../src/exm-installed-page.c:204:30: warning: cast between incompatible function types from ‘GtkWidget * (*)(ExmExtension *)’ {aka ‘struct _GtkWidget * (*)(struct _ExmExtension *)’} to ‘GtkWidget * (*)(void *, void *)’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} [-Wcast-function-type]
>   204 |                              (GtkListBoxCreateWidgetFunc) widget_factory,
>       |                              ^
> ../src/exm-installed-page.c: In function ‘on_updates_available’:
> ../src/exm-installed-page.c:217:41: warning: unused parameter ‘manager’ [-Wunused-parameter]
>   217 | on_updates_available (ExmManager       *manager,
>       |                       ~~~~~~~~~~~~~~~~~~^~~~~~~
> ../src/exm-installed-page.c: In function ‘compare_enabled’:
> ../src/exm-installed-page.c:166:1: warning: control reaches end of non-void function [-Wreturn-type]
>   166 | }
>       | ^
> ../src/exm-installed-page.c: At top level:
> ../src/exm-installed-page.c:126:1: warning: ‘on_remove’ defined but not used [-Wunused-function]
>   126 | on_remove (GtkButton *button,
>       | ^~~~~~~~~
> ../src/exm-installed-page.c:117:1: warning: ‘on_open_prefs’ defined but not used [-Wunused-function]
>   117 | on_open_prefs (GtkButton *button,
>       | ^~~~~~~~~~~~~
> ../src/exm-installed-page.c:105:1: warning: ‘on_state_toggled’ defined but not used [-Wunused-function]
>   105 | on_state_toggled (GtkSwitch *toggle,
>       | ^~~~~~~~~~~~~~~~
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:7: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/gnome-shell-extension-manager_0.4.3-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=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-gnome-maintainers mailing list