[Debian-on-mobile-maintainers] Bug#1095189: rust-gio-0.18: Fails to build with glib 2.83

Jeremy Bícha jeremy.bicha at canonical.com
Wed Feb 5 01:12:01 GMT 2025


Source: rust-gio-0.18
Version: 0.18.4-2
Severity: serious
Tags: ftbfs sid trixie
X-Debbugs-CC: aferraris at debian.org

rust-gio-0.18 fails to build with glib 2.83 which is now in Unstable.

It looks like you only need to extend
0001-Cargo.toml-add-missing-features.patch
for v2_84

Build log excerpt
==========

warning: unexpected `cfg` condition value: `v2_84`
   --> src/auto/functions.rs:441:7
    |
441 | #[cfg(feature = "v2_84")]
    |       ^^^^^^^^^^-------
    |                 |
    |                 help: there is a expected value with a similar
name: `"v2_80"`
    |
    = note: expected values for `feature` are: `v2_58`, `v2_60`,
`v2_62`, `v2_64`,
 `v2_66`, `v2_68`, `v2_70`, `v2_72`, `v2_74`, `v2_76`, `v2_78`,
`v2_80`, and `v2_82`
    = help: consider adding `v2_84` as a feature in `Cargo.toml`
    = note: see
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html>
 for more information about checking conditional configuration

For more information about this error, try `rustc --explain E0425`.
warning: `gio` (lib) generated 23 warnings
error: could not compile `gio` (lib) due to 3 previous errors; 23
warnings emitted

Full build log
==========
https://launchpad.net/ubuntu/+source/rust-gio-0.18/0.18.4-2

Thank you,
Jeremy Bícha



More information about the Debian-on-mobile-maintainers mailing list