Bug#1124175: loupe: FTBFS: error[E0308]: mismatched types
Santiago Vila
sanvila at debian.org
Sun Dec 28 18:25:59 GMT 2025
Package: src:loupe
Version: 49.1-1
Severity: serious
Tags: ftbfs forky sid
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/202512/
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:loupe, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
Compiling loupe v49.1.0 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=loupe CA [too-long-redacted] tive=/usr/lib/x86_64-linux-gnu`
error[E0308]: mismatched types
--> src/widgets/image_window.rs:693:45
|
693 | if "delete" == dialog.choose_future(self).await {
| ------------- ^^^^ expected `Option<&_>`, found `&LpImageWindow`
| |
| arguments to this method are incorrect
|
= note: expected enum `std::option::Option<&_>`
found reference `&image_window::LpImageWindow`
note: method defined here
--> /usr/share/cargo/registry/libadwaita-0.8.1/src/alert_dialog.rs:83:8
|
83 | fn choose_future(
| ^^^^^^^^^^^^^
help: try wrapping the expression in `Some`
|
693 | if "delete" == dialog.choose_future(Some(self)).await {
| +++++ +
warning: `libadwaita` (lib) generated 32 warnings
For more information about this error, try `rustc --explain E0308`.
error: could not compile `loupe` (lib) due to 1 previous error
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] _64-linux-gnu` (exit status: 1)
[22/92] /usr/bin/itstool -m help/eu/loupe-eu.gmo --lang eu -o help/eu ../help/C/image-properties.page ../help/C/index.page ../help/C/opening-images.page ../help/C/sending-to-other-apps.page ../help/C/supported-formats.page ../help/C/trashing-images.page ../help/C/viewing-images.page
Warning: Could not merge eu translation for msgid:
Users can zoom in with the <gui>Zoom In</gui> (<media type="image" src="figures/zoom-in-symbolic.svg">zoom-in-symbolic</media>) button and zoom out with the <gui>Zoom Out</gui> (<media type="image" src="figures/zoom-out-symbolic.svg">zoom-out-symbolic</media>) button.
[90/92] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/loupe.mo ../po/zh_TW.po
FAILED: [code=101] src/src
env APP_ID=org.gnome.Loupe VERSION=49.1 LOCALEDIR=/usr/share/locale /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --profile release --features x11
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:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-gnome-maintainers
mailing list