#1136859 xdg-desktop-portal-phosh: FTBFS: error[E0277]: the trait bound `auto::event::Event: glib::translate::ToGlibPtr<'_, *mut GdkScrollEvent>` is not satisfied #1136859
- Package:
- src:xdg-desktop-portal-phosh
- Source:
- src:xdg-desktop-portal-phosh
- Submitter:
- Santiago Vila
- Date:
- 2026-05-17 09:35:03 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202605/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:xdg-desktop-portal-phosh, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] Compiling gdk-pixbuf v0.21.5 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk_pixb [too-long-redacted] stry=/usr/share/cargo/registry` Compiling gdk4 v0.10.3 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gdk4 CAR [too-long-redacted] stry=/usr/share/cargo/registry` error[E0277]: the trait bound `auto::event::Event: glib::translate::ToGlibPtr<'_, *mut GdkScrollEvent>` is not satisfied --> /usr/share/cargo/registry/gdk4-0.10.3/src/auto/scroll_event.rs:75:83 | 75 | from_glib(ffi::gdk_scroll_event_get_relative_direction(event.as_ref().to_glib_none().0)) | ^^^^^^^^^^^^ unsatisfied trait bound | help: the trait `glib::translate::ToGlibPtr<'_, *mut GdkScrollEvent>` is not implemented for `auto::event::Event` --> /usr/share/cargo/registry/gdk4-0.10.3/src/auto/event.rs:8:1 | 8 | / glib::wrapper! { 9 | | #[doc(alias = "GdkEvent")] 10 | | pub struct Event(Shared<ffi::GdkEvent>); ... | 16 | | } | |_^ help: the following other types implement trait `glib::translate::ToGlibPtr<'a, P>` --> /usr/share/cargo/registry/gdk4-0.10.3/src/auto/event.rs:8:1 | 8 | / glib::wrapper! { 9 | | #[doc(alias = "GdkEvent")] 10 | | pub struct Event(Shared<ffi::GdkEvent>); ... | 16 | | } | | ^ | | | | |_`auto::event::Event` implements `glib::translate::ToGlibPtr<'_, *const GdkEvent>` | `auto::event::Event` implements `glib::translate::ToGlibPtr<'_, *mut GdkEvent>` = note: this error originates in the macro `$crate::glib_shared_wrapper` which comes from the expansion of the macro `glib::wrapper` (in Nightly builds, run with -Z macro-backtrace for more info) For more information about this error, try `rustc --explain E0277`. error: could not compile `gdk4` (lib) due to 1 previous error Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1) warning: build failed, waiting for other jobs to finish... warning: `gio` (lib) generated 3 warnings [28/30] cc -o src/thumbnailer/ptcli src/thumbnailer/ptcli.p/meson-generated_.._phosh-thumbnailer-service.c.o src/thumbnailer/ptcli.p/cli.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -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 -Wl,--start-group /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so -Wl,--end-group FAILED: [code=101] src/xdg-desktop-portal-phrosh env RESOURCES_DIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --release && cp /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/x86_64-unknown-linux-gnu/release/xdg-desktop-portal-phosh src/xdg-desktop-portal-phrosh ninja: build stopped: subcommand failed. dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 101 make: *** [debian/rules:22: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
We believe that the bug you reported is fixed in the latest version of
xdg-desktop-portal-phosh, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1136859@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guido Günther <agx@sigxcpu.org> (supplier of updated xdg-desktop-portal-phosh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 17 May 2026 10:38:08 +0200
Source: xdg-desktop-portal-phosh
Architecture: source
Version: 0.55.0-1
Distribution: experimental
Urgency: medium
Maintainer: DebianOnMobile Maintainers <debian-on-mobile-maintainers@alioth-lists.debian.net>
Changed-By: Guido Günther <agx@sigxcpu.org>
Closes: 1136406 1136859
Changes:
xdg-desktop-portal-phosh (0.55.0-1) experimental; urgency=medium
.
* Upload to experimental
* New upstream release
* Support bookmarks
(Closes: #1136859, #1136406)
* Drop now superfluous patches.
* Update dependencies
* Install i18n files
Checksums-Sha1:
55e366cc6b14c57565a6e1d33c4bd82938984812 2840 xdg-desktop-portal-phosh_0.55.0-1.dsc
baae8de7c0c509ff1910d8ff516bd31d0d9a678d 178236 xdg-desktop-portal-phosh_0.55.0.orig.tar.xz
d18bf9e819b6254983f185a608244395dd47a45c 833 xdg-desktop-portal-phosh_0.55.0.orig.tar.xz.asc
d0891845897f32bc3f54239052b98d5c579b5ec1 12540 xdg-desktop-portal-phosh_0.55.0-1.debian.tar.xz
877068c2ff5c2c76e2c940e5d73c1364b0435a7a 41603 xdg-desktop-portal-phosh_0.55.0-1_amd64.buildinfo
Checksums-Sha256:
13af91f7c9017134f380f4b586a51fa0d72a314c222b3b64266e50b275a4018d 2840 xdg-desktop-portal-phosh_0.55.0-1.dsc
20a6e8c567fc0cd2ee20b9dd86ae5da6a413a0af6eba7a4e7740da216e0dc8a5 178236 xdg-desktop-portal-phosh_0.55.0.orig.tar.xz
055bc44d3d72e8619c2744d78f34219e51d2c79e18a6869da27e5827c0f52b32 833 xdg-desktop-portal-phosh_0.55.0.orig.tar.xz.asc
29087f2b11c75b1b0da1cb72928e48e0bb1dd5b496b40d118683ac633693c517 12540 xdg-desktop-portal-phosh_0.55.0-1.debian.tar.xz
2c54628109b0848a9ce811beae9f434cc1cfc50ac59bf22d2b4201fe14af17fd 41603 xdg-desktop-portal-phosh_0.55.0-1_amd64.buildinfo
Files:
9730dad4a8da9ba88256af5c187289c1 2840 gnome optional xdg-desktop-portal-phosh_0.55.0-1.dsc
b0c40d5388ef9cb290454bbb0118a1d8 178236 gnome optional xdg-desktop-portal-phosh_0.55.0.orig.tar.xz
b3c1bb77efc22c2298043e9739f252f2 833 gnome optional xdg-desktop-portal-phosh_0.55.0.orig.tar.xz.asc
e17980c202f4539956dd1ef5fedd57c6 12540 gnome optional xdg-desktop-portal-phosh_0.55.0-1.debian.tar.xz
9cc901cdd591567034e0ed098e6c81f8 41603 gnome optional xdg-desktop-portal-phosh_0.55.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEY/bM35YinQkoayrDJb+GUkr8weMFAmoJiGAACgkQJb+GUkr8
weP6cg//bcPEssJ388nuktg2uYFfJNaQ1vESyPbxlysvb2UIWZJFIwXpKHkbSicu
Qxi8TwmRbB4E6eXbWrQ31xUadYu8h8wR+9nLrtQV1uVzDIJJ4r/wHElGjMtTrwtj
ea62lAp5Zmws14GSyb/DSDE30yGKJv/y+OX1V601jB7C09Nfux1T9Ev4yI1DRKWe
OPQ2TLR4SArm86xF7VRLz3SeUdTt51T9Cbfhx8wFA/JyJ+hc37GUI+8hERvpOvLB
YrrKpHXtjCtZLLx0PVCAVMz3IxqPQorftMvBZNUk77pXbCoQg85GZUDCzniBhB/6
H9NQd6gj0Y1GeH/nZJTTRUbIknd9f1CotHFFBPjBujwyEaVsvAp+xIbeC8WOiMri
AjuTLWURu0CxJCqG1j5Jz8iNjKJSz3lGDyS1ccj3SUliHKAZ6lUz8mfzli/R3hAH
tsYEoRTK0cOFBHgEMnLcL1ydKzgUNiY9c07+8dP32kftJt+mdLguyyetqcpPHXRi
txrNry6I8SNwowjVpgZd/dy3dsAWlhfvj+Wuf2Y9VXTLmpDAKMi1JuvKhuA5a6Zz
/FhJG6KYN7I2BG65UEnVMFilPXxVwj+Y69sVKFIL+Yk6E0bIz4CNg1RgVEfPk32j
Y2/+kVxmmYX9inOPLCd0HcPSGP1bYBs2SNqqWcv84ir6iR78btk=
=kvSH
-----END PGP SIGNATURE-----