Bug#1124212: shortwave: FTBFS: error[E0308]: mismatched types
Santiago Vila
sanvila at debian.org
Sun Dec 28 18:27:14 GMT 2025
Package: src:shortwave
Version: 5.0.0-7
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:shortwave, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
Compiling language-tags v0.3.2
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=language [too-long-redacted] stry=/usr/share/cargo/registry`
Compiling shortwave v0.0.0 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/bin/cargo CARGO_BIN_NAME=shortwave [too-long-redacted] tive=/usr/lib/x86_64-linux-gnu`
error[E0308]: mismatched types
--> src/ui/window.rs:231:48
|
231 | let res = dialog.choose_future(&*self.obj()).await;
| ------------- ^^^^^^^^^^^^ expected `Option<&_>`, found `&SwApplicationWindow`
| |
| arguments to this method are incorrect
|
= note: expected enum `std::option::Option<&_>`
found reference `&ui::window::SwApplicationWindow`
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`
|
231 | let res = dialog.choose_future(Some(&*self.obj())).await;
| +++++ +
For more information about this error, try `rustc --explain E0308`.
error: could not compile `shortwave` (bin "shortwave") 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)
[3/44] /usr/bin/glib-compile-resources /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/data/de.haeckerfelix.Shortwave.gresource.xml --sourcedir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/data --sourcedir data --sourcedir ../data --internal --generate --target data/de.haeckerfelix.Shortwave.gresource --dependency-file data/de.haeckerfelix.Shortwave.gresource.d
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[43/44] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/shortwave.mo ../po/zh_TW.po
FAILED: [code=101] src/shortwave
/usr/bin/env /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target --release && cp target/x86_64-unknown-linux-gnu/release/shortwave src/shortwave
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:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-gnome-maintainers
mailing list