Bug#1096222: xdg-desktop-portal-gnome: FTBFS: ../src/notification.c:72:3: error: too few arguments to function ‘xdp_impl_notification_complete_add_notification’
Lucas Nussbaum
lucas at debian.org
Mon Feb 17 16:30:00 GMT 2025
Source: xdg-desktop-portal-gnome
Version: 47.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250215 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/notification.c.o -MF src/xdg-desktop-portal-gnome.p/notification.c.o.d -o src/xdg-desktop-portal-gnome.p/notification.c.o -c ../src/notification.c
> ../src/notification.c: In function ‘handle_add_notification’:
> ../src/notification.c:72:3: error: too few arguments to function ‘xdp_impl_notification_complete_add_notification’
> 72 | xdp_impl_notification_complete_add_notification (object, invocation);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from ../src/notification.c:18:
> src/xdg-desktop-portal-dbus.h:2414:6: note: declared here
> 2414 | void xdp_impl_notification_complete_add_notification (
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> [69/104] cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/request.c.o -MF src/xdg-desktop-portal-gnome.p/request.c.o.d -o src/xdg-desktop-portal-gnome.p/request.c.o -c ../src/request.c
> [70/104] cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/print.c.o -MF src/xdg-desktop-portal-gnome.p/print.c.o.d -o src/xdg-desktop-portal-gnome.p/print.c.o -c ../src/print.c
> ../src/print.c: In function ‘handle_prepare_print’:
> ../src/print.c:692:7: warning: ‘gtk_dialog_get_widget_for_response’ is deprecated [-Wdeprecated-declarations]
> 692 | GtkWidget *button = gtk_dialog_get_widget_for_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
> | ^~~~~~~~~
> In file included from /usr/include/gtk-4.0/gtk/deprecated/gtkappchooserdialog.h:31,
> from /usr/include/gtk-4.0/gtk/gtk.h:43,
> from ../src/print.c:28:
> /usr/include/gtk-4.0/gtk/deprecated/gtkdialog.h:160:12: note: declared here
> 160 | GtkWidget* gtk_dialog_get_widget_for_response (GtkDialog *dialog,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> [71/104] cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/remotedesktop.c.o -MF src/xdg-desktop-portal-gnome.p/remotedesktop.c.o.d -o src/xdg-desktop-portal-gnome.p/remotedesktop.c.o -c ../src/remotedesktop.c
> [72/104] cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/remotedesktopdialog.c.o -MF src/xdg-desktop-portal-gnome.p/remotedesktopdialog.c.o.d -o src/xdg-desktop-portal-gnome.p/remotedesktopdialog.c.o -c ../src/remotedesktopdialog.c
> [73/104] cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/screenshot.c.o -MF src/xdg-desktop-portal-gnome.p/screenshot.c.o.d -o src/xdg-desktop-portal-gnome.p/screenshot.c.o -c ../src/screenshot.c
> [74/104] cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/meson-generated_.._xdg-desktop-portal-dbus.c.o -MF src/xdg-desktop-portal-gnome.p/meson-generated_.._xdg-desktop-portal-dbus.c.o.d -o src/xdg-desktop-portal-gnome.p/meson-generated_.._xdg-desktop-portal-dbus.c.o -c src/xdg-desktop-portal-dbus.c
> [75/104] cc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -I/usr/include/libpng16 -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/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libxml2 -I/usr/include/libadwaita-1 -I/usr/include/appstream -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xdg-desktop-portal-gnome-47.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -mfpmath=sse -msse -msse2 -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/meson-generated_.._shell-dbus.c.o -MF src/xdg-desktop-portal-gnome.p/meson-generated_.._shell-dbus.c.o.d -o src/xdg-desktop-portal-gnome.p/meson-generated_.._shell-dbus.c.o -c src/shell-dbus.c
> 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:12: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2025/02/15/xdg-desktop-portal-gnome_47.2-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250215;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250215&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